amazonka-apigateway-2.0: Amazon API Gateway SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.APIGateway.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2015-07-09 of the Amazon API Gateway SDK configuration.

Errors

_BadRequestException :: AsError a => Fold a ServiceError Source #

The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

_ConflictException :: AsError a => Fold a ServiceError Source #

The request configuration has conflicts. For details, see the accompanying error message.

_LimitExceededException :: AsError a => Fold a ServiceError Source #

The request exceeded the rate limit. Retry after the specified time period.

_NotFoundException :: AsError a => Fold a ServiceError Source #

The requested resource is not found. Make sure that the request URI is correct.

_ServiceUnavailableException :: AsError a => Fold a ServiceError Source #

The requested service is not available. For details see the accompanying error message. Retry after the specified time period.

_TooManyRequestsException :: AsError a => Fold a ServiceError Source #

The request has reached its throttling limit. Retry after the specified time period.

_UnauthorizedException :: AsError a => Fold a ServiceError Source #

The request is denied because the caller has insufficient permissions.

ApiKeySourceType

newtype ApiKeySourceType Source #

Instances

Instances details
FromJSON ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

FromJSONKey ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

ToJSON ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

ToJSONKey ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

ToByteString ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

ToHeader ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

ToLog ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

ToQuery ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

FromText ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

ToText ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

FromXML ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

ToXML ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

Generic ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

Associated Types

type Rep ApiKeySourceType :: Type -> Type #

Read ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

Show ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

NFData ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

Methods

rnf :: ApiKeySourceType -> () #

Eq ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

Ord ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

Hashable ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

type Rep ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

