query

package
v1.28.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2026 License: Apache-2.0 Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ShapeSerializer

type ShapeSerializer struct {
	// contains filtered or unexported fields
}

ShapeSerializer serializes Smithy shapes to the AWS query string format.

func NewShapeSerializer

func NewShapeSerializer(action, version string, opts ...func(*ShapeSerializerOptions)) *ShapeSerializer

NewShapeSerializer returns a new ShapeSerializer.

func (*ShapeSerializer) Bytes

func (s *ShapeSerializer) Bytes() []byte

Bytes returns the encoded query string as bytes.

func (*ShapeSerializer) CloseList

func (s *ShapeSerializer) CloseList()

CloseList implements smithy.ShapeSerializer.

func (*ShapeSerializer) CloseMap

func (s *ShapeSerializer) CloseMap()

CloseMap implements smithy.ShapeSerializer.

func (*ShapeSerializer) CloseStruct

func (s *ShapeSerializer) CloseStruct()

CloseStruct implements smithy.ShapeSerializer.

func (*ShapeSerializer) CloseUnion

func (s *ShapeSerializer) CloseUnion()

CloseUnion implements smithy.ShapeSerializer.

func (*ShapeSerializer) WriteBigFloat

func (s *ShapeSerializer) WriteBigFloat(_ *smithy.Schema, _ *big.Float)

WriteBigFloat is unimplemented.

func (*ShapeSerializer) WriteBigInt

func (s *ShapeSerializer) WriteBigInt(_ *smithy.Schema, _ *big.Int)

WriteBigInt is unimplemented.

func (*ShapeSerializer) WriteBlob

func (s *ShapeSerializer) WriteBlob(schema *smithy.Schema, v []byte)

WriteBlob implements smithy.ShapeSerializer.

func (*ShapeSerializer) WriteBool

func (s *ShapeSerializer) WriteBool(schema *smithy.Schema, v bool)

WriteBool implements smithy.ShapeSerializer.

func (*ShapeSerializer) WriteDocument

func (s *ShapeSerializer) WriteDocument(_ *smithy.Schema, _ document.Value)

WriteDocument is unimplemented.

func (*ShapeSerializer) WriteFloat32

func (s *ShapeSerializer) WriteFloat32(schema *smithy.Schema, v float32)

WriteFloat32 implements smithy.ShapeSerializer.

func (*ShapeSerializer) WriteFloat64

func (s *ShapeSerializer) WriteFloat64(schema *smithy.Schema, v float64)

WriteFloat64 implements smithy.ShapeSerializer.

func (*ShapeSerializer) WriteInt8

func (s *ShapeSerializer) WriteInt8(schema *smithy.Schema, v int8)

WriteInt8 implements smithy.ShapeSerializer.

func (*ShapeSerializer) WriteInt16

func (s *ShapeSerializer) WriteInt16(schema *smithy.Schema, v int16)

WriteInt16 implements smithy.ShapeSerializer.

func (*ShapeSerializer) WriteInt32

func (s *ShapeSerializer) WriteInt32(schema *smithy.Schema, v int32)

WriteInt32 implements smithy.ShapeSerializer.

func (*ShapeSerializer) WriteInt64

func (s *ShapeSerializer) WriteInt64(schema *smithy.Schema, v int64)

WriteInt64 implements smithy.ShapeSerializer.

func (*ShapeSerializer) WriteKey

func (s *ShapeSerializer) WriteKey(_ *smithy.Schema, key string)

WriteKey implements smithy.ShapeSerializer.

func (*ShapeSerializer) WriteList

func (s *ShapeSerializer) WriteList(schema *smithy.Schema)

WriteList implements smithy.ShapeSerializer.

func (*ShapeSerializer) WriteMap

func (s *ShapeSerializer) WriteMap(schema *smithy.Schema)

WriteMap implements smithy.ShapeSerializer.

func (*ShapeSerializer) WriteNil

func (s *ShapeSerializer) WriteNil(_ *smithy.Schema)

WriteNil implements smithy.ShapeSerializer.

func (*ShapeSerializer) WriteString

func (s *ShapeSerializer) WriteString(schema *smithy.Schema, v string)

WriteString implements smithy.ShapeSerializer.

func (*ShapeSerializer) WriteStruct

func (s *ShapeSerializer) WriteStruct(schema *smithy.Schema)

WriteStruct implements smithy.ShapeSerializer.

func (*ShapeSerializer) WriteTime

func (s *ShapeSerializer) WriteTime(schema *smithy.Schema, v time.Time)

WriteTime implements smithy.ShapeSerializer.

func (*ShapeSerializer) WriteUnion

func (s *ShapeSerializer) WriteUnion(schema, variant *smithy.Schema)

WriteUnion implements smithy.ShapeSerializer.

type ShapeSerializerOptions

type ShapeSerializerOptions struct {
	// Adjusts serialization for the ec2Query protocol:
	//  - Member names resolve via @ec2QueryName, then @xmlName
	//    capitalized, then member name capitalized (instead of @xmlName
	//    or member name as-is).
	//  - All lists serialize as flat regardless of @xmlFlattened.
	//  - Empty lists are omitted (instead of emitting a "Key=" sentinel).
	EC2Mode bool
}

ShapeSerializerOptions configures a ShapeSerializer.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL