package
1.55.6
Repository: https://github.com/aws/aws-sdk-go.git
Documentation: pkg.go.dev

# Packages

Package ec2query provides serialization of AWS EC2 requests and responses.
Package jsonrpc provides JSON RPC utilities for serialization of AWS requests and responses.
Package query provides serialization of AWS query requests, and responses.
Package rest provides RESTful serialization of AWS requests and responses.
Package restjson provides RESTful JSON serialization of AWS requests and responses.
Package restxml provides RESTful XML serialization of AWS requests and responses.

# Functions

CanSetIdempotencyToken returns true if the struct field should be automatically populated with a Idempotency token.
DecodeJSONValue will attempt to decode the string input as a JSONValue.
EncodeJSONValue marshals the value into a JSON string, and optionally base64 encodes the string before returning it.
FormatTime returns a string value of the time.
GetIdempotencyToken returns a randomly generated idempotency token.
IsKnownTimestampFormat returns if the timestamp format name is know to the SDK's protocols.
NewHostPrefixHandler constructs a build handler.
NewUnmarshalErrorHandler returns an UnmarshalErrorHandler initialized for the set of exception names to the error unmarshalers.
ParseTime attempts to parse the time given the format.
SetIdempotencyToken will set the value provided with a Idempotency Token.
UnmarshalDiscardBody is a request handler to empty a response's body and closing it.
UUIDVersion4 returns a Version 4 random UUID from the byte slice provided.
ValidateEndpointHost validates that the host string passed in is a valid RFC 3986 host.
ValidHostLabel returns if the label is a valid RFC 3986 host label.
ValidPortNumber return if the port is valid RFC 3986 port.

# Constants

The modes for escaping a value before it is marshaled, and unmarshaled.
ErrCodeMinimumHTTPProtocolError error code is returned when the target endpoint did not match the required HTTP major and minor protocol version.
HostPrefixHandlerName is the handler name for the host prefix request handler.
This format is used for output time with fractional second precision up to milliseconds.
RFC3339 a subset of the ISO8601 timestamp format.
Names of time formats supported by the SDK.
The modes for escaping a value before it is marshaled, and unmarshaled.
The modes for escaping a value before it is marshaled, and unmarshaled.
This format is used for output time without seconds precision.
RFC 7231#section-7.1.1.1 timetamp format.
Names of time formats supported by the SDK.
Names of time formats supported by the SDK.
UnmarshalErrorHandlerName is the name of the named handler.

# Variables

RandReader is the random reader the protocol package will use to read random bytes from.
UnmarshalDiscardBodyHandler is a named request handler to empty and close a response's body.
ValidateEndpointHostHandler is a request handler that will validate the request endpoint's hosts is a valid RFC 3986 host.

# Structs

HandlerPayloadMarshal implements the PayloadMarshaler from a HandlerList.
HandlerPayloadUnmarshal implements the PayloadUnmarshaler from a HandlerList.
HostPrefixBuilder provides the request handler to expand and prepend the host prefix into the operation's request endpoint host.
RequireHTTPMinProtocol request handler is used to enforce that the target endpoint supports the given major and minor HTTP protocol version.
ResponseMetadata provides the SDK response metadata attributes.
UnmarshalErrorHandler provides unmarshaling errors API response errors for both typed and untyped errors.

# Interfaces

ErrorUnmarshaler is an abstract interface for concrete implementations to unmarshal protocol specific response errors.
PayloadMarshaler provides the interface for marshaling a SDK shape into and io.Writer.
PayloadUnmarshaler provides the interface for unmarshaling a payload's reader into a SDK shape.

# Type aliases

EscapeMode is the mode that should be use for escaping a value.