Class: Aws::APIGateway::Types::MethodSnapshot

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#api_key_required ⇒ Boolean

Specifies whether the method requires a valid ApiKey.

Returns:

  • (Boolean)


4150
4151
4152
4153
4154
4155
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 4150

class MethodSnapshot < Struct.new(
  :authorization_type,
  :api_key_required)
  SENSITIVE = []
  include Aws::Structure
end

#authorization_type ⇒ String

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

Returns:

  • (String)


4150
4151
4152
4153
4154
4155
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 4150

class MethodSnapshot < Struct.new(
  :authorization_type,
  :api_key_required)
  SENSITIVE = []
  include Aws::Structure
end