type Rep ApiKeySourceType = D1 ('MetaData "ApiKeySourceType" "Amazonka.APIGateway.Types.ApiKeySourceType" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'True) (C1 ('MetaCons "ApiKeySourceType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromApiKeySourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ApiKeysFormat

newtype ApiKeysFormat Source #

Constructors

ApiKeysFormat' 

Bundled Patterns

pattern ApiKeysFormat_Csv :: ApiKeysFormat 

Instances

Instances details
FromJSON ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

FromJSONKey ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

ToJSON ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

ToJSONKey ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

ToByteString ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

ToHeader ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

ToLog ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

ToQuery ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

FromText ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

ToText ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

Methods

toText :: ApiKeysFormat -> Text #

FromXML ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

ToXML ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

Methods

toXML :: ApiKeysFormat -> XML #

Generic ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

Associated Types

type Rep ApiKeysFormat :: Type -> Type #

Read ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

Show ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

NFData ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

Methods

rnf :: ApiKeysFormat -> () #

Eq ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

Ord ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

Hashable ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

type Rep ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

type Rep ApiKeysFormat = D1 ('MetaData "ApiKeysFormat" "Amazonka.APIGateway.Types.ApiKeysFormat" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'True) (C1 ('MetaCons "ApiKeysFormat'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromApiKeysFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

AuthorizerType

newtype AuthorizerType Source #

The authorizer type. Valid values are TOKEN for a Lambda function using a single authorization token submitted in a custom header, REQUEST for a Lambda function using incoming request parameters, and COGNITO_USER_POOLS for using an Amazon Cognito user pool.

Constructors

AuthorizerType' 

Instances

Instances details
FromJSON AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

FromJSONKey AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

ToJSON AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

ToJSONKey AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

ToByteString AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

ToHeader AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

ToLog AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

ToQuery AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

FromText AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

ToText AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

FromXML AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

ToXML AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

Methods

toXML :: AuthorizerType -> XML #

Generic AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

Associated Types

type Rep AuthorizerType :: Type -> Type #

Read AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

Show AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

NFData AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

Methods

rnf :: AuthorizerType -> () #

Eq AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

Ord AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

Hashable AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

type Rep AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

type Rep AuthorizerType = D1 ('MetaData "AuthorizerType" "Amazonka.APIGateway.Types.AuthorizerType" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'True) (C1 ('MetaCons "AuthorizerType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromAuthorizerType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

CacheClusterSize

newtype CacheClusterSize Source #

Returns the size of the CacheCluster.

Bundled Patterns

pattern CacheClusterSize_ :: CacheClusterSize 

Instances

Instances details
FromJSON CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

FromJSONKey CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

ToJSON CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

ToJSONKey CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

ToByteString CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

ToHeader CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

ToLog CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

ToQuery CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

FromText CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

ToText CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

FromXML CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

ToXML CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

Generic CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

Associated Types

type Rep CacheClusterSize :: Type -> Type #

Read CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

Show CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

NFData CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

Methods

rnf :: CacheClusterSize -> () #

Eq CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

Ord CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

Hashable CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

type Rep CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

type Rep CacheClusterSize = D1 ('MetaData "CacheClusterSize" "Amazonka.APIGateway.Types.CacheClusterSize" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'True) (C1 ('MetaCons "CacheClusterSize'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromCacheClusterSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

CacheClusterStatus

newtype CacheClusterStatus Source #

Returns the status of the CacheCluster.

Instances

Instances details
FromJSON CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

FromJSONKey CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

ToJSON CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

ToJSONKey CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

ToByteString CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

ToHeader CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

ToLog CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

ToQuery CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

FromText CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

ToText CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

FromXML CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

ToXML CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

Generic CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

Associated Types

type Rep CacheClusterStatus :: Type -> Type #

Read CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

Show CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

NFData CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

Methods

rnf :: CacheClusterStatus -> () #

Eq CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

Ord CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

Hashable CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

type Rep CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

type Rep CacheClusterStatus = D1 ('MetaData "CacheClusterStatus" "Amazonka.APIGateway.Types.CacheClusterStatus" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'True) (C1 ('MetaCons "CacheClusterStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromCacheClusterStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ConnectionType

newtype ConnectionType Source #

Constructors

ConnectionType' 

Instances

Instances details
FromJSON ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

FromJSONKey ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

ToJSON ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

ToJSONKey ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

ToByteString ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

ToHeader ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

ToLog ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

ToQuery ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

FromText ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

ToText ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

FromXML ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

ToXML ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

Methods

toXML :: ConnectionType -> XML #

Generic ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

Associated Types

type Rep ConnectionType :: Type -> Type #

Read ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

Show ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

NFData ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

Methods

rnf :: ConnectionType -> () #

Eq ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

Ord ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

Hashable ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

type Rep ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

type Rep ConnectionType = D1 ('MetaData "ConnectionType" "Amazonka.APIGateway.Types.ConnectionType" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'True) (C1 ('MetaCons "ConnectionType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromConnectionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ContentHandlingStrategy

newtype ContentHandlingStrategy Source #

Instances

Instances details
FromJSON ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

FromJSONKey ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

ToJSON ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

ToJSONKey ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

ToByteString ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

ToHeader ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

ToLog ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

ToQuery ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

FromText ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

ToText ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

FromXML ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

ToXML ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

Generic ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

Associated Types

type Rep ContentHandlingStrategy :: Type -> Type #

Read ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

Show ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

NFData ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

Methods

rnf :: ContentHandlingStrategy -> () #

Eq ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

Ord ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

Hashable ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

type Rep ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

type Rep ContentHandlingStrategy = D1 ('MetaData "ContentHandlingStrategy" "Amazonka.APIGateway.Types.ContentHandlingStrategy" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'True) (C1 ('MetaCons "ContentHandlingStrategy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromContentHandlingStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

DocumentationPartType

newtype DocumentationPartType Source #

Instances

Instances details
FromJSON DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

FromJSONKey DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

ToJSON DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

ToJSONKey DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

ToByteString DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

ToHeader DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

ToLog DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

ToQuery DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

FromText DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

ToText DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

FromXML DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

ToXML DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

Generic DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

Associated Types

type Rep DocumentationPartType :: Type -> Type #

Read DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

Show DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

NFData DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

Methods

rnf :: DocumentationPartType -> () #

Eq DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

Ord DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

Hashable DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

type Rep DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

type Rep DocumentationPartType = D1 ('MetaData "DocumentationPartType" "Amazonka.APIGateway.Types.DocumentationPartType" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'True) (C1 ('MetaCons "DocumentationPartType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDocumentationPartType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

DomainNameStatus

newtype DomainNameStatus Source #

Instances

Instances details
FromJSON DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

FromJSONKey DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

ToJSON DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

ToJSONKey DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

ToByteString DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

ToHeader DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

ToLog DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

ToQuery DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

FromText DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

ToText DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

FromXML DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

ToXML DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

Generic DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

Associated Types

type Rep DomainNameStatus :: Type -> Type #

Read DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

Show DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

NFData DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

Methods

rnf :: DomainNameStatus -> () #

Eq DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

Ord DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

Hashable DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

type Rep DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

type Rep DomainNameStatus = D1 ('MetaData "DomainNameStatus" "Amazonka.APIGateway.Types.DomainNameStatus" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'True) (C1 ('MetaCons "DomainNameStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDomainNameStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

EndpointType

newtype EndpointType Source #

The endpoint type. The valid values are EDGE for edge-optimized API setup, most suitable for mobile applications; REGIONAL for regional API endpoint setup, most suitable for calling from AWS Region; and PRIVATE for private APIs.

Constructors

EndpointType' 

Instances

Instances details
FromJSON EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

FromJSONKey EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

ToJSON EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

ToJSONKey EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

ToByteString EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

ToHeader EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

ToLog EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

ToQuery EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

FromText EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

ToText EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

Methods

toText :: EndpointType -> Text #

FromXML EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

ToXML EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

Methods

toXML :: EndpointType -> XML #

Generic EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

Associated Types

type Rep EndpointType :: Type -> Type #

Read EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

Show EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

NFData EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

Methods

rnf :: EndpointType -> () #

Eq EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

Ord EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

Hashable EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

type Rep EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

type Rep EndpointType = D1 ('MetaData "EndpointType" "Amazonka.APIGateway.Types.EndpointType" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'True) (C1 ('MetaCons "EndpointType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEndpointType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

GatewayResponseType

newtype GatewayResponseType Source #

Instances

Instances details
FromJSON GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

FromJSONKey GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

ToJSON GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

ToJSONKey GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

ToByteString GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

ToHeader GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

ToLog GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

ToQuery GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

FromText GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

ToText GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

FromXML GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

ToXML GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

Generic GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

Associated Types

type Rep GatewayResponseType :: Type -> Type #

Read GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

Show GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

NFData GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

Methods

rnf :: GatewayResponseType -> () #

Eq GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

Ord GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

Hashable GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

type Rep GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

type Rep GatewayResponseType = D1 ('MetaData "GatewayResponseType" "Amazonka.APIGateway.Types.GatewayResponseType" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'True) (C1 ('MetaCons "GatewayResponseType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromGatewayResponseType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

IntegrationType

newtype IntegrationType Source #

The integration type. The valid value is HTTP for integrating an API method with an HTTP backend; AWS with any AWS service endpoints; MOCK for testing without actually invoking the backend; HTTP_PROXY for integrating with the HTTP proxy integration; AWS_PROXY for integrating with the Lambda proxy integration.

Constructors

IntegrationType' 

Instances

Instances details
FromJSON IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

FromJSONKey IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

ToJSON IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

ToJSONKey IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

ToByteString IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

ToHeader IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

ToLog IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

ToQuery IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

FromText IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

ToText IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

FromXML IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

ToXML IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

Methods

toXML :: IntegrationType -> XML #

Generic IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

Associated Types

type Rep IntegrationType :: Type -> Type #

Read IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

Show IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

NFData IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

Methods

rnf :: IntegrationType -> () #

Eq IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

Ord IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

Hashable IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

type Rep IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

type Rep IntegrationType = D1 ('MetaData "IntegrationType" "Amazonka.APIGateway.Types.IntegrationType" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'True) (C1 ('MetaCons "IntegrationType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromIntegrationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

LocationStatusType

newtype LocationStatusType Source #

Instances

Instances details
FromJSON LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

FromJSONKey LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

ToJSON LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

ToJSONKey LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

ToByteString LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

ToHeader LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

ToLog LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

ToQuery LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

FromText LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

ToText LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

FromXML LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

ToXML LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

Generic LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

Associated Types

type Rep LocationStatusType :: Type -> Type #

Read LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

Show LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

NFData LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

Methods

rnf :: LocationStatusType -> () #

Eq LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

Ord LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

Hashable LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

type Rep LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

type Rep LocationStatusType = D1 ('MetaData "LocationStatusType" "Amazonka.APIGateway.Types.LocationStatusType" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'True) (C1 ('MetaCons "LocationStatusType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromLocationStatusType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Op

newtype Op Source #

Constructors

Op' 

Fields

Bundled Patterns

pattern Op_Add :: Op 
pattern Op_Copy :: Op 
pattern Op_Move :: Op 
pattern Op_Remove :: Op 
pattern Op_Replace :: Op 
pattern Op_Test :: Op 

Instances

Instances details
FromJSON Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

FromJSONKey Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

ToJSON Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

ToJSONKey Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

ToByteString Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

Methods

toBS :: Op -> ByteString #

ToHeader Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

Methods

toHeader :: HeaderName -> Op -> [Header] #

ToLog Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

ToQuery Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

Methods

toQuery :: Op -> QueryString #

FromText Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

Methods

fromText :: Text -> Either String Op #

ToText Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

Methods

toText :: Op -> Text #

FromXML Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

Methods

parseXML :: [Node] -> Either String Op #

ToXML Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

Methods

toXML :: Op -> XML #

Generic Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

Associated Types

type Rep Op :: Type -> Type #

Methods

from :: Op -> Rep Op x #

to :: Rep Op x -> Op #

Read Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

Show Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

Methods

showsPrec :: Int -> Op -> ShowS #

show :: Op -> String #

showList :: [Op] -> ShowS #

NFData Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

Methods

rnf :: Op -> () #

Eq Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

Methods

(==) :: Op -> Op -> Bool #

(/=) :: Op -> Op -> Bool #

Ord Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

Methods

compare :: Op -> Op -> Ordering #

(<) :: Op -> Op -> Bool #

(<=) :: Op -> Op -> Bool #

(>) :: Op -> Op -> Bool #

(>=) :: Op -> Op -> Bool #

max :: Op -> Op -> Op #

min :: Op -> Op -> Op #

Hashable Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

Methods

hashWithSalt :: Int -> Op -> Int #

hash :: Op -> Int #

type Rep Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

type Rep Op = D1 ('MetaData "Op" "Amazonka.APIGateway.Types.Op" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'True) (C1 ('MetaCons "Op'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromOp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

PutMode

newtype PutMode Source #

Constructors

PutMode' 

Fields

Bundled Patterns

pattern PutMode_Merge :: PutMode 
pattern PutMode_Overwrite :: PutMode 

Instances

Instances details
FromJSON PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

FromJSONKey PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

ToJSON PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

ToJSONKey PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

ToByteString PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

Methods

toBS :: PutMode -> ByteString #

ToHeader PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

Methods

toHeader :: HeaderName -> PutMode -> [Header] #

ToLog PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

ToQuery PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

FromText PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

ToText PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

Methods

toText :: PutMode -> Text #

FromXML PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

ToXML PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

Methods

toXML :: PutMode -> XML #

Generic PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

Associated Types

type Rep PutMode :: Type -> Type #

Methods

from :: PutMode -> Rep PutMode x #

to :: Rep PutMode x -> PutMode #

Read PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

Show PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

NFData PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

Methods

rnf :: PutMode -> () #

Eq PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

Methods

(==) :: PutMode -> PutMode -> Bool #

(/=) :: PutMode -> PutMode -> Bool #

Ord PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

Hashable PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

Methods

hashWithSalt :: Int -> PutMode -> Int #

hash :: PutMode -> Int #

type Rep PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

type Rep PutMode = D1 ('MetaData "PutMode" "Amazonka.APIGateway.Types.PutMode" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'True) (C1 ('MetaCons "PutMode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPutMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

QuotaPeriodType

newtype QuotaPeriodType Source #

Constructors

QuotaPeriodType' 

Instances

Instances details
FromJSON QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

FromJSONKey QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

ToJSON QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

ToJSONKey QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

ToByteString QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

ToHeader QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

ToLog QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

ToQuery QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

FromText QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

ToText QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

FromXML QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

ToXML QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

Methods

toXML :: QuotaPeriodType -> XML #

Generic QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

Associated Types

type Rep QuotaPeriodType :: Type -> Type #

Read QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

Show QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

NFData QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

Methods

rnf :: QuotaPeriodType -> () #

Eq QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

Ord QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

Hashable QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

type Rep QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

type Rep QuotaPeriodType = D1 ('MetaData "QuotaPeriodType" "Amazonka.APIGateway.Types.QuotaPeriodType" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'True) (C1 ('MetaCons "QuotaPeriodType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromQuotaPeriodType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

SecurityPolicy

newtype SecurityPolicy Source #

Constructors

SecurityPolicy' 

Instances

Instances details
FromJSON SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

FromJSONKey SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

ToJSON SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

ToJSONKey SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

ToByteString SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

ToHeader SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

ToLog SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

ToQuery SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

FromText SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

ToText SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

FromXML SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

ToXML SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

Methods

toXML :: SecurityPolicy -> XML #

Generic SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

Associated Types

type Rep SecurityPolicy :: Type -> Type #

Read SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

Show SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

NFData SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

Methods

rnf :: SecurityPolicy -> () #

Eq SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

Ord SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

Hashable SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

type Rep SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

type Rep SecurityPolicy = D1 ('MetaData "SecurityPolicy" "Amazonka.APIGateway.Types.SecurityPolicy" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'True) (C1 ('MetaCons "SecurityPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromSecurityPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

UnauthorizedCacheControlHeaderStrategy

newtype UnauthorizedCacheControlHeaderStrategy Source #

Instances

Instances details
FromJSON UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

FromJSONKey UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

ToJSON UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

ToJSONKey UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

ToByteString UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

ToHeader UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

ToLog UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

ToQuery UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

FromText UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

ToText UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

FromXML UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

ToXML UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

Generic UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

Read UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

Show UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

NFData UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

Eq UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

Ord UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

Hashable UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

type Rep UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

type Rep UnauthorizedCacheControlHeaderStrategy = D1 ('MetaData "UnauthorizedCacheControlHeaderStrategy" "Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'True) (C1 ('MetaCons "UnauthorizedCacheControlHeaderStrategy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromUnauthorizedCacheControlHeaderStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

VpcLinkStatus

newtype VpcLinkStatus Source #

Constructors

VpcLinkStatus' 

Instances

Instances details
FromJSON VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

FromJSONKey VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

ToJSON VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

ToJSONKey VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

ToByteString VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

ToHeader VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

ToLog VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

ToQuery VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

FromText VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

ToText VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

Methods

toText :: VpcLinkStatus -> Text #

FromXML VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

ToXML VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

Methods

toXML :: VpcLinkStatus -> XML #

Generic VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

Associated Types

type Rep VpcLinkStatus :: Type -> Type #

Read VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

Show VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

NFData VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

Methods

rnf :: VpcLinkStatus -> () #

Eq VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

Ord VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

Hashable VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

type Rep VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

type Rep VpcLinkStatus = D1 ('MetaData "VpcLinkStatus" "Amazonka.APIGateway.Types.VpcLinkStatus" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'True) (C1 ('MetaCons "VpcLinkStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromVpcLinkStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

AccessLogSettings

data AccessLogSettings Source #

Access log settings, including the access log format and access log destination ARN.

See: newAccessLogSettings smart constructor.

Constructors

AccessLogSettings' 

Fields

  • destinationArn :: Maybe Text

    The Amazon Resource Name (ARN) of the CloudWatch Logs log group or Kinesis Data Firehose delivery stream to receive access logs. If you specify a Kinesis Data Firehose delivery stream, the stream name must begin with amazon-apigateway-.

  • format :: Maybe Text

    A single line format of the access logs of data, as specified by selected $context variables. The format must include at least $context.requestId.

Instances

Instances details
FromJSON AccessLogSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AccessLogSettings

Generic AccessLogSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AccessLogSettings

Associated Types

type Rep AccessLogSettings :: Type -> Type #

Read AccessLogSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AccessLogSettings

Show AccessLogSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AccessLogSettings

NFData AccessLogSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AccessLogSettings

Methods

rnf :: AccessLogSettings -> () #

Eq AccessLogSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AccessLogSettings

Hashable AccessLogSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AccessLogSettings

type Rep AccessLogSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AccessLogSettings

type Rep AccessLogSettings = D1 ('MetaData "AccessLogSettings" "Amazonka.APIGateway.Types.AccessLogSettings" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "AccessLogSettings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "destinationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newAccessLogSettings :: AccessLogSettings Source #

Create a value of AccessLogSettings 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:destinationArn:AccessLogSettings', accessLogSettings_destinationArn - The Amazon Resource Name (ARN) of the CloudWatch Logs log group or Kinesis Data Firehose delivery stream to receive access logs. If you specify a Kinesis Data Firehose delivery stream, the stream name must begin with amazon-apigateway-.

$sel:format:AccessLogSettings', accessLogSettings_format - A single line format of the access logs of data, as specified by selected $context variables. The format must include at least $context.requestId.

accessLogSettings_destinationArn :: Lens' AccessLogSettings (Maybe Text) Source #

The Amazon Resource Name (ARN) of the CloudWatch Logs log group or Kinesis Data Firehose delivery stream to receive access logs. If you specify a Kinesis Data Firehose delivery stream, the stream name must begin with amazon-apigateway-.

accessLogSettings_format :: Lens' AccessLogSettings (Maybe Text) Source #

A single line format of the access logs of data, as specified by selected $context variables. The format must include at least $context.requestId.

Account

data Account Source #

Represents an AWS account that is associated with API Gateway.

See: newAccount smart constructor.

Constructors

Account' 

Fields

Instances

Instances details
FromJSON Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

Generic Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

Associated Types

type Rep Account :: Type -> Type #

Methods

from :: Account -> Rep Account x #

to :: Rep Account x -> Account #

Read Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

Show Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

NFData Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

Methods

rnf :: Account -> () #

Eq Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

Methods

(==) :: Account -> Account -> Bool #

(/=) :: Account -> Account -> Bool #

Hashable Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

Methods

hashWithSalt :: Int -> Account -> Int #

hash :: Account -> Int #

type Rep Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

type Rep Account = D1 ('MetaData "Account" "Amazonka.APIGateway.Types.Account" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "Account'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "apiKeyVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "cloudwatchRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "features") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "throttleSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ThrottleSettings)))))

newAccount :: Account Source #

Create a value of Account 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:apiKeyVersion:Account', account_apiKeyVersion - The version of the API keys used for the account.

$sel:cloudwatchRoleArn:Account', account_cloudwatchRoleArn - The ARN of an Amazon CloudWatch role for the current Account.

$sel:features:Account', account_features - A list of features supported for the account. When usage plans are enabled, the features list will include an entry of "UsagePlans".

$sel:throttleSettings:Account', account_throttleSettings - Specifies the API request limits configured for the current Account.

account_apiKeyVersion :: Lens' Account (Maybe Text) Source #

The version of the API keys used for the account.

account_cloudwatchRoleArn :: Lens' Account (Maybe Text) Source #

The ARN of an Amazon CloudWatch role for the current Account.

account_features :: Lens' Account (Maybe [Text]) Source #

A list of features supported for the account. When usage plans are enabled, the features list will include an entry of "UsagePlans".

account_throttleSettings :: Lens' Account (Maybe ThrottleSettings) Source #

Specifies the API request limits configured for the current Account.

ApiKey

data ApiKey Source #

A resource that can be distributed to callers for executing Method resources that require an API key. API keys can be mapped to any Stage on any RestApi, which indicates that the callers with the API key can make requests to that stage.

See: newApiKey smart constructor.

Constructors

ApiKey' 

Fields

Instances

Instances details
FromJSON ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

Generic ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

Associated Types

type Rep ApiKey :: Type -> Type #

Methods

from :: ApiKey -> Rep ApiKey x #

to :: Rep ApiKey x -> ApiKey #

Read ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

Show ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

NFData ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

Methods

rnf :: ApiKey -> () #

Eq ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

Methods

(==) :: ApiKey -> ApiKey -> Bool #

(/=) :: ApiKey -> ApiKey -> Bool #

Hashable ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

Methods

hashWithSalt :: Int -> ApiKey -> Int #

hash :: ApiKey -> Int #

type Rep ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

newApiKey :: ApiKey Source #

Create a value of ApiKey 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:createdDate:ApiKey', apiKey_createdDate - The timestamp when the API Key was created.

$sel:customerId:ApiKey', apiKey_customerId - An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.

$sel:description:ApiKey', apiKey_description - The description of the API Key.

$sel:enabled:ApiKey', apiKey_enabled - Specifies whether the API Key can be used by callers.

$sel:id:ApiKey', apiKey_id - The identifier of the API Key.

$sel:lastUpdatedDate:ApiKey', apiKey_lastUpdatedDate - The timestamp when the API Key was last updated.

$sel:name:ApiKey', apiKey_name - The name of the API Key.

$sel:stageKeys:ApiKey', apiKey_stageKeys - A list of Stage resources that are associated with the ApiKey resource.

$sel:tags:ApiKey', apiKey_tags - The collection of tags. Each tag element is associated with a given resource.

$sel:value:ApiKey', apiKey_value - The value of the API Key.

apiKey_createdDate :: Lens' ApiKey (Maybe UTCTime) Source #

The timestamp when the API Key was created.

apiKey_customerId :: Lens' ApiKey (Maybe Text) Source #

An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.

apiKey_description :: Lens' ApiKey (Maybe Text) Source #

The description of the API Key.

apiKey_enabled :: Lens' ApiKey (Maybe Bool) Source #

Specifies whether the API Key can be used by callers.

apiKey_id :: Lens' ApiKey (Maybe Text) Source #

The identifier of the API Key.

apiKey_lastUpdatedDate :: Lens' ApiKey (Maybe UTCTime) Source #

The timestamp when the API Key was last updated.

apiKey_name :: Lens' ApiKey (Maybe Text) Source #

The name of the API Key.

apiKey_stageKeys :: Lens' ApiKey (Maybe [Text]) Source #

A list of Stage resources that are associated with the ApiKey resource.

apiKey_tags :: Lens' ApiKey (Maybe (HashMap Text Text)) Source #

The collection of tags. Each tag element is associated with a given resource.

apiKey_value :: Lens' ApiKey (Maybe Text) Source #

The value of the API Key.

ApiStage

data ApiStage Source #

API stage name of the associated API stage in a usage plan.

See: newApiStage smart constructor.

Constructors

ApiStage' 

Fields

Instances

Instances details
FromJSON ApiStage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiStage

ToJSON ApiStage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiStage

Generic ApiStage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiStage

Associated Types

type Rep ApiStage :: Type -> Type #

Methods

from :: ApiStage -> Rep ApiStage x #

to :: Rep ApiStage x -> ApiStage #

Read ApiStage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiStage

Show ApiStage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiStage

NFData ApiStage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiStage

Methods

rnf :: ApiStage -> () #

Eq ApiStage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiStage

Hashable ApiStage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiStage

Methods

hashWithSalt :: Int -> ApiStage -> Int #

hash :: ApiStage -> Int #

type Rep ApiStage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiStage

type Rep ApiStage = D1 ('MetaData "ApiStage" "Amazonka.APIGateway.Types.ApiStage" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "ApiStage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "apiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "stage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "throttle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text ThrottleSettings))))))

newApiStage :: ApiStage Source #

Create a value of ApiStage 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:apiId:ApiStage', apiStage_apiId - API Id of the associated API stage in a usage plan.

$sel:stage:ApiStage', apiStage_stage - API stage name of the associated API stage in a usage plan.

$sel:throttle:ApiStage', apiStage_throttle - Map containing method level throttling information for API stage in a usage plan.

apiStage_apiId :: Lens' ApiStage (Maybe Text) Source #

API Id of the associated API stage in a usage plan.

apiStage_stage :: Lens' ApiStage (Maybe Text) Source #

API stage name of the associated API stage in a usage plan.

apiStage_throttle :: Lens' ApiStage (Maybe (HashMap Text ThrottleSettings)) Source #

Map containing method level throttling information for API stage in a usage plan.

Authorizer

data Authorizer Source #

Represents an authorization layer for methods. If enabled on a method, API Gateway will activate the authorizer when a client calls the method.

See: newAuthorizer smart constructor.

Constructors

Authorizer' 

Fields

  • authType :: Maybe Text

    Optional customer-defined field, used in OpenAPI imports and exports without functional impact.

  • authorizerCredentials :: Maybe Text

    Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify null.

  • authorizerResultTtlInSeconds :: Maybe Int

    The TTL in seconds of cached authorizer results. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway will cache authorizer responses. If this field is not set, the default value is 300. The maximum value is 3600, or 1 hour.

  • authorizerUri :: Maybe Text

    Specifies the authorizer's Uniform Resource Identifier (URI). For TOKEN or REQUEST authorizers, this must be a well-formed Lambda function URI, for example, arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations. In general, the URI has this form arn:aws:apigateway:{region}:lambda:path/{service_api}, where {region} is the same as the region hosting the Lambda function, path indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial /. For Lambda functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations.

  • id :: Maybe Text

    The identifier for the authorizer resource.

  • identitySource :: Maybe Text

    The identity source for which authorization is requested. For a TOKEN or COGNITO_USER_POOLS authorizer, this is required and specifies the request header mapping expression for the custom header holding the authorization token submitted by the client. For example, if the token header name is Auth, the header mapping expression is method.request.header.Auth. For the REQUEST authorizer, this is required when authorization caching is enabled. The value is a comma-separated string of one or more mapping expressions of the specified request parameters. For example, if an Auth header, a Name query string parameter are defined as identity sources, this value is method.request.header.Auth, method.request.querystring.Name. These parameters will be used to derive the authorization caching key and to perform runtime validation of the REQUEST authorizer by verifying all of the identity-related request parameters are present, not null and non-empty. Only when this is true does the authorizer invoke the authorizer Lambda function, otherwise, it returns a 401 Unauthorized response without calling the Lambda function. The valid value is a string of comma-separated mapping expressions of the specified request parameters. When the authorization caching is not enabled, this property is optional.

  • identityValidationExpression :: Maybe Text

    A validation expression for the incoming identity token. For TOKEN authorizers, this value is a regular expression. For COGNITO_USER_POOLS authorizers, API Gateway will match the aud field of the incoming token from the client against the specified regular expression. It will invoke the authorizer's Lambda function when there is a match. Otherwise, it will return a 401 Unauthorized response without calling the Lambda function. The validation expression does not apply to the REQUEST authorizer.

  • name :: Maybe Text

    The name of the authorizer.

  • providerARNs :: Maybe [Text]

    A list of the Amazon Cognito user pool ARNs for the COGNITO_USER_POOLS authorizer. Each element is of this format: arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}. For a TOKEN or REQUEST authorizer, this is not defined.

  • type' :: Maybe AuthorizerType

    The authorizer type. Valid values are TOKEN for a Lambda function using a single authorization token submitted in a custom header, REQUEST for a Lambda function using incoming request parameters, and COGNITO_USER_POOLS for using an Amazon Cognito user pool.

Instances

Instances details
FromJSON Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

Generic Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

Associated Types

type Rep Authorizer :: Type -> Type #

Read Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

Show Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

NFData Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

Methods

rnf :: Authorizer -> () #

Eq Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

Hashable Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

type Rep Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

newAuthorizer :: Authorizer Source #

Create a value of Authorizer 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:authType:Authorizer', authorizer_authType - Optional customer-defined field, used in OpenAPI imports and exports without functional impact.

$sel:authorizerCredentials:Authorizer', authorizer_authorizerCredentials - Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify null.

$sel:authorizerResultTtlInSeconds:Authorizer', authorizer_authorizerResultTtlInSeconds - The TTL in seconds of cached authorizer results. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway will cache authorizer responses. If this field is not set, the default value is 300. The maximum value is 3600, or 1 hour.

$sel:authorizerUri:Authorizer', authorizer_authorizerUri - Specifies the authorizer's Uniform Resource Identifier (URI). For TOKEN or REQUEST authorizers, this must be a well-formed Lambda function URI, for example, arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations. In general, the URI has this form arn:aws:apigateway:{region}:lambda:path/{service_api}, where {region} is the same as the region hosting the Lambda function, path indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial /. For Lambda functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations.

$sel:id:Authorizer', authorizer_id - The identifier for the authorizer resource.

$sel:identitySource:Authorizer', authorizer_identitySource - The identity source for which authorization is requested. For a TOKEN or COGNITO_USER_POOLS authorizer, this is required and specifies the request header mapping expression for the custom header holding the authorization token submitted by the client. For example, if the token header name is Auth, the header mapping expression is method.request.header.Auth. For the REQUEST authorizer, this is required when authorization caching is enabled. The value is a comma-separated string of one or more mapping expressions of the specified request parameters. For example, if an Auth header, a Name query string parameter are defined as identity sources, this value is method.request.header.Auth, method.request.querystring.Name. These parameters will be used to derive the authorization caching key and to perform runtime validation of the REQUEST authorizer by verifying all of the identity-related request parameters are present, not null and non-empty. Only when this is true does the authorizer invoke the authorizer Lambda function, otherwise, it returns a 401 Unauthorized response without calling the Lambda function. The valid value is a string of comma-separated mapping expressions of the specified request parameters. When the authorization caching is not enabled, this property is optional.

$sel:identityValidationExpression:Authorizer', authorizer_identityValidationExpression - A validation expression for the incoming identity token. For TOKEN authorizers, this value is a regular expression. For COGNITO_USER_POOLS authorizers, API Gateway will match the aud field of the incoming token from the client against the specified regular expression. It will invoke the authorizer's Lambda function when there is a match. Otherwise, it will return a 401 Unauthorized response without calling the Lambda function. The validation expression does not apply to the REQUEST authorizer.

$sel:name:Authorizer', authorizer_name - The name of the authorizer.

$sel:providerARNs:Authorizer', authorizer_providerARNs - A list of the Amazon Cognito user pool ARNs for the COGNITO_USER_POOLS authorizer. Each element is of this format: arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}. For a TOKEN or REQUEST authorizer, this is not defined.

$sel:type':Authorizer', authorizer_type - The authorizer type. Valid values are TOKEN for a Lambda function using a single authorization token submitted in a custom header, REQUEST for a Lambda function using incoming request parameters, and COGNITO_USER_POOLS for using an Amazon Cognito user pool.

authorizer_authType :: Lens' Authorizer (Maybe Text) Source #

Optional customer-defined field, used in OpenAPI imports and exports without functional impact.

authorizer_authorizerCredentials :: Lens' Authorizer (Maybe Text) Source #

Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify null.

authorizer_authorizerResultTtlInSeconds :: Lens' Authorizer (Maybe Int) Source #

The TTL in seconds of cached authorizer results. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway will cache authorizer responses. If this field is not set, the default value is 300. The maximum value is 3600, or 1 hour.

authorizer_authorizerUri :: Lens' Authorizer (Maybe Text) Source #

Specifies the authorizer's Uniform Resource Identifier (URI). For TOKEN or REQUEST authorizers, this must be a well-formed Lambda function URI, for example, arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations. In general, the URI has this form arn:aws:apigateway:{region}:lambda:path/{service_api}, where {region} is the same as the region hosting the Lambda function, path indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial /. For Lambda functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations.

authorizer_id :: Lens' Authorizer (Maybe Text) Source #

The identifier for the authorizer resource.

authorizer_identitySource :: Lens' Authorizer (Maybe Text) Source #

The identity source for which authorization is requested. For a TOKEN or COGNITO_USER_POOLS authorizer, this is required and specifies the request header mapping expression for the custom header holding the authorization token submitted by the client. For example, if the token header name is Auth, the header mapping expression is method.request.header.Auth. For the REQUEST authorizer, this is required when authorization caching is enabled. The value is a comma-separated string of one or more mapping expressions of the specified request parameters. For example, if an Auth header, a Name query string parameter are defined as identity sources, this value is method.request.header.Auth, method.request.querystring.Name. These parameters will be used to derive the authorization caching key and to perform runtime validation of the REQUEST authorizer by verifying all of the identity-related request parameters are present, not null and non-empty. Only when this is true does the authorizer invoke the authorizer Lambda function, otherwise, it returns a 401 Unauthorized response without calling the Lambda function. The valid value is a string of comma-separated mapping expressions of the specified request parameters. When the authorization caching is not enabled, this property is optional.

authorizer_identityValidationExpression :: Lens' Authorizer (Maybe Text) Source #

A validation expression for the incoming identity token. For TOKEN authorizers, this value is a regular expression. For COGNITO_USER_POOLS authorizers, API Gateway will match the aud field of the incoming token from the client against the specified regular expression. It will invoke the authorizer's Lambda function when there is a match. Otherwise, it will return a 401 Unauthorized response without calling the Lambda function. The validation expression does not apply to the REQUEST authorizer.

authorizer_name :: Lens' Authorizer (Maybe Text) Source #

The name of the authorizer.

authorizer_providerARNs :: Lens' Authorizer (Maybe [Text]) Source #

A list of the Amazon Cognito user pool ARNs for the COGNITO_USER_POOLS authorizer. Each element is of this format: arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}. For a TOKEN or REQUEST authorizer, this is not defined.

authorizer_type :: Lens' Authorizer (Maybe AuthorizerType) Source #

The authorizer type. Valid values are TOKEN for a Lambda function using a single authorization token submitted in a custom header, REQUEST for a Lambda function using incoming request parameters, and COGNITO_USER_POOLS for using an Amazon Cognito user pool.

BasePathMapping

data BasePathMapping Source #

Represents the base path that callers of the API must provide as part of the URL after the domain name.

See: newBasePathMapping smart constructor.

Constructors

BasePathMapping' 

Fields

Instances

Instances details
FromJSON BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

Generic BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

Associated Types

type Rep BasePathMapping :: Type -> Type #

Read BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

Show BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

NFData BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

Methods

rnf :: BasePathMapping -> () #

Eq BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

Hashable BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

type Rep BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

type Rep BasePathMapping = D1 ('MetaData "BasePathMapping" "Amazonka.APIGateway.Types.BasePathMapping" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "BasePathMapping'" 'PrefixI 'True) (S1 ('MetaSel ('Just "basePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "stage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newBasePathMapping :: BasePathMapping Source #

Create a value of BasePathMapping 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:basePath:BasePathMapping', basePathMapping_basePath - The base path name that callers of the API must provide as part of the URL after the domain name.

$sel:restApiId:BasePathMapping', basePathMapping_restApiId - The string identifier of the associated RestApi.

$sel:stage:BasePathMapping', basePathMapping_stage - The name of the associated stage.

basePathMapping_basePath :: Lens' BasePathMapping (Maybe Text) Source #

The base path name that callers of the API must provide as part of the URL after the domain name.

basePathMapping_restApiId :: Lens' BasePathMapping (Maybe Text) Source #

The string identifier of the associated RestApi.

basePathMapping_stage :: Lens' BasePathMapping (Maybe Text) Source #

The name of the associated stage.

CanarySettings

data CanarySettings Source #

Configuration settings of a canary deployment.

See: newCanarySettings smart constructor.

Constructors

CanarySettings' 

Fields

Instances

Instances details
FromJSON CanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CanarySettings

ToJSON CanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CanarySettings

Generic CanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CanarySettings

Associated Types

type Rep CanarySettings :: Type -> Type #

Read CanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CanarySettings

Show CanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CanarySettings

NFData CanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CanarySettings

Methods

rnf :: CanarySettings -> () #

Eq CanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CanarySettings

Hashable CanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CanarySettings

type Rep CanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CanarySettings

type Rep CanarySettings = D1 ('MetaData "CanarySettings" "Amazonka.APIGateway.Types.CanarySettings" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "CanarySettings'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "deploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "percentTraffic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))) :*: (S1 ('MetaSel ('Just "stageVariableOverrides") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "useStageCache") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

newCanarySettings :: CanarySettings Source #

Create a value of CanarySettings 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:deploymentId:CanarySettings', canarySettings_deploymentId - The ID of the canary deployment.

$sel:percentTraffic:CanarySettings', canarySettings_percentTraffic - The percent (0-100) of traffic diverted to a canary deployment.

$sel:stageVariableOverrides:CanarySettings', canarySettings_stageVariableOverrides - Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary. These stage variables are represented as a string-to-string map between stage variable names and their values.

$sel:useStageCache:CanarySettings', canarySettings_useStageCache - A Boolean flag to indicate whether the canary deployment uses the stage cache or not.

canarySettings_deploymentId :: Lens' CanarySettings (Maybe Text) Source #

The ID of the canary deployment.

canarySettings_percentTraffic :: Lens' CanarySettings (Maybe Double) Source #

The percent (0-100) of traffic diverted to a canary deployment.

canarySettings_stageVariableOverrides :: Lens' CanarySettings (Maybe (HashMap Text Text)) Source #

Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary. These stage variables are represented as a string-to-string map between stage variable names and their values.

canarySettings_useStageCache :: Lens' CanarySettings (Maybe Bool) Source #

A Boolean flag to indicate whether the canary deployment uses the stage cache or not.

ClientCertificate

data ClientCertificate Source #

Represents a client certificate used to configure client-side SSL authentication while sending requests to the integration endpoint.

See: newClientCertificate smart constructor.

Constructors

ClientCertificate' 

Fields

Instances

Instances details
FromJSON ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

Generic ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

Associated Types

type Rep ClientCertificate :: Type -> Type #

Read ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

Show ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

NFData ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

Methods

rnf :: ClientCertificate -> () #

Eq ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

Hashable ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

type Rep ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

type Rep ClientCertificate = D1 ('MetaData "ClientCertificate" "Amazonka.APIGateway.Types.ClientCertificate" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "ClientCertificate'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientCertificateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "expirationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "pemEncodedCertificate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))))

newClientCertificate :: ClientCertificate Source #

Create a value of ClientCertificate 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:clientCertificateId:ClientCertificate', clientCertificate_clientCertificateId - The identifier of the client certificate.

$sel:createdDate:ClientCertificate', clientCertificate_createdDate - The timestamp when the client certificate was created.

$sel:description:ClientCertificate', clientCertificate_description - The description of the client certificate.

$sel:expirationDate:ClientCertificate', clientCertificate_expirationDate - The timestamp when the client certificate will expire.

$sel:pemEncodedCertificate:ClientCertificate', clientCertificate_pemEncodedCertificate - The PEM-encoded public key of the client certificate, which can be used to configure certificate authentication in the integration endpoint .

$sel:tags:ClientCertificate', clientCertificate_tags - The collection of tags. Each tag element is associated with a given resource.

clientCertificate_clientCertificateId :: Lens' ClientCertificate (Maybe Text) Source #

The identifier of the client certificate.

clientCertificate_createdDate :: Lens' ClientCertificate (Maybe UTCTime) Source #

The timestamp when the client certificate was created.

clientCertificate_description :: Lens' ClientCertificate (Maybe Text) Source #

The description of the client certificate.

clientCertificate_expirationDate :: Lens' ClientCertificate (Maybe UTCTime) Source #

The timestamp when the client certificate will expire.

clientCertificate_pemEncodedCertificate :: Lens' ClientCertificate (Maybe Text) Source #

The PEM-encoded public key of the client certificate, which can be used to configure certificate authentication in the integration endpoint .

clientCertificate_tags :: Lens' ClientCertificate (Maybe (HashMap Text Text)) Source #

The collection of tags. Each tag element is associated with a given resource.

Deployment

data Deployment Source #

An immutable representation of a RestApi resource that can be called by users using Stages. A deployment must be associated with a Stage for it to be callable over the Internet.

See: newDeployment smart constructor.

Constructors

Deployment' 

Fields

Instances

Instances details
FromJSON Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

Generic Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

Associated Types

type Rep Deployment :: Type -> Type #

Read Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

Show Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

NFData Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

Methods

rnf :: Deployment -> () #

Eq Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

Hashable Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

type Rep Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

type Rep Deployment = D1 ('MetaData "Deployment" "Amazonka.APIGateway.Types.Deployment" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "Deployment'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "apiSummary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text (HashMap Text MethodSnapshot)))) :*: S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDeployment :: Deployment Source #

Create a value of Deployment 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:apiSummary:Deployment', deployment_apiSummary - A summary of the RestApi at the date and time that the deployment resource was created.

$sel:createdDate:Deployment', deployment_createdDate - The date and time that the deployment resource was created.

$sel:description:Deployment', deployment_description - The description for the deployment resource.

$sel:id:Deployment', deployment_id - The identifier for the deployment resource.

deployment_apiSummary :: Lens' Deployment (Maybe (HashMap Text (HashMap Text MethodSnapshot))) Source #

A summary of the RestApi at the date and time that the deployment resource was created.

deployment_createdDate :: Lens' Deployment (Maybe UTCTime) Source #

The date and time that the deployment resource was created.

deployment_description :: Lens' Deployment (Maybe Text) Source #

The description for the deployment resource.

deployment_id :: Lens' Deployment (Maybe Text) Source #

The identifier for the deployment resource.

DeploymentCanarySettings

data DeploymentCanarySettings Source #

The input configuration for a canary deployment.

See: newDeploymentCanarySettings smart constructor.

Constructors

DeploymentCanarySettings' 

Fields

  • percentTraffic :: Maybe Double

    The percentage (0.0-100.0) of traffic routed to the canary deployment.

  • stageVariableOverrides :: Maybe (HashMap Text Text)

    A stage variable overrides used for the canary release deployment. They can override existing stage variables or add new stage variables for the canary release deployment. These stage variables are represented as a string-to-string map between stage variable names and their values.

  • useStageCache :: Maybe Bool

    A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.

Instances

Instances details
ToJSON DeploymentCanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DeploymentCanarySettings

Generic DeploymentCanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DeploymentCanarySettings

Associated Types

type Rep DeploymentCanarySettings :: Type -> Type #

Read DeploymentCanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DeploymentCanarySettings

Show DeploymentCanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DeploymentCanarySettings

NFData DeploymentCanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DeploymentCanarySettings

Eq DeploymentCanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DeploymentCanarySettings

Hashable DeploymentCanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DeploymentCanarySettings

type Rep DeploymentCanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DeploymentCanarySettings

type Rep DeploymentCanarySettings = D1 ('MetaData "DeploymentCanarySettings" "Amazonka.APIGateway.Types.DeploymentCanarySettings" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "DeploymentCanarySettings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "percentTraffic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "stageVariableOverrides") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "useStageCache") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

newDeploymentCanarySettings :: DeploymentCanarySettings Source #

Create a value of DeploymentCanarySettings 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:percentTraffic:DeploymentCanarySettings', deploymentCanarySettings_percentTraffic - The percentage (0.0-100.0) of traffic routed to the canary deployment.

$sel:stageVariableOverrides:DeploymentCanarySettings', deploymentCanarySettings_stageVariableOverrides - A stage variable overrides used for the canary release deployment. They can override existing stage variables or add new stage variables for the canary release deployment. These stage variables are represented as a string-to-string map between stage variable names and their values.

$sel:useStageCache:DeploymentCanarySettings', deploymentCanarySettings_useStageCache - A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.

deploymentCanarySettings_percentTraffic :: Lens' DeploymentCanarySettings (Maybe Double) Source #

The percentage (0.0-100.0) of traffic routed to the canary deployment.

deploymentCanarySettings_stageVariableOverrides :: Lens' DeploymentCanarySettings (Maybe (HashMap Text Text)) Source #

A stage variable overrides used for the canary release deployment. They can override existing stage variables or add new stage variables for the canary release deployment. These stage variables are represented as a string-to-string map between stage variable names and their values.

deploymentCanarySettings_useStageCache :: Lens' DeploymentCanarySettings (Maybe Bool) Source #

A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.

DocumentationPart

data DocumentationPart Source #

A documentation part for a targeted API entity.

See: newDocumentationPart smart constructor.

Constructors

DocumentationPart' 

Fields

  • id :: Maybe Text

    The DocumentationPart identifier, generated by API Gateway when the DocumentationPart is created.

  • location :: Maybe DocumentationPartLocation

    The location of the API entity to which the documentation applies. Valid fields depend on the targeted API entity type. All the valid location fields are not required. If not explicitly specified, a valid location field is treated as a wildcard and associated documentation content may be inherited by matching entities, unless overridden.

  • properties :: Maybe Text

    A content map of API-specific key-value pairs describing the targeted API entity. The map must be encoded as a JSON string, e.g., "{ \"description\": \"The API does ...\" }". Only OpenAPI-compliant documentation-related fields from the properties map are exported and, hence, published as part of the API entity definitions, while the original documentation parts are exported in a OpenAPI extension of x-amazon-apigateway-documentation.

Instances

Instances details
FromJSON DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

Generic DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

Associated Types

type Rep DocumentationPart :: Type -> Type #

Read DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

Show DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

NFData DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

Methods

rnf :: DocumentationPart -> () #

Eq DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

Hashable DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

type Rep DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

type Rep DocumentationPart = D1 ('MetaData "DocumentationPart" "Amazonka.APIGateway.Types.DocumentationPart" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "DocumentationPart'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentationPartLocation)) :*: S1 ('MetaSel ('Just "properties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDocumentationPart :: DocumentationPart Source #

Create a value of DocumentationPart 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:id:DocumentationPart', documentationPart_id - The DocumentationPart identifier, generated by API Gateway when the DocumentationPart is created.

$sel:location:DocumentationPart', documentationPart_location - The location of the API entity to which the documentation applies. Valid fields depend on the targeted API entity type. All the valid location fields are not required. If not explicitly specified, a valid location field is treated as a wildcard and associated documentation content may be inherited by matching entities, unless overridden.

$sel:properties:DocumentationPart', documentationPart_properties - A content map of API-specific key-value pairs describing the targeted API entity. The map must be encoded as a JSON string, e.g., "{ \"description\": \"The API does ...\" }". Only OpenAPI-compliant documentation-related fields from the properties map are exported and, hence, published as part of the API entity definitions, while the original documentation parts are exported in a OpenAPI extension of x-amazon-apigateway-documentation.

documentationPart_id :: Lens' DocumentationPart (Maybe Text) Source #

The DocumentationPart identifier, generated by API Gateway when the DocumentationPart is created.

documentationPart_location :: Lens' DocumentationPart (Maybe DocumentationPartLocation) Source #

The location of the API entity to which the documentation applies. Valid fields depend on the targeted API entity type. All the valid location fields are not required. If not explicitly specified, a valid location field is treated as a wildcard and associated documentation content may be inherited by matching entities, unless overridden.

documentationPart_properties :: Lens' DocumentationPart (Maybe Text) Source #

A content map of API-specific key-value pairs describing the targeted API entity. The map must be encoded as a JSON string, e.g., "{ \"description\": \"The API does ...\" }". Only OpenAPI-compliant documentation-related fields from the properties map are exported and, hence, published as part of the API entity definitions, while the original documentation parts are exported in a OpenAPI extension of x-amazon-apigateway-documentation.

DocumentationPartLocation

data DocumentationPartLocation Source #

Specifies the target API entity to which the documentation applies.

See: newDocumentationPartLocation smart constructor.

Constructors

DocumentationPartLocation' 

Fields

  • method :: Maybe Text

    The HTTP verb of a method. It is a valid field for the API entity types of METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. The default value is * for any method. When an applicable child entity inherits the content of an entity of the same type with more general specifications of the other location attributes, the child entity's method attribute must match that of the parent entity exactly.

  • name :: Maybe Text

    The name of the targeted API entity. It is a valid and required field for the API entity types of AUTHORIZER, MODEL, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY and RESPONSE_HEADER. It is an invalid field for any other entity type.

  • path :: Maybe Text

    The URL path of the target. It is a valid field for the API entity types of RESOURCE, METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. The default value is / for the root resource. When an applicable child entity inherits the content of another entity of the same type with more general specifications of the other location attributes, the child entity's path attribute must match that of the parent entity as a prefix.

  • statusCode :: Maybe Text

    The HTTP status code of a response. It is a valid field for the API entity types of RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. The default value is * for any status code. When an applicable child entity inherits the content of an entity of the same type with more general specifications of the other location attributes, the child entity's statusCode attribute must match that of the parent entity exactly.

  • type' :: DocumentationPartType

    The type of API entity to which the documentation content applies. Valid values are API, AUTHORIZER, MODEL, RESOURCE, METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. Content inheritance does not apply to any entity of the API, AUTHORIZER, METHOD, MODEL, REQUEST_BODY, or RESOURCE type.

Instances

Instances details
FromJSON DocumentationPartLocation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartLocation

ToJSON DocumentationPartLocation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartLocation

Generic DocumentationPartLocation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartLocation

Associated Types

type Rep DocumentationPartLocation :: Type -> Type #

Read DocumentationPartLocation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartLocation

Show DocumentationPartLocation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartLocation

NFData DocumentationPartLocation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartLocation

Eq DocumentationPartLocation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartLocation

Hashable DocumentationPartLocation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartLocation

type Rep DocumentationPartLocation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartLocation

type Rep DocumentationPartLocation = D1 ('MetaData "DocumentationPartLocation" "Amazonka.APIGateway.Types.DocumentationPartLocation" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "DocumentationPartLocation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "method") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DocumentationPartType)))))

newDocumentationPartLocation Source #

Create a value of DocumentationPartLocation 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:method:DocumentationPartLocation', documentationPartLocation_method - The HTTP verb of a method. It is a valid field for the API entity types of METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. The default value is * for any method. When an applicable child entity inherits the content of an entity of the same type with more general specifications of the other location attributes, the child entity's method attribute must match that of the parent entity exactly.

$sel:name:DocumentationPartLocation', documentationPartLocation_name - The name of the targeted API entity. It is a valid and required field for the API entity types of AUTHORIZER, MODEL, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY and RESPONSE_HEADER. It is an invalid field for any other entity type.

$sel:path:DocumentationPartLocation', documentationPartLocation_path - The URL path of the target. It is a valid field for the API entity types of RESOURCE, METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. The default value is / for the root resource. When an applicable child entity inherits the content of another entity of the same type with more general specifications of the other location attributes, the child entity's path attribute must match that of the parent entity as a prefix.

$sel:statusCode:DocumentationPartLocation', documentationPartLocation_statusCode - The HTTP status code of a response. It is a valid field for the API entity types of RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. The default value is * for any status code. When an applicable child entity inherits the content of an entity of the same type with more general specifications of the other location attributes, the child entity's statusCode attribute must match that of the parent entity exactly.

$sel:type':DocumentationPartLocation', documentationPartLocation_type - The type of API entity to which the documentation content applies. Valid values are API, AUTHORIZER, MODEL, RESOURCE, METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. Content inheritance does not apply to any entity of the API, AUTHORIZER, METHOD, MODEL, REQUEST_BODY, or RESOURCE type.

documentationPartLocation_method :: Lens' DocumentationPartLocation (Maybe Text) Source #

The HTTP verb of a method. It is a valid field for the API entity types of METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. The default value is * for any method. When an applicable child entity inherits the content of an entity of the same type with more general specifications of the other location attributes, the child entity's method attribute must match that of the parent entity exactly.

documentationPartLocation_name :: Lens' DocumentationPartLocation (Maybe Text) Source #

The name of the targeted API entity. It is a valid and required field for the API entity types of AUTHORIZER, MODEL, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY and RESPONSE_HEADER. It is an invalid field for any other entity type.

documentationPartLocation_path :: Lens' DocumentationPartLocation (Maybe Text) Source #

The URL path of the target. It is a valid field for the API entity types of RESOURCE, METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. The default value is / for the root resource. When an applicable child entity inherits the content of another entity of the same type with more general specifications of the other location attributes, the child entity's path attribute must match that of the parent entity as a prefix.

documentationPartLocation_statusCode :: Lens' DocumentationPartLocation (Maybe Text) Source #

The HTTP status code of a response. It is a valid field for the API entity types of RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. The default value is * for any status code. When an applicable child entity inherits the content of an entity of the same type with more general specifications of the other location attributes, the child entity's statusCode attribute must match that of the parent entity exactly.

documentationPartLocation_type :: Lens' DocumentationPartLocation DocumentationPartType Source #

The type of API entity to which the documentation content applies. Valid values are API, AUTHORIZER, MODEL, RESOURCE, METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. Content inheritance does not apply to any entity of the API, AUTHORIZER, METHOD, MODEL, REQUEST_BODY, or RESOURCE type.

DocumentationVersion

data DocumentationVersion Source #

A snapshot of the documentation of an API.

See: newDocumentationVersion smart constructor.

Constructors

DocumentationVersion' 

Fields

Instances

Instances details
FromJSON DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

Generic DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

Associated Types

type Rep DocumentationVersion :: Type -> Type #

Read DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

Show DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

NFData DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

Methods

rnf :: DocumentationVersion -> () #

Eq DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

Hashable DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

type Rep DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

type Rep DocumentationVersion = D1 ('MetaData "DocumentationVersion" "Amazonka.APIGateway.Types.DocumentationVersion" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "DocumentationVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDocumentationVersion :: DocumentationVersion Source #

Create a value of DocumentationVersion 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:createdDate:DocumentationVersion', documentationVersion_createdDate - The date when the API documentation snapshot is created.

$sel:description:DocumentationVersion', documentationVersion_description - The description of the API documentation snapshot.

$sel:version:DocumentationVersion', documentationVersion_version - The version identifier of the API documentation snapshot.

documentationVersion_createdDate :: Lens' DocumentationVersion (Maybe UTCTime) Source #

The date when the API documentation snapshot is created.

documentationVersion_description :: Lens' DocumentationVersion (Maybe Text) Source #

The description of the API documentation snapshot.

documentationVersion_version :: Lens' DocumentationVersion (Maybe Text) Source #

The version identifier of the API documentation snapshot.

DomainName

data DomainName Source #

Represents a custom domain name as a user-friendly host name of an API (RestApi).

See: newDomainName smart constructor.

Constructors

DomainName' 

Fields

  • certificateArn :: Maybe Text

    The reference to an AWS-managed certificate that will be used by edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source.

  • certificateName :: Maybe Text

    The name of the certificate that will be used by edge-optimized endpoint for this domain name.

  • certificateUploadDate :: Maybe POSIX

    The timestamp when the certificate that was used by edge-optimized endpoint for this domain name was uploaded.

  • distributionDomainName :: Maybe Text

    The domain name of the Amazon CloudFront distribution associated with this custom domain name for an edge-optimized endpoint. You set up this association when adding a DNS record pointing the custom domain name to this distribution name. For more information about CloudFront distributions, see the Amazon CloudFront documentation.

  • distributionHostedZoneId :: Maybe Text

    The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized endpoint. The valid value is Z2FDTNDATAQYW2 for all the regions. For more information, see Set up a Regional Custom Domain Name and AWS Regions and Endpoints for API Gateway.

  • domainName :: Maybe Text

    The custom domain name as an API host name, for example, my-api.example.com.

  • domainNameStatus :: Maybe DomainNameStatus

    The status of the DomainName migration. The valid values are AVAILABLE and UPDATING. If the status is UPDATING, the domain cannot be modified further until the existing operation is complete. If it is AVAILABLE, the domain can be updated.

  • domainNameStatusMessage :: Maybe Text

    An optional text message containing detailed information about status of the DomainName migration.

  • endpointConfiguration :: Maybe EndpointConfiguration

    The endpoint configuration of this DomainName showing the endpoint types of the domain name.

  • mutualTlsAuthentication :: Maybe MutualTlsAuthentication

    The mutual TLS authentication configuration for a custom domain name. If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your API.

  • ownershipVerificationCertificateArn :: Maybe Text

    The ARN of the public certificate issued by ACM to validate ownership of your custom domain. Only required when configuring mutual TLS and using an ACM imported or private CA certificate ARN as the regionalCertificateArn.

  • regionalCertificateArn :: Maybe Text

    The reference to an AWS-managed certificate that will be used for validating the regional domain name. AWS Certificate Manager is the only supported source.

  • regionalCertificateName :: Maybe Text

    The name of the certificate that will be used for validating the regional domain name.

  • regionalDomainName :: Maybe Text

    The domain name associated with the regional endpoint for this custom domain name. You set up this association by adding a DNS record that points the custom domain name to this regional domain name. The regional domain name is returned by API Gateway when you create a regional endpoint.

  • regionalHostedZoneId :: Maybe Text

    The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint. For more information, see Set up a Regional Custom Domain Name and AWS Regions and Endpoints for API Gateway.

  • securityPolicy :: Maybe SecurityPolicy

    The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are TLS_1_0 and TLS_1_2.

  • tags :: Maybe (HashMap Text Text)

    The collection of tags. Each tag element is associated with a given resource.

Instances

Instances details
FromJSON DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

Generic DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

Associated Types

type Rep DomainName :: Type -> Type #

Read DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

Show DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

NFData DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

Methods

rnf :: DomainName -> () #

Eq DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

Hashable DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

type Rep DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

type Rep DomainName = D1 ('MetaData "DomainName" "Amazonka.APIGateway.Types.DomainName" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "DomainName'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "certificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "certificateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "certificateUploadDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "distributionDomainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "distributionHostedZoneId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "domainNameStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DomainNameStatus)) :*: S1 ('MetaSel ('Just "domainNameStatusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "endpointConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EndpointConfiguration)) :*: S1 ('MetaSel ('Just "mutualTlsAuthentication") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MutualTlsAuthentication))) :*: (S1 ('MetaSel ('Just "ownershipVerificationCertificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "regionalCertificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "regionalCertificateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "regionalDomainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "regionalHostedZoneId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "securityPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SecurityPolicy)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))))))

newDomainName :: DomainName Source #

Create a value of DomainName 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:certificateArn:DomainName', domainName_certificateArn - The reference to an AWS-managed certificate that will be used by edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source.

$sel:certificateName:DomainName', domainName_certificateName - The name of the certificate that will be used by edge-optimized endpoint for this domain name.

$sel:certificateUploadDate:DomainName', domainName_certificateUploadDate - The timestamp when the certificate that was used by edge-optimized endpoint for this domain name was uploaded.

$sel:distributionDomainName:DomainName', domainName_distributionDomainName - The domain name of the Amazon CloudFront distribution associated with this custom domain name for an edge-optimized endpoint. You set up this association when adding a DNS record pointing the custom domain name to this distribution name. For more information about CloudFront distributions, see the Amazon CloudFront documentation.

$sel:distributionHostedZoneId:DomainName', domainName_distributionHostedZoneId - The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized endpoint. The valid value is Z2FDTNDATAQYW2 for all the regions. For more information, see Set up a Regional Custom Domain Name and AWS Regions and Endpoints for API Gateway.

$sel:domainName:DomainName', domainName_domainName - The custom domain name as an API host name, for example, my-api.example.com.

$sel:domainNameStatus:DomainName', domainName_domainNameStatus - The status of the DomainName migration. The valid values are AVAILABLE and UPDATING. If the status is UPDATING, the domain cannot be modified further until the existing operation is complete. If it is AVAILABLE, the domain can be updated.

$sel:domainNameStatusMessage:DomainName', domainName_domainNameStatusMessage - An optional text message containing detailed information about status of the DomainName migration.

$sel:endpointConfiguration:DomainName', domainName_endpointConfiguration - The endpoint configuration of this DomainName showing the endpoint types of the domain name.

$sel:mutualTlsAuthentication:DomainName', domainName_mutualTlsAuthentication - The mutual TLS authentication configuration for a custom domain name. If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your API.

$sel:ownershipVerificationCertificateArn:DomainName', domainName_ownershipVerificationCertificateArn - The ARN of the public certificate issued by ACM to validate ownership of your custom domain. Only required when configuring mutual TLS and using an ACM imported or private CA certificate ARN as the regionalCertificateArn.

$sel:regionalCertificateArn:DomainName', domainName_regionalCertificateArn - The reference to an AWS-managed certificate that will be used for validating the regional domain name. AWS Certificate Manager is the only supported source.

$sel:regionalCertificateName:DomainName', domainName_regionalCertificateName - The name of the certificate that will be used for validating the regional domain name.

$sel:regionalDomainName:DomainName', domainName_regionalDomainName - The domain name associated with the regional endpoint for this custom domain name. You set up this association by adding a DNS record that points the custom domain name to this regional domain name. The regional domain name is returned by API Gateway when you create a regional endpoint.

$sel:regionalHostedZoneId:DomainName', domainName_regionalHostedZoneId - The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint. For more information, see Set up a Regional Custom Domain Name and AWS Regions and Endpoints for API Gateway.

$sel:securityPolicy:DomainName', domainName_securityPolicy - The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are TLS_1_0 and TLS_1_2.

$sel:tags:DomainName', domainName_tags - The collection of tags. Each tag element is associated with a given resource.

domainName_certificateArn :: Lens' DomainName (Maybe Text) Source #

The reference to an AWS-managed certificate that will be used by edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source.

domainName_certificateName :: Lens' DomainName (Maybe Text) Source #

The name of the certificate that will be used by edge-optimized endpoint for this domain name.

domainName_certificateUploadDate :: Lens' DomainName (Maybe UTCTime) Source #

The timestamp when the certificate that was used by edge-optimized endpoint for this domain name was uploaded.

domainName_distributionDomainName :: Lens' DomainName (Maybe Text) Source #

The domain name of the Amazon CloudFront distribution associated with this custom domain name for an edge-optimized endpoint. You set up this association when adding a DNS record pointing the custom domain name to this distribution name. For more information about CloudFront distributions, see the Amazon CloudFront documentation.

domainName_distributionHostedZoneId :: Lens' DomainName (Maybe Text) Source #

The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized endpoint. The valid value is Z2FDTNDATAQYW2 for all the regions. For more information, see Set up a Regional Custom Domain Name and AWS Regions and Endpoints for API Gateway.

domainName_domainName :: Lens' DomainName (Maybe Text) Source #

The custom domain name as an API host name, for example, my-api.example.com.

domainName_domainNameStatus :: Lens' DomainName (Maybe DomainNameStatus) Source #

The status of the DomainName migration. The valid values are AVAILABLE and UPDATING. If the status is UPDATING, the domain cannot be modified further until the existing operation is complete. If it is AVAILABLE, the domain can be updated.

domainName_domainNameStatusMessage :: Lens' DomainName (Maybe Text) Source #

An optional text message containing detailed information about status of the DomainName migration.

domainName_endpointConfiguration :: Lens' DomainName (Maybe EndpointConfiguration) Source #

The endpoint configuration of this DomainName showing the endpoint types of the domain name.

domainName_mutualTlsAuthentication :: Lens' DomainName (Maybe MutualTlsAuthentication) Source #

The mutual TLS authentication configuration for a custom domain name. If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your API.

domainName_ownershipVerificationCertificateArn :: Lens' DomainName (Maybe Text) Source #

The ARN of the public certificate issued by ACM to validate ownership of your custom domain. Only required when configuring mutual TLS and using an ACM imported or private CA certificate ARN as the regionalCertificateArn.

domainName_regionalCertificateArn :: Lens' DomainName (Maybe Text) Source #

The reference to an AWS-managed certificate that will be used for validating the regional domain name. AWS Certificate Manager is the only supported source.

domainName_regionalCertificateName :: Lens' DomainName (Maybe Text) Source #

The name of the certificate that will be used for validating the regional domain name.

domainName_regionalDomainName :: Lens' DomainName (Maybe Text) Source #

The domain name associated with the regional endpoint for this custom domain name. You set up this association by adding a DNS record that points the custom domain name to this regional domain name. The regional domain name is returned by API Gateway when you create a regional endpoint.

domainName_regionalHostedZoneId :: Lens' DomainName (Maybe Text) Source #

The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint. For more information, see Set up a Regional Custom Domain Name and AWS Regions and Endpoints for API Gateway.

domainName_securityPolicy :: Lens' DomainName (Maybe SecurityPolicy) Source #

The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are TLS_1_0 and TLS_1_2.

domainName_tags :: Lens' DomainName (Maybe (HashMap Text Text)) Source #

The collection of tags. Each tag element is associated with a given resource.

EndpointConfiguration

data EndpointConfiguration Source #

The endpoint configuration to indicate the types of endpoints an API (RestApi) or its custom domain name (DomainName) has.

See: newEndpointConfiguration smart constructor.

Constructors

EndpointConfiguration' 

Fields

  • types :: Maybe [EndpointType]

    A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is "EDGE". For a regional API and its custom domain name, the endpoint type is REGIONAL. For a private API, the endpoint type is PRIVATE.

  • vpcEndpointIds :: Maybe [Text]

    A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for PRIVATE endpoint type.

Instances

Instances details
FromJSON EndpointConfiguration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointConfiguration

ToJSON EndpointConfiguration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointConfiguration

Generic EndpointConfiguration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointConfiguration

Associated Types

type Rep EndpointConfiguration :: Type -> Type #

Read EndpointConfiguration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointConfiguration

Show EndpointConfiguration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointConfiguration

NFData EndpointConfiguration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointConfiguration

Methods

rnf :: EndpointConfiguration -> () #

Eq EndpointConfiguration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointConfiguration

Hashable EndpointConfiguration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointConfiguration

type Rep EndpointConfiguration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointConfiguration

type Rep EndpointConfiguration = D1 ('MetaData "EndpointConfiguration" "Amazonka.APIGateway.Types.EndpointConfiguration" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "EndpointConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "types") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EndpointType])) :*: S1 ('MetaSel ('Just "vpcEndpointIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

newEndpointConfiguration :: EndpointConfiguration Source #

Create a value of EndpointConfiguration 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:types:EndpointConfiguration', endpointConfiguration_types - A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is "EDGE". For a regional API and its custom domain name, the endpoint type is REGIONAL. For a private API, the endpoint type is PRIVATE.

$sel:vpcEndpointIds:EndpointConfiguration', endpointConfiguration_vpcEndpointIds - A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for PRIVATE endpoint type.

endpointConfiguration_types :: Lens' EndpointConfiguration (Maybe [EndpointType]) Source #

A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is "EDGE". For a regional API and its custom domain name, the endpoint type is REGIONAL. For a private API, the endpoint type is PRIVATE.

endpointConfiguration_vpcEndpointIds :: Lens' EndpointConfiguration (Maybe [Text]) Source #

A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for PRIVATE endpoint type.

GatewayResponse

data GatewayResponse Source #

A gateway response of a given response type and status code, with optional response parameters and mapping templates.

See: newGatewayResponse smart constructor.

Constructors

GatewayResponse' 

Fields

Instances

Instances details
FromJSON GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

Generic GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

Associated Types

type Rep GatewayResponse :: Type -> Type #

Read GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

Show GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

NFData GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

Methods

rnf :: GatewayResponse -> () #

Eq GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

Hashable GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

type Rep GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

type Rep GatewayResponse = D1 ('MetaData "GatewayResponse" "Amazonka.APIGateway.Types.GatewayResponse" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "GatewayResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "defaultResponse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "responseParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "responseTemplates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "responseType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GatewayResponseType)) :*: S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newGatewayResponse :: GatewayResponse Source #

Create a value of GatewayResponse 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:defaultResponse:GatewayResponse', gatewayResponse_defaultResponse - A Boolean flag to indicate whether this GatewayResponse is the default gateway response (true) or not (false). A default gateway response is one generated by API Gateway without any customization by an API developer.

$sel:responseParameters:GatewayResponse', gatewayResponse_responseParameters - Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.

$sel:responseTemplates:GatewayResponse', gatewayResponse_responseTemplates - Response templates of the GatewayResponse as a string-to-string map of key-value pairs.

$sel:responseType:GatewayResponse', gatewayResponse_responseType - The response type of the associated GatewayResponse.

$sel:statusCode:GatewayResponse', gatewayResponse_statusCode - The HTTP status code for this GatewayResponse.

gatewayResponse_defaultResponse :: Lens' GatewayResponse (Maybe Bool) Source #

A Boolean flag to indicate whether this GatewayResponse is the default gateway response (true) or not (false). A default gateway response is one generated by API Gateway without any customization by an API developer.

gatewayResponse_responseParameters :: Lens' GatewayResponse (Maybe (HashMap Text Text)) Source #

Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.

gatewayResponse_responseTemplates :: Lens' GatewayResponse (Maybe (HashMap Text Text)) Source #

Response templates of the GatewayResponse as a string-to-string map of key-value pairs.

gatewayResponse_responseType :: Lens' GatewayResponse (Maybe GatewayResponseType) Source #

The response type of the associated GatewayResponse.

gatewayResponse_statusCode :: Lens' GatewayResponse (Maybe Text) Source #

The HTTP status code for this GatewayResponse.

Integration

data Integration Source #

Represents an HTTP, HTTP_PROXY, AWS, AWS_PROXY, or Mock integration.

See: newIntegration smart constructor.

Constructors

Integration' 

Fields

  • cacheKeyParameters :: Maybe [Text]

    A list of request parameters whose values API Gateway caches. To be valid values for cacheKeyParameters, these parameters must also be specified for Method requestParameters.

  • cacheNamespace :: Maybe Text

    Specifies a group of related cached parameters. By default, API Gateway uses the resource ID as the cacheNamespace. You can specify the same cacheNamespace across resources to return the same cached data for requests to different resources.

  • connectionId :: Maybe Text

    The ID of the VpcLink used for the integration when connectionType=VPC_LINK and undefined, otherwise.

  • connectionType :: Maybe ConnectionType

    The type of the network connection to the integration endpoint. The valid value is INTERNET for connections through the public routable internet or VPC_LINK for private connections between API Gateway and a network load balancer in a VPC. The default value is INTERNET.

  • contentHandling :: Maybe ContentHandlingStrategy

    Specifies how to handle request payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

    If this property is not defined, the request payload will be passed through from the method request to integration request without modification, provided that the passthroughBehavior is configured to support payload pass-through.

  • credentials :: Maybe Text

    Specifies the credentials required for the integration, if any. For AWS integrations, three options are available. To specify an IAM Role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To require that the caller's identity be passed through from the request, specify the string arn:aws:iam::\*:user/\*. To use resource-based permissions on supported AWS services, specify null.

  • httpMethod :: Maybe Text

    Specifies the integration's HTTP method type.

  • integrationResponses :: Maybe (HashMap Text IntegrationResponse)

    Specifies the integration's responses.

  • passthroughBehavior :: Maybe Text

    Specifies how the method request body of an unmapped content type will be passed through the integration request to the back end without transformation. A content type is unmapped if no mapping template is defined in the integration or the content type does not match any of the mapped content types, as specified in requestTemplates. The valid value is one of the following: WHEN_NO_MATCH: passes the method request body through the integration request to the back end without transformation when the method request content type does not match any content type associated with the mapping templates defined in the integration request. WHEN_NO_TEMPLATES: passes the method request body through the integration request to the back end without transformation when no mapping template is defined in the integration request. If a template is defined when this option is selected, the method request of an unmapped content-type will be rejected with an HTTP 415 Unsupported Media Type response. NEVER: rejects the method request with an HTTP 415 Unsupported Media Type response when either the method request content type does not match any content type associated with the mapping templates defined in the integration request or no mapping template is defined in the integration request.

  • requestParameters :: Maybe (HashMap Text Text)

    A key-value map specifying request parameters that are passed from the method request to the back end. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the back end. The method request parameter value must match the pattern of method.request.{location}.{name}, where location is querystring, path, or header and name must be a valid and unique method request parameter name.

  • requestTemplates :: Maybe (HashMap Text Text)

    Represents a map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. The content type value is the key in this map, and the template (as a String) is the value.

  • timeoutInMillis :: Maybe Int

    Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds.

  • tlsConfig :: Maybe TlsConfig

    Specifies the TLS configuration for an integration.

  • type' :: Maybe IntegrationType

    Specifies an API method integration type. The valid value is one of the following:

    For the HTTP and HTTP proxy integrations, each integration can specify a protocol (http/https), port and path. Standard 80 and 443 ports are supported as well as custom ports above 1024. An HTTP or HTTP proxy integration with a connectionType of VPC_LINK is referred to as a private integration and uses a VpcLink to connect API Gateway to a network load balancer of a VPC.

  • uri :: Maybe Text

    Specifies Uniform Resource Identifier (URI) of the integration endpoint.

    For HTTP or HTTP_PROXY integrations, the URI must be a fully formed, encoded HTTP(S) URL according to the RFC-3986 specification, for either standard integration, where connectionType is not VPC_LINK, or private integration, where connectionType is VPC_LINK. For a private HTTP integration, the URI is not used for routing. For AWS or AWS_PROXY integrations, the URI is of the form arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}. Here, {Region} is the API Gateway region (e.g., us-east-1); {service} is the name of the integrated Amazon Web Services service (e.g., s3); and {subdomain} is a designated subdomain supported by certain Amazon Web Services service for fast host-name lookup. action can be used for an Amazon Web Services service action-based API, using an Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing {service_api} refers to a supported action {name} plus any required input parameters. Alternatively, path can be used for an AWS service path-based API. The ensuing service_api refers to the path to an Amazon Web Services service resource, including the region of the integrated Amazon Web Services service, if applicable. For example, for integration with the S3 API of GetObject, the uri can be either arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key} or arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key}

Instances

Instances details
FromJSON Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

Generic Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

Associated Types

type Rep Integration :: Type -> Type #

Read Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

Show Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

NFData Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

Methods

rnf :: Integration -> () #

Eq Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

Hashable Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

type Rep Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

type Rep Integration = D1 ('MetaData "Integration" "Amazonka.APIGateway.Types.Integration" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "Integration'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "cacheKeyParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "cacheNamespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "connectionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "connectionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConnectionType)) :*: S1 ('MetaSel ('Just "contentHandling") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContentHandlingStrategy))) :*: (S1 ('MetaSel ('Just "credentials") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "integrationResponses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text IntegrationResponse))) :*: S1 ('MetaSel ('Just "passthroughBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "requestParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "requestTemplates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))) :*: ((S1 ('MetaSel ('Just "timeoutInMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "tlsConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TlsConfig))) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IntegrationType)) :*: S1 ('MetaSel ('Just "uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newIntegration :: Integration Source #

Create a value of Integration 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:cacheKeyParameters:Integration', integration_cacheKeyParameters - A list of request parameters whose values API Gateway caches. To be valid values for cacheKeyParameters, these parameters must also be specified for Method requestParameters.

$sel:cacheNamespace:Integration', integration_cacheNamespace - Specifies a group of related cached parameters. By default, API Gateway uses the resource ID as the cacheNamespace. You can specify the same cacheNamespace across resources to return the same cached data for requests to different resources.

$sel:connectionId:Integration', integration_connectionId - The ID of the VpcLink used for the integration when connectionType=VPC_LINK and undefined, otherwise.

$sel:connectionType:Integration', integration_connectionType - The type of the network connection to the integration endpoint. The valid value is INTERNET for connections through the public routable internet or VPC_LINK for private connections between API Gateway and a network load balancer in a VPC. The default value is INTERNET.

Integration, integration_contentHandling - Specifies how to handle request payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

If this property is not defined, the request payload will be passed through from the method request to integration request without modification, provided that the passthroughBehavior is configured to support payload pass-through.

$sel:credentials:Integration', integration_credentials - Specifies the credentials required for the integration, if any. For AWS integrations, three options are available. To specify an IAM Role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To require that the caller's identity be passed through from the request, specify the string arn:aws:iam::\*:user/\*. To use resource-based permissions on supported AWS services, specify null.

$sel:httpMethod:Integration', integration_httpMethod - Specifies the integration's HTTP method type.

$sel:integrationResponses:Integration', integration_integrationResponses - Specifies the integration's responses.

$sel:passthroughBehavior:Integration', integration_passthroughBehavior - Specifies how the method request body of an unmapped content type will be passed through the integration request to the back end without transformation. A content type is unmapped if no mapping template is defined in the integration or the content type does not match any of the mapped content types, as specified in requestTemplates. The valid value is one of the following: WHEN_NO_MATCH: passes the method request body through the integration request to the back end without transformation when the method request content type does not match any content type associated with the mapping templates defined in the integration request. WHEN_NO_TEMPLATES: passes the method request body through the integration request to the back end without transformation when no mapping template is defined in the integration request. If a template is defined when this option is selected, the method request of an unmapped content-type will be rejected with an HTTP 415 Unsupported Media Type response. NEVER: rejects the method request with an HTTP 415 Unsupported Media Type response when either the method request content type does not match any content type associated with the mapping templates defined in the integration request or no mapping template is defined in the integration request.

$sel:requestParameters:Integration', integration_requestParameters - A key-value map specifying request parameters that are passed from the method request to the back end. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the back end. The method request parameter value must match the pattern of method.request.{location}.{name}, where location is querystring, path, or header and name must be a valid and unique method request parameter name.

$sel:requestTemplates:Integration', integration_requestTemplates - Represents a map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. The content type value is the key in this map, and the template (as a String) is the value.

$sel:timeoutInMillis:Integration', integration_timeoutInMillis - Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds.

$sel:tlsConfig:Integration', integration_tlsConfig - Specifies the TLS configuration for an integration.

$sel:type':Integration', integration_type - Specifies an API method integration type. The valid value is one of the following:

For the HTTP and HTTP proxy integrations, each integration can specify a protocol (http/https), port and path. Standard 80 and 443 ports are supported as well as custom ports above 1024. An HTTP or HTTP proxy integration with a connectionType of VPC_LINK is referred to as a private integration and uses a VpcLink to connect API Gateway to a network load balancer of a VPC.

$sel:uri:Integration', integration_uri - Specifies Uniform Resource Identifier (URI) of the integration endpoint.

For HTTP or HTTP_PROXY integrations, the URI must be a fully formed, encoded HTTP(S) URL according to the RFC-3986 specification, for either standard integration, where connectionType is not VPC_LINK, or private integration, where connectionType is VPC_LINK. For a private HTTP integration, the URI is not used for routing. For AWS or AWS_PROXY integrations, the URI is of the form arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}. Here, {Region} is the API Gateway region (e.g., us-east-1); {service} is the name of the integrated Amazon Web Services service (e.g., s3); and {subdomain} is a designated subdomain supported by certain Amazon Web Services service for fast host-name lookup. action can be used for an Amazon Web Services service action-based API, using an Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing {service_api} refers to a supported action {name} plus any required input parameters. Alternatively, path can be used for an AWS service path-based API. The ensuing service_api refers to the path to an Amazon Web Services service resource, including the region of the integrated Amazon Web Services service, if applicable. For example, for integration with the S3 API of GetObject, the uri can be either arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key} or arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key}

integration_cacheKeyParameters :: Lens' Integration (Maybe [Text]) Source #

A list of request parameters whose values API Gateway caches. To be valid values for cacheKeyParameters, these parameters must also be specified for Method requestParameters.

integration_cacheNamespace :: Lens' Integration (Maybe Text) Source #

Specifies a group of related cached parameters. By default, API Gateway uses the resource ID as the cacheNamespace. You can specify the same cacheNamespace across resources to return the same cached data for requests to different resources.

integration_connectionId :: Lens' Integration (Maybe Text) Source #

The ID of the VpcLink used for the integration when connectionType=VPC_LINK and undefined, otherwise.

integration_connectionType :: Lens' Integration (Maybe ConnectionType) Source #

The type of the network connection to the integration endpoint. The valid value is INTERNET for connections through the public routable internet or VPC_LINK for private connections between API Gateway and a network load balancer in a VPC. The default value is INTERNET.

integration_contentHandling :: Lens' Integration (Maybe ContentHandlingStrategy) Source #

Specifies how to handle request payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

If this property is not defined, the request payload will be passed through from the method request to integration request without modification, provided that the passthroughBehavior is configured to support payload pass-through.

integration_credentials :: Lens' Integration (Maybe Text) Source #

Specifies the credentials required for the integration, if any. For AWS integrations, three options are available. To specify an IAM Role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To require that the caller's identity be passed through from the request, specify the string arn:aws:iam::\*:user/\*. To use resource-based permissions on supported AWS services, specify null.

integration_httpMethod :: Lens' Integration (Maybe Text) Source #

Specifies the integration's HTTP method type.

integration_passthroughBehavior :: Lens' Integration (Maybe Text) Source #

Specifies how the method request body of an unmapped content type will be passed through the integration request to the back end without transformation. A content type is unmapped if no mapping template is defined in the integration or the content type does not match any of the mapped content types, as specified in requestTemplates. The valid value is one of the following: WHEN_NO_MATCH: passes the method request body through the integration request to the back end without transformation when the method request content type does not match any content type associated with the mapping templates defined in the integration request. WHEN_NO_TEMPLATES: passes the method request body through the integration request to the back end without transformation when no mapping template is defined in the integration request. If a template is defined when this option is selected, the method request of an unmapped content-type will be rejected with an HTTP 415 Unsupported Media Type response. NEVER: rejects the method request with an HTTP 415 Unsupported Media Type response when either the method request content type does not match any content type associated with the mapping templates defined in the integration request or no mapping template is defined in the integration request.

integration_requestParameters :: Lens' Integration (Maybe (HashMap Text Text)) Source #

A key-value map specifying request parameters that are passed from the method request to the back end. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the back end. The method request parameter value must match the pattern of method.request.{location}.{name}, where location is querystring, path, or header and name must be a valid and unique method request parameter name.

integration_requestTemplates :: Lens' Integration (Maybe (HashMap Text Text)) Source #

Represents a map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. The content type value is the key in this map, and the template (as a String) is the value.

integration_timeoutInMillis :: Lens' Integration (Maybe Int) Source #

Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds.

integration_tlsConfig :: Lens' Integration (Maybe TlsConfig) Source #

Specifies the TLS configuration for an integration.

integration_type :: Lens' Integration (Maybe IntegrationType) Source #

Specifies an API method integration type. The valid value is one of the following:

For the HTTP and HTTP proxy integrations, each integration can specify a protocol (http/https), port and path. Standard 80 and 443 ports are supported as well as custom ports above 1024. An HTTP or HTTP proxy integration with a connectionType of VPC_LINK is referred to as a private integration and uses a VpcLink to connect API Gateway to a network load balancer of a VPC.

integration_uri :: Lens' Integration (Maybe Text) Source #

Specifies Uniform Resource Identifier (URI) of the integration endpoint.

For HTTP or HTTP_PROXY integrations, the URI must be a fully formed, encoded HTTP(S) URL according to the RFC-3986 specification, for either standard integration, where connectionType is not VPC_LINK, or private integration, where connectionType is VPC_LINK. For a private HTTP integration, the URI is not used for routing. For AWS or AWS_PROXY integrations, the URI is of the form arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}. Here, {Region} is the API Gateway region (e.g., us-east-1); {service} is the name of the integrated Amazon Web Services service (e.g., s3); and {subdomain} is a designated subdomain supported by certain Amazon Web Services service for fast host-name lookup. action can be used for an Amazon Web Services service action-based API, using an Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing {service_api} refers to a supported action {name} plus any required input parameters. Alternatively, path can be used for an AWS service path-based API. The ensuing service_api refers to the path to an Amazon Web Services service resource, including the region of the integrated Amazon Web Services service, if applicable. For example, for integration with the S3 API of GetObject, the uri can be either arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key} or arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key}

IntegrationResponse

data IntegrationResponse Source #

Represents an integration response. The status code must map to an existing MethodResponse, and parameters and templates can be used to transform the back-end response.

See: newIntegrationResponse smart constructor.

Constructors

IntegrationResponse' 

Fields

  • contentHandling :: Maybe ContentHandlingStrategy

    Specifies how to handle response payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

    If this property is not defined, the response payload will be passed through from the integration response to the method response without modification.

  • responseParameters :: Maybe (HashMap Text Text)

    A key-value map specifying response parameters that are passed to the method response from the back end. The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of method.response.header.{name}, where name is a valid and unique header name. The mapped non-static value must match the pattern of integration.response.header.{name} or integration.response.body.{JSON-expression}, where name is a valid and unique response header name and JSON-expression is a valid JSON expression without the $ prefix.

  • responseTemplates :: Maybe (HashMap Text Text)

    Specifies the templates used to transform the integration response body. Response templates are represented as a key/value map, with a content-type as the key and a template as the value.

  • selectionPattern :: Maybe Text

    Specifies the regular expression (regex) pattern used to choose an integration response based on the response from the back end. For example, if the success response returns nothing and the error response returns some string, you could use the .+ regex to match error response. However, make sure that the error response does not contain any newline (\n) character in such cases. If the back end is an AWS Lambda function, the AWS Lambda function error header is matched. For all other HTTP and AWS back ends, the HTTP status code is matched.

  • statusCode :: Maybe Text

    Specifies the status code that is used to map the integration response to an existing MethodResponse.

Instances

Instances details
FromJSON IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

Generic IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

Associated Types

type Rep IntegrationResponse :: Type -> Type #

Read IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

Show IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

NFData IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

Methods

rnf :: IntegrationResponse -> () #

Eq IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

Hashable IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

type Rep IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

type Rep IntegrationResponse = D1 ('MetaData "IntegrationResponse" "Amazonka.APIGateway.Types.IntegrationResponse" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "IntegrationResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "contentHandling") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContentHandlingStrategy)) :*: S1 ('MetaSel ('Just "responseParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "responseTemplates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "selectionPattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newIntegrationResponse :: IntegrationResponse Source #

Create a value of IntegrationResponse 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:contentHandling:IntegrationResponse', integrationResponse_contentHandling - Specifies how to handle response payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

If this property is not defined, the response payload will be passed through from the integration response to the method response without modification.

$sel:responseParameters:IntegrationResponse', integrationResponse_responseParameters - A key-value map specifying response parameters that are passed to the method response from the back end. The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of method.response.header.{name}, where name is a valid and unique header name. The mapped non-static value must match the pattern of integration.response.header.{name} or integration.response.body.{JSON-expression}, where name is a valid and unique response header name and JSON-expression is a valid JSON expression without the $ prefix.

$sel:responseTemplates:IntegrationResponse', integrationResponse_responseTemplates - Specifies the templates used to transform the integration response body. Response templates are represented as a key/value map, with a content-type as the key and a template as the value.

$sel:selectionPattern:IntegrationResponse', integrationResponse_selectionPattern - Specifies the regular expression (regex) pattern used to choose an integration response based on the response from the back end. For example, if the success response returns nothing and the error response returns some string, you could use the .+ regex to match error response. However, make sure that the error response does not contain any newline (\n) character in such cases. If the back end is an AWS Lambda function, the AWS Lambda function error header is matched. For all other HTTP and AWS back ends, the HTTP status code is matched.

$sel:statusCode:IntegrationResponse', integrationResponse_statusCode - Specifies the status code that is used to map the integration response to an existing MethodResponse.

integrationResponse_contentHandling :: Lens' IntegrationResponse (Maybe ContentHandlingStrategy) Source #

Specifies how to handle response payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

If this property is not defined, the response payload will be passed through from the integration response to the method response without modification.

integrationResponse_responseParameters :: Lens' IntegrationResponse (Maybe (HashMap Text Text)) Source #

A key-value map specifying response parameters that are passed to the method response from the back end. The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of method.response.header.{name}, where name is a valid and unique header name. The mapped non-static value must match the pattern of integration.response.header.{name} or integration.response.body.{JSON-expression}, where name is a valid and unique response header name and JSON-expression is a valid JSON expression without the $ prefix.

integrationResponse_responseTemplates :: Lens' IntegrationResponse (Maybe (HashMap Text Text)) Source #

Specifies the templates used to transform the integration response body. Response templates are represented as a key/value map, with a content-type as the key and a template as the value.

integrationResponse_selectionPattern :: Lens' IntegrationResponse (Maybe Text) Source #

Specifies the regular expression (regex) pattern used to choose an integration response based on the response from the back end. For example, if the success response returns nothing and the error response returns some string, you could use the .+ regex to match error response. However, make sure that the error response does not contain any newline (\n) character in such cases. If the back end is an AWS Lambda function, the AWS Lambda function error header is matched. For all other HTTP and AWS back ends, the HTTP status code is matched.

integrationResponse_statusCode :: Lens' IntegrationResponse (Maybe Text) Source #

Specifies the status code that is used to map the integration response to an existing MethodResponse.

Method

data Method Source #

Represents a client-facing interface by which the client calls the API to access back-end resources. A Method resource is integrated with an Integration resource. Both consist of a request and one or more responses. The method request takes the client input that is passed to the back end through the integration request. A method response returns the output from the back end to the client through an integration response. A method request is embodied in a Method resource, whereas an integration request is embodied in an Integration resource. On the other hand, a method response is represented by a MethodResponse resource, whereas an integration response is represented by an IntegrationResponse resource.

See: newMethod smart constructor.

Constructors

Method' 

Fields

  • apiKeyRequired :: Maybe Bool

    A boolean flag specifying whether a valid ApiKey is required to invoke this method.

  • authorizationScopes :: Maybe [Text]

    A list of authorization scopes configured on the method. The scopes are used with a COGNITO_USER_POOLS authorizer to authorize the method invocation. The authorization works by matching the method scopes against the scopes parsed from the access token in the incoming request. The method invocation is authorized if any method scopes matches a claimed scope in the access token. Otherwise, the invocation is not authorized. When the method scope is configured, the client must provide an access token instead of an identity token for authorization purposes.

  • 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.

  • authorizerId :: Maybe Text

    The identifier of an Authorizer to use on this method. The authorizationType must be CUSTOM.

  • httpMethod :: Maybe Text

    The method's HTTP verb.

  • methodIntegration :: Maybe Integration

    Gets the method's integration responsible for passing the client-submitted request to the back end and performing necessary transformations to make the request compliant with the back end.

  • methodResponses :: Maybe (HashMap Text MethodResponse)

    Gets a method response associated with a given HTTP status code.

  • operationName :: Maybe Text

    A human-friendly operation identifier for the method. For example, you can assign the operationName of ListPets for the GET /pets method in the PetStore example.

  • requestModels :: Maybe (HashMap Text Text)

    A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key).

  • requestParameters :: Maybe (HashMap Text Bool)

    A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of method.request.{location}.{name}, where location is querystring, path, or header and name is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (true) or optional (false). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates.

  • requestValidatorId :: Maybe Text

    The identifier of a RequestValidator for request validation.

Instances

Instances details
FromJSON Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

Generic Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

Associated Types

type Rep Method :: Type -> Type #

Methods

from :: Method -> Rep Method x #

to :: Rep Method x -> Method #

Read Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

Show Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

NFData Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

Methods

rnf :: Method -> () #

Eq Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

Methods

(==) :: Method -> Method -> Bool #

(/=) :: Method -> Method -> Bool #

Hashable Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

Methods

hashWithSalt :: Int -> Method -> Int #

hash :: Method -> Int #

type Rep Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

type Rep Method = D1 ('MetaData "Method" "Amazonka.APIGateway.Types.Method" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "Method'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "apiKeyRequired") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "authorizationScopes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "authorizationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "authorizerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "methodIntegration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integration)) :*: (S1 ('MetaSel ('Just "methodResponses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text MethodResponse))) :*: S1 ('MetaSel ('Just "operationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "requestModels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "requestParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Bool))) :*: S1 ('MetaSel ('Just "requestValidatorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newMethod :: Method Source #

Create a value of Method 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:apiKeyRequired:Method', method_apiKeyRequired - A boolean flag specifying whether a valid ApiKey is required to invoke this method.

$sel:authorizationScopes:Method', method_authorizationScopes - A list of authorization scopes configured on the method. The scopes are used with a COGNITO_USER_POOLS authorizer to authorize the method invocation. The authorization works by matching the method scopes against the scopes parsed from the access token in the incoming request. The method invocation is authorized if any method scopes matches a claimed scope in the access token. Otherwise, the invocation is not authorized. When the method scope is configured, the client must provide an access token instead of an identity token for authorization purposes.

$sel:authorizationType:Method', method_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:authorizerId:Method', method_authorizerId - The identifier of an Authorizer to use on this method. The authorizationType must be CUSTOM.

Method, method_httpMethod - The method's HTTP verb.

$sel:methodIntegration:Method', method_methodIntegration - Gets the method's integration responsible for passing the client-submitted request to the back end and performing necessary transformations to make the request compliant with the back end.

$sel:methodResponses:Method', method_methodResponses - Gets a method response associated with a given HTTP status code.

$sel:operationName:Method', method_operationName - A human-friendly operation identifier for the method. For example, you can assign the operationName of ListPets for the GET /pets method in the PetStore example.

$sel:requestModels:Method', method_requestModels - A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key).

Method, method_requestParameters - A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of method.request.{location}.{name}, where location is querystring, path, or header and name is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (true) or optional (false). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates.

$sel:requestValidatorId:Method', method_requestValidatorId - The identifier of a RequestValidator for request validation.

method_apiKeyRequired :: Lens' Method (Maybe Bool) Source #

A boolean flag specifying whether a valid ApiKey is required to invoke this method.

method_authorizationScopes :: Lens' Method (Maybe [Text]) Source #

A list of authorization scopes configured on the method. The scopes are used with a COGNITO_USER_POOLS authorizer to authorize the method invocation. The authorization works by matching the method scopes against the scopes parsed from the access token in the incoming request. The method invocation is authorized if any method scopes matches a claimed scope in the access token. Otherwise, the invocation is not authorized. When the method scope is configured, the client must provide an access token instead of an identity token for authorization purposes.

method_authorizationType :: Lens' Method (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.

method_authorizerId :: Lens' Method (Maybe Text) Source #

The identifier of an Authorizer to use on this method. The authorizationType must be CUSTOM.

method_httpMethod :: Lens' Method (Maybe Text) Source #

The method's HTTP verb.

method_methodIntegration :: Lens' Method (Maybe Integration) Source #

Gets the method's integration responsible for passing the client-submitted request to the back end and performing necessary transformations to make the request compliant with the back end.

method_methodResponses :: Lens' Method (Maybe (HashMap Text MethodResponse)) Source #

Gets a method response associated with a given HTTP status code.

method_operationName :: Lens' Method (Maybe Text) Source #

A human-friendly operation identifier for the method. For example, you can assign the operationName of ListPets for the GET /pets method in the PetStore example.

method_requestModels :: Lens' Method (Maybe (HashMap Text Text)) Source #

A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key).

method_requestParameters :: Lens' Method (Maybe (HashMap Text Bool)) Source #

A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of method.request.{location}.{name}, where location is querystring, path, or header and name is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (true) or optional (false). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates.

method_requestValidatorId :: Lens' Method (Maybe Text) Source #

The identifier of a RequestValidator for request validation.

MethodResponse

data MethodResponse Source #

Represents a method response of a given HTTP status code returned to the client. The method response is passed from the back end through the associated integration response that can be transformed using a mapping template.

See: newMethodResponse smart constructor.

Constructors

MethodResponse' 

Fields

  • responseModels :: Maybe (HashMap Text Text)

    Specifies the Model resources used for the response's content-type. Response models are represented as a key/value map, with a content-type as the key and a Model name as the value.

  • responseParameters :: Maybe (HashMap Text Bool)

    A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header and the value specifies whether the associated method response header is required or not. The expression of the key must match the pattern method.response.header.{name}, where name is a valid and unique header name. API Gateway passes certain integration response data to the method response headers specified here according to the mapping you prescribe in the API's IntegrationResponse. The integration response data that can be mapped include an integration response header expressed in integration.response.header.{name}, a static value enclosed within a pair of single quotes (e.g., 'application/json'), or a JSON expression from the back-end response payload in the form of integration.response.body.{JSON-expression}, where JSON-expression is a valid JSON expression without the $ prefix.)

  • statusCode :: Maybe Text

    The method response's status code.

Instances

Instances details
FromJSON MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

Generic MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

Associated Types

type Rep MethodResponse :: Type -> Type #

Read MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

Show MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

NFData MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

Methods

rnf :: MethodResponse -> () #

Eq MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

Hashable MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

type Rep MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

type Rep MethodResponse = D1 ('MetaData "MethodResponse" "Amazonka.APIGateway.Types.MethodResponse" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "MethodResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "responseModels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "responseParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Bool))) :*: S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newMethodResponse :: MethodResponse Source #

Create a value of MethodResponse 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:responseModels:MethodResponse', methodResponse_responseModels - Specifies the Model resources used for the response's content-type. Response models are represented as a key/value map, with a content-type as the key and a Model name as the value.

$sel:responseParameters:MethodResponse', methodResponse_responseParameters - A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header and the value specifies whether the associated method response header is required or not. The expression of the key must match the pattern method.response.header.{name}, where name is a valid and unique header name. API Gateway passes certain integration response data to the method response headers specified here according to the mapping you prescribe in the API's IntegrationResponse. The integration response data that can be mapped include an integration response header expressed in integration.response.header.{name}, a static value enclosed within a pair of single quotes (e.g., 'application/json'), or a JSON expression from the back-end response payload in the form of integration.response.body.{JSON-expression}, where JSON-expression is a valid JSON expression without the $ prefix.)

$sel:statusCode:MethodResponse', methodResponse_statusCode - The method response's status code.

methodResponse_responseModels :: Lens' MethodResponse (Maybe (HashMap Text Text)) Source #

Specifies the Model resources used for the response's content-type. Response models are represented as a key/value map, with a content-type as the key and a Model name as the value.

methodResponse_responseParameters :: Lens' MethodResponse (Maybe (HashMap Text Bool)) Source #

A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header and the value specifies whether the associated method response header is required or not. The expression of the key must match the pattern method.response.header.{name}, where name is a valid and unique header name. API Gateway passes certain integration response data to the method response headers specified here according to the mapping you prescribe in the API's IntegrationResponse. The integration response data that can be mapped include an integration response header expressed in integration.response.header.{name}, a static value enclosed within a pair of single quotes (e.g., 'application/json'), or a JSON expression from the back-end response payload in the form of integration.response.body.{JSON-expression}, where JSON-expression is a valid JSON expression without the $ prefix.)

methodResponse_statusCode :: Lens' MethodResponse (Maybe Text) Source #

The method response's status code.

MethodSetting

data MethodSetting Source #

Specifies the method setting properties.

See: newMethodSetting smart constructor.

Constructors

MethodSetting' 

Fields

  • cacheDataEncrypted :: Maybe Bool

    Specifies whether the cached responses are encrypted. The PATCH path for this setting is /{method_setting_key}/caching/dataEncrypted, and the value is a Boolean.

  • cacheTtlInSeconds :: Maybe Int

    Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached. The PATCH path for this setting is /{method_setting_key}/caching/ttlInSeconds, and the value is an integer.

  • cachingEnabled :: Maybe Bool

    Specifies whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached. The PATCH path for this setting is /{method_setting_key}/caching/enabled, and the value is a Boolean.

  • dataTraceEnabled :: Maybe Bool

    Specifies whether data trace logging is enabled for this method, which affects the log entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting is /{method_setting_key}/logging/dataTrace, and the value is a Boolean.

  • loggingLevel :: Maybe Text

    Specifies the logging level for this method, which affects the log entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting is /{method_setting_key}/logging/loglevel, and the available levels are OFF, ERROR, and INFO. Choose ERROR to write only error-level entries to CloudWatch Logs, or choose INFO to include all ERROR events as well as extra informational events.

  • metricsEnabled :: Maybe Bool

    Specifies whether Amazon CloudWatch metrics are enabled for this method. The PATCH path for this setting is /{method_setting_key}/metrics/enabled, and the value is a Boolean.

  • requireAuthorizationForCacheControl :: Maybe Bool

    Specifies whether authorization is required for a cache invalidation request. The PATCH path for this setting is /{method_setting_key}/caching/requireAuthorizationForCacheControl, and the value is a Boolean.

  • throttlingBurstLimit :: Maybe Int

    Specifies the throttling burst limit. The PATCH path for this setting is /{method_setting_key}/throttling/burstLimit, and the value is an integer.

  • throttlingRateLimit :: Maybe Double

    Specifies the throttling rate limit. The PATCH path for this setting is /{method_setting_key}/throttling/rateLimit, and the value is a double.

  • unauthorizedCacheControlHeaderStrategy :: Maybe UnauthorizedCacheControlHeaderStrategy

    Specifies how to handle unauthorized requests for cache invalidation. The PATCH path for this setting is /{method_setting_key}/caching/unauthorizedCacheControlHeaderStrategy, and the available values are FAIL_WITH_403, SUCCEED_WITH_RESPONSE_HEADER, SUCCEED_WITHOUT_RESPONSE_HEADER.

Instances

Instances details
FromJSON MethodSetting Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSetting

Generic MethodSetting Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSetting

Associated Types

type Rep MethodSetting :: Type -> Type #

Read MethodSetting Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSetting

Show MethodSetting Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSetting

NFData MethodSetting Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSetting

Methods

rnf :: MethodSetting -> () #

Eq MethodSetting Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSetting

Hashable MethodSetting Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSetting

type Rep MethodSetting Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSetting

type Rep MethodSetting = D1 ('MetaData "MethodSetting" "Amazonka.APIGateway.Types.MethodSetting" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "MethodSetting'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "cacheDataEncrypted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "cacheTtlInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "cachingEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "dataTraceEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "loggingLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "metricsEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "requireAuthorizationForCacheControl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "throttlingBurstLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "throttlingRateLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "unauthorizedCacheControlHeaderStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UnauthorizedCacheControlHeaderStrategy)))))))

newMethodSetting :: MethodSetting Source #

Create a value of MethodSetting 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:cacheDataEncrypted:MethodSetting', methodSetting_cacheDataEncrypted - Specifies whether the cached responses are encrypted. The PATCH path for this setting is /{method_setting_key}/caching/dataEncrypted, and the value is a Boolean.

$sel:cacheTtlInSeconds:MethodSetting', methodSetting_cacheTtlInSeconds - Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached. The PATCH path for this setting is /{method_setting_key}/caching/ttlInSeconds, and the value is an integer.

$sel:cachingEnabled:MethodSetting', methodSetting_cachingEnabled - Specifies whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached. The PATCH path for this setting is /{method_setting_key}/caching/enabled, and the value is a Boolean.

$sel:dataTraceEnabled:MethodSetting', methodSetting_dataTraceEnabled - Specifies whether data trace logging is enabled for this method, which affects the log entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting is /{method_setting_key}/logging/dataTrace, and the value is a Boolean.

$sel:loggingLevel:MethodSetting', methodSetting_loggingLevel - Specifies the logging level for this method, which affects the log entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting is /{method_setting_key}/logging/loglevel, and the available levels are OFF, ERROR, and INFO. Choose ERROR to write only error-level entries to CloudWatch Logs, or choose INFO to include all ERROR events as well as extra informational events.

$sel:metricsEnabled:MethodSetting', methodSetting_metricsEnabled - Specifies whether Amazon CloudWatch metrics are enabled for this method. The PATCH path for this setting is /{method_setting_key}/metrics/enabled, and the value is a Boolean.

$sel:requireAuthorizationForCacheControl:MethodSetting', methodSetting_requireAuthorizationForCacheControl - Specifies whether authorization is required for a cache invalidation request. The PATCH path for this setting is /{method_setting_key}/caching/requireAuthorizationForCacheControl, and the value is a Boolean.

$sel:throttlingBurstLimit:MethodSetting', methodSetting_throttlingBurstLimit - Specifies the throttling burst limit. The PATCH path for this setting is /{method_setting_key}/throttling/burstLimit, and the value is an integer.

$sel:throttlingRateLimit:MethodSetting', methodSetting_throttlingRateLimit - Specifies the throttling rate limit. The PATCH path for this setting is /{method_setting_key}/throttling/rateLimit, and the value is a double.

$sel:unauthorizedCacheControlHeaderStrategy:MethodSetting', methodSetting_unauthorizedCacheControlHeaderStrategy - Specifies how to handle unauthorized requests for cache invalidation. The PATCH path for this setting is /{method_setting_key}/caching/unauthorizedCacheControlHeaderStrategy, and the available values are FAIL_WITH_403, SUCCEED_WITH_RESPONSE_HEADER, SUCCEED_WITHOUT_RESPONSE_HEADER.

methodSetting_cacheDataEncrypted :: Lens' MethodSetting (Maybe Bool) Source #

Specifies whether the cached responses are encrypted. The PATCH path for this setting is /{method_setting_key}/caching/dataEncrypted, and the value is a Boolean.

methodSetting_cacheTtlInSeconds :: Lens' MethodSetting (Maybe Int) Source #

Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached. The PATCH path for this setting is /{method_setting_key}/caching/ttlInSeconds, and the value is an integer.

methodSetting_cachingEnabled :: Lens' MethodSetting (Maybe Bool) Source #

Specifies whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached. The PATCH path for this setting is /{method_setting_key}/caching/enabled, and the value is a Boolean.

methodSetting_dataTraceEnabled :: Lens' MethodSetting (Maybe Bool) Source #

Specifies whether data trace logging is enabled for this method, which affects the log entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting is /{method_setting_key}/logging/dataTrace, and the value is a Boolean.

methodSetting_loggingLevel :: Lens' MethodSetting (Maybe Text) Source #

Specifies the logging level for this method, which affects the log entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting is /{method_setting_key}/logging/loglevel, and the available levels are OFF, ERROR, and INFO. Choose ERROR to write only error-level entries to CloudWatch Logs, or choose INFO to include all ERROR events as well as extra informational events.

methodSetting_metricsEnabled :: Lens' MethodSetting (Maybe Bool) Source #

Specifies whether Amazon CloudWatch metrics are enabled for this method. The PATCH path for this setting is /{method_setting_key}/metrics/enabled, and the value is a Boolean.

methodSetting_requireAuthorizationForCacheControl :: Lens' MethodSetting (Maybe Bool) Source #

Specifies whether authorization is required for a cache invalidation request. The PATCH path for this setting is /{method_setting_key}/caching/requireAuthorizationForCacheControl, and the value is a Boolean.

methodSetting_throttlingBurstLimit :: Lens' MethodSetting (Maybe Int) Source #

Specifies the throttling burst limit. The PATCH path for this setting is /{method_setting_key}/throttling/burstLimit, and the value is an integer.

methodSetting_throttlingRateLimit :: Lens' MethodSetting (Maybe Double) Source #

Specifies the throttling rate limit. The PATCH path for this setting is /{method_setting_key}/throttling/rateLimit, and the value is a double.

methodSetting_unauthorizedCacheControlHeaderStrategy :: Lens' MethodSetting (Maybe UnauthorizedCacheControlHeaderStrategy) Source #

Specifies how to handle unauthorized requests for cache invalidation. The PATCH path for this setting is /{method_setting_key}/caching/unauthorizedCacheControlHeaderStrategy, and the available values are FAIL_WITH_403, SUCCEED_WITH_RESPONSE_HEADER, SUCCEED_WITHOUT_RESPONSE_HEADER.

MethodSnapshot

data MethodSnapshot Source #

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

See: newMethodSnapshot smart constructor.

Constructors

MethodSnapshot' 

Fields

  • apiKeyRequired :: Maybe Bool

    Specifies whether the method requires a valid ApiKey.

  • 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.

Instances

Instances details
FromJSON 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 #

Read MethodSnapshot Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSnapshot

Show MethodSnapshot Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSnapshot

NFData MethodSnapshot Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSnapshot

Methods

rnf :: MethodSnapshot -> () #

Eq MethodSnapshot Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSnapshot

Hashable 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" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "MethodSnapshot'" 'PrefixI 'True) (S1 ('MetaSel ('Just "apiKeyRequired") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "authorizationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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:apiKeyRequired:MethodSnapshot', methodSnapshot_apiKeyRequired - Specifies whether the method requires a valid ApiKey.

$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.

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

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.

Model

data Model Source #

Represents the data structure of a method's request or response payload.

See: newModel smart constructor.

Constructors

Model' 

Fields

  • contentType :: Maybe Text

    The content-type for the model.

  • description :: Maybe Text

    The description of the model.

  • id :: Maybe Text

    The identifier for the model resource.

  • name :: Maybe Text

    The name of the model. Must be an alphanumeric string.

  • schema :: Maybe Text

    The schema for the model. For application/json models, this should be JSON schema draft 4 model. Do not include "\*/" characters in the description of any properties because such "\*/" characters may be interpreted as the closing marker for comments in some languages, such as Java or JavaScript, causing the installation of your API's SDK generated by API Gateway to fail.

Instances

Instances details
FromJSON Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

Generic Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

Associated Types

type Rep Model :: Type -> Type #

Methods

from :: Model -> Rep Model x #

to :: Rep Model x -> Model #

Read Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

Show Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

Methods

showsPrec :: Int -> Model -> ShowS #

show :: Model -> String #

showList :: [Model] -> ShowS #

NFData Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

Methods

rnf :: Model -> () #

Eq Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

Methods

(==) :: Model -> Model -> Bool #

(/=) :: Model -> Model -> Bool #

Hashable Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

Methods

hashWithSalt :: Int -> Model -> Int #

hash :: Model -> Int #

type Rep Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

type Rep Model = D1 ('MetaData "Model" "Amazonka.APIGateway.Types.Model" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "Model'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "contentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "schema") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newModel :: Model Source #

Create a value of Model 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:contentType:Model', model_contentType - The content-type for the model.

$sel:description:Model', model_description - The description of the model.

$sel:id:Model', model_id - The identifier for the model resource.

$sel:name:Model', model_name - The name of the model. Must be an alphanumeric string.

$sel:schema:Model', model_schema - The schema for the model. For application/json models, this should be JSON schema draft 4 model. Do not include "\*/" characters in the description of any properties because such "\*/" characters may be interpreted as the closing marker for comments in some languages, such as Java or JavaScript, causing the installation of your API's SDK generated by API Gateway to fail.

model_contentType :: Lens' Model (Maybe Text) Source #

The content-type for the model.

model_description :: Lens' Model (Maybe Text) Source #

The description of the model.

model_id :: Lens' Model (Maybe Text) Source #

The identifier for the model resource.

model_name :: Lens' Model (Maybe Text) Source #

The name of the model. Must be an alphanumeric string.

model_schema :: Lens' Model (Maybe Text) Source #

The schema for the model. For application/json models, this should be JSON schema draft 4 model. Do not include "\*/" characters in the description of any properties because such "\*/" characters may be interpreted as the closing marker for comments in some languages, such as Java or JavaScript, causing the installation of your API's SDK generated by API Gateway to fail.

MutualTlsAuthentication

data MutualTlsAuthentication Source #

The mutual TLS authentication configuration for a custom domain name. If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your API.

See: newMutualTlsAuthentication smart constructor.

Constructors

MutualTlsAuthentication' 

Fields

  • truststoreUri :: Maybe Text

    An Amazon S3 URL that specifies the truststore for mutual TLS authentication, for example s3://bucket-name/key-name. The truststore can contain certificates from public or private certificate authorities. To update the truststore, upload a new version to S3, and then update your custom domain name to use the new version. To update the truststore, you must have permissions to access the S3 object.

  • truststoreVersion :: Maybe Text

    The version of the S3 object that contains your truststore. To specify a version, you must have versioning enabled for the S3 bucket.

  • truststoreWarnings :: Maybe [Text]

    A list of warnings that API Gateway returns while processing your truststore. Invalid certificates produce warnings. Mutual TLS is still enabled, but some clients might not be able to access your API. To resolve warnings, upload a new truststore to S3, and then update you domain name to use the new version.

Instances

Instances details
FromJSON MutualTlsAuthentication Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MutualTlsAuthentication

Generic MutualTlsAuthentication Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MutualTlsAuthentication

Associated Types

type Rep MutualTlsAuthentication :: Type -> Type #

Read MutualTlsAuthentication Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MutualTlsAuthentication

Show MutualTlsAuthentication Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MutualTlsAuthentication

NFData MutualTlsAuthentication Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MutualTlsAuthentication

Methods

rnf :: MutualTlsAuthentication -> () #

Eq MutualTlsAuthentication Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MutualTlsAuthentication

Hashable MutualTlsAuthentication Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MutualTlsAuthentication

type Rep MutualTlsAuthentication Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MutualTlsAuthentication

type Rep MutualTlsAuthentication = D1 ('MetaData "MutualTlsAuthentication" "Amazonka.APIGateway.Types.MutualTlsAuthentication" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "MutualTlsAuthentication'" 'PrefixI 'True) (S1 ('MetaSel ('Just "truststoreUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "truststoreVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "truststoreWarnings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))

newMutualTlsAuthentication :: MutualTlsAuthentication Source #

Create a value of MutualTlsAuthentication 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:truststoreUri:MutualTlsAuthentication', mutualTlsAuthentication_truststoreUri - An Amazon S3 URL that specifies the truststore for mutual TLS authentication, for example s3://bucket-name/key-name. The truststore can contain certificates from public or private certificate authorities. To update the truststore, upload a new version to S3, and then update your custom domain name to use the new version. To update the truststore, you must have permissions to access the S3 object.

$sel:truststoreVersion:MutualTlsAuthentication', mutualTlsAuthentication_truststoreVersion - The version of the S3 object that contains your truststore. To specify a version, you must have versioning enabled for the S3 bucket.

$sel:truststoreWarnings:MutualTlsAuthentication', mutualTlsAuthentication_truststoreWarnings - A list of warnings that API Gateway returns while processing your truststore. Invalid certificates produce warnings. Mutual TLS is still enabled, but some clients might not be able to access your API. To resolve warnings, upload a new truststore to S3, and then update you domain name to use the new version.

mutualTlsAuthentication_truststoreUri :: Lens' MutualTlsAuthentication (Maybe Text) Source #

An Amazon S3 URL that specifies the truststore for mutual TLS authentication, for example s3://bucket-name/key-name. The truststore can contain certificates from public or private certificate authorities. To update the truststore, upload a new version to S3, and then update your custom domain name to use the new version. To update the truststore, you must have permissions to access the S3 object.

mutualTlsAuthentication_truststoreVersion :: Lens' MutualTlsAuthentication (Maybe Text) Source #

The version of the S3 object that contains your truststore. To specify a version, you must have versioning enabled for the S3 bucket.

mutualTlsAuthentication_truststoreWarnings :: Lens' MutualTlsAuthentication (Maybe [Text]) Source #

A list of warnings that API Gateway returns while processing your truststore. Invalid certificates produce warnings. Mutual TLS is still enabled, but some clients might not be able to access your API. To resolve warnings, upload a new truststore to S3, and then update you domain name to use the new version.

MutualTlsAuthenticationInput

data MutualTlsAuthenticationInput Source #

The mutual TLS authentication configuration for a custom domain name. If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your API.

See: newMutualTlsAuthenticationInput smart constructor.

Constructors

MutualTlsAuthenticationInput' 

Fields

  • truststoreUri :: Maybe Text

    An Amazon S3 URL that specifies the truststore for mutual TLS authentication, for example s3://bucket-name/key-name. The truststore can contain certificates from public or private certificate authorities. To update the truststore, upload a new version to S3, and then update your custom domain name to use the new version. To update the truststore, you must have permissions to access the S3 object.

  • truststoreVersion :: Maybe Text

    The version of the S3 object that contains your truststore. To specify a version, you must have versioning enabled for the S3 bucket

Instances

Instances details
ToJSON MutualTlsAuthenticationInput Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MutualTlsAuthenticationInput

Generic MutualTlsAuthenticationInput Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MutualTlsAuthenticationInput

Associated Types

type Rep MutualTlsAuthenticationInput :: Type -> Type #

Read MutualTlsAuthenticationInput Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MutualTlsAuthenticationInput

Show MutualTlsAuthenticationInput Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MutualTlsAuthenticationInput

NFData MutualTlsAuthenticationInput Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MutualTlsAuthenticationInput

Eq MutualTlsAuthenticationInput Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MutualTlsAuthenticationInput

Hashable MutualTlsAuthenticationInput Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MutualTlsAuthenticationInput

type Rep MutualTlsAuthenticationInput Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MutualTlsAuthenticationInput

type Rep MutualTlsAuthenticationInput = D1 ('MetaData "MutualTlsAuthenticationInput" "Amazonka.APIGateway.Types.MutualTlsAuthenticationInput" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "MutualTlsAuthenticationInput'" 'PrefixI 'True) (S1 ('MetaSel ('Just "truststoreUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "truststoreVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newMutualTlsAuthenticationInput :: MutualTlsAuthenticationInput Source #

Create a value of MutualTlsAuthenticationInput 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:truststoreUri:MutualTlsAuthenticationInput', mutualTlsAuthenticationInput_truststoreUri - An Amazon S3 URL that specifies the truststore for mutual TLS authentication, for example s3://bucket-name/key-name. The truststore can contain certificates from public or private certificate authorities. To update the truststore, upload a new version to S3, and then update your custom domain name to use the new version. To update the truststore, you must have permissions to access the S3 object.

$sel:truststoreVersion:MutualTlsAuthenticationInput', mutualTlsAuthenticationInput_truststoreVersion - The version of the S3 object that contains your truststore. To specify a version, you must have versioning enabled for the S3 bucket

mutualTlsAuthenticationInput_truststoreUri :: Lens' MutualTlsAuthenticationInput (Maybe Text) Source #

An Amazon S3 URL that specifies the truststore for mutual TLS authentication, for example s3://bucket-name/key-name. The truststore can contain certificates from public or private certificate authorities. To update the truststore, upload a new version to S3, and then update your custom domain name to use the new version. To update the truststore, you must have permissions to access the S3 object.

mutualTlsAuthenticationInput_truststoreVersion :: Lens' MutualTlsAuthenticationInput (Maybe Text) Source #

The version of the S3 object that contains your truststore. To specify a version, you must have versioning enabled for the S3 bucket

PatchOperation

data PatchOperation Source #

For more information about supported patch operations, see Patch Operations.

See: newPatchOperation smart constructor.

Constructors

PatchOperation' 

Fields

  • from :: Maybe Text

    The copy update operation's source as identified by a JSON-Pointer value referencing the location within the targeted resource to copy the value from. For example, to promote a canary deployment, you copy the canary deployment ID to the affiliated deployment ID by calling a PATCH request on a Stage resource with "op":"copy", "from":"/canarySettings/deploymentId" and "path":"/deploymentId".

  • op :: Maybe Op

    An update operation to be performed with this PATCH request. The valid value can be add, remove, replace or copy. Not all valid operations are supported for a given resource. Support of the operations depends on specific operational contexts. Attempts to apply an unsupported operation on a resource will return an error message..

  • path :: Maybe Text

    The op operation's target, as identified by a JSON Pointer value that references a location within the targeted resource. For example, if the target resource has an updateable property of {"name":"value"}, the path for this property is /name. If the name property value is a JSON object (e.g., {"name": {"child/name": "child-value"}}), the path for the child/name property will be /name/child~1name. Any slash ("/") character appearing in path names must be escaped with "~1", as shown in the example above. Each op operation can have only one path associated with it.

  • value :: Maybe Text

    The new target value of the update operation. It is applicable for the add or replace operation. When using AWS CLI to update a property of a JSON value, enclose the JSON object with a pair of single quotes in a Linux shell, e.g., '{"a": ...}'.

Instances

Instances details
ToJSON PatchOperation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PatchOperation

Generic PatchOperation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PatchOperation

Associated Types

type Rep PatchOperation :: Type -> Type #

Read PatchOperation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PatchOperation

Show PatchOperation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PatchOperation

NFData PatchOperation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PatchOperation

Methods

rnf :: PatchOperation -> () #

Eq PatchOperation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PatchOperation

Hashable PatchOperation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PatchOperation

type Rep PatchOperation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PatchOperation

type Rep PatchOperation = D1 ('MetaData "PatchOperation" "Amazonka.APIGateway.Types.PatchOperation" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "PatchOperation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "from") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "op") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Op))) :*: (S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newPatchOperation :: PatchOperation Source #

Create a value of PatchOperation 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:from:PatchOperation', patchOperation_from - The copy update operation's source as identified by a JSON-Pointer value referencing the location within the targeted resource to copy the value from. For example, to promote a canary deployment, you copy the canary deployment ID to the affiliated deployment ID by calling a PATCH request on a Stage resource with "op":"copy", "from":"/canarySettings/deploymentId" and "path":"/deploymentId".

$sel:op:PatchOperation', patchOperation_op - An update operation to be performed with this PATCH request. The valid value can be add, remove, replace or copy. Not all valid operations are supported for a given resource. Support of the operations depends on specific operational contexts. Attempts to apply an unsupported operation on a resource will return an error message..

$sel:path:PatchOperation', patchOperation_path - The op operation's target, as identified by a JSON Pointer value that references a location within the targeted resource. For example, if the target resource has an updateable property of {"name":"value"}, the path for this property is /name. If the name property value is a JSON object (e.g., {"name": {"child/name": "child-value"}}), the path for the child/name property will be /name/child~1name. Any slash ("/") character appearing in path names must be escaped with "~1", as shown in the example above. Each op operation can have only one path associated with it.

$sel:value:PatchOperation', patchOperation_value - The new target value of the update operation. It is applicable for the add or replace operation. When using AWS CLI to update a property of a JSON value, enclose the JSON object with a pair of single quotes in a Linux shell, e.g., '{"a": ...}'.

patchOperation_from :: Lens' PatchOperation (Maybe Text) Source #

The copy update operation's source as identified by a JSON-Pointer value referencing the location within the targeted resource to copy the value from. For example, to promote a canary deployment, you copy the canary deployment ID to the affiliated deployment ID by calling a PATCH request on a Stage resource with "op":"copy", "from":"/canarySettings/deploymentId" and "path":"/deploymentId".

patchOperation_op :: Lens' PatchOperation (Maybe Op) Source #

An update operation to be performed with this PATCH request. The valid value can be add, remove, replace or copy. Not all valid operations are supported for a given resource. Support of the operations depends on specific operational contexts. Attempts to apply an unsupported operation on a resource will return an error message..

patchOperation_path :: Lens' PatchOperation (Maybe Text) Source #

The op operation's target, as identified by a JSON Pointer value that references a location within the targeted resource. For example, if the target resource has an updateable property of {"name":"value"}, the path for this property is /name. If the name property value is a JSON object (e.g., {"name": {"child/name": "child-value"}}), the path for the child/name property will be /name/child~1name. Any slash ("/") character appearing in path names must be escaped with "~1", as shown in the example above. Each op operation can have only one path associated with it.

patchOperation_value :: Lens' PatchOperation (Maybe Text) Source #

The new target value of the update operation. It is applicable for the add or replace operation. When using AWS CLI to update a property of a JSON value, enclose the JSON object with a pair of single quotes in a Linux shell, e.g., '{"a": ...}'.

QuotaSettings

data QuotaSettings Source #

Quotas configured for a usage plan.

See: newQuotaSettings smart constructor.

Constructors

QuotaSettings' 

Fields

  • limit :: Maybe Int

    The target maximum number of requests that can be made in a given time period.

  • offset :: Maybe Int

    The number of requests subtracted from the given limit in the initial time period.

  • period :: Maybe QuotaPeriodType

    The time period in which the limit applies. Valid values are "DAY", "WEEK" or "MONTH".

Instances

Instances details
FromJSON QuotaSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaSettings

ToJSON QuotaSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaSettings

Generic QuotaSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaSettings

Associated Types

type Rep QuotaSettings :: Type -> Type #

Read QuotaSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaSettings

Show QuotaSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaSettings

NFData QuotaSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaSettings

Methods

rnf :: QuotaSettings -> () #

Eq QuotaSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaSettings

Hashable QuotaSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaSettings

type Rep QuotaSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaSettings

type Rep QuotaSettings = D1 ('MetaData "QuotaSettings" "Amazonka.APIGateway.Types.QuotaSettings" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "QuotaSettings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "offset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "period") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QuotaPeriodType)))))

newQuotaSettings :: QuotaSettings Source #

Create a value of QuotaSettings 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:limit:QuotaSettings', quotaSettings_limit - The target maximum number of requests that can be made in a given time period.

$sel:offset:QuotaSettings', quotaSettings_offset - The number of requests subtracted from the given limit in the initial time period.

$sel:period:QuotaSettings', quotaSettings_period - The time period in which the limit applies. Valid values are "DAY", "WEEK" or "MONTH".

quotaSettings_limit :: Lens' QuotaSettings (Maybe Int) Source #

The target maximum number of requests that can be made in a given time period.

quotaSettings_offset :: Lens' QuotaSettings (Maybe Int) Source #

The number of requests subtracted from the given limit in the initial time period.

quotaSettings_period :: Lens' QuotaSettings (Maybe QuotaPeriodType) Source #

The time period in which the limit applies. Valid values are "DAY", "WEEK" or "MONTH".

RequestValidator

data RequestValidator Source #

A set of validation rules for incoming Method requests.

See: newRequestValidator smart constructor.

Constructors

RequestValidator' 

Fields

Instances

Instances details
FromJSON RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

Generic RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

Associated Types

type Rep RequestValidator :: Type -> Type #

Read RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

Show RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

NFData RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

Methods

rnf :: RequestValidator -> () #

Eq RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

Hashable RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

type Rep RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

type Rep RequestValidator = D1 ('MetaData "RequestValidator" "Amazonka.APIGateway.Types.RequestValidator" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "RequestValidator'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "validateRequestBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "validateRequestParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

newRequestValidator :: RequestValidator Source #

Create a value of RequestValidator 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:id:RequestValidator', requestValidator_id - The identifier of this RequestValidator.

$sel:name:RequestValidator', requestValidator_name - The name of this RequestValidator

$sel:validateRequestBody:RequestValidator', requestValidator_validateRequestBody - A Boolean flag to indicate whether to validate a request body according to the configured Model schema.

$sel:validateRequestParameters:RequestValidator', requestValidator_validateRequestParameters - A Boolean flag to indicate whether to validate request parameters (true) or not (false).

requestValidator_id :: Lens' RequestValidator (Maybe Text) Source #

The identifier of this RequestValidator.

requestValidator_name :: Lens' RequestValidator (Maybe Text) Source #

The name of this RequestValidator

requestValidator_validateRequestBody :: Lens' RequestValidator (Maybe Bool) Source #

A Boolean flag to indicate whether to validate a request body according to the configured Model schema.

requestValidator_validateRequestParameters :: Lens' RequestValidator (Maybe Bool) Source #

A Boolean flag to indicate whether to validate request parameters (true) or not (false).

Resource

data Resource Source #

Represents an API resource.

See: newResource smart constructor.

Constructors

Resource' 

Fields

Instances

Instances details
FromJSON Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

Generic Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

Associated Types

type Rep Resource :: Type -> Type #

Methods

from :: Resource -> Rep Resource x #

to :: Rep Resource x -> Resource #

Read Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

Show Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

NFData Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

Methods

rnf :: Resource -> () #

Eq Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

Hashable Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

Methods

hashWithSalt :: Int -> Resource -> Int #

hash :: Resource -> Int #

type Rep Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

type Rep Resource = D1 ('MetaData "Resource" "Amazonka.APIGateway.Types.Resource" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "Resource'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "parentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "pathPart") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceMethods") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Method)))))))

newResource :: Resource Source #

Create a value of Resource 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:id:Resource', resource_id - The resource's identifier.

$sel:parentId:Resource', resource_parentId - The parent resource's identifier.

$sel:path:Resource', resource_path - The full path for this resource.

$sel:pathPart:Resource', resource_pathPart - The last path segment for this resource.

$sel:resourceMethods:Resource', resource_resourceMethods - Gets an API resource's method of a given HTTP verb.

resource_id :: Lens' Resource (Maybe Text) Source #

The resource's identifier.

resource_parentId :: Lens' Resource (Maybe Text) Source #

The parent resource's identifier.

resource_path :: Lens' Resource (Maybe Text) Source #

The full path for this resource.

resource_pathPart :: Lens' Resource (Maybe Text) Source #

The last path segment for this resource.

resource_resourceMethods :: Lens' Resource (Maybe (HashMap Text Method)) Source #

Gets an API resource's method of a given HTTP verb.

RestApi

data RestApi Source #

Represents a REST API.

See: newRestApi smart constructor.

Constructors

RestApi' 

Fields

  • apiKeySource :: Maybe ApiKeySourceType

    The source of the API key for metering requests according to a usage plan. Valid values are: >HEADER to read the API key from the X-API-Key header of a request. AUTHORIZER to read the API key from the UsageIdentifierKey from a custom authorizer.

  • binaryMediaTypes :: Maybe [Text]

    The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.

  • createdDate :: Maybe POSIX

    The timestamp when the API was created.

  • description :: Maybe Text

    The API's description.

  • disableExecuteApiEndpoint :: Maybe Bool

    Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.

  • endpointConfiguration :: Maybe EndpointConfiguration

    The endpoint configuration of this RestApi showing the endpoint types of the API.

  • id :: Maybe Text

    The API's identifier. This identifier is unique across all of your APIs in API Gateway.

  • minimumCompressionSize :: Maybe Int

    A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size.

  • name :: Maybe Text

    The API's name.

  • policy :: Maybe Text

    A stringified JSON policy document that applies to this RestApi regardless of the caller and Method configuration.

  • tags :: Maybe (HashMap Text Text)

    The collection of tags. Each tag element is associated with a given resource.

  • version :: Maybe Text

    A version identifier for the API.

  • warnings :: Maybe [Text]

    The warning messages reported when failonwarnings is turned on during API import.

Instances

Instances details
FromJSON RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Generic RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Associated Types

type Rep RestApi :: Type -> Type #

Methods

from :: RestApi -> Rep RestApi x #

to :: Rep RestApi x -> RestApi #

Read RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Show RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

NFData RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Methods

rnf :: RestApi -> () #

Eq RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Methods

(==) :: RestApi -> RestApi -> Bool #

(/=) :: RestApi -> RestApi -> Bool #

Hashable RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Methods

hashWithSalt :: Int -> RestApi -> Int #

hash :: RestApi -> Int #

type Rep RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

type Rep RestApi = D1 ('MetaData "RestApi" "Amazonka.APIGateway.Types.RestApi" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "RestApi'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "apiKeySource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApiKeySourceType)) :*: (S1 ('MetaSel ('Just "binaryMediaTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "disableExecuteApiEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "endpointConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EndpointConfiguration))))) :*: ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "minimumCompressionSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "warnings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))))

