class
Amazonite::ApiGateway::MethodSnapshot
- Amazonite::ApiGateway::MethodSnapshot
- Reference
- Object
Overview
Represents a summary of a Method resource, given a particular date and time.
Included Modules
- JSON::Serializable
Defined in:
api_gateway/method_snapshot.crConstructors
- .new(pull : JSON::PullParser)
- .new(authorization_type : String | Nil = nil, api_key_required : Bool | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#api_key_required : Bool | Nil
Specifies whether the method requires a valid ApiKey.
-
#api_key_required=(api_key_required : Bool | Nil)
Specifies whether the method requires a valid ApiKey.
-
#authorization_type : String | Nil
The method's authorization type.
-
#authorization_type=(authorization_type : String | Nil)
The method's authorization type.
-
#hash(hasher)
See
Object#hash(hasher) - #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
Specifies whether the method requires a valid ApiKey.
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.
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.