Skip to content

TestInvokeMethodResponse

Source code in docs_src/capo_api_gateway/types/test_invoke_method_response.py
class TestInvokeMethodResponse(TypedDict, closed=True):
    status: "capo_api_gateway.types.integer.Integer"
    """<p>The HTTP status code.</p>"""
    body: NotRequired["capo_api_gateway.types.string.String"]
    """<p>The body of the HTTP response.</p>"""
    headers: NotRequired[
        "capo_api_gateway.types.map_of_string_to_string.MapOfStringToString"
    ]
    """<p>The headers of the HTTP response.</p>"""
    multi_value_headers: NotRequired[
        "capo_api_gateway.types.map_of_string_to_list.MapOfStringToList"
    ]
    """<p>The headers of the HTTP response as a map from string to list of values.</p>"""
    log: NotRequired["capo_api_gateway.types.string.String"]
    """<p>The API Gateway execution log for the test invoke request.</p>"""
    latency: "capo_api_gateway.types.long.Long"
    """<p>The execution latency, in ms, of the test invoke request.</p>"""

body instance-attribute

body: NotRequired[String]

The body of the HTTP response.

headers instance-attribute

headers: NotRequired[MapOfStringToString]

The headers of the HTTP response.

latency instance-attribute

latency: Long

The execution latency, in ms, of the test invoke request.

log instance-attribute

log: NotRequired[String]

The API Gateway execution log for the test invoke request.

multi_value_headers instance-attribute

multi_value_headers: NotRequired[MapOfStringToList]

The headers of the HTTP response as a map from string to list of values.

status instance-attribute

status: Integer

The HTTP status code.