AWSServiceMiddleware
public protocol AWSServiceMiddleware
Middleware protocol. Gives ability to process requests before they are sent to AWS and process responses before they are converted into output shapes
-
chain(request:)Default implementationProcess AWSRequest before it is converted to a HTTPClient Request to be sent to AWS
Default Implementation
Declaration
Swift
func chain(request: AWSRequest) throws -> AWSRequest -
chain(response:)Default implementationProcess response before it is converted to an output AWSShape
Default Implementation
Declaration
Swift
func chain(response: AWSResponse) throws -> AWSResponse
View on GitHub
AWSServiceMiddleware Protocol Reference