Documentation
¶
Index ¶
- type Protocol
- func (p *Protocol) DeserializeEventMessage(schema *smithy.Schema, types *smithy.TypeRegistry, r io.Reader) (smithy.Deserializable, error)
- func (p *Protocol) DeserializeInitialResponse(schema *smithy.Schema, r io.Reader, out smithy.Deserializable) error
- func (p *Protocol) DeserializeResponse(ctx context.Context, schema *smithy.OperationSchema, ...) error
- func (p *Protocol) HasInitialEventMessage() bool
- func (*Protocol) ID() smithy.ShapeID
- func (p *Protocol) SerializeEventMessage(schema, variant *smithy.Schema, v smithy.Serializable, w io.Writer) error
- func (p *Protocol) SerializeInitialRequest(schema *smithy.Schema, v smithy.Serializable, w io.Writer) error
- func (p *Protocol) SerializeRequest(ctx context.Context, schema *smithy.OperationSchema, in smithy.Serializable, ...) error
- type ProtocolOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Protocol ¶
type Protocol struct {
// contains filtered or unexported fields
}
Protocol implements aws.protocols#awsQuery.
func New ¶
func New(service *smithy.ServiceSchema, opts ...func(*ProtocolOptions)) *Protocol
New returns an instance of the awsQuery protocol. The service version is pulled from the ServiceVersion trait on the service schema.
func (*Protocol) DeserializeEventMessage ¶
func (p *Protocol) DeserializeEventMessage(schema *smithy.Schema, types *smithy.TypeRegistry, r io.Reader) (smithy.Deserializable, error)
DeserializeEventMessage implements smithyhttp.ClientProtocol.
func (*Protocol) DeserializeInitialResponse ¶
func (p *Protocol) DeserializeInitialResponse(schema *smithy.Schema, r io.Reader, out smithy.Deserializable) error
DeserializeInitialResponse implements smithyhttp.ClientProtocol.
func (*Protocol) DeserializeResponse ¶
func (p *Protocol) DeserializeResponse( ctx context.Context, schema *smithy.OperationSchema, types *smithy.TypeRegistry, resp *smithyhttp.Response, out smithy.Deserializable, ) error
DeserializeResponse deserializes a response for awsQuery.
func (*Protocol) HasInitialEventMessage ¶
HasInitialEventMessage implements smithyhttp.ClientProtocol.
func (*Protocol) SerializeEventMessage ¶
func (p *Protocol) SerializeEventMessage(schema, variant *smithy.Schema, v smithy.Serializable, w io.Writer) error
SerializeEventMessage implements smithyhttp.ClientProtocol.
func (*Protocol) SerializeInitialRequest ¶
func (p *Protocol) SerializeInitialRequest(schema *smithy.Schema, v smithy.Serializable, w io.Writer) error
SerializeInitialRequest implements smithyhttp.ClientProtocol.
func (*Protocol) SerializeRequest ¶
func (p *Protocol) SerializeRequest( ctx context.Context, schema *smithy.OperationSchema, in smithy.Serializable, req *smithyhttp.Request, ) error
SerializeRequest serializes a request for awsQuery.
type ProtocolOptions ¶
type ProtocolOptions struct{}
ProtocolOptions configures aws.protocols#awsQuery.