libZSservicesZSamazonka-apigatewayZSamazonka-apigateway
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.APIGateway.Types.MethodSnapshot

Description

 
Synopsis

Documentation

data MethodSnapshot Source #

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

See: newMethodSnapshot smart constructor.

Constructors

MethodSnapshot' 

Fields

  • authorizationType :: Maybe Text

    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.

  • apiKeyRequired :: Maybe Bool

    Specifies whether the method requires a valid ApiKey.

Instances

Instances details
Eq MethodSnapshot Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSnapshot

Read MethodSnapshot Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSnapshot

Show MethodSnapshot Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSnapshot

Generic MethodSnapshot Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSnapshot

Associated Types

type Rep MethodSnapshot :: Type -> Type #

NFData MethodSnapshot Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSnapshot

Methods

rnf :: MethodSnapshot -> () #

Hashable MethodSnapshot Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSnapshot

FromJSON MethodSnapshot Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSnapshot

type Rep MethodSnapshot Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSnapshot

type Rep MethodSnapshot = D1 ('MetaData "MethodSnapshot" "Amazonka.APIGateway.Types.MethodSnapshot" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "MethodSnapshot'" 'PrefixI 'True) (S1 ('MetaSel ('Just "authorizationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "apiKeyRequired") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newMethodSnapshot :: MethodSnapshot Source #

Create a value of MethodSnapshot with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:authorizationType:MethodSnapshot', methodSnapshot_authorizationType - 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.

$sel:apiKeyRequired:MethodSnapshot', methodSnapshot_apiKeyRequired - Specifies whether the method requires a valid ApiKey.

methodSnapshot_authorizationType :: Lens' MethodSnapshot (Maybe Text) Source #

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.

methodSnapshot_apiKeyRequired :: Lens' MethodSnapshot (Maybe Bool) Source #

Specifies whether the method requires a valid ApiKey.