newRestApi :: RestApi Source #

Create a value of RestApi 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:apiKeySource:RestApi', restApi_apiKeySource - The source of the API key for metering requests according to a usage plan. Valid values are: >HEADER to read the API key from the X-API-Key header of a request. AUTHORIZER to read the API key from the UsageIdentifierKey from a custom authorizer.

$sel:binaryMediaTypes:RestApi', restApi_binaryMediaTypes - The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.

$sel:createdDate:RestApi', restApi_createdDate - The timestamp when the API was created.

$sel:description:RestApi', restApi_description - The API's description.

$sel:disableExecuteApiEndpoint:RestApi', restApi_disableExecuteApiEndpoint - Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.

$sel:endpointConfiguration:RestApi', restApi_endpointConfiguration - The endpoint configuration of this RestApi showing the endpoint types of the API.

$sel:id:RestApi', restApi_id - The API's identifier. This identifier is unique across all of your APIs in API Gateway.

$sel:minimumCompressionSize:RestApi', restApi_minimumCompressionSize - A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size.

$sel:name:RestApi', restApi_name - The API's name.

$sel:policy:RestApi', restApi_policy - A stringified JSON policy document that applies to this RestApi regardless of the caller and Method configuration.

$sel:tags:RestApi', restApi_tags - The collection of tags. Each tag element is associated with a given resource.

