ec2query

package
v1.27.2 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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#ec2Query.

func New

func New(service *smithy.ServiceSchema, opts ...func(*ProtocolOptions)) *Protocol

New returns an instance of the ec2Query 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 ec2Query.

func (*Protocol) HasInitialEventMessage

func (p *Protocol) HasInitialEventMessage() bool

HasInitialEventMessage implements smithyhttp.ClientProtocol.

func (*Protocol) ID

func (*Protocol) ID() smithy.ShapeID

ID identifies the protocol.

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 ec2Query.

type ProtocolOptions

type ProtocolOptions struct{}

ProtocolOptions configures aws.protocols#ec2Query.

Jump to

Keyboard shortcuts

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