package
1.20.4
Repository: https://github.com/aws/smithy-go.git
Documentation: pkg.go.dev

# Functions

AddSetLoggerMiddleware adds a middleware that will add the provided logger to the middleware context.
BuildMiddlewareFunc returns a BuildMiddleware with the unique ID provided, and the func to be invoked.
ClearStackValues returns a context without any stack values.
DecorateHandler decorates a handler with a middleware.
DeserializeMiddlewareFunc returns a DeserializeMiddleware with the unique ID provided, and the func to be invoked.
FinalizeMiddlewareFunc returns a FinalizeMiddleware with the unique ID provided, and the func to be invoked.
GetLogger takes a context to retrieve a Logger from.
GetStackValues returns the value pointed to by the key within the stack values, if it is present.
InitializeMiddlewareFunc returns a InitializeMiddleware with the unique ID provided, and the func to be invoked.
NewBuildStep returns a BuildStep ready to have middleware for initialization added to it.
NewDeserializeStep returns a DeserializeStep ready to have middleware for initialization added to it.
NewFinalizeStep returns a FinalizeStep ready to have middleware for initialization added to it.
NewInitializeStep returns an InitializeStep ready to have middleware for initialization added to it.
NewSerializeStep returns a SerializeStep ready to have middleware for initialization added to it.
NewStack returns an initialize empty stack.
SerializeMiddlewareFunc returns a SerializeMiddleware with the unique ID provided, and the func to be invoked.
SetLogger sets the provided logger value on the provided ctx.
WithStackValue adds a key value pair to the context that is intended to be scoped to a stack.

# Constants

Relative position for middleware in steps.
Relative position for middleware in steps.

# Structs

BuildInput provides the input parameters for the BuildMiddleware to consume.
BuildOutput provides the result returned by the next BuildHandler.
BuildStep provides the ordered grouping of BuildMiddleware to be invoked on a handler.
DeserializeInput provides the input parameters for the DeserializeInput to consume.
DeserializeOutput provides the result returned by the next DeserializeHandler.
DeserializeStep provides the ordered grouping of DeserializeMiddleware to be invoked on a handler.
FinalizeInput provides the input parameters for the FinalizeMiddleware to consume.
FinalizeOutput provides the result returned by the next FinalizeHandler.
FinalizeStep provides the ordered grouping of FinalizeMiddleware to be invoked on a handler.
InitializeInput wraps the input parameters for the InitializeMiddlewares to consume.
InitializeOutput provides the result returned by the next InitializeHandler.
InitializeStep provides the ordered grouping of InitializeMiddleware to be invoked on a handler.
Metadata provides storing and reading metadata values.
SerializeInput provides the input parameters for the SerializeMiddleware to consume.
SerializeOutput provides the result returned by the next SerializeHandler.
SerializeStep provides the ordered grouping of SerializeMiddleware to be invoked on a handler.
Stack provides protocol and transport agnostic set of middleware split into distinct steps.

# Interfaces

BuildHandler provides the interface for the next handler the BuildMiddleware will call in the middleware chain.
BuildMiddleware provides the interface for middleware specific to the serialize step.
DeserializeHandler provides the interface for the next handler the DeserializeMiddleware will call in the middleware chain.
DeserializeMiddleware provides the interface for middleware specific to the serialize step.
FinalizeHandler provides the interface for the next handler the FinalizeMiddleware will call in the middleware chain.
FinalizeMiddleware provides the interface for middleware specific to the serialize step.
Handler provides the interface for performing the logic to obtain an output, or error for the given input.
InitializeHandler provides the interface for the next handler the InitializeMiddleware will call in the middleware chain.
InitializeMiddleware provides the interface for middleware specific to the initialize step.
MetadataReader provides an interface for reading metadata from the underlying metadata container.
Middleware provides the interface to call handlers in a chain.
SerializeHandler provides the interface for the next handler the SerializeMiddleware will call in the middleware chain.
SerializeMiddleware provides the interface for middleware specific to the serialize step.

# Type aliases

BuildHandlerFunc provides a wrapper around a function to be used as a build middleware handler.
DeserializeHandlerFunc provides a wrapper around a function to be used as a deserialize middleware handler.
FinalizeHandlerFunc provides a wrapper around a function to be used as a finalize middleware handler.
HandlerFunc provides a wrapper around a function pointer to be used as a middleware handler.
InitializeHandlerFunc provides a wrapper around a function to be used as an initialize middleware handler.
RelativePosition provides specifying the relative position of a middleware in an ordered group.
SerializeHandlerFunc provides a wrapper around a function to be used as a serialize middleware handler.