$sel:version:RestApi', restApi_version - A version identifier for the API.

$sel:warnings:RestApi', restApi_warnings - The warning messages reported when failonwarnings is turned on during API import.

restApi_apiKeySource :: Lens' RestApi (Maybe ApiKeySourceType) Source #

The source of the API key for metering requests according to a usage plan. Valid values are: >HEADER to read the API key from the X-API-Key header of a request. AUTHORIZER to read the API key from the UsageIdentifierKey from a custom authorizer.

restApi_binaryMediaTypes :: Lens' RestApi (Maybe [Text]) Source #

The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.

restApi_createdDate :: Lens' RestApi (Maybe UTCTime) Source #

The timestamp when the API was created.

restApi_description :: Lens' RestApi (Maybe Text) Source #

The API's description.

restApi_disableExecuteApiEndpoint :: Lens' RestApi (Maybe Bool) Source #

Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.

restApi_endpointConfiguration :: Lens' RestApi (Maybe EndpointConfiguration) Source #

The endpoint configuration of this RestApi showing the endpoint types of the API.

restApi_id :: Lens' RestApi (Maybe Text) Source #

The API's identifier. This identifier is unique across all of your APIs in API Gateway.

restApi_minimumCompressionSize :: Lens' RestApi (Maybe Int) Source #

