Skip to content

MethodSnapshot

Source code in docs_src/capo_api_gateway/types/method_snapshot.py
class MethodSnapshot(TypedDict, closed=True):
    authorization_type: NotRequired["capo_api_gateway.types.string.String"]
    """<p>The method's authorization type. Valid values are <code>NONE</code> for open access, <code>AWS_IAM</code> for using AWS IAM permissions, <code>CUSTOM</code> for using a custom authorizer, or <code>COGNITO_USER_POOLS</code> for using a Cognito user pool.</p>"""
    api_key_required: "capo_api_gateway.types.boolean.Boolean"
    """<p>Specifies whether the method requires a valid ApiKey.</p>"""

api_key_required instance-attribute

api_key_required: Boolean

Specifies whether the method requires a valid ApiKey.

authorization_type instance-attribute

authorization_type: NotRequired[String]

The method's authorization type. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS for using a Cognito user pool.