awsjson

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: 15 Imported by: 113 modules, 120 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 Protocol

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

Protocol implements aws.protocols#awsJson1_0 and aws.protocols#awsJson1_1.

func New10

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

New10 returns an instance of the awsJson 1.0 protocol.

func New11

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

New11 returns an instance of the awsJson 1.1 protocol.

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 AWS Json 1.0.

func (*Protocol) HasInitialEventMessage

func (*Protocol) HasInitialEventMessage() bool

HasInitialEventMessage is true because this is an RPC protocol.

func (*Protocol) ID

func (p *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 AWS Json 1.0.

type ProtocolOptions

type ProtocolOptions struct{}

ProtocolOptions configures aws.protocols#awsJson1_0.

Jump to

Keyboard shortcuts

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