A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size.

restApi_policy :: Lens' RestApi (Maybe Text) Source #

A stringified JSON policy document that applies to this RestApi regardless of the caller and Method configuration.

restApi_tags :: Lens' RestApi (Maybe (HashMap Text Text)) Source #

The collection of tags. Each tag element is associated with a given resource.

restApi_version :: Lens' RestApi (Maybe Text) Source #

A version identifier for the API.

restApi_warnings :: Lens' RestApi (Maybe [Text]) Source #

The warning messages reported when failonwarnings is turned on during API import.

SdkConfigurationProperty

data SdkConfigurationProperty Source #

A configuration property of an SDK type.

See: newSdkConfigurationProperty smart constructor.

Constructors

SdkConfigurationProperty' 

Fields

  • defaultValue :: Maybe Text

    The default value of an SdkType configuration property.

  • description :: Maybe Text

    The description of an SdkType configuration property.

  • friendlyName :: Maybe Text

    The user-friendly name of an SdkType configuration property.

  • name :: Maybe Text

    The name of a an SdkType configuration property.

  • required :: Maybe Bool

    A boolean flag of an SdkType configuration property to indicate if the associated SDK configuration property is required (true) or not (false).

Instances

Instances details
FromJSON SdkConfigurationProperty Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkConfigurationProperty

