Skip to content

Api Gateway  >  Structures  >  MethodSnapshot

MethodSnapshot

Structure Class

MethodSnapshot dataclass

Represents a summary of a Method resource, given a particular date and time.

Attributes

api_key_required class-attribute instance-attribute
api_key_required: bool = False

Specifies whether the method requires a valid ApiKey.

authorization_type class-attribute instance-attribute
authorization_type: str | None = None

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.