Structuresoto-core 7.4.0SotoCore
AWSMiddleware
Middleware initialized with a middleware handle
struct AWSMiddleware
Middleware initialized with a middleware handle
struct AWSMiddleware
import SotoCore
protocol AWSMiddlewareProtocol : Sendable
Middleware protocol, with function that takes a request, context and the next function to call
protocol Sendable
init(_ middleware: @escaping (AWSHTTPRequest, AWSMiddlewareContext, _ next: AWSMiddlewareNextHandler) async throws -> AWSHTTPResponse)
func handle(_ request: AWSHTTPRequest, context: AWSMiddlewareContext, next: AWSMiddlewareNextHandler) async throws -> AWSHTTPResponse