Generic SdkConfigurationProperty Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkConfigurationProperty

Associated Types

type Rep SdkConfigurationProperty :: Type -> Type #

Read SdkConfigurationProperty Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkConfigurationProperty

Show SdkConfigurationProperty Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkConfigurationProperty

NFData SdkConfigurationProperty Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkConfigurationProperty

Eq SdkConfigurationProperty Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkConfigurationProperty

Hashable SdkConfigurationProperty Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkConfigurationProperty

type Rep SdkConfigurationProperty Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkConfigurationProperty

type Rep SdkConfigurationProperty = D1 ('MetaData "SdkConfigurationProperty" "Amazonka.APIGateway.Types.SdkConfigurationProperty" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "SdkConfigurationProperty'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "defaultValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "friendlyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "required") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))))

newSdkConfigurationProperty :: SdkConfigurationProperty Source #

Create a value of SdkConfigurationProperty 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:defaultValue:SdkConfigurationProperty', sdkConfigurationProperty_defaultValue - The default value of an SdkType configuration property.

$sel:description:SdkConfigurationProperty', sdkConfigurationProperty_description - The description of an SdkType configuration property.

$sel:friendlyName:SdkConfigurationProperty', sdkConfigurationProperty_friendlyName - The user-friendly name of an SdkType configuration property.

$sel:name:SdkConfigurationProperty', sdkConfigurationProperty_name - The name of a an SdkType configuration property.

