class Amazonite::ApiGateway::MethodSnapshot

Overview

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

Included Modules

Defined in:

api_gateway/method_snapshot.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(authorization_type : String | Nil = nil, api_key_required : Bool | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def api_key_required : Bool | Nil #

Specifies whether the method requires a valid ApiKey.


[View source]
def api_key_required=(api_key_required : Bool | Nil) #

Specifies whether the method requires a valid ApiKey.


[View source]
def authorization_type : String | Nil #

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.


[View source]
def authorization_type=(authorization_type : String | Nil) #

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.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def validate! : Nil #

[View source]