Skip to content

TestInvokeAuthorizerResponse

Source code in docs_src/capo_api_gateway/types/test_invoke_authorizer_response.py
class TestInvokeAuthorizerResponse(TypedDict, closed=True):
    client_status: "capo_api_gateway.types.integer.Integer"
    """<p>The HTTP status code that the client would have received. Value is 0 if the authorizer succeeded.</p>"""
    log: NotRequired["capo_api_gateway.types.string.String"]
    """<p>The API Gateway execution log for the test authorizer request.</p>"""
    latency: "capo_api_gateway.types.long.Long"
    """<p>The execution latency, in ms, of the test authorizer request.</p>"""
    principal_id: NotRequired["capo_api_gateway.types.string.String"]
    """<p>The principal identity returned by the Authorizer</p>"""
    policy: NotRequired["capo_api_gateway.types.string.String"]
    """<p>The JSON policy document returned by the Authorizer</p>"""
    authorization: NotRequired[
        "capo_api_gateway.types.map_of_string_to_list.MapOfStringToList"
    ]
    """<p>The authorization response.</p>"""
    claims: NotRequired[
        "capo_api_gateway.types.map_of_string_to_string.MapOfStringToString"
    ]
    """<p>The open identity claims, with any supported custom attributes, returned from the Cognito Your User Pool configured for the API.</p>"""

authorization instance-attribute

authorization: NotRequired[MapOfStringToList]

The authorization response.

claims instance-attribute

claims: NotRequired[MapOfStringToString]

The open identity claims, with any supported custom attributes, returned from the Cognito Your User Pool configured for the API.

client_status instance-attribute

client_status: Integer

The HTTP status code that the client would have received. Value is 0 if the authorizer succeeded.

latency instance-attribute

latency: Long

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

log instance-attribute

log: NotRequired[String]

The API Gateway execution log for the test authorizer request.

policy instance-attribute

policy: NotRequired[String]

The JSON policy document returned by the Authorizer

principal_id instance-attribute

principal_id: NotRequired[String]

The principal identity returned by the Authorizer