$sel:required:SdkConfigurationProperty', sdkConfigurationProperty_required - A boolean flag of an SdkType configuration property to indicate if the associated SDK configuration property is required (true) or not (false).

sdkConfigurationProperty_defaultValue :: Lens' SdkConfigurationProperty (Maybe Text) Source #

The default value of an SdkType configuration property.

sdkConfigurationProperty_description :: Lens' SdkConfigurationProperty (Maybe Text) Source #

The description of an SdkType configuration property.

sdkConfigurationProperty_friendlyName :: Lens' SdkConfigurationProperty (Maybe Text) Source #

The user-friendly name of an SdkType configuration property.

sdkConfigurationProperty_name :: Lens' SdkConfigurationProperty (Maybe Text) Source #

The name of a an SdkType configuration property.

sdkConfigurationProperty_required :: Lens' SdkConfigurationProperty (Maybe Bool) Source #

A boolean flag of an SdkType configuration property to indicate if the associated SDK configuration property is required (true) or not (false).

SdkType

data SdkType Source #

A type of SDK that API Gateway can generate.

See: newSdkType smart constructor.

Constructors

SdkType' 

Fields

Instances

Instances details
FromJSON SdkType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkType

Generic SdkType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkType

Associated Types

type Rep SdkType :: Type -> Type #

Methods

from :: SdkType -> Rep SdkType x #

to :: Rep SdkType x -> SdkType #

Read SdkType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkType

Show SdkType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkType

NFData SdkType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkType

Methods

rnf :: SdkType -> () #

Eq SdkType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkType

Methods

(==) :: SdkType -> SdkType -> Bool #

(/=) :: SdkType -> SdkType -> Bool #

Hashable SdkType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkType

Methods

hashWithSalt :: Int -> SdkType -> Int #

hash :: SdkType -> Int #

type Rep SdkType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkType

type Rep SdkType = D1 ('MetaData "SdkType" "Amazonka.APIGateway.Types.SdkType" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "SdkType'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "configurationProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SdkConfigurationProperty])) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "friendlyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newSdkType :: SdkType Source #

Create a value of SdkType 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:configurationProperties:SdkType', sdkType_configurationProperties - A list of configuration properties of an SdkType.

SdkType, sdkType_description - The description of an SdkType.

SdkType, sdkType_friendlyName - The user-friendly name of an SdkType instance.

$sel:id:SdkType', sdkType_id - The identifier of an SdkType instance.

sdkType_configurationProperties :: Lens' SdkType (Maybe [SdkConfigurationProperty]) Source #

A list of configuration properties of an SdkType.

sdkType_description :: Lens' SdkType (Maybe Text) Source #

The description of an SdkType.

sdkType_friendlyName :: Lens' SdkType (Maybe Text) Source #

The user-friendly name of an SdkType instance.

sdkType_id :: Lens' SdkType (Maybe Text) Source #

The identifier of an SdkType instance.

Stage

data Stage Source #

Represents a unique identifier for a version of a deployed RestApi that is callable by users.

See: newStage smart constructor.

Constructors

Stage' 

Fields

Instances

Instances details
FromJSON Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

Generic Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

Associated Types

type Rep Stage :: Type -> Type #

Methods

from :: Stage -> Rep Stage x #

to :: Rep Stage x -> Stage #

Read Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

Show Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

Methods

showsPrec :: Int -> Stage -> ShowS #

show :: Stage -> String #

showList :: [Stage] -> ShowS #

NFData Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

Methods

rnf :: Stage -> () #

Eq Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

Methods

(==) :: Stage -> Stage -> Bool #

(/=) :: Stage -> Stage -> Bool #

Hashable Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

Methods

hashWithSalt :: Int -> Stage -> Int #

hash :: Stage -> Int #

type Rep Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

type Rep Stage = D1 ('MetaData "Stage" "Amazonka.APIGateway.Types.Stage" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "Stage'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "accessLogSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AccessLogSettings)) :*: S1 ('MetaSel ('Just "cacheClusterEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "cacheClusterSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CacheClusterSize)) :*: S1 ('MetaSel ('Just "cacheClusterStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CacheClusterStatus)))) :*: ((S1 ('MetaSel ('Just "canarySettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CanarySettings)) :*: S1 ('MetaSel ('Just "clientCertificateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "deploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "documentationVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "lastUpdatedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "methodSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text MethodSetting))))) :*: ((S1 ('MetaSel ('Just "stageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "tracingEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "variables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "webAclArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))))

newStage :: Stage Source #

Create a value of Stage 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:accessLogSettings:Stage', stage_accessLogSettings - Settings for logging access in this stage.

$sel:cacheClusterEnabled:Stage', stage_cacheClusterEnabled - Specifies whether a cache cluster is enabled for the stage.

