# Functions
AddMetadataRetrieverMiddleware adds request id, host id retriever middleware.
AddResponseErrorMiddleware adds response error wrapper middleware.
GetARNResourceFromContext returns an ARN from context and a bool indicating presence of ARN on ctx.
GetErrorResponseComponents retrieves error components according to passed in options.
GetHostIDMetadata retrieves the host id from middleware metadata returns host id as string along with a boolean indicating presence of hostId on middleware metadata.
GetUnwrappedErrorResponseComponents returns the error fields from an xml error response body.
GetWrappedErrorResponseComponents returns the error fields from an xml error response body in which error code, and message are wrapped by a <Error> tag.
IsClonedInput retrieves if context key for cloned input was set.
IsFIPS returns true if region is a fips region.
NewClientConfiguredForAccelerateError denotes client config error for unsupported S3 accelerate.
NewClientConfiguredForCrossRegionFIPSError denotes client config error for unsupported cross region FIPS request.
NewClientConfiguredForDualStackError denotes client config error for unsupported S3 Dual-stack.
NewClientConfiguredForFIPSError denotes client config error for unsupported cross region FIPS access.
NewClientPartitionMismatchError stub.
NewClientRegionMismatchError denotes cross region access error.
NewFailedToResolveEndpointError denotes endpoint resolving error.
NewInvalidARNError denotes invalid arn error.
NewInvalidARNWithFIPSError ARN not supported for FIPS region.
NewInvalidARNWithUnsupportedPartitionError ARN not supported for the target partition.
SetClonedInputKey sets a key on context to denote input was cloned previously.
SetHostIDMetadata sets the provided host id over middleware metadata.
# Structs
ARNLookup is the initial middleware that looks up if an arn is provided.
ConfigurationError is used to denote a client configuration error.
EnableDualstack represents middleware struct for enabling dualstack support.
ErrorComponents represents the error response fields that will be deserialized from an xml error response body.
ErrorResponseDeserializerOptions represents error response deserializer options for s3 and s3-control service.
InvalidARNError denotes the error for Invalid ARN.
ResourceRequest represents an ARN resource and api request metadata.
ResponseError provides the HTTP centric error type wrapping the underlying error with the HTTP response value and the deserialized RequestID.