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 implementation

    Process 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 implementation

    Process response before it is converted to an output AWSShape

    Default Implementation

    Declaration

    Swift

    func chain(response: AWSResponse) throws -> AWSResponse