$sel:cacheClusterSize:Stage', stage_cacheClusterSize - The stage's cache capacity in GB. For more information about choosing a cache size, see Enabling API caching to enhance responsiveness.

$sel:cacheClusterStatus:Stage', stage_cacheClusterStatus - The status of the cache cluster for the stage, if enabled.

$sel:canarySettings:Stage', stage_canarySettings - Settings for the canary deployment in this stage.

$sel:clientCertificateId:Stage', stage_clientCertificateId - The identifier of a client certificate for an API stage.

$sel:createdDate:Stage', stage_createdDate - The timestamp when the stage was created.

Stage, stage_deploymentId - The identifier of the Deployment that the stage points to.

$sel:description:Stage', stage_description - The stage's description.

$sel:documentationVersion:Stage', stage_documentationVersion - The version of the associated API documentation.

$sel:lastUpdatedDate:Stage', stage_lastUpdatedDate - The timestamp when the stage last updated.

$sel:methodSettings:Stage', stage_methodSettings - A map that defines the method settings for a Stage resource. Keys (designated as /{method_setting_key below) are method paths defined as {resource_path}/{http_method} for an individual method override, or /\*/\* for overriding all methods in the stage.

$sel:stageName:Stage', stage_stageName - The name of the stage is the first path segment in the Uniform Resource Identifier (URI) of a call to API Gateway. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.

$sel:tags:Stage', stage_tags - The collection of tags. Each tag element is associated with a given resource.

$sel:tracingEnabled:Stage', stage_tracingEnabled - Specifies whether active tracing with X-ray is enabled for the Stage.

$sel:variables:Stage', stage_variables - A map that defines the stage variables for a Stage resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.

$sel:webAclArn:Stage', stage_webAclArn - The ARN of the WebAcl associated with the Stage.

stage_accessLogSettings :: Lens' Stage (Maybe AccessLogSettings) Source #

Settings for logging access in this stage.

stage_cacheClusterEnabled :: Lens' Stage (Maybe Bool) Source #

Specifies whether a cache cluster is enabled for the stage.

stage_cacheClusterSize :: Lens' Stage (Maybe CacheClusterSize) Source #

The stage's cache capacity in GB. For more information about choosing a cache size, see Enabling API caching to enhance responsiveness.

stage_cacheClusterStatus :: Lens' Stage (Maybe CacheClusterStatus) Source #

The status of the cache cluster for the stage, if enabled.

stage_canarySettings :: Lens' Stage (Maybe CanarySettings) Source #

Settings for the canary deployment in this stage.

stage_clientCertificateId :: Lens' Stage (Maybe Text) Source #

The identifier of a client certificate for an API stage.

stage_createdDate :: Lens' Stage (Maybe UTCTime) Source #

The timestamp when the stage was created.

stage_deploymentId :: Lens' Stage (Maybe Text) Source #

The identifier of the Deployment that the stage points to.

stage_description :: Lens' Stage (Maybe Text) Source #

The stage's description.

stage_documentationVersion :: Lens' Stage (Maybe Text) Source #

The version of the associated API documentation.

stage_lastUpdatedDate :: Lens' Stage (Maybe UTCTime) Source #

The timestamp when the stage last updated.

stage_methodSettings :: Lens' Stage (Maybe (HashMap Text MethodSetting)) Source #

A map that defines the method settings for a Stage resource. Keys (designated as /{method_setting_key below) are method paths defined as {resource_path}/{http_method} for an individual method override, or /\*/\* for overriding all methods in the stage.

stage_stageName :: Lens' Stage (Maybe Text) Source #

The name of the stage is the first path segment in the Uniform Resource Identifier (URI) of a call to API Gateway. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.

stage_tags :: Lens' Stage (Maybe (HashMap Text Text)) Source #

The collection of tags. Each tag element is associated with a given resource.

stage_tracingEnabled :: Lens' Stage (Maybe Bool) Source #

Specifies whether active tracing with X-ray is enabled for the Stage.

stage_variables :: Lens' Stage (Maybe (HashMap Text Text)) Source #

A map that defines the stage variables for a Stage resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.

stage_webAclArn :: Lens' Stage (Maybe Text) Source #

The ARN of the WebAcl associated with the Stage.

StageKey

data StageKey Source #

A reference to a unique stage identified in the format {restApiId}/{stage}.

See: newStageKey smart constructor.

Constructors

StageKey' 

Fields

Instances

Instances details
ToJSON StageKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.StageKey

Generic StageKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.StageKey

Associated Types

type Rep StageKey :: Type -> Type #

Methods

from :: StageKey -> Rep StageKey x #

to :: Rep StageKey x -> StageKey #

Read StageKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.StageKey

Show StageKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.StageKey

NFData StageKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.StageKey

Methods

rnf :: StageKey -> () #

Eq StageKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.StageKey

Hashable StageKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.StageKey

Methods

hashWithSalt :: Int -> StageKey -> Int #

hash :: StageKey -> Int #

type Rep StageKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.StageKey

type Rep StageKey = D1 ('MetaData "StageKey" "Amazonka.APIGateway.Types.StageKey" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "StageKey'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "stageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newStageKey :: StageKey Source #

Create a value of StageKey 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:restApiId:StageKey', stageKey_restApiId - The string identifier of the associated RestApi.

$sel:stageName:StageKey', stageKey_stageName - The stage name associated with the stage key.

stageKey_restApiId :: Lens' StageKey (Maybe Text) Source #

The string identifier of the associated RestApi.

stageKey_stageName :: Lens' StageKey (Maybe Text) Source #

The stage name associated with the stage key.

ThrottleSettings

data ThrottleSettings Source #

The API request rate limits.

See: newThrottleSettings smart constructor.

Constructors

ThrottleSettings' 

Fields

  • burstLimit :: Maybe Int

    The API target request burst rate limit. This allows more requests through for a period of time than the target rate limit.

  • rateLimit :: Maybe Double

    The API target request rate limit.

Instances

Instances details
FromJSON ThrottleSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ThrottleSettings

ToJSON ThrottleSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ThrottleSettings

Generic ThrottleSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ThrottleSettings

Associated Types

type Rep ThrottleSettings :: Type -> Type #

Read ThrottleSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ThrottleSettings

Show ThrottleSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ThrottleSettings

NFData ThrottleSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ThrottleSettings

Methods

rnf :: ThrottleSettings -> () #

Eq ThrottleSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ThrottleSettings

Hashable ThrottleSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ThrottleSettings

type Rep ThrottleSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ThrottleSettings

type Rep ThrottleSettings = D1 ('MetaData "ThrottleSettings" "Amazonka.APIGateway.Types.ThrottleSettings" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "ThrottleSettings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "burstLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "rateLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))

newThrottleSettings :: ThrottleSettings Source #

Create a value of ThrottleSettings 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:burstLimit:ThrottleSettings', throttleSettings_burstLimit - The API target request burst rate limit. This allows more requests through for a period of time than the target rate limit.

$sel:rateLimit:ThrottleSettings', throttleSettings_rateLimit - The API target request rate limit.

throttleSettings_burstLimit :: Lens' ThrottleSettings (Maybe Int) Source #

The API target request burst rate limit. This allows more requests through for a period of time than the target rate limit.

throttleSettings_rateLimit :: Lens' ThrottleSettings (Maybe Double) Source #

The API target request rate limit.

TlsConfig

data TlsConfig Source #

Specifies the TLS configuration for an integration.

See: newTlsConfig smart constructor.

Constructors

TlsConfig' 

Fields

  • insecureSkipVerification :: Maybe Bool

    Specifies whether or not API Gateway skips verification that the certificate for an integration endpoint is issued by a supported certificate authority. This isn’t recommended, but it enables you to use certificates that are signed by private certificate authorities, or certificates that are self-signed. If enabled, API Gateway still performs basic certificate validation, which includes checking the certificate's expiration date, hostname, and presence of a root certificate authority. Supported only for HTTP and HTTP_PROXY integrations.

    Enabling insecureSkipVerification isn't recommended, especially for integrations with public HTTPS endpoints. If you enable insecureSkipVerification, you increase the risk of man-in-the-middle attacks.

Instances

Instances details
FromJSON TlsConfig Source # 
Instance details

Defined in Amazonka.APIGateway.Types.TlsConfig

ToJSON TlsConfig Source # 
Instance details

Defined in Amazonka.APIGateway.Types.TlsConfig

Generic TlsConfig Source # 
Instance details

Defined in Amazonka.APIGateway.Types.TlsConfig

Associated Types

type Rep TlsConfig :: Type -> Type #

Read TlsConfig Source # 
Instance details

Defined in Amazonka.APIGateway.Types.TlsConfig

Show TlsConfig Source # 
Instance details

Defined in Amazonka.APIGateway.Types.TlsConfig

NFData TlsConfig Source # 
Instance details

Defined in Amazonka.APIGateway.Types.TlsConfig

Methods

rnf :: TlsConfig -> () #

Eq TlsConfig Source # 
Instance details

Defined in Amazonka.APIGateway.Types.TlsConfig

Hashable TlsConfig Source # 
Instance details

Defined in Amazonka.APIGateway.Types.TlsConfig

type Rep TlsConfig Source # 
Instance details

Defined in Amazonka.APIGateway.Types.TlsConfig

type Rep TlsConfig = D1 ('MetaData "TlsConfig" "Amazonka.APIGateway.Types.TlsConfig" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "TlsConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "insecureSkipVerification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newTlsConfig :: TlsConfig Source #

Create a value of TlsConfig 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:insecureSkipVerification:TlsConfig', tlsConfig_insecureSkipVerification - Specifies whether or not API Gateway skips verification that the certificate for an integration endpoint is issued by a supported certificate authority. This isn’t recommended, but it enables you to use certificates that are signed by private certificate authorities, or certificates that are self-signed. If enabled, API Gateway still performs basic certificate validation, which includes checking the certificate's expiration date, hostname, and presence of a root certificate authority. Supported only for HTTP and HTTP_PROXY integrations.

Enabling insecureSkipVerification isn't recommended, especially for integrations with public HTTPS endpoints. If you enable insecureSkipVerification, you increase the risk of man-in-the-middle attacks.

tlsConfig_insecureSkipVerification :: Lens' TlsConfig (Maybe Bool) Source #

Specifies whether or not API Gateway skips verification that the certificate for an integration endpoint is issued by a supported certificate authority. This isn’t recommended, but it enables you to use certificates that are signed by private certificate authorities, or certificates that are self-signed. If enabled, API Gateway still performs basic certificate validation, which includes checking the certificate's expiration date, hostname, and presence of a root certificate authority. Supported only for HTTP and HTTP_PROXY integrations.

Enabling insecureSkipVerification isn't recommended, especially for integrations with public HTTPS endpoints. If you enable insecureSkipVerification, you increase the risk of man-in-the-middle attacks.

Usage

data Usage Source #

Represents the usage data of a usage plan.

See: newUsage smart constructor.

Constructors

Usage' 

Fields

  • endDate :: Maybe Text

    The ending date of the usage data.

  • items :: Maybe (HashMap Text [[Integer]])

    The usage data, as daily logs of used and remaining quotas, over the specified time interval indexed over the API keys in a usage plan. For example, {..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}, where {api_key} stands for an API key value and the daily log entry is of the format [used quota, remaining quota].

  • position :: Maybe Text
     
  • startDate :: Maybe Text

    The starting date of the usage data.

  • usagePlanId :: Maybe Text

    The plan Id associated with this usage data.

Instances

Instances details
FromJSON Usage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Usage

Generic Usage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Usage

Associated Types

type Rep Usage :: Type -> Type #

Methods

from :: Usage -> Rep Usage x #

to :: Rep Usage x -> Usage #

Read Usage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Usage

Show Usage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Usage

Methods

showsPrec :: Int -> Usage -> ShowS #

show :: Usage -> String #

showList :: [Usage] -> ShowS #

NFData Usage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Usage

Methods

rnf :: Usage -> () #

Eq Usage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Usage

Methods

(==) :: Usage -> Usage -> Bool #

(/=) :: Usage -> Usage -> Bool #

Hashable Usage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Usage

Methods

hashWithSalt :: Int -> Usage -> Int #

hash :: Usage -> Int #

type Rep Usage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Usage

type Rep Usage = D1 ('MetaData "Usage" "Amazonka.APIGateway.Types.Usage" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "Usage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "endDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text [[Integer]])))) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "startDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "usagePlanId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newUsage :: Usage Source #

Create a value of Usage 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:endDate:Usage', usage_endDate - The ending date of the usage data.

$sel:items:Usage', usage_items - The usage data, as daily logs of used and remaining quotas, over the specified time interval indexed over the API keys in a usage plan. For example, {..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}, where {api_key} stands for an API key value and the daily log entry is of the format [used quota, remaining quota].

$sel:position:Usage', usage_position - Undocumented member.

$sel:startDate:Usage', usage_startDate - The starting date of the usage data.

$sel:usagePlanId:Usage', usage_usagePlanId - The plan Id associated with this usage data.

usage_endDate :: Lens' Usage (Maybe Text) Source #

The ending date of the usage data.

usage_items :: Lens' Usage (Maybe (HashMap Text [[Integer]])) Source #

The usage data, as daily logs of used and remaining quotas, over the specified time interval indexed over the API keys in a usage plan. For example, {..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}, where {api_key} stands for an API key value and the daily log entry is of the format [used quota, remaining quota].

usage_position :: Lens' Usage (Maybe Text) Source #

Undocumented member.

usage_startDate :: Lens' Usage (Maybe Text) Source #

The starting date of the usage data.

usage_usagePlanId :: Lens' Usage (Maybe Text) Source #

The plan Id associated with this usage data.

UsagePlan

data UsagePlan Source #

Represents a usage plan used to specify who can assess associated API stages. Optionally, target request rate and quota limits can be set. In some cases clients can exceed the targets that you set. Don’t rely on usage plans to control costs. Consider using Amazon Web Services Budgets to monitor costs and WAF to manage API requests.

See: newUsagePlan smart constructor.

Constructors

UsagePlan' 

Fields

Instances

Instances details
FromJSON UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

Generic UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

Associated Types

type Rep UsagePlan :: Type -> Type #

Read UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

Show UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

NFData UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

Methods

rnf :: UsagePlan -> () #

Eq UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

Hashable UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

type Rep UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

newUsagePlan :: UsagePlan Source #

Create a value of UsagePlan 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:apiStages:UsagePlan', usagePlan_apiStages - The associated API stages of a usage plan.

$sel:description:UsagePlan', usagePlan_description - The description of a usage plan.

$sel:id:UsagePlan', usagePlan_id - The identifier of a UsagePlan resource.

$sel:name:UsagePlan', usagePlan_name - The name of a usage plan.

$sel:productCode:UsagePlan', usagePlan_productCode - The AWS Markeplace product identifier to associate with the usage plan as a SaaS product on AWS Marketplace.

$sel:quota:UsagePlan', usagePlan_quota - The target maximum number of permitted requests per a given unit time interval.

$sel:tags:UsagePlan', usagePlan_tags - The collection of tags. Each tag element is associated with a given resource.

UsagePlan, usagePlan_throttle - A map containing method level throttling information for API stage in a usage plan.

usagePlan_apiStages :: Lens' UsagePlan (Maybe [ApiStage]) Source #

The associated API stages of a usage plan.

usagePlan_description :: Lens' UsagePlan (Maybe Text) Source #

The description of a usage plan.

usagePlan_id :: Lens' UsagePlan (Maybe Text) Source #

The identifier of a UsagePlan resource.

usagePlan_name :: Lens' UsagePlan (Maybe Text) Source #

The name of a usage plan.

usagePlan_productCode :: Lens' UsagePlan (Maybe Text) Source #

The AWS Markeplace product identifier to associate with the usage plan as a SaaS product on AWS Marketplace.

usagePlan_quota :: Lens' UsagePlan (Maybe QuotaSettings) Source #

The target maximum number of permitted requests per a given unit time interval.

usagePlan_tags :: Lens' UsagePlan (Maybe (HashMap Text Text)) Source #

The collection of tags. Each tag element is associated with a given resource.

usagePlan_throttle :: Lens' UsagePlan (Maybe ThrottleSettings) Source #

A map containing method level throttling information for API stage in a usage plan.

UsagePlanKey

data UsagePlanKey Source #

Represents a usage plan key to identify a plan customer.

See: newUsagePlanKey smart constructor.

Constructors

UsagePlanKey' 

Fields

Instances

Instances details
FromJSON UsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlanKey

Generic UsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlanKey

Associated Types

type Rep UsagePlanKey :: Type -> Type #

Read UsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlanKey

Show UsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlanKey

NFData UsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlanKey

Methods

rnf :: UsagePlanKey -> () #

Eq UsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlanKey

Hashable UsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlanKey

type Rep UsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlanKey

type Rep UsagePlanKey = D1 ('MetaData "UsagePlanKey" "Amazonka.APIGateway.Types.UsagePlanKey" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "UsagePlanKey'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newUsagePlanKey :: UsagePlanKey Source #

Create a value of UsagePlanKey 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:id:UsagePlanKey', usagePlanKey_id - The Id of a usage plan key.

$sel:name:UsagePlanKey', usagePlanKey_name - The name of a usage plan key.

$sel:type':UsagePlanKey', usagePlanKey_type - The type of a usage plan key. Currently, the valid key type is API_KEY.

$sel:value:UsagePlanKey', usagePlanKey_value - The value of a usage plan key.

usagePlanKey_id :: Lens' UsagePlanKey (Maybe Text) Source #

The Id of a usage plan key.

usagePlanKey_name :: Lens' UsagePlanKey (Maybe Text) Source #

The name of a usage plan key.

usagePlanKey_type :: Lens' UsagePlanKey (Maybe Text) Source #

The type of a usage plan key. Currently, the valid key type is API_KEY.

usagePlanKey_value :: Lens' UsagePlanKey (Maybe Text) Source #

The value of a usage plan key.

VpcLink

data VpcLink Source #

An API Gateway VPC link for a RestApi to access resources in an Amazon Virtual Private Cloud (VPC).

See: newVpcLink smart constructor.

Constructors

VpcLink' 

Fields

  • description :: Maybe Text

    The description of the VPC link.

  • id :: Maybe Text

    The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.

  • name :: Maybe Text

    The name used to label and identify the VPC link.

  • status :: Maybe VpcLinkStatus

    The status of the VPC link. The valid values are AVAILABLE, PENDING, DELETING, or FAILED. Deploying an API will wait if the status is PENDING and will fail if the status is DELETING.

  • statusMessage :: Maybe Text

    A description about the VPC link status.

  • tags :: Maybe (HashMap Text Text)

    The collection of tags. Each tag element is associated with a given resource.

  • targetArns :: Maybe [Text]

    The ARN of the network load balancer of the VPC targeted by the VPC link. The network load balancer must be owned by the same AWS account of the API owner.

Instances

newVpcLink :: VpcLink Source #

Create a value of VpcLink 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:description:VpcLink', vpcLink_description - The description of the VPC link.

$sel:id:VpcLink', vpcLink_id - The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.

$sel:name:VpcLink', vpcLink_name - The name used to label and identify the VPC link.

$sel:status:VpcLink', vpcLink_status - The status of the VPC link. The valid values are AVAILABLE, PENDING, DELETING, or FAILED. Deploying an API will wait if the status is PENDING and will fail if the status is DELETING.

$sel:statusMessage:VpcLink', vpcLink_statusMessage - A description about the VPC link status.

$sel:tags:VpcLink', vpcLink_tags - The collection of tags. Each tag element is associated with a given resource.

$sel:targetArns:VpcLink', vpcLink_targetArns - The ARN of the network load balancer of the VPC targeted by the VPC link. The network load balancer must be owned by the same AWS account of the API owner.

vpcLink_description :: Lens' VpcLink (Maybe Text) Source #

The description of the VPC link.

vpcLink_id :: Lens' VpcLink (Maybe Text) Source #

The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.

vpcLink_name :: Lens' VpcLink (Maybe Text) Source #

The name used to label and identify the VPC link.

vpcLink_status :: Lens' VpcLink (Maybe VpcLinkStatus) Source #

The status of the VPC link. The valid values are AVAILABLE, PENDING, DELETING, or FAILED. Deploying an API will wait if the status is PENDING and will fail if the status is DELETING.

vpcLink_statusMessage :: Lens' VpcLink (Maybe Text) Source #

A description about the VPC link status.

vpcLink_tags :: Lens' VpcLink (Maybe (HashMap Text Text)) Source #

The collection of tags. Each tag element is associated with a given resource.

vpcLink_targetArns :: Lens' VpcLink (Maybe [Text]) Source #

The ARN of the network load balancer of the VPC targeted by the VPC link. The network load balancer must be owned by the same AWS account of the API owner.