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

# Functions

AddToUserAgent adds the string to the end of the request's current user agent.
ConstantWaiterDelay returns a WaiterDelay that will always return a constant delay the waiter should use between attempts.
HandlerListLogItem logs the request handler and the state of the request's Error value.
HandlerListStopOnError returns false to stop the HandlerList iterating over request handlers if Request.Error is not nil.
IsErrorExpiredCreds returns whether the error code is a credential expiry error.
IsErrorRetryable returns whether the error is retryable, based on its Code.
IsErrorThrottle returns whether the error is to be throttled based on its code.
MakeAddToUserAgentFreeFormHandler adds the input to the User-Agent request header.
MakeAddToUserAgentHandler will add the name/version pair to the User-Agent request header.
New returns a new Request pointer for the service API operation and parameters.
NewErrParamMinLen creates a new minimum length parameter error.
NewErrParamMinValue creates a new minimum value parameter error.
NewErrParamRequired creates a new required parameter error.
WithAppendUserAgent will add a string to the user agent prefixed with a single white space.
WithGetResponseHeader builds a request Option which will retrieve a single header value from the HTTP Response.
WithGetResponseHeaders builds a request Option which will retrieve the headers from the HTTP response and assign them to the passed in headers variable.
WithLogLevel is a request option that will set the request to use a specific log level when the request is made.
WithResponseReadTimeout is a request option that will wrap the body in a timeout read closer.
WithRetryer sets a config Retryer value to the given Config returning it for chaining.
WithWaiterDelay will set the Waiter to use the WaiterDelay passed in.
WithWaiterLogger returns a waiter option to set the logger a waiter should use to log warnings and errors to.
WithWaiterMaxAttempts returns the maximum number of times the waiter should attempt to check the resource for the target state.
WithWaiterRequestOptions returns a waiter option setting the request options for each request the waiter makes.

# Constants

CanceledErrorCode is the error code that will be returned by an API request that was canceled.
ErrCodeRead is an error that is returned during HTTP reads.
ErrCodeResponseTimeout is the connection timeout error that is recieved during body reads.
ErrCodeSerialization is the serialization error code that is received during protocol unmarshaling.
match on error.
waiter failed.
HandlerResponseTimeout is what we use to signify the name of the response timeout handler.
InvalidParameterErrCode is the error code for invalid parameters errors.
ParamMinLenErrCode is the error code for fields without enough elements.
ParamMinValueErrCode is the error code for fields with too low of a number value.
ParamRequiredErrCode is the error code for required parameter errors.
match on all paths.
match on any path.
match on list of paths.
match on specific path.
waiter needs to be retried.
match on status code.
waiter successful.
WaiterResourceNotReadyErrorCode is the error code returned by a waiter when the waiter's max attempts have been exhausted.

# Variables

NoBody is a http.NoBody reader instructing Go HTTP client to not include and body in the HTTP request.

# Structs

An ErrInvalidParams provides wrapping of invalid parameter errors found when validating API operation input parameters.
An ErrParamMinLen represents a minimum length parameter error.
An ErrParamMinValue represents a minimum value parameter error.
An ErrParamRequired represents an required parameter error.
A HandlerList manages zero or more handlers in a list.
A HandlerListRunItem represents an entry in the HandlerList which is being run.
A Handlers provides a collection of request handlers for various stages of handling requests.
A NamedHandler is a struct that contains a name and function callback.
An Operation is the service API operation to be made.
A Pagination provides paginating of SDK API operations which are paginatable.
A Paginator is the configuration data that defines how an API operation should be paginated.
A Request is the service request to be made.
A Waiter provides the functionality to perform a blocking call which will wait for a resource state to be satisfied by a service.
A WaiterAcceptor provides the information needed to wait for an API operation to complete.

# Interfaces

An ErrInvalidParam represents an invalid parameter error type.
Retryer is an interface to control retry logic for a given service.
Validator provides a way for types to perform validation logic on their input values that external code can use to determine if a type's values are valid.

# Type aliases

A Option is a functional option that can augment or modify a request when using a WithContext API operation method.
WaiterDelay will return a delay the waiter should pause between attempts to check the resource state.
WaiterMatchMode is the mode that the waiter will use to match the WaiterAcceptor definition's Expected attribute.
A WaiterOption is a function that will update the Waiter value's fields to configure the waiter.
WaiterState are states the waiter uses based on WaiterAcceptor definitions to identify if the resource state the waiter is waiting on has occurred.