You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// The body of the request sent to Lambda will be decoded into this type for the handler to consume.
@@ -95,7 +96,7 @@ public protocol LambdaWithBackgroundProcessingHandler {
95
96
96
97
/// Implement the business logic of the Lambda function here.
97
98
/// - Parameters:
98
-
/// - event: The generic ``Event`` object representing the invocation's input data.
99
+
/// - event: The generic ``LambdaWithBackgroundProcessingHandler/Event`` object representing the invocation's input data.
99
100
/// - outputWriter: The writer to send the computed response to. A call to `outputWriter.write(_:)` will return the response to the AWS Lambda response endpoint.
100
101
/// Any background work can then be executed before returning.
101
102
/// - context: The ``LambdaContext`` containing the invocation's metadata.
@@ -111,7 +112,7 @@ public protocol LambdaWithBackgroundProcessingHandler {
111
112
/// have a return type and exit at that point. This allows for background work to be executed _after_ a response has been sent to the AWS Lambda response endpoint.
112
113
publicprotocolLambdaResponseWriter<Output>{
113
114
associatedtypeOutput
114
-
/// Sends the generic ``Output`` object (representing the computed result of the handler)
115
+
/// Sends the generic ``LambdaResponseWriter/Output`` object (representing the computed result of the handler)
115
116
/// to the AWS Lambda response endpoint.
116
117
/// This function simply serves as a mechanism to return the computed result from a handler function
117
118
/// without an explicit `return`.
@@ -131,18 +132,18 @@ public struct StreamingClosureHandler: StreamingLambdaHandler {
131
132
self.body = body
132
133
}
133
134
134
-
/// Calls the provided `self.body` closure with the ``ByteBuffer`` invocation event, the ``LambdaResponseStreamWriter``, and the ``LambdaContext``
135
+
/// Calls the provided `self.body` closure with the `ByteBuffer` invocation event, the ``LambdaResponseStreamWriter``, and the ``LambdaContext``
135
136
/// - Parameters:
136
137
/// - event: The invocation's input data.
137
138
/// - responseWriter: A ``LambdaResponseStreamWriter`` to write the invocation's response to.
138
-
/// If no response or error is written to `responseWriter` an error will be reported to the invoker.
139
+
/// If no response or error is written to `responseWriter` an error will be reported to the invoker.
139
140
/// - context: The ``LambdaContext`` containing the invocation's metadata.
0 commit comments