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

Amazonka.ApiGatewayV2.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2018-11-29 of the Amazon ApiGatewayV2 SDK configuration.

Errors

_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Prism for AccessDeniedException' errors.

_ConflictException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.

_NotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The resource specified in the request was not found. See the message field for more information.

_TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError Source #

A limit has been exceeded. See the accompanying error message for details.

_BadRequestException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

AuthorizationType

newtype AuthorizationType Source #

The authorization type. For WebSocket APIs, valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer. For HTTP APIs, valid values are NONE for open access, JWT for using JSON Web Tokens, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer.

Instances

Instances details
Eq AuthorizationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizationType

Ord AuthorizationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizationType

Read AuthorizationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizationType

Show AuthorizationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizationType

Generic AuthorizationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizationType

Associated Types

type Rep AuthorizationType :: Type -> Type #

NFData AuthorizationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizationType

Methods

rnf :: AuthorizationType -> () #

Hashable AuthorizationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizationType

ToJSON AuthorizationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizationType

ToJSONKey AuthorizationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizationType

FromJSON AuthorizationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizationType

FromJSONKey AuthorizationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizationType

ToLog AuthorizationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizationType

ToHeader AuthorizationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizationType

ToQuery AuthorizationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizationType

FromXML AuthorizationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizationType

ToXML AuthorizationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizationType

ToByteString AuthorizationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizationType

FromText AuthorizationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizationType

ToText AuthorizationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizationType

type Rep AuthorizationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizationType

