Skip to content

InvokeWithResponseStreamResponse

Source code in docs_src/capo_lambda/types/invoke_with_response_stream_response.py
class InvokeWithResponseStreamResponse(TypedDict, closed=True):
    status_code: "capo_lambda.types.integer.Integer"
    """<p>For a successful request, the HTTP status code is in the 200 range. For the <code>RequestResponse</code> invocation type, this status code is 200. For the <code>DryRun</code> invocation type, this status code is 204.</p>"""
    executed_version: NotRequired["capo_lambda.types.version.Version"]
    """<p>The version of the function that executed. When you invoke a function with an alias, this indicates which version the alias resolved to.</p>"""
    event_stream: NotRequired[
        "capo_lambda.types.invoke_with_response_stream_response_event.InvokeWithResponseStreamResponseEvent"
    ]
    """<p>The stream of response payloads.</p>"""
    response_stream_content_type: NotRequired["capo_lambda.types.string.String"]
    """<p>The type of data the stream is returning.</p>"""

event_stream instance-attribute

event_stream: NotRequired[InvokeWithResponseStreamResponseEvent]

The stream of response payloads.

executed_version instance-attribute

executed_version: NotRequired[Version]

The version of the function that executed. When you invoke a function with an alias, this indicates which version the alias resolved to.

response_stream_content_type instance-attribute

response_stream_content_type: NotRequired[String]

The type of data the stream is returning.

status_code instance-attribute

status_code: Integer

For a successful request, the HTTP status code is in the 200 range. For the RequestResponse invocation type, this status code is 200. For the DryRun invocation type, this status code is 204.