type Rep AuthorizationType = D1 ('MetaData "AuthorizationType" "Amazonka.ApiGatewayV2.Types.AuthorizationType" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'True) (C1 ('MetaCons "AuthorizationType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromAuthorizationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

AuthorizerType

newtype AuthorizerType Source #

The authorizer type. Specify REQUEST for a Lambda function using incoming request parameters. Specify JWT to use JSON Web Tokens (supported only for HTTP APIs).

Constructors

AuthorizerType' 

Instances

Instances details
Eq AuthorizerType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizerType

Ord AuthorizerType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizerType

Read AuthorizerType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizerType

Show AuthorizerType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizerType

Generic AuthorizerType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizerType

Associated Types

type Rep AuthorizerType :: Type -> Type #

NFData AuthorizerType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizerType

Methods

rnf :: AuthorizerType -> () #

Hashable AuthorizerType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizerType

ToJSON AuthorizerType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizerType

ToJSONKey AuthorizerType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizerType

FromJSON AuthorizerType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizerType

FromJSONKey AuthorizerType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizerType

ToLog AuthorizerType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizerType

ToHeader AuthorizerType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizerType

ToQuery AuthorizerType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizerType

FromXML AuthorizerType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizerType

ToXML AuthorizerType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizerType

Methods

toXML :: AuthorizerType -> XML #

ToByteString AuthorizerType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizerType

FromText AuthorizerType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizerType

ToText AuthorizerType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizerType

type Rep AuthorizerType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AuthorizerType

type Rep AuthorizerType = D1 ('MetaData "AuthorizerType" "Amazonka.ApiGatewayV2.Types.AuthorizerType" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'True) (C1 ('MetaCons "AuthorizerType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromAuthorizerType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ConnectionType

newtype ConnectionType Source #

Represents a connection type.

Constructors

ConnectionType' 

Instances

Instances details
Eq ConnectionType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ConnectionType

Ord ConnectionType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ConnectionType

Read ConnectionType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ConnectionType

Show ConnectionType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ConnectionType

Generic ConnectionType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ConnectionType

Associated Types

type Rep ConnectionType :: Type -> Type #

NFData ConnectionType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ConnectionType

Methods

rnf :: ConnectionType -> () #

Hashable ConnectionType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ConnectionType

ToJSON ConnectionType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ConnectionType

ToJSONKey ConnectionType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ConnectionType

FromJSON ConnectionType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ConnectionType

FromJSONKey ConnectionType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ConnectionType

ToLog ConnectionType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ConnectionType

ToHeader ConnectionType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ConnectionType

ToQuery ConnectionType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ConnectionType

FromXML ConnectionType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ConnectionType

ToXML ConnectionType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ConnectionType

Methods

toXML :: ConnectionType -> XML #

ToByteString ConnectionType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ConnectionType

FromText ConnectionType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ConnectionType

ToText ConnectionType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ConnectionType

type Rep ConnectionType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ConnectionType

type Rep ConnectionType = D1 ('MetaData "ConnectionType" "Amazonka.ApiGatewayV2.Types.ConnectionType" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'True) (C1 ('MetaCons "ConnectionType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromConnectionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ContentHandlingStrategy

newtype ContentHandlingStrategy Source #

Specifies how to handle response payload content type conversions. Supported only for WebSocket APIs.

Instances

Instances details
Eq ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ContentHandlingStrategy

Ord ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ContentHandlingStrategy

Read ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ContentHandlingStrategy

Show ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ContentHandlingStrategy

Generic ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ContentHandlingStrategy

Associated Types

type Rep ContentHandlingStrategy :: Type -> Type #

NFData ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ContentHandlingStrategy

Methods

rnf :: ContentHandlingStrategy -> () #

Hashable ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ContentHandlingStrategy

ToJSON ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ContentHandlingStrategy

ToJSONKey ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ContentHandlingStrategy

FromJSON ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ContentHandlingStrategy

FromJSONKey ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ContentHandlingStrategy

ToLog ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ContentHandlingStrategy

ToHeader ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ContentHandlingStrategy

ToQuery ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ContentHandlingStrategy

FromXML ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ContentHandlingStrategy

ToXML ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ContentHandlingStrategy

ToByteString ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ContentHandlingStrategy

FromText ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ContentHandlingStrategy

ToText ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ContentHandlingStrategy

type Rep ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ContentHandlingStrategy

type Rep ContentHandlingStrategy = D1 ('MetaData "ContentHandlingStrategy" "Amazonka.ApiGatewayV2.Types.ContentHandlingStrategy" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'True) (C1 ('MetaCons "ContentHandlingStrategy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromContentHandlingStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

DeploymentStatus

newtype DeploymentStatus Source #

Represents a deployment status.

Instances

Instances details
Eq DeploymentStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DeploymentStatus

Ord DeploymentStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DeploymentStatus

Read DeploymentStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DeploymentStatus

Show DeploymentStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DeploymentStatus

Generic DeploymentStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DeploymentStatus

Associated Types

type Rep DeploymentStatus :: Type -> Type #

NFData DeploymentStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DeploymentStatus

Methods

rnf :: DeploymentStatus -> () #

Hashable DeploymentStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DeploymentStatus

ToJSON DeploymentStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DeploymentStatus

ToJSONKey DeploymentStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DeploymentStatus

FromJSON DeploymentStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DeploymentStatus

FromJSONKey DeploymentStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DeploymentStatus

ToLog DeploymentStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DeploymentStatus

ToHeader DeploymentStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DeploymentStatus

ToQuery DeploymentStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DeploymentStatus

FromXML DeploymentStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DeploymentStatus

ToXML DeploymentStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DeploymentStatus

ToByteString DeploymentStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DeploymentStatus

FromText DeploymentStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DeploymentStatus

ToText DeploymentStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DeploymentStatus

type Rep DeploymentStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DeploymentStatus

type Rep DeploymentStatus = D1 ('MetaData "DeploymentStatus" "Amazonka.ApiGatewayV2.Types.DeploymentStatus" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'True) (C1 ('MetaCons "DeploymentStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDeploymentStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

DomainNameStatus

newtype DomainNameStatus Source #

The status of the domain name migration. The valid values are AVAILABLE, UPDATING, PENDING_CERTIFICATE_REIMPORT, and PENDING_OWNERSHIP_VERIFICATION. 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.

Instances

Instances details
Eq DomainNameStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameStatus

Ord DomainNameStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameStatus

Read DomainNameStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameStatus

Show DomainNameStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameStatus

Generic DomainNameStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameStatus

Associated Types

type Rep DomainNameStatus :: Type -> Type #

NFData DomainNameStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameStatus

Methods

rnf :: DomainNameStatus -> () #

Hashable DomainNameStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameStatus

ToJSON DomainNameStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameStatus

ToJSONKey DomainNameStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameStatus

FromJSON DomainNameStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameStatus

FromJSONKey DomainNameStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameStatus

ToLog DomainNameStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameStatus

ToHeader DomainNameStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameStatus

ToQuery DomainNameStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameStatus

FromXML DomainNameStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameStatus

ToXML DomainNameStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameStatus

ToByteString DomainNameStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameStatus

FromText DomainNameStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameStatus

ToText DomainNameStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameStatus

type Rep DomainNameStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameStatus

type Rep DomainNameStatus = D1 ('MetaData "DomainNameStatus" "Amazonka.ApiGatewayV2.Types.DomainNameStatus" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'True) (C1 ('MetaCons "DomainNameStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDomainNameStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

EndpointType

newtype EndpointType Source #

Represents an endpoint type.

Constructors

EndpointType' 

Bundled Patterns

pattern EndpointType_EDGE :: EndpointType 
pattern EndpointType_REGIONAL :: EndpointType 

Instances

Instances details
Eq EndpointType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.EndpointType

Ord EndpointType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.EndpointType

Read EndpointType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.EndpointType

Show EndpointType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.EndpointType

Generic EndpointType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.EndpointType

Associated Types

type Rep EndpointType :: Type -> Type #

NFData EndpointType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.EndpointType

Methods

rnf :: EndpointType -> () #

Hashable EndpointType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.EndpointType

ToJSON EndpointType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.EndpointType

ToJSONKey EndpointType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.EndpointType

FromJSON EndpointType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.EndpointType

FromJSONKey EndpointType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.EndpointType

ToLog EndpointType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.EndpointType

ToHeader EndpointType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.EndpointType

ToQuery EndpointType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.EndpointType

FromXML EndpointType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.EndpointType

ToXML EndpointType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.EndpointType

Methods

toXML :: EndpointType -> XML #

ToByteString EndpointType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.EndpointType

FromText EndpointType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.EndpointType

ToText EndpointType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.EndpointType

Methods

toText :: EndpointType -> Text #

type Rep EndpointType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.EndpointType

type Rep EndpointType = D1 ('MetaData "EndpointType" "Amazonka.ApiGatewayV2.Types.EndpointType" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'True) (C1 ('MetaCons "EndpointType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEndpointType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

IntegrationType

newtype IntegrationType Source #

Represents an API method integration type.

Constructors

IntegrationType' 

Instances

Instances details
Eq IntegrationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.IntegrationType

Ord IntegrationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.IntegrationType

Read IntegrationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.IntegrationType

Show IntegrationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.IntegrationType

Generic IntegrationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.IntegrationType

Associated Types

type Rep IntegrationType :: Type -> Type #

NFData IntegrationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.IntegrationType

Methods

rnf :: IntegrationType -> () #

Hashable IntegrationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.IntegrationType

ToJSON IntegrationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.IntegrationType

ToJSONKey IntegrationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.IntegrationType

FromJSON IntegrationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.IntegrationType

FromJSONKey IntegrationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.IntegrationType

ToLog IntegrationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.IntegrationType

ToHeader IntegrationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.IntegrationType

ToQuery IntegrationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.IntegrationType

FromXML IntegrationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.IntegrationType

ToXML IntegrationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.IntegrationType

Methods

toXML :: IntegrationType -> XML #

ToByteString IntegrationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.IntegrationType

FromText IntegrationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.IntegrationType

ToText IntegrationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.IntegrationType

type Rep IntegrationType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.IntegrationType

type Rep IntegrationType = D1 ('MetaData "IntegrationType" "Amazonka.ApiGatewayV2.Types.IntegrationType" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'True) (C1 ('MetaCons "IntegrationType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromIntegrationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

LoggingLevel

newtype LoggingLevel Source #

The logging level.

Constructors

LoggingLevel' 

Bundled Patterns

pattern LoggingLevel_ERROR :: LoggingLevel 
pattern LoggingLevel_INFO :: LoggingLevel 
pattern LoggingLevel_OFF :: LoggingLevel 

Instances

Instances details
Eq LoggingLevel Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.LoggingLevel

Ord LoggingLevel Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.LoggingLevel

Read LoggingLevel Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.LoggingLevel

Show LoggingLevel Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.LoggingLevel

Generic LoggingLevel Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.LoggingLevel

Associated Types

type Rep LoggingLevel :: Type -> Type #

NFData LoggingLevel Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.LoggingLevel

Methods

rnf :: LoggingLevel -> () #

Hashable LoggingLevel Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.LoggingLevel

ToJSON LoggingLevel Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.LoggingLevel

ToJSONKey LoggingLevel Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.LoggingLevel

FromJSON LoggingLevel Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.LoggingLevel

FromJSONKey LoggingLevel Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.LoggingLevel

ToLog LoggingLevel Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.LoggingLevel

ToHeader LoggingLevel Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.LoggingLevel

ToQuery LoggingLevel Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.LoggingLevel

FromXML LoggingLevel Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.LoggingLevel

ToXML LoggingLevel Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.LoggingLevel

Methods

toXML :: LoggingLevel -> XML #

ToByteString LoggingLevel Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.LoggingLevel

FromText LoggingLevel Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.LoggingLevel

ToText LoggingLevel Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.LoggingLevel

Methods

toText :: LoggingLevel -> Text #

type Rep LoggingLevel Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.LoggingLevel

type Rep LoggingLevel = D1 ('MetaData "LoggingLevel" "Amazonka.ApiGatewayV2.Types.LoggingLevel" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'True) (C1 ('MetaCons "LoggingLevel'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromLoggingLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

PassthroughBehavior

newtype PassthroughBehavior Source #

Represents passthrough behavior for an integration response. Supported only for WebSocket APIs.

Instances

Instances details
Eq PassthroughBehavior Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.PassthroughBehavior

Ord PassthroughBehavior Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.PassthroughBehavior

Read PassthroughBehavior Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.PassthroughBehavior

Show PassthroughBehavior Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.PassthroughBehavior

Generic PassthroughBehavior Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.PassthroughBehavior

Associated Types

type Rep PassthroughBehavior :: Type -> Type #

NFData PassthroughBehavior Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.PassthroughBehavior

Methods

rnf :: PassthroughBehavior -> () #

Hashable PassthroughBehavior Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.PassthroughBehavior

ToJSON PassthroughBehavior Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.PassthroughBehavior

ToJSONKey PassthroughBehavior Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.PassthroughBehavior

FromJSON PassthroughBehavior Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.PassthroughBehavior

FromJSONKey PassthroughBehavior Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.PassthroughBehavior

ToLog PassthroughBehavior Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.PassthroughBehavior

ToHeader PassthroughBehavior Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.PassthroughBehavior

ToQuery PassthroughBehavior Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.PassthroughBehavior

FromXML PassthroughBehavior Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.PassthroughBehavior

ToXML PassthroughBehavior Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.PassthroughBehavior

ToByteString PassthroughBehavior Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.PassthroughBehavior

FromText PassthroughBehavior Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.PassthroughBehavior

ToText PassthroughBehavior Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.PassthroughBehavior

type Rep PassthroughBehavior Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.PassthroughBehavior

type Rep PassthroughBehavior = D1 ('MetaData "PassthroughBehavior" "Amazonka.ApiGatewayV2.Types.PassthroughBehavior" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'True) (C1 ('MetaCons "PassthroughBehavior'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPassthroughBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ProtocolType

newtype ProtocolType Source #

Represents a protocol type.

Constructors

ProtocolType' 

Bundled Patterns

pattern ProtocolType_HTTP :: ProtocolType 
pattern ProtocolType_WEBSOCKET :: ProtocolType 

Instances

Instances details
Eq ProtocolType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ProtocolType

Ord ProtocolType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ProtocolType

Read ProtocolType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ProtocolType

Show ProtocolType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ProtocolType

Generic ProtocolType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ProtocolType

Associated Types

type Rep ProtocolType :: Type -> Type #

NFData ProtocolType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ProtocolType

Methods

rnf :: ProtocolType -> () #

Hashable ProtocolType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ProtocolType

ToJSON ProtocolType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ProtocolType

ToJSONKey ProtocolType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ProtocolType

FromJSON ProtocolType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ProtocolType

FromJSONKey ProtocolType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ProtocolType

ToLog ProtocolType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ProtocolType

ToHeader ProtocolType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ProtocolType

ToQuery ProtocolType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ProtocolType

FromXML ProtocolType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ProtocolType

ToXML ProtocolType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ProtocolType

Methods

toXML :: ProtocolType -> XML #

ToByteString ProtocolType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ProtocolType

FromText ProtocolType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ProtocolType

ToText ProtocolType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ProtocolType

Methods

toText :: ProtocolType -> Text #

type Rep ProtocolType Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ProtocolType

type Rep ProtocolType = D1 ('MetaData "ProtocolType" "Amazonka.ApiGatewayV2.Types.ProtocolType" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'True) (C1 ('MetaCons "ProtocolType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromProtocolType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

SecurityPolicy

newtype SecurityPolicy Source #

The Transport Layer Security (TLS) version of the security policy for this domain name. The valid values are TLS_1_0 and TLS_1_2.

Constructors

SecurityPolicy' 

Instances

Instances details
Eq SecurityPolicy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.SecurityPolicy

Ord SecurityPolicy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.SecurityPolicy

Read SecurityPolicy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.SecurityPolicy

Show SecurityPolicy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.SecurityPolicy

Generic SecurityPolicy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.SecurityPolicy

Associated Types

type Rep SecurityPolicy :: Type -> Type #

NFData SecurityPolicy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.SecurityPolicy

Methods

rnf :: SecurityPolicy -> () #

Hashable SecurityPolicy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.SecurityPolicy

ToJSON SecurityPolicy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.SecurityPolicy

ToJSONKey SecurityPolicy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.SecurityPolicy

FromJSON SecurityPolicy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.SecurityPolicy

FromJSONKey SecurityPolicy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.SecurityPolicy

ToLog SecurityPolicy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.SecurityPolicy

ToHeader SecurityPolicy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.SecurityPolicy

ToQuery SecurityPolicy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.SecurityPolicy

FromXML SecurityPolicy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.SecurityPolicy

ToXML SecurityPolicy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.SecurityPolicy

Methods

toXML :: SecurityPolicy -> XML #

ToByteString SecurityPolicy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.SecurityPolicy

FromText SecurityPolicy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.SecurityPolicy

ToText SecurityPolicy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.SecurityPolicy

type Rep SecurityPolicy Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.SecurityPolicy

type Rep SecurityPolicy = D1 ('MetaData "SecurityPolicy" "Amazonka.ApiGatewayV2.Types.SecurityPolicy" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'True) (C1 ('MetaCons "SecurityPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromSecurityPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

VpcLinkStatus

newtype VpcLinkStatus Source #

The status of the VPC link.

Constructors

VpcLinkStatus' 

Instances

Instances details
Eq VpcLinkStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkStatus

Ord VpcLinkStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkStatus

Read VpcLinkStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkStatus

Show VpcLinkStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkStatus

Generic VpcLinkStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkStatus

Associated Types

type Rep VpcLinkStatus :: Type -> Type #

NFData VpcLinkStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkStatus

Methods

rnf :: VpcLinkStatus -> () #

Hashable VpcLinkStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkStatus

ToJSON VpcLinkStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkStatus

ToJSONKey VpcLinkStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkStatus

FromJSON VpcLinkStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkStatus

FromJSONKey VpcLinkStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkStatus

ToLog VpcLinkStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkStatus

ToHeader VpcLinkStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkStatus

ToQuery VpcLinkStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkStatus

FromXML VpcLinkStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkStatus

ToXML VpcLinkStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkStatus

Methods

toXML :: VpcLinkStatus -> XML #

ToByteString VpcLinkStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkStatus

FromText VpcLinkStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkStatus

ToText VpcLinkStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkStatus

Methods

toText :: VpcLinkStatus -> Text #

type Rep VpcLinkStatus Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkStatus

type Rep VpcLinkStatus = D1 ('MetaData "VpcLinkStatus" "Amazonka.ApiGatewayV2.Types.VpcLinkStatus" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'True) (C1 ('MetaCons "VpcLinkStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromVpcLinkStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

VpcLinkVersion

newtype VpcLinkVersion Source #

The version of the VPC link.

Constructors

VpcLinkVersion' 

Bundled Patterns

pattern VpcLinkVersion_V2 :: VpcLinkVersion 

Instances

Instances details
Eq VpcLinkVersion Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkVersion

Ord VpcLinkVersion Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkVersion

Read VpcLinkVersion Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkVersion

Show VpcLinkVersion Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkVersion

Generic VpcLinkVersion Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkVersion

Associated Types

type Rep VpcLinkVersion :: Type -> Type #

NFData VpcLinkVersion Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkVersion

Methods

rnf :: VpcLinkVersion -> () #

Hashable VpcLinkVersion Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkVersion

ToJSON VpcLinkVersion Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkVersion

ToJSONKey VpcLinkVersion Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkVersion

FromJSON VpcLinkVersion Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkVersion

FromJSONKey VpcLinkVersion Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkVersion

ToLog VpcLinkVersion Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkVersion

ToHeader VpcLinkVersion Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkVersion

ToQuery VpcLinkVersion Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkVersion

FromXML VpcLinkVersion Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkVersion

ToXML VpcLinkVersion Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkVersion

Methods

toXML :: VpcLinkVersion -> XML #

ToByteString VpcLinkVersion Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkVersion

FromText VpcLinkVersion Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkVersion

ToText VpcLinkVersion Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkVersion

type Rep VpcLinkVersion Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.VpcLinkVersion

type Rep VpcLinkVersion = D1 ('MetaData "VpcLinkVersion" "Amazonka.ApiGatewayV2.Types.VpcLinkVersion" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'True) (C1 ('MetaCons "VpcLinkVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromVpcLinkVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

AccessLogSettings

data AccessLogSettings Source #

Settings for logging access in a stage.

See: newAccessLogSettings smart constructor.

Constructors

AccessLogSettings' 

Fields

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

  • destinationArn :: Maybe Text

    The ARN of the CloudWatch Logs log group to receive access logs.

Instances

Instances details
Eq AccessLogSettings Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AccessLogSettings

Read AccessLogSettings Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AccessLogSettings

Show AccessLogSettings Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AccessLogSettings

Generic AccessLogSettings Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AccessLogSettings

Associated Types

type Rep AccessLogSettings :: Type -> Type #

NFData AccessLogSettings Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AccessLogSettings

Methods

rnf :: AccessLogSettings -> () #

Hashable AccessLogSettings Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AccessLogSettings

ToJSON AccessLogSettings Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AccessLogSettings

FromJSON AccessLogSettings Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AccessLogSettings

type Rep AccessLogSettings Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AccessLogSettings

type Rep AccessLogSettings = D1 ('MetaData "AccessLogSettings" "Amazonka.ApiGatewayV2.Types.AccessLogSettings" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'False) (C1 ('MetaCons "AccessLogSettings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "destinationArn") '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: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.

$sel:destinationArn:AccessLogSettings', accessLogSettings_destinationArn - The ARN of the CloudWatch Logs log group to receive access logs.

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.

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

The ARN of the CloudWatch Logs log group to receive access logs.

Api

data Api Source #

Represents an API.

See: newApi smart constructor.

Constructors

Api' 

Fields

  • apiId :: Maybe Text

    The API ID.

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

  • apiEndpoint :: Maybe Text

    The URI of the API, of the form {api-id}.execute-api.{region}.amazonaws.com. The stage name is typically appended to this URI to form a complete path to a deployed API stage.

  • warnings :: Maybe [Text]

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

  • createdDate :: Maybe POSIX

    The timestamp when the API was created.

  • version :: Maybe Text

    A version identifier for the API.

  • apiGatewayManaged :: Maybe Bool

    Specifies whether an API is managed by API Gateway. You can't update or delete a managed API by using API Gateway. A managed API can be deleted only through the tooling or service that created it.

  • apiKeySelectionExpression :: Maybe Text

    An API key selection expression. Supported only for WebSocket APIs. See API Key Selection Expressions.

  • corsConfiguration :: Maybe Cors

    A CORS configuration. Supported only for HTTP APIs.

  • importInfo :: Maybe [Text]

    The validation information during API import. This may include particular properties of your OpenAPI definition which are ignored during import. Supported only for HTTP APIs.

  • disableSchemaValidation :: Maybe Bool

    Avoid validating models when creating a deployment. Supported only for WebSocket APIs.

  • description :: Maybe Text

    The description of the API.

  • tags :: Maybe (HashMap Text Text)

    A collection of tags associated with the API.

  • routeSelectionExpression :: Text

    The route selection expression for the API. For HTTP APIs, the routeSelectionExpression must be ${request.method} ${request.path}. If not provided, this will be the default for HTTP APIs. This property is required for WebSocket APIs.

  • name :: Text

    The name of the API.

  • protocolType :: ProtocolType

    The API protocol.

Instances

Instances details
Eq Api Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Api

Methods

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

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

Read Api Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Api

Show Api Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Api

Methods

showsPrec :: Int -> Api -> ShowS #

show :: Api -> String #

showList :: [Api] -> ShowS #

Generic Api Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Api

Associated Types

type Rep Api :: Type -> Type #

Methods

from :: Api -> Rep Api x #

to :: Rep Api x -> Api #

NFData Api Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Api

Methods

rnf :: Api -> () #

Hashable Api Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Api

Methods

hashWithSalt :: Int -> Api -> Int #

hash :: Api -> Int #

FromJSON Api Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Api

type Rep Api Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Api

type Rep Api = D1 ('MetaData "Api" "Amazonka.ApiGatewayV2.Types.Api" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'False) (C1 ('MetaCons "Api'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "apiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "disableExecuteApiEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "apiEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "warnings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: ((S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "apiGatewayManaged") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "apiKeySelectionExpression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "corsConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Cors)) :*: S1 ('MetaSel ('Just "importInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "disableSchemaValidation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "routeSelectionExpression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "protocolType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ProtocolType))))))

newApi Source #

Create a value of Api 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:Api', api_apiId - The API ID.

$sel:disableExecuteApiEndpoint:Api', api_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:apiEndpoint:Api', api_apiEndpoint - The URI of the API, of the form {api-id}.execute-api.{region}.amazonaws.com. The stage name is typically appended to this URI to form a complete path to a deployed API stage.

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

$sel:createdDate:Api', api_createdDate - The timestamp when the API was created.

$sel:version:Api', api_version - A version identifier for the API.

$sel:apiGatewayManaged:Api', api_apiGatewayManaged - Specifies whether an API is managed by API Gateway. You can't update or delete a managed API by using API Gateway. A managed API can be deleted only through the tooling or service that created it.

$sel:apiKeySelectionExpression:Api', api_apiKeySelectionExpression - An API key selection expression. Supported only for WebSocket APIs. See API Key Selection Expressions.

$sel:corsConfiguration:Api', api_corsConfiguration - A CORS configuration. Supported only for HTTP APIs.

$sel:importInfo:Api', api_importInfo - The validation information during API import. This may include particular properties of your OpenAPI definition which are ignored during import. Supported only for HTTP APIs.

$sel:disableSchemaValidation:Api', api_disableSchemaValidation - Avoid validating models when creating a deployment. Supported only for WebSocket APIs.

$sel:description:Api', api_description - The description of the API.

$sel:tags:Api', api_tags - A collection of tags associated with the API.

$sel:routeSelectionExpression:Api', api_routeSelectionExpression - The route selection expression for the API. For HTTP APIs, the routeSelectionExpression must be ${request.method} ${request.path}. If not provided, this will be the default for HTTP APIs. This property is required for WebSocket APIs.

$sel:name:Api', api_name - The name of the API.

$sel:protocolType:Api', api_protocolType - The API protocol.

api_apiId :: Lens' Api (Maybe Text) Source #

The API ID.

api_disableExecuteApiEndpoint :: Lens' Api (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.

api_apiEndpoint :: Lens' Api (Maybe Text) Source #

The URI of the API, of the form {api-id}.execute-api.{region}.amazonaws.com. The stage name is typically appended to this URI to form a complete path to a deployed API stage.

api_warnings :: Lens' Api (Maybe [Text]) Source #

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

api_createdDate :: Lens' Api (Maybe UTCTime) Source #

The timestamp when the API was created.

api_version :: Lens' Api (Maybe Text) Source #

A version identifier for the API.

api_apiGatewayManaged :: Lens' Api (Maybe Bool) Source #

Specifies whether an API is managed by API Gateway. You can't update or delete a managed API by using API Gateway. A managed API can be deleted only through the tooling or service that created it.

api_apiKeySelectionExpression :: Lens' Api (Maybe Text) Source #

An API key selection expression. Supported only for WebSocket APIs. See API Key Selection Expressions.

api_corsConfiguration :: Lens' Api (Maybe Cors) Source #

A CORS configuration. Supported only for HTTP APIs.

api_importInfo :: Lens' Api (Maybe [Text]) Source #

The validation information during API import. This may include particular properties of your OpenAPI definition which are ignored during import. Supported only for HTTP APIs.

api_disableSchemaValidation :: Lens' Api (Maybe Bool) Source #

Avoid validating models when creating a deployment. Supported only for WebSocket APIs.

api_description :: Lens' Api (Maybe Text) Source #

The description of the API.

api_tags :: Lens' Api (Maybe (HashMap Text Text)) Source #

A collection of tags associated with the API.

api_routeSelectionExpression :: Lens' Api Text Source #

The route selection expression for the API. For HTTP APIs, the routeSelectionExpression must be ${request.method} ${request.path}. If not provided, this will be the default for HTTP APIs. This property is required for WebSocket APIs.

api_name :: Lens' Api Text Source #

The name of the API.

ApiMapping

data ApiMapping Source #

Represents an API mapping.

See: newApiMapping smart constructor.

Constructors

ApiMapping' 

Fields

Instances

Instances details
Eq ApiMapping Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ApiMapping

Read ApiMapping Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ApiMapping

Show ApiMapping Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ApiMapping

Generic ApiMapping Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ApiMapping

Associated Types

type Rep ApiMapping :: Type -> Type #

NFData ApiMapping Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ApiMapping

Methods

rnf :: ApiMapping -> () #

Hashable ApiMapping Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ApiMapping

FromJSON ApiMapping Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ApiMapping

type Rep ApiMapping Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ApiMapping

type Rep ApiMapping = D1 ('MetaData "ApiMapping" "Amazonka.ApiGatewayV2.Types.ApiMapping" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'False) (C1 ('MetaCons "ApiMapping'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "apiMappingKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "apiMappingId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "stage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "apiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newApiMapping Source #

Create a value of ApiMapping 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:apiMappingKey:ApiMapping', apiMapping_apiMappingKey - The API mapping key.

$sel:apiMappingId:ApiMapping', apiMapping_apiMappingId - The API mapping identifier.

$sel:stage:ApiMapping', apiMapping_stage - The API stage.

$sel:apiId:ApiMapping', apiMapping_apiId - The API identifier.

apiMapping_apiMappingId :: Lens' ApiMapping (Maybe Text) Source #

The API mapping identifier.

Authorizer

data Authorizer Source #

Represents an authorizer.

See: newAuthorizer smart constructor.

Constructors

Authorizer' 

Fields

  • authorizerCredentialsArn :: 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, don't specify this parameter. Supported only for REQUEST authorizers.

  • identityValidationExpression :: Maybe Text

    The validation expression does not apply to the REQUEST authorizer.

  • enableSimpleResponses :: Maybe Bool

    Specifies whether a Lambda authorizer returns a response in a simple format. If enabled, the Lambda authorizer can return a boolean value instead of an IAM policy. Supported only for HTTP APIs. To learn more, see Working with AWS Lambda authorizers for HTTP APIs

  • authorizerUri :: Maybe Text

    The authorizer's Uniform Resource Identifier (URI). For 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. Supported only for REQUEST authorizers.

  • authorizerPayloadFormatVersion :: Maybe Text

    Specifies the format of the payload sent to an HTTP API Lambda authorizer. Required for HTTP API Lambda authorizers. Supported values are 1.0 and 2.0. To learn more, see Working with AWS Lambda authorizers for HTTP APIs.

  • jwtConfiguration :: Maybe JWTConfiguration

    Represents the configuration of a JWT authorizer. Required for the JWT authorizer type. Supported only for HTTP APIs.

  • authorizerId :: Maybe Text

    The authorizer identifier.

  • authorizerResultTtlInSeconds :: Maybe Natural

    The time to live (TTL) for cached authorizer results, in seconds. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway caches authorizer responses. The maximum value is 3600, or 1 hour. Supported only for HTTP API Lambda authorizers.

  • identitySource :: Maybe [Text]

    The identity source for which authorization is requested.

    For a REQUEST authorizer, this is optional. The value is a set of one or more mapping expressions of the specified request parameters. The identity source can be headers, query string parameters, stage variables, and context parameters. For example, if an Auth header and a Name query string parameter are defined as identity sources, this value is route.request.header.Auth, route.request.querystring.Name for WebSocket APIs. For HTTP APIs, use selection expressions prefixed with $, for example, $request.header.Auth, $request.querystring.Name. These parameters are used to perform runtime validation for Lambda-based authorizers by verifying all of the identity-related request parameters are present in the request, 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. For HTTP APIs, identity sources are also used as the cache key when caching is enabled. To learn more, see Working with AWS Lambda authorizers for HTTP APIs.

    For JWT, a single entry that specifies where to extract the JSON Web Token (JWT) from inbound requests. Currently only header-based and query parameter-based selections are supported, for example $request.header.Authorization.

  • authorizerType :: Maybe AuthorizerType

    The authorizer type. Specify REQUEST for a Lambda function using incoming request parameters. Specify JWT to use JSON Web Tokens (supported only for HTTP APIs).

  • name :: Text

    The name of the authorizer.

Instances

Instances details
Eq Authorizer Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Authorizer

Read Authorizer Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Authorizer

Show Authorizer Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Authorizer

Generic Authorizer Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Authorizer

Associated Types

type Rep Authorizer :: Type -> Type #

NFData Authorizer Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Authorizer

Methods

rnf :: Authorizer -> () #

Hashable Authorizer Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Authorizer

FromJSON Authorizer Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Authorizer

type Rep Authorizer Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Authorizer

type Rep Authorizer = D1 ('MetaData "Authorizer" "Amazonka.ApiGatewayV2.Types.Authorizer" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'False) (C1 ('MetaCons "Authorizer'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "authorizerCredentialsArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "identityValidationExpression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "enableSimpleResponses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "authorizerUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "authorizerPayloadFormatVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "jwtConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JWTConfiguration)) :*: (S1 ('MetaSel ('Just "authorizerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "authorizerResultTtlInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))) :*: (S1 ('MetaSel ('Just "identitySource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "authorizerType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AuthorizerType)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newAuthorizer 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:authorizerCredentialsArn:Authorizer', authorizer_authorizerCredentialsArn - 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, don't specify this parameter. Supported only for REQUEST authorizers.

$sel:identityValidationExpression:Authorizer', authorizer_identityValidationExpression - The validation expression does not apply to the REQUEST authorizer.

$sel:enableSimpleResponses:Authorizer', authorizer_enableSimpleResponses - Specifies whether a Lambda authorizer returns a response in a simple format. If enabled, the Lambda authorizer can return a boolean value instead of an IAM policy. Supported only for HTTP APIs. To learn more, see Working with AWS Lambda authorizers for HTTP APIs

$sel:authorizerUri:Authorizer', authorizer_authorizerUri - The authorizer's Uniform Resource Identifier (URI). For 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. Supported only for REQUEST authorizers.

$sel:authorizerPayloadFormatVersion:Authorizer', authorizer_authorizerPayloadFormatVersion - Specifies the format of the payload sent to an HTTP API Lambda authorizer. Required for HTTP API Lambda authorizers. Supported values are 1.0 and 2.0. To learn more, see Working with AWS Lambda authorizers for HTTP APIs.

$sel:jwtConfiguration:Authorizer', authorizer_jwtConfiguration - Represents the configuration of a JWT authorizer. Required for the JWT authorizer type. Supported only for HTTP APIs.

$sel:authorizerId:Authorizer', authorizer_authorizerId - The authorizer identifier.

$sel:authorizerResultTtlInSeconds:Authorizer', authorizer_authorizerResultTtlInSeconds - The time to live (TTL) for cached authorizer results, in seconds. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway caches authorizer responses. The maximum value is 3600, or 1 hour. Supported only for HTTP API Lambda authorizers.

$sel:identitySource:Authorizer', authorizer_identitySource - The identity source for which authorization is requested.

For a REQUEST authorizer, this is optional. The value is a set of one or more mapping expressions of the specified request parameters. The identity source can be headers, query string parameters, stage variables, and context parameters. For example, if an Auth header and a Name query string parameter are defined as identity sources, this value is route.request.header.Auth, route.request.querystring.Name for WebSocket APIs. For HTTP APIs, use selection expressions prefixed with $, for example, $request.header.Auth, $request.querystring.Name. These parameters are used to perform runtime validation for Lambda-based authorizers by verifying all of the identity-related request parameters are present in the request, 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. For HTTP APIs, identity sources are also used as the cache key when caching is enabled. To learn more, see Working with AWS Lambda authorizers for HTTP APIs.

For JWT, a single entry that specifies where to extract the JSON Web Token (JWT) from inbound requests. Currently only header-based and query parameter-based selections are supported, for example $request.header.Authorization.

$sel:authorizerType:Authorizer', authorizer_authorizerType - The authorizer type. Specify REQUEST for a Lambda function using incoming request parameters. Specify JWT to use JSON Web Tokens (supported only for HTTP APIs).

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

authorizer_authorizerCredentialsArn :: 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, don't specify this parameter. Supported only for REQUEST authorizers.

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

The validation expression does not apply to the REQUEST authorizer.

authorizer_enableSimpleResponses :: Lens' Authorizer (Maybe Bool) Source #

Specifies whether a Lambda authorizer returns a response in a simple format. If enabled, the Lambda authorizer can return a boolean value instead of an IAM policy. Supported only for HTTP APIs. To learn more, see Working with AWS Lambda authorizers for HTTP APIs

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

The authorizer's Uniform Resource Identifier (URI). For 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. Supported only for REQUEST authorizers.

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

Specifies the format of the payload sent to an HTTP API Lambda authorizer. Required for HTTP API Lambda authorizers. Supported values are 1.0 and 2.0. To learn more, see Working with AWS Lambda authorizers for HTTP APIs.

authorizer_jwtConfiguration :: Lens' Authorizer (Maybe JWTConfiguration) Source #

Represents the configuration of a JWT authorizer. Required for the JWT authorizer type. Supported only for HTTP APIs.

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

The authorizer identifier.

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

The time to live (TTL) for cached authorizer results, in seconds. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway caches authorizer responses. The maximum value is 3600, or 1 hour. Supported only for HTTP API Lambda authorizers.

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

The identity source for which authorization is requested.

For a REQUEST authorizer, this is optional. The value is a set of one or more mapping expressions of the specified request parameters. The identity source can be headers, query string parameters, stage variables, and context parameters. For example, if an Auth header and a Name query string parameter are defined as identity sources, this value is route.request.header.Auth, route.request.querystring.Name for WebSocket APIs. For HTTP APIs, use selection expressions prefixed with $, for example, $request.header.Auth, $request.querystring.Name. These parameters are used to perform runtime validation for Lambda-based authorizers by verifying all of the identity-related request parameters are present in the request, 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. For HTTP APIs, identity sources are also used as the cache key when caching is enabled. To learn more, see Working with AWS Lambda authorizers for HTTP APIs.

For JWT, a single entry that specifies where to extract the JSON Web Token (JWT) from inbound requests. Currently only header-based and query parameter-based selections are supported, for example $request.header.Authorization.

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

The authorizer type. Specify REQUEST for a Lambda function using incoming request parameters. Specify JWT to use JSON Web Tokens (supported only for HTTP APIs).

authorizer_name :: Lens' Authorizer Text Source #

The name of the authorizer.

Cors

data Cors Source #

Represents a CORS configuration. Supported only for HTTP APIs. See Configuring CORS for more information.

See: newCors smart constructor.

Constructors

Cors' 

Fields

  • maxAge :: Maybe Int

    The number of seconds that the browser should cache preflight request results. Supported only for HTTP APIs.

  • allowMethods :: Maybe [Text]

    Represents a collection of allowed HTTP methods. Supported only for HTTP APIs.

  • allowHeaders :: Maybe [Text]

    Represents a collection of allowed headers. Supported only for HTTP APIs.

  • exposeHeaders :: Maybe [Text]

    Represents a collection of exposed headers. Supported only for HTTP APIs.

  • allowOrigins :: Maybe [Text]

    Represents a collection of allowed origins. Supported only for HTTP APIs.

  • allowCredentials :: Maybe Bool

    Specifies whether credentials are included in the CORS request. Supported only for HTTP APIs.

Instances

Instances details
Eq Cors Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Cors

Methods

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

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

Read Cors Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Cors

Show Cors Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Cors

Methods

showsPrec :: Int -> Cors -> ShowS #

show :: Cors -> String #

showList :: [Cors] -> ShowS #

Generic Cors Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Cors

Associated Types

type Rep Cors :: Type -> Type #

Methods

from :: Cors -> Rep Cors x #

to :: Rep Cors x -> Cors #

NFData Cors Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Cors

Methods

rnf :: Cors -> () #

Hashable Cors Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Cors

Methods

hashWithSalt :: Int -> Cors -> Int #

hash :: Cors -> Int #

ToJSON Cors Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Cors

FromJSON Cors Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Cors

type Rep Cors Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Cors

type Rep Cors = D1 ('MetaData "Cors" "Amazonka.ApiGatewayV2.Types.Cors" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'False) (C1 ('MetaCons "Cors'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "maxAge") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "allowMethods") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "allowHeaders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: (S1 ('MetaSel ('Just "exposeHeaders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "allowOrigins") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "allowCredentials") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))))

newCors :: Cors Source #

Create a value of Cors 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:maxAge:Cors', cors_maxAge - The number of seconds that the browser should cache preflight request results. Supported only for HTTP APIs.

$sel:allowMethods:Cors', cors_allowMethods - Represents a collection of allowed HTTP methods. Supported only for HTTP APIs.

$sel:allowHeaders:Cors', cors_allowHeaders - Represents a collection of allowed headers. Supported only for HTTP APIs.

$sel:exposeHeaders:Cors', cors_exposeHeaders - Represents a collection of exposed headers. Supported only for HTTP APIs.

$sel:allowOrigins:Cors', cors_allowOrigins - Represents a collection of allowed origins. Supported only for HTTP APIs.

$sel:allowCredentials:Cors', cors_allowCredentials - Specifies whether credentials are included in the CORS request. Supported only for HTTP APIs.

cors_maxAge :: Lens' Cors (Maybe Int) Source #

The number of seconds that the browser should cache preflight request results. Supported only for HTTP APIs.

cors_allowMethods :: Lens' Cors (Maybe [Text]) Source #

Represents a collection of allowed HTTP methods. Supported only for HTTP APIs.

cors_allowHeaders :: Lens' Cors (Maybe [Text]) Source #

Represents a collection of allowed headers. Supported only for HTTP APIs.

cors_exposeHeaders :: Lens' Cors (Maybe [Text]) Source #

Represents a collection of exposed headers. Supported only for HTTP APIs.

cors_allowOrigins :: Lens' Cors (Maybe [Text]) Source #

Represents a collection of allowed origins. Supported only for HTTP APIs.

cors_allowCredentials :: Lens' Cors (Maybe Bool) Source #

Specifies whether credentials are included in the CORS request. Supported only for HTTP APIs.

Deployment

data Deployment Source #

An immutable representation of an API that can be called by users. 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
Eq Deployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Deployment

Read Deployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Deployment

Show Deployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Deployment

Generic Deployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Deployment

Associated Types

type Rep Deployment :: Type -> Type #

NFData Deployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Deployment

Methods

rnf :: Deployment -> () #

Hashable Deployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Deployment

FromJSON Deployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Deployment

type Rep Deployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Deployment

type Rep Deployment = D1 ('MetaData "Deployment" "Amazonka.ApiGatewayV2.Types.Deployment" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'False) (C1 ('MetaCons "Deployment'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "deploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "autoDeployed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "deploymentStatusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "deploymentStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeploymentStatus)) :*: S1 ('MetaSel ('Just "description") '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:deploymentId:Deployment', deployment_deploymentId - The identifier for the deployment.

$sel:autoDeployed:Deployment', deployment_autoDeployed - Specifies whether a deployment was automatically released.

$sel:deploymentStatusMessage:Deployment', deployment_deploymentStatusMessage - May contain additional feedback on the status of an API deployment.

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

$sel:deploymentStatus:Deployment', deployment_deploymentStatus - The status of the deployment: PENDING, FAILED, or SUCCEEDED.

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

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

The identifier for the deployment.

deployment_autoDeployed :: Lens' Deployment (Maybe Bool) Source #

Specifies whether a deployment was automatically released.

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

May contain additional feedback on the status of an API deployment.

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

The date and time when the Deployment resource was created.

deployment_deploymentStatus :: Lens' Deployment (Maybe DeploymentStatus) Source #

The status of the deployment: PENDING, FAILED, or SUCCEEDED.

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

The description for the deployment.

DomainName

data DomainName Source #

Represents a domain name.

See: newDomainName smart constructor.

Constructors

DomainName' 

Fields

Instances

Instances details
Eq DomainName Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainName

Read DomainName Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainName

Show DomainName Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainName

Generic DomainName Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainName

Associated Types

type Rep DomainName :: Type -> Type #

NFData DomainName Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainName

Methods

rnf :: DomainName -> () #

Hashable DomainName Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainName

FromJSON DomainName Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainName

type Rep DomainName Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainName

type Rep DomainName = D1 ('MetaData "DomainName" "Amazonka.ApiGatewayV2.Types.DomainName" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'False) (C1 ('MetaCons "DomainName'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "domainNameConfigurations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DomainNameConfiguration])) :*: S1 ('MetaSel ('Just "mutualTlsAuthentication") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MutualTlsAuthentication))) :*: (S1 ('MetaSel ('Just "apiMappingSelectionExpression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newDomainName 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:domainNameConfigurations:DomainName', domainName_domainNameConfigurations - The domain name configurations.

$sel:mutualTlsAuthentication:DomainName', domainName_mutualTlsAuthentication - The mutual TLS authentication configuration for a custom domain name.

$sel:apiMappingSelectionExpression:DomainName', domainName_apiMappingSelectionExpression - The API mapping selection expression.

$sel:tags:DomainName', domainName_tags - The collection of tags associated with a domain name.

$sel:domainName:DomainName', domainName_domainName - The name of the DomainName resource.

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

The mutual TLS authentication configuration for a custom domain name.

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

The API mapping selection expression.

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

The collection of tags associated with a domain name.

domainName_domainName :: Lens' DomainName Text Source #

The name of the DomainName resource.

DomainNameConfiguration

data DomainNameConfiguration Source #

The domain name configuration.

See: newDomainNameConfiguration smart constructor.

Constructors

DomainNameConfiguration' 

Fields

  • apiGatewayDomainName :: Maybe Text

    A domain name for the 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

  • certificateName :: Maybe Text

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

  • hostedZoneId :: Maybe Text

    The Amazon Route 53 Hosted Zone ID of the endpoint.

  • certificateArn :: Maybe Text

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

  • endpointType :: Maybe EndpointType

    The endpoint type.

  • securityPolicy :: Maybe SecurityPolicy

    The Transport Layer Security (TLS) version of the security policy for this domain name. The valid values are TLS_1_0 and TLS_1_2.

  • certificateUploadDate :: Maybe POSIX

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

  • domainNameStatusMessage :: Maybe Text

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

  • domainNameStatus :: Maybe DomainNameStatus

    The status of the domain name migration. The valid values are AVAILABLE, UPDATING, PENDING_CERTIFICATE_REIMPORT, and PENDING_OWNERSHIP_VERIFICATION. 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.

Instances

Instances details
Eq DomainNameConfiguration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameConfiguration

Read DomainNameConfiguration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameConfiguration

Show DomainNameConfiguration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameConfiguration

Generic DomainNameConfiguration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameConfiguration

Associated Types

type Rep DomainNameConfiguration :: Type -> Type #

NFData DomainNameConfiguration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameConfiguration

Methods

rnf :: DomainNameConfiguration -> () #

Hashable DomainNameConfiguration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameConfiguration

ToJSON DomainNameConfiguration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameConfiguration

FromJSON DomainNameConfiguration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameConfiguration

type Rep DomainNameConfiguration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.DomainNameConfiguration

type Rep DomainNameConfiguration = D1 ('MetaData "DomainNameConfiguration" "Amazonka.ApiGatewayV2.Types.DomainNameConfiguration" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'False) (C1 ('MetaCons "DomainNameConfiguration'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "apiGatewayDomainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ownershipVerificationCertificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "certificateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "hostedZoneId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "certificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "endpointType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EndpointType)) :*: S1 ('MetaSel ('Just "securityPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SecurityPolicy))) :*: (S1 ('MetaSel ('Just "certificateUploadDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "domainNameStatusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "domainNameStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DomainNameStatus)))))))

newDomainNameConfiguration :: DomainNameConfiguration Source #

Create a value of DomainNameConfiguration 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:apiGatewayDomainName:DomainNameConfiguration', domainNameConfiguration_apiGatewayDomainName - A domain name for the API.

$sel:ownershipVerificationCertificateArn:DomainNameConfiguration', domainNameConfiguration_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:certificateName:DomainNameConfiguration', domainNameConfiguration_certificateName - The user-friendly name of the certificate that will be used by the edge-optimized endpoint for this domain name.

$sel:hostedZoneId:DomainNameConfiguration', domainNameConfiguration_hostedZoneId - The Amazon Route 53 Hosted Zone ID of the endpoint.

$sel:certificateArn:DomainNameConfiguration', domainNameConfiguration_certificateArn - An AWS-managed certificate that will be used by the edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source.

$sel:endpointType:DomainNameConfiguration', domainNameConfiguration_endpointType - The endpoint type.

$sel:securityPolicy:DomainNameConfiguration', domainNameConfiguration_securityPolicy - The Transport Layer Security (TLS) version of the security policy for this domain name. The valid values are TLS_1_0 and TLS_1_2.

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

$sel:domainNameStatusMessage:DomainNameConfiguration', domainNameConfiguration_domainNameStatusMessage - An optional text message containing detailed information about status of the domain name migration.

$sel:domainNameStatus:DomainNameConfiguration', domainNameConfiguration_domainNameStatus - The status of the domain name migration. The valid values are AVAILABLE, UPDATING, PENDING_CERTIFICATE_REIMPORT, and PENDING_OWNERSHIP_VERIFICATION. 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.

domainNameConfiguration_ownershipVerificationCertificateArn :: Lens' DomainNameConfiguration (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

domainNameConfiguration_certificateName :: Lens' DomainNameConfiguration (Maybe Text) Source #

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

domainNameConfiguration_hostedZoneId :: Lens' DomainNameConfiguration (Maybe Text) Source #

The Amazon Route 53 Hosted Zone ID of the endpoint.

domainNameConfiguration_certificateArn :: Lens' DomainNameConfiguration (Maybe Text) Source #

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

domainNameConfiguration_securityPolicy :: Lens' DomainNameConfiguration (Maybe SecurityPolicy) Source #

The Transport Layer Security (TLS) version of the security policy for this domain name. The valid values are TLS_1_0 and TLS_1_2.

domainNameConfiguration_certificateUploadDate :: Lens' DomainNameConfiguration (Maybe UTCTime) Source #

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

domainNameConfiguration_domainNameStatusMessage :: Lens' DomainNameConfiguration (Maybe Text) Source #

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

domainNameConfiguration_domainNameStatus :: Lens' DomainNameConfiguration (Maybe DomainNameStatus) Source #

The status of the domain name migration. The valid values are AVAILABLE, UPDATING, PENDING_CERTIFICATE_REIMPORT, and PENDING_OWNERSHIP_VERIFICATION. 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.

Integration

data Integration Source #

Represents an integration.

See: newIntegration smart constructor.

Constructors

Integration' 

Fields

  • integrationResponseSelectionExpression :: Maybe Text

    The integration response selection expression for the integration. Supported only for WebSocket APIs. See Integration Response Selection Expressions.

  • 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. Supported only for WebSocket APIs.

  • integrationSubtype :: Maybe Text

    Supported only for HTTP API AWS_PROXY integrations. Specifies the AWS service action to invoke. To learn more, see Integration subtype reference.

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

  • integrationUri :: Maybe Text

    For a Lambda integration, specify the URI of a Lambda function.

    For an HTTP integration, specify a fully-qualified URL.

    For an HTTP API private integration, specify the ARN of an Application Load Balancer listener, Network Load Balancer listener, or AWS Cloud Map service. If you specify the ARN of an AWS Cloud Map service, API Gateway uses DiscoverInstances to identify resources. You can use query parameters to target specific resources. To learn more, see DiscoverInstances. For private integrations, all resources must be owned by the same AWS account.

  • integrationId :: Maybe Text

    Represents the identifier of an integration.

  • requestParameters :: Maybe (HashMap Text Text)

    For WebSocket APIs, a key-value map specifying request parameters that are passed from the method request to the backend. 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 backend. 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.

    For HTTP API integrations with a specified integrationSubtype, request parameters are a key-value map specifying parameters that are passed to AWS_PROXY integrations. You can provide static values, or map request data, stage variables, or context variables that are evaluated at runtime. To learn more, see Working with AWS service integrations for HTTP APIs.

    For HTTP API itegrations, without a specified integrationSubtype request parameters are a key-value map specifying how to transform HTTP requests before sending them to backend integrations. The key should follow the pattern <action>:<header|querystring|path>.<location>. The action can be append, overwrite or remove. For values, you can provide static values, or map request data, stage variables, or context variables that are evaluated at runtime. To learn more, see Transforming API requests and responses.

  • connectionId :: Maybe Text

    The ID of the VPC link for a private integration. Supported only for HTTP APIs.

  • passthroughBehavior :: Maybe PassthroughBehavior

    Specifies the pass-through behavior for incoming requests based on the Content-Type header in the request, and the available mapping templates specified as the requestTemplates property on the Integration resource. There are three valid values: WHEN_NO_MATCH, WHEN_NO_TEMPLATES, and NEVER. Supported only for WebSocket APIs.

    WHEN_NO_MATCH passes the request body for unmapped content types through to the integration backend without transformation.

    NEVER rejects unmapped content types with an HTTP 415 Unsupported Media Type response.

    WHEN_NO_TEMPLATES allows pass-through when the integration has no content types mapped to templates. However, if there is at least one content type defined, unmapped content types will be rejected with the same HTTP 415 Unsupported Media Type response.

  • integrationMethod :: Maybe Text

    Specifies the integration's HTTP method type.

  • tlsConfig :: Maybe TlsConfig

    The TLS configuration for a private integration. If you specify a TLS configuration, private integration traffic uses the HTTPS protocol. Supported only for HTTP APIs.

  • payloadFormatVersion :: Maybe Text

    Specifies the format of the payload sent to an integration. Required for HTTP APIs.

  • templateSelectionExpression :: Maybe Text

    The template selection expression for the integration. Supported only for WebSocket APIs.

  • timeoutInMillis :: Maybe Natural

    Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs and between 50 and 30,000 milliseconds for HTTP APIs. The default timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs.

  • apiGatewayManaged :: Maybe Bool

    Specifies whether an integration is managed by API Gateway. If you created an API using using quick create, the resulting integration is managed by API Gateway. You can update a managed integration, but you can't delete it.

  • contentHandlingStrategy :: Maybe ContentHandlingStrategy

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

    CONVERT_TO_BINARY: Converts a response payload from a Base64-encoded string to the corresponding binary blob.

    CONVERT_TO_TEXT: Converts a response payload from a binary blob to a Base64-encoded string.

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

  • integrationType :: Maybe IntegrationType

    The integration type of an integration. One of the following:

    AWS: for integrating the route or method request with an AWS service action, including the Lambda function-invoking action. With the Lambda function-invoking action, this is referred to as the Lambda custom integration. With any other AWS service action, this is known as AWS integration. Supported only for WebSocket APIs.

    AWS_PROXY: for integrating the route or method request with a Lambda function or other AWS service action. This integration is also referred to as a Lambda proxy integration.

    HTTP: for integrating the route or method request with an HTTP endpoint. This integration is also referred to as the HTTP custom integration. Supported only for WebSocket APIs.

    HTTP_PROXY: for integrating the route or method request with an HTTP endpoint, with the client request passed through as-is. This is also referred to as HTTP proxy integration.

    MOCK: for integrating the route or method request with API Gateway as a "loopback" endpoint without invoking any backend. Supported only for WebSocket APIs.

  • description :: Maybe Text

    Represents the description of an integration.

  • connectionType :: Maybe ConnectionType

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

  • responseParameters :: Maybe (HashMap Text (HashMap Text Text))

    Supported only for HTTP APIs. You use response parameters to transform the HTTP response from a backend integration before returning the response to clients. Specify a key-value map from a selection key to response parameters. The selection key must be a valid HTTP status code within the range of 200-599. Response parameters are a key-value map. The key must match pattern <action>:<header>.<location> or overwrite.statuscode. The action can be append, overwrite or remove. The value can be a static value, or map to response data, stage variables, or context variables that are evaluated at runtime. To learn more, see Transforming API requests and responses.

Instances

Instances details
Eq Integration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Integration

Read Integration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Integration

Show Integration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Integration

Generic Integration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Integration

Associated Types

type Rep Integration :: Type -> Type #

NFData Integration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Integration

Methods

rnf :: Integration -> () #

Hashable Integration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Integration

FromJSON Integration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Integration

type Rep Integration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Integration

type Rep Integration = D1 ('MetaData "Integration" "Amazonka.ApiGatewayV2.Types.Integration" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'False) (C1 ('MetaCons "Integration'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "integrationResponseSelectionExpression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "requestTemplates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "integrationSubtype") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "credentialsArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "integrationUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "integrationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "requestParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "connectionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "passthroughBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PassthroughBehavior)) :*: S1 ('MetaSel ('Just "integrationMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "tlsConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TlsConfig)) :*: S1 ('MetaSel ('Just "payloadFormatVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "templateSelectionExpression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "timeoutInMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "apiGatewayManaged") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 ('MetaSel ('Just "contentHandlingStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContentHandlingStrategy)) :*: S1 ('MetaSel ('Just "integrationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IntegrationType))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "connectionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConnectionType)) :*: S1 ('MetaSel ('Just "responseParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text (HashMap Text 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:integrationResponseSelectionExpression:Integration', integration_integrationResponseSelectionExpression - The integration response selection expression for the integration. Supported only for WebSocket APIs. See Integration Response Selection Expressions.

$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. Supported only for WebSocket APIs.

$sel:integrationSubtype:Integration', integration_integrationSubtype - Supported only for HTTP API AWS_PROXY integrations. Specifies the AWS service action to invoke. To learn more, see Integration subtype reference.

$sel:credentialsArn:Integration', integration_credentialsArn - 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:integrationUri:Integration', integration_integrationUri - For a Lambda integration, specify the URI of a Lambda function.

For an HTTP integration, specify a fully-qualified URL.

For an HTTP API private integration, specify the ARN of an Application Load Balancer listener, Network Load Balancer listener, or AWS Cloud Map service. If you specify the ARN of an AWS Cloud Map service, API Gateway uses DiscoverInstances to identify resources. You can use query parameters to target specific resources. To learn more, see DiscoverInstances. For private integrations, all resources must be owned by the same AWS account.

$sel:integrationId:Integration', integration_integrationId - Represents the identifier of an integration.

$sel:requestParameters:Integration', integration_requestParameters - For WebSocket APIs, a key-value map specifying request parameters that are passed from the method request to the backend. 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 backend. 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.

For HTTP API integrations with a specified integrationSubtype, request parameters are a key-value map specifying parameters that are passed to AWS_PROXY integrations. You can provide static values, or map request data, stage variables, or context variables that are evaluated at runtime. To learn more, see Working with AWS service integrations for HTTP APIs.

For HTTP API itegrations, without a specified integrationSubtype request parameters are a key-value map specifying how to transform HTTP requests before sending them to backend integrations. The key should follow the pattern <action>:<header|querystring|path>.<location>. The action can be append, overwrite or remove. For values, you can provide static values, or map request data, stage variables, or context variables that are evaluated at runtime. To learn more, see Transforming API requests and responses.

$sel:connectionId:Integration', integration_connectionId - The ID of the VPC link for a private integration. Supported only for HTTP APIs.

$sel:passthroughBehavior:Integration', integration_passthroughBehavior - Specifies the pass-through behavior for incoming requests based on the Content-Type header in the request, and the available mapping templates specified as the requestTemplates property on the Integration resource. There are three valid values: WHEN_NO_MATCH, WHEN_NO_TEMPLATES, and NEVER. Supported only for WebSocket APIs.

WHEN_NO_MATCH passes the request body for unmapped content types through to the integration backend without transformation.

NEVER rejects unmapped content types with an HTTP 415 Unsupported Media Type response.

WHEN_NO_TEMPLATES allows pass-through when the integration has no content types mapped to templates. However, if there is at least one content type defined, unmapped content types will be rejected with the same HTTP 415 Unsupported Media Type response.

$sel:integrationMethod:Integration', integration_integrationMethod - Specifies the integration's HTTP method type.

$sel:tlsConfig:Integration', integration_tlsConfig - The TLS configuration for a private integration. If you specify a TLS configuration, private integration traffic uses the HTTPS protocol. Supported only for HTTP APIs.

$sel:payloadFormatVersion:Integration', integration_payloadFormatVersion - Specifies the format of the payload sent to an integration. Required for HTTP APIs.

$sel:templateSelectionExpression:Integration', integration_templateSelectionExpression - The template selection expression for the integration. Supported only for WebSocket APIs.

$sel:timeoutInMillis:Integration', integration_timeoutInMillis - Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs and between 50 and 30,000 milliseconds for HTTP APIs. The default timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs.

$sel:apiGatewayManaged:Integration', integration_apiGatewayManaged - Specifies whether an integration is managed by API Gateway. If you created an API using using quick create, the resulting integration is managed by API Gateway. You can update a managed integration, but you can't delete it.

$sel:contentHandlingStrategy:Integration', integration_contentHandlingStrategy - Supported only for WebSocket APIs. Specifies how to handle response payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

CONVERT_TO_BINARY: Converts a response payload from a Base64-encoded string to the corresponding binary blob.

CONVERT_TO_TEXT: Converts a response payload from a binary blob to a Base64-encoded string.

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

$sel:integrationType:Integration', integration_integrationType - The integration type of an integration. One of the following:

AWS: for integrating the route or method request with an AWS service action, including the Lambda function-invoking action. With the Lambda function-invoking action, this is referred to as the Lambda custom integration. With any other AWS service action, this is known as AWS integration. Supported only for WebSocket APIs.

AWS_PROXY: for integrating the route or method request with a Lambda function or other AWS service action. This integration is also referred to as a Lambda proxy integration.

HTTP: for integrating the route or method request with an HTTP endpoint. This integration is also referred to as the HTTP custom integration. Supported only for WebSocket APIs.

HTTP_PROXY: for integrating the route or method request with an HTTP endpoint, with the client request passed through as-is. This is also referred to as HTTP proxy integration.

MOCK: for integrating the route or method request with API Gateway as a "loopback" endpoint without invoking any backend. Supported only for WebSocket APIs.

$sel:description:Integration', integration_description - Represents the description of an integration.

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

$sel:responseParameters:Integration', integration_responseParameters - Supported only for HTTP APIs. You use response parameters to transform the HTTP response from a backend integration before returning the response to clients. Specify a key-value map from a selection key to response parameters. The selection key must be a valid HTTP status code within the range of 200-599. Response parameters are a key-value map. The key must match pattern <action>:<header>.<location> or overwrite.statuscode. The action can be append, overwrite or remove. The value can be a static value, or map to response data, stage variables, or context variables that are evaluated at runtime. To learn more, see Transforming API requests and responses.

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

The integration response selection expression for the integration. Supported only for WebSocket APIs. See Integration Response Selection Expressions.

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. Supported only for WebSocket APIs.

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

Supported only for HTTP API AWS_PROXY integrations. Specifies the AWS service action to invoke. To learn more, see Integration subtype reference.

integration_credentialsArn :: 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_integrationUri :: Lens' Integration (Maybe Text) Source #

For a Lambda integration, specify the URI of a Lambda function.

For an HTTP integration, specify a fully-qualified URL.

For an HTTP API private integration, specify the ARN of an Application Load Balancer listener, Network Load Balancer listener, or AWS Cloud Map service. If you specify the ARN of an AWS Cloud Map service, API Gateway uses DiscoverInstances to identify resources. You can use query parameters to target specific resources. To learn more, see DiscoverInstances. For private integrations, all resources must be owned by the same AWS account.

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

Represents the identifier of an integration.

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

For WebSocket APIs, a key-value map specifying request parameters that are passed from the method request to the backend. 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 backend. 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.

For HTTP API integrations with a specified integrationSubtype, request parameters are a key-value map specifying parameters that are passed to AWS_PROXY integrations. You can provide static values, or map request data, stage variables, or context variables that are evaluated at runtime. To learn more, see Working with AWS service integrations for HTTP APIs.

For HTTP API itegrations, without a specified integrationSubtype request parameters are a key-value map specifying how to transform HTTP requests before sending them to backend integrations. The key should follow the pattern <action>:<header|querystring|path>.<location>. The action can be append, overwrite or remove. For values, you can provide static values, or map request data, stage variables, or context variables that are evaluated at runtime. To learn more, see Transforming API requests and responses.

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

The ID of the VPC link for a private integration. Supported only for HTTP APIs.

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

Specifies the pass-through behavior for incoming requests based on the Content-Type header in the request, and the available mapping templates specified as the requestTemplates property on the Integration resource. There are three valid values: WHEN_NO_MATCH, WHEN_NO_TEMPLATES, and NEVER. Supported only for WebSocket APIs.

WHEN_NO_MATCH passes the request body for unmapped content types through to the integration backend without transformation.

NEVER rejects unmapped content types with an HTTP 415 Unsupported Media Type response.

WHEN_NO_TEMPLATES allows pass-through when the integration has no content types mapped to templates. However, if there is at least one content type defined, unmapped content types will be rejected with the same HTTP 415 Unsupported Media Type response.

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

Specifies the integration's HTTP method type.

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

The TLS configuration for a private integration. If you specify a TLS configuration, private integration traffic uses the HTTPS protocol. Supported only for HTTP APIs.

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

Specifies the format of the payload sent to an integration. Required for HTTP APIs.

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

The template selection expression for the integration. Supported only for WebSocket APIs.

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

Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs and between 50 and 30,000 milliseconds for HTTP APIs. The default timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs.

integration_apiGatewayManaged :: Lens' Integration (Maybe Bool) Source #

Specifies whether an integration is managed by API Gateway. If you created an API using using quick create, the resulting integration is managed by API Gateway. You can update a managed integration, but you can't delete it.

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

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

CONVERT_TO_BINARY: Converts a response payload from a Base64-encoded string to the corresponding binary blob.

CONVERT_TO_TEXT: Converts a response payload from a binary blob to a Base64-encoded string.

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

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

The integration type of an integration. One of the following:

AWS: for integrating the route or method request with an AWS service action, including the Lambda function-invoking action. With the Lambda function-invoking action, this is referred to as the Lambda custom integration. With any other AWS service action, this is known as AWS integration. Supported only for WebSocket APIs.

AWS_PROXY: for integrating the route or method request with a Lambda function or other AWS service action. This integration is also referred to as a Lambda proxy integration.

HTTP: for integrating the route or method request with an HTTP endpoint. This integration is also referred to as the HTTP custom integration. Supported only for WebSocket APIs.

HTTP_PROXY: for integrating the route or method request with an HTTP endpoint, with the client request passed through as-is. This is also referred to as HTTP proxy integration.

MOCK: for integrating the route or method request with API Gateway as a "loopback" endpoint without invoking any backend. Supported only for WebSocket APIs.

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

Represents the description of an integration.

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

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

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

Supported only for HTTP APIs. You use response parameters to transform the HTTP response from a backend integration before returning the response to clients. Specify a key-value map from a selection key to response parameters. The selection key must be a valid HTTP status code within the range of 200-599. Response parameters are a key-value map. The key must match pattern <action>:<header>.<location> or overwrite.statuscode. The action can be append, overwrite or remove. The value can be a static value, or map to response data, stage variables, or context variables that are evaluated at runtime. To learn more, see Transforming API requests and responses.

IntegrationResponse

data IntegrationResponse Source #

Represents an integration response.

See: newIntegrationResponse smart constructor.

Constructors

IntegrationResponse' 

Fields

  • integrationResponseId :: Maybe Text

    The integration response ID.

  • templateSelectionExpression :: Maybe Text

    The template selection expressions for the integration response.

  • contentHandlingStrategy :: Maybe ContentHandlingStrategy

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

    CONVERT_TO_BINARY: Converts a response payload from a Base64-encoded string to the corresponding binary blob.

    CONVERT_TO_TEXT: Converts a response payload from a binary blob to a Base64-encoded string.

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

  • responseTemplates :: Maybe (HashMap Text Text)

    The collection of response templates for the integration response as a string-to-string map of key-value pairs. Response templates are represented as a key/value map, with a content-type as the key and a template as the value.

  • responseParameters :: Maybe (HashMap Text Text)

    A key-value map specifying response parameters that are passed to the method response from the backend. 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.

  • integrationResponseKey :: Text

    The integration response key.

Instances

Instances details
Eq IntegrationResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.IntegrationResponse

Read IntegrationResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.IntegrationResponse

Show IntegrationResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.IntegrationResponse

Generic IntegrationResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.IntegrationResponse

Associated Types

type Rep IntegrationResponse :: Type -> Type #

NFData IntegrationResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.IntegrationResponse

Methods

rnf :: IntegrationResponse -> () #

Hashable IntegrationResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.IntegrationResponse

FromJSON IntegrationResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.IntegrationResponse

type Rep IntegrationResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.IntegrationResponse

type Rep IntegrationResponse = D1 ('MetaData "IntegrationResponse" "Amazonka.ApiGatewayV2.Types.IntegrationResponse" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'False) (C1 ('MetaCons "IntegrationResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "integrationResponseId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "templateSelectionExpression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "contentHandlingStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContentHandlingStrategy)))) :*: (S1 ('MetaSel ('Just "responseTemplates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "responseParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "integrationResponseKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newIntegrationResponse 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:integrationResponseId:IntegrationResponse', integrationResponse_integrationResponseId - The integration response ID.

$sel:templateSelectionExpression:IntegrationResponse', integrationResponse_templateSelectionExpression - The template selection expressions for the integration response.

$sel:contentHandlingStrategy:IntegrationResponse', integrationResponse_contentHandlingStrategy - Supported only for WebSocket APIs. Specifies how to handle response payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

CONVERT_TO_BINARY: Converts a response payload from a Base64-encoded string to the corresponding binary blob.

CONVERT_TO_TEXT: Converts a response payload from a binary blob to a Base64-encoded string.

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

$sel:responseTemplates:IntegrationResponse', integrationResponse_responseTemplates - The collection of response templates for the integration response as a string-to-string map of key-value pairs. Response templates are represented as a key/value map, with a content-type as the key and a template as the value.

$sel:responseParameters:IntegrationResponse', integrationResponse_responseParameters - A key-value map specifying response parameters that are passed to the method response from the backend. 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:integrationResponseKey:IntegrationResponse', integrationResponse_integrationResponseKey - The integration response key.

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

The template selection expressions for the integration response.

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

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

CONVERT_TO_BINARY: Converts a response payload from a Base64-encoded string to the corresponding binary blob.

CONVERT_TO_TEXT: Converts a response payload from a binary blob to a Base64-encoded string.

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

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

The collection of response templates for the integration response as a string-to-string map of key-value pairs. Response templates are represented as a key/value map, with a content-type as the key and a template as the value.

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

JWTConfiguration

data JWTConfiguration Source #

Represents the configuration of a JWT authorizer. Required for the JWT authorizer type. Supported only for HTTP APIs.

See: newJWTConfiguration smart constructor.

Constructors

JWTConfiguration' 

Fields

  • audience :: Maybe [Text]

    A list of the intended recipients of the JWT. A valid JWT must provide an aud that matches at least one entry in this list. See RFC 7519. Supported only for HTTP APIs.

  • issuer :: Maybe Text

    The base domain of the identity provider that issues JSON Web Tokens. For example, an Amazon Cognito user pool has the following format: https://cognito-idp.{region}.amazonaws.com/{userPoolId} . Required for the JWT authorizer type. Supported only for HTTP APIs.

Instances

Instances details
Eq JWTConfiguration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.JWTConfiguration

Read JWTConfiguration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.JWTConfiguration

Show JWTConfiguration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.JWTConfiguration

Generic JWTConfiguration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.JWTConfiguration

Associated Types

type Rep JWTConfiguration :: Type -> Type #

NFData JWTConfiguration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.JWTConfiguration

Methods

rnf :: JWTConfiguration -> () #

Hashable JWTConfiguration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.JWTConfiguration

ToJSON JWTConfiguration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.JWTConfiguration

FromJSON JWTConfiguration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.JWTConfiguration

type Rep JWTConfiguration Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.JWTConfiguration

type Rep JWTConfiguration = D1 ('MetaData "JWTConfiguration" "Amazonka.ApiGatewayV2.Types.JWTConfiguration" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'False) (C1 ('MetaCons "JWTConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "audience") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "issuer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newJWTConfiguration :: JWTConfiguration Source #

Create a value of JWTConfiguration 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:audience:JWTConfiguration', jWTConfiguration_audience - A list of the intended recipients of the JWT. A valid JWT must provide an aud that matches at least one entry in this list. See RFC 7519. Supported only for HTTP APIs.

$sel:issuer:JWTConfiguration', jWTConfiguration_issuer - The base domain of the identity provider that issues JSON Web Tokens. For example, an Amazon Cognito user pool has the following format: https://cognito-idp.{region}.amazonaws.com/{userPoolId} . Required for the JWT authorizer type. Supported only for HTTP APIs.

jWTConfiguration_audience :: Lens' JWTConfiguration (Maybe [Text]) Source #

A list of the intended recipients of the JWT. A valid JWT must provide an aud that matches at least one entry in this list. See RFC 7519. Supported only for HTTP APIs.

jWTConfiguration_issuer :: Lens' JWTConfiguration (Maybe Text) Source #

The base domain of the identity provider that issues JSON Web Tokens. For example, an Amazon Cognito user pool has the following format: https://cognito-idp.{region}.amazonaws.com/{userPoolId} . Required for the JWT authorizer type. Supported only for HTTP APIs.

Model

data Model Source #

Represents a data model for an API. Supported only for WebSocket APIs. See Create Models and Mapping Templates for Request and Response Mappings.

See: newModel smart constructor.

Constructors

Model' 

Fields

Instances

Instances details
Eq Model Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Model

Methods

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

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

Read Model Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Model

Show Model Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Model

Methods

showsPrec :: Int -> Model -> ShowS #

show :: Model -> String #

showList :: [Model] -> ShowS #

Generic Model Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Model

Associated Types

type Rep Model :: Type -> Type #

Methods

from :: Model -> Rep Model x #

to :: Rep Model x -> Model #

NFData Model Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Model

Methods

rnf :: Model -> () #

Hashable Model Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Model

Methods

hashWithSalt :: Int -> Model -> Int #

hash :: Model -> Int #

FromJSON Model Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Model

type Rep Model Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Model

type Rep Model = D1 ('MetaData "Model" "Amazonka.ApiGatewayV2.Types.Model" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'False) (C1 ('MetaCons "Model'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "modelId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "schema") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "contentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newModel Source #

Arguments

:: Text

$sel:name:Model'

-> Model 

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:modelId:Model', model_modelId - The model identifier.

$sel:schema:Model', model_schema - The schema for the model. For application/json models, this should be JSON schema draft 4 model.

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

$sel:contentType:Model', model_contentType - The content-type for the model, for example, "application/json".

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

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

The model identifier.

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

The schema for the model. For application/json models, this should be JSON schema draft 4 model.

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

The description of the model.

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

The content-type for the model, for example, "application/json".

model_name :: Lens' Model Text Source #

The name of the model. Must be alphanumeric.

MutualTlsAuthentication

data MutualTlsAuthentication Source #

See: newMutualTlsAuthentication smart constructor.

Constructors

MutualTlsAuthentication' 

Fields

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

  • 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
Eq MutualTlsAuthentication Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.MutualTlsAuthentication

Read MutualTlsAuthentication Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.MutualTlsAuthentication

Show MutualTlsAuthentication Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.MutualTlsAuthentication

Generic MutualTlsAuthentication Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.MutualTlsAuthentication

Associated Types

type Rep MutualTlsAuthentication :: Type -> Type #

NFData MutualTlsAuthentication Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.MutualTlsAuthentication

Methods

rnf :: MutualTlsAuthentication -> () #

Hashable MutualTlsAuthentication Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.MutualTlsAuthentication

FromJSON MutualTlsAuthentication Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.MutualTlsAuthentication

type Rep MutualTlsAuthentication Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.MutualTlsAuthentication

type Rep MutualTlsAuthentication = D1 ('MetaData "MutualTlsAuthentication" "Amazonka.ApiGatewayV2.Types.MutualTlsAuthentication" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'False) (C1 ('MetaCons "MutualTlsAuthentication'" 'PrefixI 'True) (S1 ('MetaSel ('Just "truststoreWarnings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "truststoreUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "truststoreVersion") '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: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.

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

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.

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.

MutualTlsAuthenticationInput

data MutualTlsAuthenticationInput Source #

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
Eq MutualTlsAuthenticationInput Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.MutualTlsAuthenticationInput

Read MutualTlsAuthenticationInput Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.MutualTlsAuthenticationInput

Show MutualTlsAuthenticationInput Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.MutualTlsAuthenticationInput

Generic MutualTlsAuthenticationInput Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.MutualTlsAuthenticationInput

Associated Types

type Rep MutualTlsAuthenticationInput :: Type -> Type #

NFData MutualTlsAuthenticationInput Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.MutualTlsAuthenticationInput

Hashable MutualTlsAuthenticationInput Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.MutualTlsAuthenticationInput

ToJSON MutualTlsAuthenticationInput Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.MutualTlsAuthenticationInput

type Rep MutualTlsAuthenticationInput Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.MutualTlsAuthenticationInput

type Rep MutualTlsAuthenticationInput = D1 ('MetaData "MutualTlsAuthenticationInput" "Amazonka.ApiGatewayV2.Types.MutualTlsAuthenticationInput" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" '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.

ParameterConstraints

data ParameterConstraints Source #

Validation constraints imposed on parameters of a request (path, query string, headers).

See: newParameterConstraints smart constructor.

Constructors

ParameterConstraints' 

Fields

Instances

Instances details
Eq ParameterConstraints Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ParameterConstraints

Read ParameterConstraints Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ParameterConstraints

Show ParameterConstraints Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ParameterConstraints

Generic ParameterConstraints Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ParameterConstraints

Associated Types

type Rep ParameterConstraints :: Type -> Type #

NFData ParameterConstraints Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ParameterConstraints

Methods

rnf :: ParameterConstraints -> () #

Hashable ParameterConstraints Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ParameterConstraints

ToJSON ParameterConstraints Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ParameterConstraints

FromJSON ParameterConstraints Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ParameterConstraints

type Rep ParameterConstraints Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.ParameterConstraints

type Rep ParameterConstraints = D1 ('MetaData "ParameterConstraints" "Amazonka.ApiGatewayV2.Types.ParameterConstraints" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'False) (C1 ('MetaCons "ParameterConstraints'" 'PrefixI 'True) (S1 ('MetaSel ('Just "required") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newParameterConstraints :: ParameterConstraints Source #

Create a value of ParameterConstraints 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:required:ParameterConstraints', parameterConstraints_required - Whether or not the parameter is required.

parameterConstraints_required :: Lens' ParameterConstraints (Maybe Bool) Source #

Whether or not the parameter is required.

Route

data Route Source #

Represents a route.

See: newRoute smart constructor.

Constructors

Route' 

Fields

  • authorizationScopes :: Maybe [Text]

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

  • modelSelectionExpression :: Maybe Text

    The model selection expression for the route. Supported only for WebSocket APIs.

  • requestModels :: Maybe (HashMap Text Text)

    The request models for the route. Supported only for WebSocket APIs.

  • routeResponseSelectionExpression :: Maybe Text

    The route response selection expression for the route. Supported only for WebSocket APIs.

  • requestParameters :: Maybe (HashMap Text ParameterConstraints)

    The request parameters for the route. Supported only for WebSocket APIs.

  • routeId :: Maybe Text

    The route ID.

  • authorizerId :: Maybe Text

    The identifier of the Authorizer resource to be associated with this route. The authorizer identifier is generated by API Gateway when you created the authorizer.

  • operationName :: Maybe Text

    The operation name for the route.

  • apiGatewayManaged :: Maybe Bool

    Specifies whether a route is managed by API Gateway. If you created an API using quick create, the $default route is managed by API Gateway. You can't modify the $default route key.

  • authorizationType :: Maybe AuthorizationType

    The authorization type for the route. For WebSocket APIs, valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer For HTTP APIs, valid values are NONE for open access, JWT for using JSON Web Tokens, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer.

  • apiKeyRequired :: Maybe Bool

    Specifies whether an API key is required for this route. Supported only for WebSocket APIs.

  • target :: Maybe Text

    The target for the route.

  • routeKey :: Text

    The route key for the route.

Instances

Instances details
Eq Route Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Route

Methods

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

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

Read Route Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Route

Show Route Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Route

Methods

showsPrec :: Int -> Route -> ShowS #

show :: Route -> String #

showList :: [Route] -> ShowS #

Generic Route Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Route

Associated Types

type Rep Route :: Type -> Type #

Methods

from :: Route -> Rep Route x #

to :: Rep Route x -> Route #

NFData Route Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Route

Methods

rnf :: Route -> () #

Hashable Route Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Route

Methods

hashWithSalt :: Int -> Route -> Int #

hash :: Route -> Int #

FromJSON Route Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Route

type Rep Route Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Route

type Rep Route = D1 ('MetaData "Route" "Amazonka.ApiGatewayV2.Types.Route" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'False) (C1 ('MetaCons "Route'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "authorizationScopes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "modelSelectionExpression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "requestModels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))) :*: (S1 ('MetaSel ('Just "routeResponseSelectionExpression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "requestParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text ParameterConstraints))) :*: S1 ('MetaSel ('Just "routeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "authorizerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "operationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "apiGatewayManaged") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "authorizationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AuthorizationType)) :*: S1 ('MetaSel ('Just "apiKeyRequired") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "target") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "routeKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newRoute Source #

Create a value of Route 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:authorizationScopes:Route', route_authorizationScopes - A list of authorization scopes configured on a route. The scopes are used with a JWT authorizer to authorize the method invocation. The authorization works by matching the route scopes against the scopes parsed from the access token in the incoming request. The method invocation is authorized if any route scope matches a claimed scope in the access token. Otherwise, the invocation is not authorized. When the route scope is configured, the client must provide an access token instead of an identity token for authorization purposes.

$sel:modelSelectionExpression:Route', route_modelSelectionExpression - The model selection expression for the route. Supported only for WebSocket APIs.

$sel:requestModels:Route', route_requestModels - The request models for the route. Supported only for WebSocket APIs.

$sel:routeResponseSelectionExpression:Route', route_routeResponseSelectionExpression - The route response selection expression for the route. Supported only for WebSocket APIs.

$sel:requestParameters:Route', route_requestParameters - The request parameters for the route. Supported only for WebSocket APIs.

$sel:routeId:Route', route_routeId - The route ID.

$sel:authorizerId:Route', route_authorizerId - The identifier of the Authorizer resource to be associated with this route. The authorizer identifier is generated by API Gateway when you created the authorizer.

$sel:operationName:Route', route_operationName - The operation name for the route.

$sel:apiGatewayManaged:Route', route_apiGatewayManaged - Specifies whether a route is managed by API Gateway. If you created an API using quick create, the $default route is managed by API Gateway. You can't modify the $default route key.

$sel:authorizationType:Route', route_authorizationType - The authorization type for the route. For WebSocket APIs, valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer For HTTP APIs, valid values are NONE for open access, JWT for using JSON Web Tokens, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer.

$sel:apiKeyRequired:Route', route_apiKeyRequired - Specifies whether an API key is required for this route. Supported only for WebSocket APIs.

$sel:target:Route', route_target - The target for the route.

$sel:routeKey:Route', route_routeKey - The route key for the route.

route_authorizationScopes :: Lens' Route (Maybe [Text]) Source #

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

route_modelSelectionExpression :: Lens' Route (Maybe Text) Source #

The model selection expression for the route. Supported only for WebSocket APIs.

route_requestModels :: Lens' Route (Maybe (HashMap Text Text)) Source #

The request models for the route. Supported only for WebSocket APIs.

route_routeResponseSelectionExpression :: Lens' Route (Maybe Text) Source #

The route response selection expression for the route. Supported only for WebSocket APIs.

route_requestParameters :: Lens' Route (Maybe (HashMap Text ParameterConstraints)) Source #

The request parameters for the route. Supported only for WebSocket APIs.

route_authorizerId :: Lens' Route (Maybe Text) Source #

The identifier of the Authorizer resource to be associated with this route. The authorizer identifier is generated by API Gateway when you created the authorizer.

route_operationName :: Lens' Route (Maybe Text) Source #

The operation name for the route.

route_apiGatewayManaged :: Lens' Route (Maybe Bool) Source #

Specifies whether a route is managed by API Gateway. If you created an API using quick create, the $default route is managed by API Gateway. You can't modify the $default route key.

route_authorizationType :: Lens' Route (Maybe AuthorizationType) Source #

The authorization type for the route. For WebSocket APIs, valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer For HTTP APIs, valid values are NONE for open access, JWT for using JSON Web Tokens, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer.

route_apiKeyRequired :: Lens' Route (Maybe Bool) Source #

Specifies whether an API key is required for this route. Supported only for WebSocket APIs.

route_target :: Lens' Route (Maybe Text) Source #

The target for the route.

route_routeKey :: Lens' Route Text Source #

The route key for the route.

RouteResponse

data RouteResponse Source #

Represents a route response.

See: newRouteResponse smart constructor.

Constructors

RouteResponse' 

Fields

Instances

Instances details
Eq RouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.RouteResponse

Read RouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.RouteResponse

Show RouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.RouteResponse

Generic RouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.RouteResponse

Associated Types

type Rep RouteResponse :: Type -> Type #

NFData RouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.RouteResponse

Methods

rnf :: RouteResponse -> () #

Hashable RouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.RouteResponse

FromJSON RouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.RouteResponse

type Rep RouteResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.RouteResponse

type Rep RouteResponse = D1 ('MetaData "RouteResponse" "Amazonka.ApiGatewayV2.Types.RouteResponse" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'False) (C1 ('MetaCons "RouteResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "modelSelectionExpression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "responseModels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "routeResponseId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "responseParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text ParameterConstraints))) :*: S1 ('MetaSel ('Just "routeResponseKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newRouteResponse Source #

Create a value of RouteResponse 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:modelSelectionExpression:RouteResponse', routeResponse_modelSelectionExpression - Represents the model selection expression of a route response. Supported only for WebSocket APIs.

$sel:responseModels:RouteResponse', routeResponse_responseModels - Represents the response models of a route response.

$sel:routeResponseId:RouteResponse', routeResponse_routeResponseId - Represents the identifier of a route response.

$sel:responseParameters:RouteResponse', routeResponse_responseParameters - Represents the response parameters of a route response.

$sel:routeResponseKey:RouteResponse', routeResponse_routeResponseKey - Represents the route response key of a route response.

routeResponse_modelSelectionExpression :: Lens' RouteResponse (Maybe Text) Source #

Represents the model selection expression of a route response. Supported only for WebSocket APIs.

routeResponse_responseModels :: Lens' RouteResponse (Maybe (HashMap Text Text)) Source #

Represents the response models of a route response.

routeResponse_routeResponseId :: Lens' RouteResponse (Maybe Text) Source #

Represents the identifier of a route response.

routeResponse_responseParameters :: Lens' RouteResponse (Maybe (HashMap Text ParameterConstraints)) Source #

Represents the response parameters of a route response.

routeResponse_routeResponseKey :: Lens' RouteResponse Text Source #

Represents the route response key of a route response.

RouteSettings

data RouteSettings Source #

Represents a collection of route settings.

See: newRouteSettings smart constructor.

Constructors

RouteSettings' 

Fields

Instances

Instances details
Eq RouteSettings Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.RouteSettings

Read RouteSettings Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.RouteSettings

Show RouteSettings Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.RouteSettings

Generic RouteSettings Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.RouteSettings

Associated Types

type Rep RouteSettings :: Type -> Type #

NFData RouteSettings Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.RouteSettings

Methods

rnf :: RouteSettings -> () #

Hashable RouteSettings Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.RouteSettings

ToJSON RouteSettings Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.RouteSettings

FromJSON RouteSettings Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.RouteSettings

type Rep RouteSettings Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.RouteSettings

type Rep RouteSettings = D1 ('MetaData "RouteSettings" "Amazonka.ApiGatewayV2.Types.RouteSettings" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'False) (C1 ('MetaCons "RouteSettings'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dataTraceEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "throttlingBurstLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "loggingLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LoggingLevel)) :*: (S1 ('MetaSel ('Just "throttlingRateLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "detailedMetricsEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))))

newRouteSettings :: RouteSettings Source #

Create a value of RouteSettings 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:dataTraceEnabled:RouteSettings', routeSettings_dataTraceEnabled - Specifies whether (true) or not (false) data trace logging is enabled for this route. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.

$sel:throttlingBurstLimit:RouteSettings', routeSettings_throttlingBurstLimit - Specifies the throttling burst limit.

$sel:loggingLevel:RouteSettings', routeSettings_loggingLevel - Specifies the logging level for this route: INFO, ERROR, or OFF. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.

$sel:throttlingRateLimit:RouteSettings', routeSettings_throttlingRateLimit - Specifies the throttling rate limit.

$sel:detailedMetricsEnabled:RouteSettings', routeSettings_detailedMetricsEnabled - Specifies whether detailed metrics are enabled.

routeSettings_dataTraceEnabled :: Lens' RouteSettings (Maybe Bool) Source #

Specifies whether (true) or not (false) data trace logging is enabled for this route. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.

routeSettings_throttlingBurstLimit :: Lens' RouteSettings (Maybe Int) Source #

Specifies the throttling burst limit.

routeSettings_loggingLevel :: Lens' RouteSettings (Maybe LoggingLevel) Source #

Specifies the logging level for this route: INFO, ERROR, or OFF. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.

routeSettings_throttlingRateLimit :: Lens' RouteSettings (Maybe Double) Source #

Specifies the throttling rate limit.

routeSettings_detailedMetricsEnabled :: Lens' RouteSettings (Maybe Bool) Source #

Specifies whether detailed metrics are enabled.

Stage

data Stage Source #

Represents an API stage.

See: newStage smart constructor.

Constructors

Stage' 

Fields

Instances

Instances details
Eq Stage Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Stage

Methods

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

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

Read Stage Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Stage

Show Stage Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Stage

Methods

showsPrec :: Int -> Stage -> ShowS #

show :: Stage -> String #

showList :: [Stage] -> ShowS #

Generic Stage Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Stage

Associated Types

type Rep Stage :: Type -> Type #

Methods

from :: Stage -> Rep Stage x #

to :: Rep Stage x -> Stage #

NFData Stage Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Stage

Methods

rnf :: Stage -> () #

Hashable Stage Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Stage

Methods

hashWithSalt :: Int -> Stage -> Int #

hash :: Stage -> Int #

FromJSON Stage Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Stage

type Rep Stage Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Stage

type Rep Stage = D1 ('MetaData "Stage" "Amazonka.ApiGatewayV2.Types.Stage" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'False) (C1 ('MetaCons "Stage'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "lastDeploymentStatusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "deploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "routeSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text RouteSettings))))) :*: ((S1 ('MetaSel ('Just "accessLogSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AccessLogSettings)) :*: S1 ('MetaSel ('Just "clientCertificateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "stageVariables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "autoDeploy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "defaultRouteSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RouteSettings)) :*: S1 ('MetaSel ('Just "apiGatewayManaged") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "lastUpdatedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "stageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newStage 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:lastDeploymentStatusMessage:Stage', stage_lastDeploymentStatusMessage - Describes the status of the last deployment of a stage. Supported only for stages with autoDeploy enabled.

$sel:deploymentId:Stage', stage_deploymentId - The identifier of the Deployment that the Stage is associated with. Can't be updated if autoDeploy is enabled.

$sel:routeSettings:Stage', stage_routeSettings - Route settings for the stage, by routeKey.

$sel:accessLogSettings:Stage', stage_accessLogSettings - Settings for logging access in this stage.

$sel:clientCertificateId:Stage', stage_clientCertificateId - The identifier of a client certificate for a Stage. Supported only for WebSocket APIs.

$sel:stageVariables:Stage', stage_stageVariables - 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:autoDeploy:Stage', stage_autoDeploy - Specifies whether updates to an API automatically trigger a new deployment. The default value is false.

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

$sel:defaultRouteSettings:Stage', stage_defaultRouteSettings - Default route settings for the stage.

$sel:apiGatewayManaged:Stage', stage_apiGatewayManaged - Specifies whether a stage is managed by API Gateway. If you created an API using quick create, the $default stage is managed by API Gateway. You can't modify the $default stage.

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

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

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

$sel:stageName:Stage', stage_stageName - The name of the stage.

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

Describes the status of the last deployment of a stage. Supported only for stages with autoDeploy enabled.

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

The identifier of the Deployment that the Stage is associated with. Can't be updated if autoDeploy is enabled.

stage_routeSettings :: Lens' Stage (Maybe (HashMap Text RouteSettings)) Source #

Route settings for the stage, by routeKey.

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

Settings for logging access in this stage.

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

The identifier of a client certificate for a Stage. Supported only for WebSocket APIs.

stage_stageVariables :: 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_autoDeploy :: Lens' Stage (Maybe Bool) Source #

Specifies whether updates to an API automatically trigger a new deployment. The default value is false.

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

The timestamp when the stage was created.

stage_defaultRouteSettings :: Lens' Stage (Maybe RouteSettings) Source #

Default route settings for the stage.

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

Specifies whether a stage is managed by API Gateway. If you created an API using quick create, the $default stage is managed by API Gateway. You can't modify the $default stage.

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

The timestamp when the stage was last updated.

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

The description of the stage.

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

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

stage_stageName :: Lens' Stage Text Source #

The name of the stage.

TlsConfig

data TlsConfig Source #

The TLS configuration for a private integration. If you specify a TLS configuration, private integration traffic uses the HTTPS protocol. Supported only for HTTP APIs.

See: newTlsConfig smart constructor.

Constructors

TlsConfig' 

Fields

  • serverNameToVerify :: Maybe Text

    If you specify a server name, API Gateway uses it to verify the hostname on the integration's certificate. The server name is also included in the TLS handshake to support Server Name Indication (SNI) or virtual hosting.

Instances

Instances details
Eq TlsConfig Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.TlsConfig

Read TlsConfig Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.TlsConfig

Show TlsConfig Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.TlsConfig

Generic TlsConfig Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.TlsConfig

Associated Types

type Rep TlsConfig :: Type -> Type #

NFData TlsConfig Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.TlsConfig

Methods

rnf :: TlsConfig -> () #

Hashable TlsConfig Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.TlsConfig

FromJSON TlsConfig Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.TlsConfig

type Rep TlsConfig Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.TlsConfig

type Rep TlsConfig = D1 ('MetaData "TlsConfig" "Amazonka.ApiGatewayV2.Types.TlsConfig" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'False) (C1 ('MetaCons "TlsConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "serverNameToVerify") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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:serverNameToVerify:TlsConfig', tlsConfig_serverNameToVerify - If you specify a server name, API Gateway uses it to verify the hostname on the integration's certificate. The server name is also included in the TLS handshake to support Server Name Indication (SNI) or virtual hosting.

tlsConfig_serverNameToVerify :: Lens' TlsConfig (Maybe Text) Source #

If you specify a server name, API Gateway uses it to verify the hostname on the integration's certificate. The server name is also included in the TLS handshake to support Server Name Indication (SNI) or virtual hosting.

TlsConfigInput

data TlsConfigInput Source #

The TLS configuration for a private integration. If you specify a TLS configuration, private integration traffic uses the HTTPS protocol. Supported only for HTTP APIs.

See: newTlsConfigInput smart constructor.

Constructors

TlsConfigInput' 

Fields

  • serverNameToVerify :: Maybe Text

    If you specify a server name, API Gateway uses it to verify the hostname on the integration's certificate. The server name is also included in the TLS handshake to support Server Name Indication (SNI) or virtual hosting.

Instances

Instances details
Eq TlsConfigInput Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.TlsConfigInput

Read TlsConfigInput Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.TlsConfigInput

Show TlsConfigInput Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.TlsConfigInput

Generic TlsConfigInput Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.TlsConfigInput

Associated Types

type Rep TlsConfigInput :: Type -> Type #

NFData TlsConfigInput Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.TlsConfigInput

Methods

rnf :: TlsConfigInput -> () #

Hashable TlsConfigInput Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.TlsConfigInput

ToJSON TlsConfigInput Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.TlsConfigInput

type Rep TlsConfigInput Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.TlsConfigInput

type Rep TlsConfigInput = D1 ('MetaData "TlsConfigInput" "Amazonka.ApiGatewayV2.Types.TlsConfigInput" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'False) (C1 ('MetaCons "TlsConfigInput'" 'PrefixI 'True) (S1 ('MetaSel ('Just "serverNameToVerify") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newTlsConfigInput :: TlsConfigInput Source #

Create a value of TlsConfigInput 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:serverNameToVerify:TlsConfigInput', tlsConfigInput_serverNameToVerify - If you specify a server name, API Gateway uses it to verify the hostname on the integration's certificate. The server name is also included in the TLS handshake to support Server Name Indication (SNI) or virtual hosting.

tlsConfigInput_serverNameToVerify :: Lens' TlsConfigInput (Maybe Text) Source #

If you specify a server name, API Gateway uses it to verify the hostname on the integration's certificate. The server name is also included in the TLS handshake to support Server Name Indication (SNI) or virtual hosting.

VpcLink

data VpcLink Source #

Represents a VPC link.

See: newVpcLink smart constructor.

Constructors

VpcLink' 

Fields

Instances

newVpcLink 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:createdDate:VpcLink', vpcLink_createdDate - The timestamp when the VPC link was created.

$sel:vpcLinkVersion:VpcLink', vpcLink_vpcLinkVersion - The version of the VPC link.

$sel:vpcLinkStatusMessage:VpcLink', vpcLink_vpcLinkStatusMessage - A message summarizing the cause of the status of the VPC link.

$sel:tags:VpcLink', vpcLink_tags - Tags for the VPC link.

$sel:vpcLinkStatus:VpcLink', vpcLink_vpcLinkStatus - The status of the VPC link.

$sel:vpcLinkId:VpcLink', vpcLink_vpcLinkId - The ID of the VPC link.

$sel:securityGroupIds:VpcLink', vpcLink_securityGroupIds - A list of security group IDs for the VPC link.

$sel:subnetIds:VpcLink', vpcLink_subnetIds - A list of subnet IDs to include in the VPC link.

$sel:name:VpcLink', vpcLink_name - The name of the VPC link.

vpcLink_createdDate :: Lens' VpcLink (Maybe UTCTime) Source #

The timestamp when the VPC link was created.

vpcLink_vpcLinkStatusMessage :: Lens' VpcLink (Maybe Text) Source #

A message summarizing the cause of the status of the VPC link.

vpcLink_tags :: Lens' VpcLink (Maybe (HashMap Text Text)) Source #

Tags for the VPC link.

vpcLink_vpcLinkId :: Lens' VpcLink Text Source #

The ID of the VPC link.

vpcLink_securityGroupIds :: Lens' VpcLink [Text] Source #

A list of security group IDs for the VPC link.

vpcLink_subnetIds :: Lens' VpcLink [Text] Source #

A list of subnet IDs to include in the VPC link.

vpcLink_name :: Lens' VpcLink Text Source #

The name of the VPC link.