amazonka-apigateway-1.6.1: Amazon API Gateway SDK.

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

Network.AWS.APIGateway.Types

Contents

Description

 
Synopsis

Service Configuration

apiGateway :: Service Source #

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

Errors

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

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

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

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

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

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

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

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

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

The request is denied because the caller has insufficient permissions.

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

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

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

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

APIKeySourceType

data APIKeySourceType Source #

Constructors

Authorizer 
Header 
Instances
Bounded APIKeySourceType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Enum APIKeySourceType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Eq APIKeySourceType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Data APIKeySourceType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> APIKeySourceType -> c APIKeySourceType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c APIKeySourceType #

toConstr :: APIKeySourceType -> Constr #

dataTypeOf :: APIKeySourceType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c APIKeySourceType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c APIKeySourceType) #

gmapT :: (forall b. Data b => b -> b) -> APIKeySourceType -> APIKeySourceType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> APIKeySourceType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> APIKeySourceType -> r #

gmapQ :: (forall d. Data d => d -> u) -> APIKeySourceType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> APIKeySourceType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> APIKeySourceType -> m APIKeySourceType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> APIKeySourceType -> m APIKeySourceType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> APIKeySourceType -> m APIKeySourceType #

Ord APIKeySourceType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Read APIKeySourceType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Show APIKeySourceType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Generic APIKeySourceType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Associated Types

type Rep APIKeySourceType :: Type -> Type #

Hashable APIKeySourceType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToJSON APIKeySourceType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

FromJSON APIKeySourceType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToHeader APIKeySourceType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToQuery APIKeySourceType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToByteString APIKeySourceType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

FromText APIKeySourceType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToText APIKeySourceType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

NFData APIKeySourceType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

rnf :: APIKeySourceType -> () #

type Rep APIKeySourceType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

type Rep APIKeySourceType = D1 (MetaData "APIKeySourceType" "Network.AWS.APIGateway.Types.Sum" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "Authorizer" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Header" PrefixI False) (U1 :: Type -> Type))

APIKeysFormat

data APIKeysFormat Source #

Constructors

CSV 
Instances
Bounded APIKeysFormat Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Enum APIKeysFormat Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Eq APIKeysFormat Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Data APIKeysFormat Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> APIKeysFormat -> c APIKeysFormat #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c APIKeysFormat #

toConstr :: APIKeysFormat -> Constr #

dataTypeOf :: APIKeysFormat -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c APIKeysFormat) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c APIKeysFormat) #

gmapT :: (forall b. Data b => b -> b) -> APIKeysFormat -> APIKeysFormat #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> APIKeysFormat -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> APIKeysFormat -> r #

gmapQ :: (forall d. Data d => d -> u) -> APIKeysFormat -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> APIKeysFormat -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> APIKeysFormat -> m APIKeysFormat #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> APIKeysFormat -> m APIKeysFormat #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> APIKeysFormat -> m APIKeysFormat #

Ord APIKeysFormat Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Read APIKeysFormat Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Show APIKeysFormat Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Generic APIKeysFormat Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Associated Types

type Rep APIKeysFormat :: Type -> Type #

Hashable APIKeysFormat Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToJSON APIKeysFormat Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToHeader APIKeysFormat Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToQuery APIKeysFormat Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToByteString APIKeysFormat Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

FromText APIKeysFormat Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToText APIKeysFormat Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

toText :: APIKeysFormat -> Text #

NFData APIKeysFormat Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

rnf :: APIKeysFormat -> () #

type Rep APIKeysFormat Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

type Rep APIKeysFormat = D1 (MetaData "APIKeysFormat" "Network.AWS.APIGateway.Types.Sum" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "CSV" PrefixI False) (U1 :: Type -> Type))

AuthorizerType

data AuthorizerType Source #

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

Instances
Bounded AuthorizerType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Enum AuthorizerType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Eq AuthorizerType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Data AuthorizerType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AuthorizerType -> c AuthorizerType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AuthorizerType #

toConstr :: AuthorizerType -> Constr #

dataTypeOf :: AuthorizerType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AuthorizerType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AuthorizerType) #

gmapT :: (forall b. Data b => b -> b) -> AuthorizerType -> AuthorizerType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AuthorizerType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AuthorizerType -> r #

gmapQ :: (forall d. Data d => d -> u) -> AuthorizerType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AuthorizerType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AuthorizerType -> m AuthorizerType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AuthorizerType -> m AuthorizerType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AuthorizerType -> m AuthorizerType #

Ord AuthorizerType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Read AuthorizerType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Show AuthorizerType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Generic AuthorizerType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Associated Types

type Rep AuthorizerType :: Type -> Type #

Hashable AuthorizerType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToJSON AuthorizerType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

FromJSON AuthorizerType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToHeader AuthorizerType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToQuery AuthorizerType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToByteString AuthorizerType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

FromText AuthorizerType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToText AuthorizerType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

NFData AuthorizerType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

rnf :: AuthorizerType -> () #

type Rep AuthorizerType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

type Rep AuthorizerType = D1 (MetaData "AuthorizerType" "Network.AWS.APIGateway.Types.Sum" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "AuthorizerCognitoUserPools" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "AuthorizerRequest" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "AuthorizerToken" PrefixI False) (U1 :: Type -> Type)))

CacheClusterSize

data CacheClusterSize Source #

Returns the size of the CacheCluster .

Constructors

D0_5 
D118 
D13_5 
D1_6 
D237 
D28_4 
D58_2 
D6_1 
Instances
Bounded CacheClusterSize Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Enum CacheClusterSize Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Eq CacheClusterSize Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Data CacheClusterSize Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CacheClusterSize -> c CacheClusterSize #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CacheClusterSize #

toConstr :: CacheClusterSize -> Constr #

dataTypeOf :: CacheClusterSize -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CacheClusterSize) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CacheClusterSize) #

gmapT :: (forall b. Data b => b -> b) -> CacheClusterSize -> CacheClusterSize #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CacheClusterSize -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CacheClusterSize -> r #

gmapQ :: (forall d. Data d => d -> u) -> CacheClusterSize -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CacheClusterSize -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CacheClusterSize -> m CacheClusterSize #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CacheClusterSize -> m CacheClusterSize #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CacheClusterSize -> m CacheClusterSize #

Ord CacheClusterSize Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Read CacheClusterSize Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Show CacheClusterSize Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Generic CacheClusterSize Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Associated Types

type Rep CacheClusterSize :: Type -> Type #

Hashable CacheClusterSize Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToJSON CacheClusterSize Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

FromJSON CacheClusterSize Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToHeader CacheClusterSize Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToQuery CacheClusterSize Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToByteString CacheClusterSize Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

FromText CacheClusterSize Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToText CacheClusterSize Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

NFData CacheClusterSize Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

rnf :: CacheClusterSize -> () #

type Rep CacheClusterSize Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

type Rep CacheClusterSize = D1 (MetaData "CacheClusterSize" "Network.AWS.APIGateway.Types.Sum" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (((C1 (MetaCons "D0_5" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "D118" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "D13_5" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "D1_6" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "D237" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "D28_4" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "D58_2" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "D6_1" PrefixI False) (U1 :: Type -> Type))))

CacheClusterStatus

data CacheClusterStatus Source #

Returns the status of the CacheCluster .

Instances
Bounded CacheClusterStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Enum CacheClusterStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Eq CacheClusterStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Data CacheClusterStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CacheClusterStatus -> c CacheClusterStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CacheClusterStatus #

toConstr :: CacheClusterStatus -> Constr #

dataTypeOf :: CacheClusterStatus -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CacheClusterStatus) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CacheClusterStatus) #

gmapT :: (forall b. Data b => b -> b) -> CacheClusterStatus -> CacheClusterStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CacheClusterStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CacheClusterStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> CacheClusterStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CacheClusterStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CacheClusterStatus -> m CacheClusterStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CacheClusterStatus -> m CacheClusterStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CacheClusterStatus -> m CacheClusterStatus #

Ord CacheClusterStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Read CacheClusterStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Show CacheClusterStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Generic CacheClusterStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Associated Types

type Rep CacheClusterStatus :: Type -> Type #

Hashable CacheClusterStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

FromJSON CacheClusterStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToHeader CacheClusterStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToQuery CacheClusterStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToByteString CacheClusterStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

FromText CacheClusterStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToText CacheClusterStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

NFData CacheClusterStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

rnf :: CacheClusterStatus -> () #

type Rep CacheClusterStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

type Rep CacheClusterStatus = D1 (MetaData "CacheClusterStatus" "Network.AWS.APIGateway.Types.Sum" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) ((C1 (MetaCons "Available" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "CreateInProgress" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "DeleteInProgress" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "FlushInProgress" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "NotAvailable" PrefixI False) (U1 :: Type -> Type))))

ConnectionType

data ConnectionType Source #

Constructors

Internet 
VPCLink 
Instances
Bounded ConnectionType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Enum ConnectionType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Eq ConnectionType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Data ConnectionType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ConnectionType -> c ConnectionType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ConnectionType #

toConstr :: ConnectionType -> Constr #

dataTypeOf :: ConnectionType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ConnectionType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ConnectionType) #

gmapT :: (forall b. Data b => b -> b) -> ConnectionType -> ConnectionType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ConnectionType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ConnectionType -> r #

gmapQ :: (forall d. Data d => d -> u) -> ConnectionType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ConnectionType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ConnectionType -> m ConnectionType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ConnectionType -> m ConnectionType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ConnectionType -> m ConnectionType #

Ord ConnectionType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Read ConnectionType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Show ConnectionType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Generic ConnectionType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Associated Types

type Rep ConnectionType :: Type -> Type #

Hashable ConnectionType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToJSON ConnectionType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

FromJSON ConnectionType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToHeader ConnectionType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToQuery ConnectionType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToByteString ConnectionType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

FromText ConnectionType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToText ConnectionType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

NFData ConnectionType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

rnf :: ConnectionType -> () #

type Rep ConnectionType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

type Rep ConnectionType = D1 (MetaData "ConnectionType" "Network.AWS.APIGateway.Types.Sum" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "Internet" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "VPCLink" PrefixI False) (U1 :: Type -> Type))

ContentHandlingStrategy

data ContentHandlingStrategy Source #

Instances
Bounded ContentHandlingStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Enum ContentHandlingStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Eq ContentHandlingStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Data ContentHandlingStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ContentHandlingStrategy -> c ContentHandlingStrategy #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ContentHandlingStrategy #

toConstr :: ContentHandlingStrategy -> Constr #

dataTypeOf :: ContentHandlingStrategy -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ContentHandlingStrategy) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ContentHandlingStrategy) #

gmapT :: (forall b. Data b => b -> b) -> ContentHandlingStrategy -> ContentHandlingStrategy #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ContentHandlingStrategy -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ContentHandlingStrategy -> r #

gmapQ :: (forall d. Data d => d -> u) -> ContentHandlingStrategy -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ContentHandlingStrategy -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ContentHandlingStrategy -> m ContentHandlingStrategy #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ContentHandlingStrategy -> m ContentHandlingStrategy #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ContentHandlingStrategy -> m ContentHandlingStrategy #

Ord ContentHandlingStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Read ContentHandlingStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Show ContentHandlingStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Generic ContentHandlingStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Associated Types

type Rep ContentHandlingStrategy :: Type -> Type #

Hashable ContentHandlingStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToJSON ContentHandlingStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

FromJSON ContentHandlingStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToHeader ContentHandlingStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToQuery ContentHandlingStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToByteString ContentHandlingStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

FromText ContentHandlingStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToText ContentHandlingStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

NFData ContentHandlingStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

rnf :: ContentHandlingStrategy -> () #

type Rep ContentHandlingStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

type Rep ContentHandlingStrategy = D1 (MetaData "ContentHandlingStrategy" "Network.AWS.APIGateway.Types.Sum" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "ConvertToBinary" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ConvertToText" PrefixI False) (U1 :: Type -> Type))

DocumentationPartType

data DocumentationPartType Source #

Instances
Bounded DocumentationPartType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Enum DocumentationPartType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Eq DocumentationPartType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Data DocumentationPartType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DocumentationPartType -> c DocumentationPartType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DocumentationPartType #

toConstr :: DocumentationPartType -> Constr #

dataTypeOf :: DocumentationPartType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DocumentationPartType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DocumentationPartType) #

gmapT :: (forall b. Data b => b -> b) -> DocumentationPartType -> DocumentationPartType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DocumentationPartType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DocumentationPartType -> r #

gmapQ :: (forall d. Data d => d -> u) -> DocumentationPartType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DocumentationPartType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DocumentationPartType -> m DocumentationPartType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DocumentationPartType -> m DocumentationPartType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DocumentationPartType -> m DocumentationPartType #

Ord DocumentationPartType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Read DocumentationPartType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Show DocumentationPartType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Generic DocumentationPartType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Associated Types

type Rep DocumentationPartType :: Type -> Type #

Hashable DocumentationPartType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToJSON DocumentationPartType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

FromJSON DocumentationPartType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToHeader DocumentationPartType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToQuery DocumentationPartType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToByteString DocumentationPartType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

FromText DocumentationPartType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToText DocumentationPartType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

NFData DocumentationPartType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

rnf :: DocumentationPartType -> () #

type Rep DocumentationPartType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

type Rep DocumentationPartType = D1 (MetaData "DocumentationPartType" "Network.AWS.APIGateway.Types.Sum" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (((C1 (MetaCons "DPTAPI" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "DPTAuthorizer" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DPTMethod" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "DPTModel" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "DPTPathParameter" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DPTQueryParameter" PrefixI False) (U1 :: Type -> Type)))) :+: ((C1 (MetaCons "DPTRequestBody" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "DPTRequestHeader" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DPTResource" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "DPTResponse" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "DPTResponseBody" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DPTResponseHeader" PrefixI False) (U1 :: Type -> Type)))))

EndpointType

data EndpointType Source #

The endpoint type. The valid value is EDGE for edge-optimized API setup, most suitable for mobile applications, REGIONAL for regional API endpoint setup, most suitable for calling from AWS Region

Constructors

Edge 
Regional 
Instances
Bounded EndpointType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Enum EndpointType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Eq EndpointType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Data EndpointType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EndpointType -> c EndpointType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EndpointType #

toConstr :: EndpointType -> Constr #

dataTypeOf :: EndpointType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EndpointType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EndpointType) #

gmapT :: (forall b. Data b => b -> b) -> EndpointType -> EndpointType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EndpointType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EndpointType -> r #

gmapQ :: (forall d. Data d => d -> u) -> EndpointType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EndpointType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EndpointType -> m EndpointType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EndpointType -> m EndpointType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EndpointType -> m EndpointType #

Ord EndpointType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Read EndpointType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Show EndpointType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Generic EndpointType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Associated Types

type Rep EndpointType :: Type -> Type #

Hashable EndpointType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToJSON EndpointType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

FromJSON EndpointType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToHeader EndpointType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToQuery EndpointType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToByteString EndpointType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

FromText EndpointType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToText EndpointType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

toText :: EndpointType -> Text #

NFData EndpointType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

rnf :: EndpointType -> () #

type Rep EndpointType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

type Rep EndpointType = D1 (MetaData "EndpointType" "Network.AWS.APIGateway.Types.Sum" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "Edge" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Regional" PrefixI False) (U1 :: Type -> Type))

GatewayResponseType

data GatewayResponseType Source #

Instances
Bounded GatewayResponseType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Enum GatewayResponseType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Eq GatewayResponseType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Data GatewayResponseType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GatewayResponseType -> c GatewayResponseType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GatewayResponseType #

toConstr :: GatewayResponseType -> Constr #

dataTypeOf :: GatewayResponseType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GatewayResponseType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GatewayResponseType) #

gmapT :: (forall b. Data b => b -> b) -> GatewayResponseType -> GatewayResponseType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GatewayResponseType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GatewayResponseType -> r #

gmapQ :: (forall d. Data d => d -> u) -> GatewayResponseType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GatewayResponseType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GatewayResponseType -> m GatewayResponseType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GatewayResponseType -> m GatewayResponseType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GatewayResponseType -> m GatewayResponseType #

Ord GatewayResponseType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Read GatewayResponseType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Show GatewayResponseType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Generic GatewayResponseType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Associated Types

type Rep GatewayResponseType :: Type -> Type #

Hashable GatewayResponseType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToJSON GatewayResponseType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

FromJSON GatewayResponseType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToHeader GatewayResponseType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToQuery GatewayResponseType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToByteString GatewayResponseType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

FromText GatewayResponseType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToText GatewayResponseType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

NFData GatewayResponseType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

rnf :: GatewayResponseType -> () #

type Rep GatewayResponseType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

type Rep GatewayResponseType = D1 (MetaData "GatewayResponseType" "Network.AWS.APIGateway.Types.Sum" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) ((((C1 (MetaCons "APIConfigurationError" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "AccessDenied" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "AuthorizerConfigurationError" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "AuthorizerFailure" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "BadRequestBody" PrefixI False) (U1 :: Type -> Type)))) :+: ((C1 (MetaCons "BadRequestParameters" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Default4XX" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Default5XX" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "ExpiredToken" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "IntegrationFailure" PrefixI False) (U1 :: Type -> Type))))) :+: (((C1 (MetaCons "IntegrationTimeout" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "InvalidAPIKey" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "InvalidSignature" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "MissingAuthenticationToken" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "QuotaExceeded" PrefixI False) (U1 :: Type -> Type)))) :+: ((C1 (MetaCons "RequestTooLarge" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ResourceNotFound" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Throttled" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Unauthorized" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "UnsupportedMediaType" PrefixI False) (U1 :: Type -> Type))))))

IntegrationType

data IntegrationType Source #

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

Constructors

AWS 
AWSProxy 
HTTP 
HTTPProxy 
Mock 
Instances
Bounded IntegrationType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Enum IntegrationType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Eq IntegrationType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Data IntegrationType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> IntegrationType -> c IntegrationType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c IntegrationType #

toConstr :: IntegrationType -> Constr #

dataTypeOf :: IntegrationType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c IntegrationType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c IntegrationType) #

gmapT :: (forall b. Data b => b -> b) -> IntegrationType -> IntegrationType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> IntegrationType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> IntegrationType -> r #

gmapQ :: (forall d. Data d => d -> u) -> IntegrationType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> IntegrationType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> IntegrationType -> m IntegrationType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> IntegrationType -> m IntegrationType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> IntegrationType -> m IntegrationType #

Ord IntegrationType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Read IntegrationType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Show IntegrationType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Generic IntegrationType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Associated Types

type Rep IntegrationType :: Type -> Type #

Hashable IntegrationType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToJSON IntegrationType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

FromJSON IntegrationType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToHeader IntegrationType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToQuery IntegrationType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToByteString IntegrationType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

FromText IntegrationType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToText IntegrationType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

NFData IntegrationType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

rnf :: IntegrationType -> () #

type Rep IntegrationType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

type Rep IntegrationType = D1 (MetaData "IntegrationType" "Network.AWS.APIGateway.Types.Sum" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) ((C1 (MetaCons "AWS" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "AWSProxy" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "HTTP" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "HTTPProxy" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Mock" PrefixI False) (U1 :: Type -> Type))))

LocationStatusType

data LocationStatusType Source #

Constructors

Documented 
Undocumented 
Instances
Bounded LocationStatusType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Enum LocationStatusType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Eq LocationStatusType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Data LocationStatusType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LocationStatusType -> c LocationStatusType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LocationStatusType #

toConstr :: LocationStatusType -> Constr #

dataTypeOf :: LocationStatusType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c LocationStatusType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LocationStatusType) #

gmapT :: (forall b. Data b => b -> b) -> LocationStatusType -> LocationStatusType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LocationStatusType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LocationStatusType -> r #

gmapQ :: (forall d. Data d => d -> u) -> LocationStatusType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LocationStatusType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LocationStatusType -> m LocationStatusType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LocationStatusType -> m LocationStatusType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LocationStatusType -> m LocationStatusType #

Ord LocationStatusType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Read LocationStatusType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Show LocationStatusType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Generic LocationStatusType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Associated Types

type Rep LocationStatusType :: Type -> Type #

Hashable LocationStatusType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToJSON LocationStatusType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToHeader LocationStatusType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToQuery LocationStatusType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToByteString LocationStatusType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

FromText LocationStatusType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToText LocationStatusType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

NFData LocationStatusType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

rnf :: LocationStatusType -> () #

type Rep LocationStatusType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

type Rep LocationStatusType = D1 (MetaData "LocationStatusType" "Network.AWS.APIGateway.Types.Sum" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "Documented" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Undocumented" PrefixI False) (U1 :: Type -> Type))

Op

data Op Source #

Constructors

Add 
Copy 
Move 
Remove 
Replace 
Test 
Instances
Bounded Op Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

minBound :: Op #

maxBound :: Op #

Enum Op Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

succ :: Op -> Op #

pred :: Op -> Op #

toEnum :: Int -> Op #

fromEnum :: Op -> Int #

enumFrom :: Op -> [Op] #

enumFromThen :: Op -> Op -> [Op] #

enumFromTo :: Op -> Op -> [Op] #

enumFromThenTo :: Op -> Op -> Op -> [Op] #

Eq Op Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

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

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

Data Op Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Op -> c Op #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Op #

toConstr :: Op -> Constr #

dataTypeOf :: Op -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Op) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Op) #

gmapT :: (forall b. Data b => b -> b) -> Op -> Op #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Op -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Op -> r #

gmapQ :: (forall d. Data d => d -> u) -> Op -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Op -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Op -> m Op #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Op -> m Op #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Op -> m Op #

Ord Op Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

compare :: Op -> Op -> Ordering #

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

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

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

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

max :: Op -> Op -> Op #

min :: Op -> Op -> Op #

Read Op Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Show Op Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

showsPrec :: Int -> Op -> ShowS #

show :: Op -> String #

showList :: [Op] -> ShowS #

Generic Op Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Associated Types

type Rep Op :: Type -> Type #

Methods

from :: Op -> Rep Op x #

to :: Rep Op x -> Op #

Hashable Op Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

hashWithSalt :: Int -> Op -> Int #

hash :: Op -> Int #

ToJSON Op Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToHeader Op Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

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

ToQuery Op Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

toQuery :: Op -> QueryString #

ToByteString Op Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

toBS :: Op -> ByteString #

FromText Op Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

parser :: Parser Op #

ToText Op Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

toText :: Op -> Text #

NFData Op Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

rnf :: Op -> () #

type Rep Op Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

type Rep Op = D1 (MetaData "Op" "Network.AWS.APIGateway.Types.Sum" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) ((C1 (MetaCons "Add" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Copy" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Move" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "Remove" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Replace" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Test" PrefixI False) (U1 :: Type -> Type))))

PutMode

data PutMode Source #

Constructors

Merge 
Overwrite 
Instances
Bounded PutMode Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Enum PutMode Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Eq PutMode Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

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

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

Data PutMode Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PutMode -> c PutMode #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PutMode #

toConstr :: PutMode -> Constr #

dataTypeOf :: PutMode -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PutMode) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PutMode) #

gmapT :: (forall b. Data b => b -> b) -> PutMode -> PutMode #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PutMode -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PutMode -> r #

gmapQ :: (forall d. Data d => d -> u) -> PutMode -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PutMode -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PutMode -> m PutMode #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PutMode -> m PutMode #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PutMode -> m PutMode #

Ord PutMode Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Read PutMode Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Show PutMode Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Generic PutMode Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Associated Types

type Rep PutMode :: Type -> Type #

Methods

from :: PutMode -> Rep PutMode x #

to :: Rep PutMode x -> PutMode #

Hashable PutMode Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

hashWithSalt :: Int -> PutMode -> Int #

hash :: PutMode -> Int #

ToJSON PutMode Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToHeader PutMode Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

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

ToQuery PutMode Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToByteString PutMode Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

toBS :: PutMode -> ByteString #

FromText PutMode Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToText PutMode Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

toText :: PutMode -> Text #

NFData PutMode Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

rnf :: PutMode -> () #

type Rep PutMode Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

type Rep PutMode = D1 (MetaData "PutMode" "Network.AWS.APIGateway.Types.Sum" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "Merge" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Overwrite" PrefixI False) (U1 :: Type -> Type))

QuotaPeriodType

data QuotaPeriodType Source #

Constructors

Day 
Month 
Week 
Instances
Bounded QuotaPeriodType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Enum QuotaPeriodType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Eq QuotaPeriodType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Data QuotaPeriodType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> QuotaPeriodType -> c QuotaPeriodType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c QuotaPeriodType #

toConstr :: QuotaPeriodType -> Constr #

dataTypeOf :: QuotaPeriodType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c QuotaPeriodType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c QuotaPeriodType) #

gmapT :: (forall b. Data b => b -> b) -> QuotaPeriodType -> QuotaPeriodType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> QuotaPeriodType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> QuotaPeriodType -> r #

gmapQ :: (forall d. Data d => d -> u) -> QuotaPeriodType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> QuotaPeriodType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> QuotaPeriodType -> m QuotaPeriodType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> QuotaPeriodType -> m QuotaPeriodType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> QuotaPeriodType -> m QuotaPeriodType #

Ord QuotaPeriodType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Read QuotaPeriodType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Show QuotaPeriodType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Generic QuotaPeriodType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Associated Types

type Rep QuotaPeriodType :: Type -> Type #

Hashable QuotaPeriodType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToJSON QuotaPeriodType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

FromJSON QuotaPeriodType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToHeader QuotaPeriodType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToQuery QuotaPeriodType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToByteString QuotaPeriodType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

FromText QuotaPeriodType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToText QuotaPeriodType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

NFData QuotaPeriodType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

rnf :: QuotaPeriodType -> () #

type Rep QuotaPeriodType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

type Rep QuotaPeriodType = D1 (MetaData "QuotaPeriodType" "Network.AWS.APIGateway.Types.Sum" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "Day" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Month" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Week" PrefixI False) (U1 :: Type -> Type)))

UnauthorizedCacheControlHeaderStrategy

data UnauthorizedCacheControlHeaderStrategy Source #

Instances
Bounded UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Enum UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Eq UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Data UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UnauthorizedCacheControlHeaderStrategy -> c UnauthorizedCacheControlHeaderStrategy #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UnauthorizedCacheControlHeaderStrategy #

toConstr :: UnauthorizedCacheControlHeaderStrategy -> Constr #

dataTypeOf :: UnauthorizedCacheControlHeaderStrategy -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UnauthorizedCacheControlHeaderStrategy) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UnauthorizedCacheControlHeaderStrategy) #

gmapT :: (forall b. Data b => b -> b) -> UnauthorizedCacheControlHeaderStrategy -> UnauthorizedCacheControlHeaderStrategy #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UnauthorizedCacheControlHeaderStrategy -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UnauthorizedCacheControlHeaderStrategy -> r #

gmapQ :: (forall d. Data d => d -> u) -> UnauthorizedCacheControlHeaderStrategy -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UnauthorizedCacheControlHeaderStrategy -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UnauthorizedCacheControlHeaderStrategy -> m UnauthorizedCacheControlHeaderStrategy #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UnauthorizedCacheControlHeaderStrategy -> m UnauthorizedCacheControlHeaderStrategy #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UnauthorizedCacheControlHeaderStrategy -> m UnauthorizedCacheControlHeaderStrategy #

Ord UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Read UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Show UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Generic UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Hashable UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

FromJSON UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToHeader UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToQuery UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToByteString UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

FromText UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToText UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

NFData UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

type Rep UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

type Rep UnauthorizedCacheControlHeaderStrategy = D1 (MetaData "UnauthorizedCacheControlHeaderStrategy" "Network.AWS.APIGateway.Types.Sum" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "FailWith403" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "SucceedWithResponseHeader" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "SucceedWithoutResponseHeader" PrefixI False) (U1 :: Type -> Type)))

VPCLinkStatus

data VPCLinkStatus Source #

Instances
Bounded VPCLinkStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Enum VPCLinkStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Eq VPCLinkStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Data VPCLinkStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> VPCLinkStatus -> c VPCLinkStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c VPCLinkStatus #

toConstr :: VPCLinkStatus -> Constr #

dataTypeOf :: VPCLinkStatus -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c VPCLinkStatus) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c VPCLinkStatus) #

gmapT :: (forall b. Data b => b -> b) -> VPCLinkStatus -> VPCLinkStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> VPCLinkStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> VPCLinkStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> VPCLinkStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> VPCLinkStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> VPCLinkStatus -> m VPCLinkStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> VPCLinkStatus -> m VPCLinkStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> VPCLinkStatus -> m VPCLinkStatus #

Ord VPCLinkStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Read VPCLinkStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Show VPCLinkStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Generic VPCLinkStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Associated Types

type Rep VPCLinkStatus :: Type -> Type #

Hashable VPCLinkStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

FromJSON VPCLinkStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToHeader VPCLinkStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToQuery VPCLinkStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToByteString VPCLinkStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

FromText VPCLinkStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

ToText VPCLinkStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

toText :: VPCLinkStatus -> Text #

NFData VPCLinkStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

Methods

rnf :: VPCLinkStatus -> () #

type Rep VPCLinkStatus Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Sum

type Rep VPCLinkStatus = D1 (MetaData "VPCLinkStatus" "Network.AWS.APIGateway.Types.Sum" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) ((C1 (MetaCons "VLSAvailable" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "VLSDeleting" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "VLSFailed" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "VLSPending" PrefixI False) (U1 :: Type -> Type)))

APIKey

data APIKey Source #

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

Use API Keys

See: apiKey smart constructor.

Instances
Eq APIKey Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

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

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

Data APIKey Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> APIKey -> c APIKey #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c APIKey #

toConstr :: APIKey -> Constr #

dataTypeOf :: APIKey -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c APIKey) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c APIKey) #

gmapT :: (forall b. Data b => b -> b) -> APIKey -> APIKey #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> APIKey -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> APIKey -> r #

gmapQ :: (forall d. Data d => d -> u) -> APIKey -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> APIKey -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> APIKey -> m APIKey #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> APIKey -> m APIKey #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> APIKey -> m APIKey #

Read APIKey Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show APIKey Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic APIKey Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep APIKey :: Type -> Type #

Methods

from :: APIKey -> Rep APIKey x #

to :: Rep APIKey x -> APIKey #

Hashable APIKey Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

hashWithSalt :: Int -> APIKey -> Int #

hash :: APIKey -> Int #

FromJSON APIKey Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData APIKey Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: APIKey -> () #

type Rep APIKey Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

apiKey :: APIKey Source #

Creates a value of APIKey with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • akEnabled - Specifies whether the API Key can be used by callers.
  • akValue - The value of the API Key.
  • akCustomerId - An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.
  • akCreatedDate - The timestamp when the API Key was created.
  • akName - The name of the API Key.
  • akId - The identifier of the API Key.
  • akStageKeys - A list of Stage resources that are associated with the ApiKey resource.
  • akLastUpdatedDate - The timestamp when the API Key was last updated.
  • akDescription - The description of the API Key.

akEnabled :: Lens' APIKey (Maybe Bool) Source #

Specifies whether the API Key can be used by callers.

akValue :: Lens' APIKey (Maybe Text) Source #

The value of the API Key.

akCustomerId :: Lens' APIKey (Maybe Text) Source #

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

akCreatedDate :: Lens' APIKey (Maybe UTCTime) Source #

The timestamp when the API Key was created.

akName :: Lens' APIKey (Maybe Text) Source #

The name of the API Key.

akId :: Lens' APIKey (Maybe Text) Source #

The identifier of the API Key.

akStageKeys :: Lens' APIKey [Text] Source #

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

akLastUpdatedDate :: Lens' APIKey (Maybe UTCTime) Source #

The timestamp when the API Key was last updated.

akDescription :: Lens' APIKey (Maybe Text) Source #

The description of the API Key.

APIStage

data APIStage Source #

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

See: apiStage smart constructor.

Instances
Eq APIStage Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Data APIStage Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> APIStage -> c APIStage #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c APIStage #

toConstr :: APIStage -> Constr #

dataTypeOf :: APIStage -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c APIStage) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c APIStage) #

gmapT :: (forall b. Data b => b -> b) -> APIStage -> APIStage #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> APIStage -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> APIStage -> r #

gmapQ :: (forall d. Data d => d -> u) -> APIStage -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> APIStage -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> APIStage -> m APIStage #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> APIStage -> m APIStage #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> APIStage -> m APIStage #

Read APIStage Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show APIStage Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic APIStage Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep APIStage :: Type -> Type #

Methods

from :: APIStage -> Rep APIStage x #

to :: Rep APIStage x -> APIStage #

Hashable APIStage Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

hashWithSalt :: Int -> APIStage -> Int #

hash :: APIStage -> Int #

ToJSON APIStage Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

FromJSON APIStage Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData APIStage Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: APIStage -> () #

type Rep APIStage Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep APIStage = D1 (MetaData "APIStage" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "APIStage'" PrefixI True) (S1 (MetaSel (Just "_asStage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_asApiId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

apiStage :: APIStage Source #

Creates a value of APIStage with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • asStage - API stage name of the associated API stage in a usage plan.
  • asApiId - API Id of the associated API stage in a usage plan.

asStage :: Lens' APIStage (Maybe Text) Source #

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

asApiId :: Lens' APIStage (Maybe Text) Source #

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

AccessLogSettings

data AccessLogSettings Source #

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

See: accessLogSettings smart constructor.

Instances
Eq AccessLogSettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Data AccessLogSettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AccessLogSettings -> c AccessLogSettings #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AccessLogSettings #

toConstr :: AccessLogSettings -> Constr #

dataTypeOf :: AccessLogSettings -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AccessLogSettings) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AccessLogSettings) #

gmapT :: (forall b. Data b => b -> b) -> AccessLogSettings -> AccessLogSettings #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AccessLogSettings -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AccessLogSettings -> r #

gmapQ :: (forall d. Data d => d -> u) -> AccessLogSettings -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AccessLogSettings -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AccessLogSettings -> m AccessLogSettings #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AccessLogSettings -> m AccessLogSettings #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AccessLogSettings -> m AccessLogSettings #

Read AccessLogSettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show AccessLogSettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic AccessLogSettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep AccessLogSettings :: Type -> Type #

Hashable AccessLogSettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

FromJSON AccessLogSettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData AccessLogSettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: AccessLogSettings -> () #

type Rep AccessLogSettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep AccessLogSettings = D1 (MetaData "AccessLogSettings" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "AccessLogSettings'" PrefixI True) (S1 (MetaSel (Just "_alsFormat") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_alsDestinationARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

accessLogSettings :: AccessLogSettings Source #

Creates a value of AccessLogSettings with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

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

A single line format of the access logs of data, as specified by selected http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html#context-variable-reference context variables> . The format must include at least > context.requestId .

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

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

Account

data Account Source #

Represents an AWS account that is associated with API Gateway.

To view the account info, call GET on this resource.

Error Codes The following exception may be thrown when the request fails.

  • UnauthorizedException * NotFoundException * TooManyRequestsException

For detailed error code information, including the corresponding HTTP Status Codes, see API Gateway Error Codes

Example: Get the information about an account. Request @GET account HTTP1.1 Content-Type: applicationjson Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160531T184618Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}us-east-1apigatewayaws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} Response The successful response returns a 200 OK@ status code and a payload similar to the following:

@{ "_links": { "curies": { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/account-apigateway-{rel}.html", "name": "account", "templated": true }, "self": { "href": "account" }, "account:update": { "href": "account" } }, "cloudwatchRoleArn": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "throttleSettings": { "rateLimit": 500, "burstLimit": 1000 } } @ In addition to making the REST API call directly, you can use the AWS CLI and an AWS SDK to access this resource.

API Gateway Limits Developer Guide , AWS CLI

See: account smart constructor.

Instances
Eq Account Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

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

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

Data Account Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Account -> c Account #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Account #

toConstr :: Account -> Constr #

dataTypeOf :: Account -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Account) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Account) #

gmapT :: (forall b. Data b => b -> b) -> Account -> Account #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Account -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Account -> r #

gmapQ :: (forall d. Data d => d -> u) -> Account -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Account -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Account -> m Account #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Account -> m Account #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Account -> m Account #

Read Account Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show Account Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic Account Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep Account :: Type -> Type #

Methods

from :: Account -> Rep Account x #

to :: Rep Account x -> Account #

Hashable Account Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

hashWithSalt :: Int -> Account -> Int #

hash :: Account -> Int #

FromJSON Account Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData Account Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: Account -> () #

type Rep Account Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep Account = D1 (MetaData "Account" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "Account'" PrefixI True) ((S1 (MetaSel (Just "_aApiKeyVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_aCloudwatchRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_aFeatures") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_aThrottleSettings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ThrottleSettings)))))

account :: Account Source #

Creates a value of Account with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

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

The version of the API keys used for the account.

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

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

aFeatures :: Lens' Account [Text] Source #

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

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

Specifies the API request limits configured for the current Account .

Authorizer

data Authorizer Source #

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

Enable custom authorization

See: authorizer smart constructor.

Instances
Eq Authorizer Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Data Authorizer Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Authorizer -> c Authorizer #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Authorizer #

toConstr :: Authorizer -> Constr #

dataTypeOf :: Authorizer -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Authorizer) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Authorizer) #

gmapT :: (forall b. Data b => b -> b) -> Authorizer -> Authorizer #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Authorizer -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Authorizer -> r #

gmapQ :: (forall d. Data d => d -> u) -> Authorizer -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Authorizer -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Authorizer -> m Authorizer #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Authorizer -> m Authorizer #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Authorizer -> m Authorizer #

Read Authorizer Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show Authorizer Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic Authorizer Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep Authorizer :: Type -> Type #

Hashable Authorizer Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

FromJSON Authorizer Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData Authorizer Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: Authorizer -> () #

type Rep Authorizer Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

authorizer :: Authorizer Source #

Creates a value of Authorizer with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • aAuthorizerURI - Specifies the authorizer's Uniform Resource Identifier (URI). For TOKEN or REQUEST authorizers, this must be a well-formed Lambda function URI, for example, arn:aws:apigateway:us-west-2:lambda:path2015-03-31functionsarn: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-31functions[FunctionARN]invocations .
  • aIdentityValidationExpression - A validation expression for the incoming identity token. For TOKEN authorizers, this value is a regular expression. API Gateway will match the aud field of the incoming token from the client against the specified regular expression. It will invoke the authorizer's Lambda function when there is a match. Otherwise, it will return a 401 Unauthorized response without calling the Lambda function. The validation expression does not apply to the REQUEST authorizer.
  • aProviderARNs - A list of the Amazon Cognito user pool ARNs for the COGNITO_USER_POOLS authorizer. Each element is of this format: arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id} . For a TOKEN or REQUEST authorizer, this is not defined.
  • aName - [Required] The name of the authorizer.
  • aId - The identifier for the authorizer resource.
  • aAuthorizerResultTtlInSeconds - The TTL in seconds of cached authorizer results. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway will cache authorizer responses. If this field is not set, the default value is 300. The maximum value is 3600, or 1 hour.
  • aAuthType - Optional customer-defined field, used in Swagger imports and exports without functional impact.
  • aType - The authorizer type. Valid values are TOKEN for a Lambda function using a single authorization token submitted in a custom header, REQUEST for a Lambda function using incoming request parameters, and COGNITO_USER_POOLS for using an Amazon Cognito user pool.
  • aIdentitySource - The identity source for which authorization is requested. * For a TOKEN or COGNITO_USER_POOLS authorizer, this is required and specifies the request header mapping expression for the custom header holding the authorization token submitted by the client. For example, if the token header name is Auth , the header mapping expression is method.request.header.Auth . * For the REQUEST authorizer, this is required when authorization caching is enabled. The value is a comma-separated string of one or more mapping expressions of the specified request parameters. For example, if an Auth header, a Name query string parameter are defined as identity sources, this value is method.request.header.Auth, method.request.querystring.Name . These parameters will be used to derive the authorization caching key and to perform runtime validation of the REQUEST authorizer by verifying all of the identity-related request parameters are present, not null and non-empty. Only when this is true does the authorizer invoke the authorizer Lambda function, otherwise, it returns a 401 Unauthorized response without calling the Lambda function. The valid value is a string of comma-separated mapping expressions of the specified request parameters. When the authorization caching is not enabled, this property is optional.
  • aAuthorizerCredentials - Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify null.

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

Specifies the authorizer's Uniform Resource Identifier (URI). For TOKEN or REQUEST authorizers, this must be a well-formed Lambda function URI, for example, arn:aws:apigateway:us-west-2:lambda:path2015-03-31functionsarn: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-31functions[FunctionARN]invocations .

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

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

aProviderARNs :: Lens' Authorizer [Text] Source #

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

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

Required
The name of the authorizer.

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

The identifier for the authorizer resource.

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

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

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

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

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

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

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

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

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

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

BasePathMapping

data BasePathMapping Source #

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

A custom domain name plus a BasePathMapping specification identifies a deployed RestApi in a given stage of the owner Account .Use Custom Domain Names

See: basePathMapping smart constructor.

Instances
Eq BasePathMapping Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Data BasePathMapping Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BasePathMapping -> c BasePathMapping #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BasePathMapping #

toConstr :: BasePathMapping -> Constr #

dataTypeOf :: BasePathMapping -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BasePathMapping) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BasePathMapping) #

gmapT :: (forall b. Data b => b -> b) -> BasePathMapping -> BasePathMapping #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BasePathMapping -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BasePathMapping -> r #

gmapQ :: (forall d. Data d => d -> u) -> BasePathMapping -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BasePathMapping -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BasePathMapping -> m BasePathMapping #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BasePathMapping -> m BasePathMapping #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BasePathMapping -> m BasePathMapping #

Read BasePathMapping Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show BasePathMapping Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic BasePathMapping Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep BasePathMapping :: Type -> Type #

Hashable BasePathMapping Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

FromJSON BasePathMapping Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData BasePathMapping Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: BasePathMapping -> () #

type Rep BasePathMapping Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep BasePathMapping = D1 (MetaData "BasePathMapping" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "BasePathMapping'" PrefixI True) (S1 (MetaSel (Just "_bpmStage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_bpmBasePath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_bpmRestAPIId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

basePathMapping :: BasePathMapping Source #

Creates a value of BasePathMapping with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • bpmStage - The name of the associated stage.
  • bpmBasePath - The base path name that callers of the API must provide as part of the URL after the domain name.
  • bpmRestAPIId - The string identifier of the associated RestApi .

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

The name of the associated stage.

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

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

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

The string identifier of the associated RestApi .

CanarySettings

data CanarySettings Source #

Configuration settings of a canary deployment.

See: canarySettings smart constructor.

Instances
Eq CanarySettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Data CanarySettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CanarySettings -> c CanarySettings #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CanarySettings #

toConstr :: CanarySettings -> Constr #

dataTypeOf :: CanarySettings -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CanarySettings) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CanarySettings) #

gmapT :: (forall b. Data b => b -> b) -> CanarySettings -> CanarySettings #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CanarySettings -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CanarySettings -> r #

gmapQ :: (forall d. Data d => d -> u) -> CanarySettings -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CanarySettings -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CanarySettings -> m CanarySettings #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CanarySettings -> m CanarySettings #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CanarySettings -> m CanarySettings #

Read CanarySettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show CanarySettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic CanarySettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep CanarySettings :: Type -> Type #

Hashable CanarySettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

ToJSON CanarySettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

FromJSON CanarySettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData CanarySettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: CanarySettings -> () #

type Rep CanarySettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep CanarySettings = D1 (MetaData "CanarySettings" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "CanarySettings'" PrefixI True) ((S1 (MetaSel (Just "_csDeploymentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_csStageVariableOverrides") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text)))) :*: (S1 (MetaSel (Just "_csUseStageCache") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_csPercentTraffic") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Double)))))

canarySettings :: CanarySettings Source #

Creates a value of CanarySettings with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • csDeploymentId - The ID of the canary deployment.
  • csStageVariableOverrides - Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary. These stage variables are represented as a string-to-string map between stage variable names and their values.
  • csUseStageCache - A Boolean flag to indicate whether the canary deployment uses the stage cache or not.
  • csPercentTraffic - The percent (0-100) of traffic diverted to a canary deployment.

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

The ID of the canary deployment.

csStageVariableOverrides :: Lens' CanarySettings (HashMap Text Text) Source #

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

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

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

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

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

ClientCertificate

data ClientCertificate Source #

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

Client certificates are used to authenticate an API by the backend server. To authenticate an API client (or user), use IAM roles and policies, a custom Authorizer or an Amazon Cognito user pool.Use Client-Side Certificate

See: clientCertificate smart constructor.

Instances
Eq ClientCertificate Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Data ClientCertificate Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ClientCertificate -> c ClientCertificate #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ClientCertificate #

toConstr :: ClientCertificate -> Constr #

dataTypeOf :: ClientCertificate -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ClientCertificate) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ClientCertificate) #

gmapT :: (forall b. Data b => b -> b) -> ClientCertificate -> ClientCertificate #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ClientCertificate -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ClientCertificate -> r #

gmapQ :: (forall d. Data d => d -> u) -> ClientCertificate -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ClientCertificate -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ClientCertificate -> m ClientCertificate #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ClientCertificate -> m ClientCertificate #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ClientCertificate -> m ClientCertificate #

Read ClientCertificate Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show ClientCertificate Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic ClientCertificate Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep ClientCertificate :: Type -> Type #

Hashable ClientCertificate Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

FromJSON ClientCertificate Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData ClientCertificate Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: ClientCertificate -> () #

type Rep ClientCertificate Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep ClientCertificate = D1 (MetaData "ClientCertificate" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "ClientCertificate'" PrefixI True) ((S1 (MetaSel (Just "_ccPemEncodedCertificate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ccClientCertificateId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ccCreatedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 (MetaSel (Just "_ccExpirationDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 (MetaSel (Just "_ccDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

clientCertificate :: ClientCertificate Source #

Creates a value of ClientCertificate with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • ccPemEncodedCertificate - The PEM-encoded public key of the client certificate, which can be used to configure certificate authentication in the integration endpoint .
  • ccClientCertificateId - The identifier of the client certificate.
  • ccCreatedDate - The timestamp when the client certificate was created.
  • ccExpirationDate - The timestamp when the client certificate will expire.
  • ccDescription - The description of the client certificate.

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

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

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

The identifier of the client certificate.

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

The timestamp when the client certificate was created.

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

The timestamp when the client certificate will expire.

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

The description of the client certificate.

Deployment

data Deployment Source #

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

To create a deployment, call POST on the Deployments resource of a RestApi . To view, update, or delete a deployment, call GET , PATCH , or DELETE on the specified deployment resource (restapis{restapi_id}deployments{deployment_id} ).RestApi , Deployments , Stage , AWS CLI , AWS SDKs

See: deployment smart constructor.

Instances
Eq Deployment Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Data Deployment Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Deployment -> c Deployment #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Deployment #

toConstr :: Deployment -> Constr #

dataTypeOf :: Deployment -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Deployment) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Deployment) #

gmapT :: (forall b. Data b => b -> b) -> Deployment -> Deployment #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Deployment -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Deployment -> r #

gmapQ :: (forall d. Data d => d -> u) -> Deployment -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Deployment -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Deployment -> m Deployment #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Deployment -> m Deployment #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Deployment -> m Deployment #

Read Deployment Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show Deployment Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic Deployment Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep Deployment :: Type -> Type #

Hashable Deployment Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

FromJSON Deployment Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData Deployment Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: Deployment -> () #

type Rep Deployment Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep Deployment = D1 (MetaData "Deployment" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "Deployment'" PrefixI True) ((S1 (MetaSel (Just "_dApiSummary") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text (Map Text MethodSnapshot)))) :*: S1 (MetaSel (Just "_dCreatedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 (MetaSel (Just "_dId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

deployment :: Deployment Source #

Creates a value of Deployment with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dApiSummary - A summary of the RestApi at the date and time that the deployment resource was created.
  • dCreatedDate - The date and time that the deployment resource was created.
  • dId - The identifier for the deployment resource.
  • dDescription - The description for the deployment resource.

dApiSummary :: Lens' Deployment (HashMap Text (HashMap Text MethodSnapshot)) Source #

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

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

The date and time that the deployment resource was created.

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

The identifier for the deployment resource.

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

The description for the deployment resource.

DeploymentCanarySettings

data DeploymentCanarySettings Source #

The input configuration for a canary deployment.

See: deploymentCanarySettings smart constructor.

Instances
Eq DeploymentCanarySettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Data DeploymentCanarySettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeploymentCanarySettings -> c DeploymentCanarySettings #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeploymentCanarySettings #

toConstr :: DeploymentCanarySettings -> Constr #

dataTypeOf :: DeploymentCanarySettings -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DeploymentCanarySettings) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeploymentCanarySettings) #

gmapT :: (forall b. Data b => b -> b) -> DeploymentCanarySettings -> DeploymentCanarySettings #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeploymentCanarySettings -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeploymentCanarySettings -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeploymentCanarySettings -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeploymentCanarySettings -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeploymentCanarySettings -> m DeploymentCanarySettings #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeploymentCanarySettings -> m DeploymentCanarySettings #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeploymentCanarySettings -> m DeploymentCanarySettings #

Read DeploymentCanarySettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show DeploymentCanarySettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic DeploymentCanarySettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep DeploymentCanarySettings :: Type -> Type #

Hashable DeploymentCanarySettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

ToJSON DeploymentCanarySettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData DeploymentCanarySettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep DeploymentCanarySettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep DeploymentCanarySettings = D1 (MetaData "DeploymentCanarySettings" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "DeploymentCanarySettings'" PrefixI True) (S1 (MetaSel (Just "_dcsStageVariableOverrides") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text))) :*: (S1 (MetaSel (Just "_dcsUseStageCache") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_dcsPercentTraffic") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Double)))))

deploymentCanarySettings :: DeploymentCanarySettings Source #

Creates a value of DeploymentCanarySettings with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dcsStageVariableOverrides - A stage variable overrides used for the canary release deployment. They can override existing stage variables or add new stage variables for the canary release deployment. These stage variables are represented as a string-to-string map between stage variable names and their values.
  • dcsUseStageCache - A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.
  • dcsPercentTraffic - The percentage (0.0-100.0) of traffic routed to the canary deployment.

dcsStageVariableOverrides :: Lens' DeploymentCanarySettings (HashMap Text Text) Source #

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

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

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

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

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

DocumentationPart

data DocumentationPart Source #

A documentation part for a targeted API entity.

A documentation part consists of a content map (properties ) and a target (location ). The target specifies an API entity to which the documentation content applies. The supported API entity types are API , AUTHORIZER , MODEL , RESOURCE , METHOD , PATH_PARAMETER , QUERY_PARAMETER , REQUEST_HEADER , REQUEST_BODY , RESPONSE , RESPONSE_HEADER , and RESPONSE_BODY . Valid location fields depend on the API entity type. All valid fields are not required.

The content map is a JSON string of API-specific key-value pairs. Although an API can use any shape for the content map, only the Swagger-compliant documentation fields will be injected into the associated API entity definition in the exported Swagger definition file.

Documenting an API , DocumentationParts

See: documentationPart smart constructor.

Instances
Eq DocumentationPart Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Data DocumentationPart Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DocumentationPart -> c DocumentationPart #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DocumentationPart #

toConstr :: DocumentationPart -> Constr #

dataTypeOf :: DocumentationPart -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DocumentationPart) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DocumentationPart) #

gmapT :: (forall b. Data b => b -> b) -> DocumentationPart -> DocumentationPart #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DocumentationPart -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DocumentationPart -> r #

gmapQ :: (forall d. Data d => d -> u) -> DocumentationPart -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DocumentationPart -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DocumentationPart -> m DocumentationPart #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DocumentationPart -> m DocumentationPart #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DocumentationPart -> m DocumentationPart #

Read DocumentationPart Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show DocumentationPart Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic DocumentationPart Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep DocumentationPart :: Type -> Type #

Hashable DocumentationPart Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

FromJSON DocumentationPart Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData DocumentationPart Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: DocumentationPart -> () #

type Rep DocumentationPart Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep DocumentationPart = D1 (MetaData "DocumentationPart" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "DocumentationPart'" PrefixI True) (S1 (MetaSel (Just "_dpLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DocumentationPartLocation)) :*: (S1 (MetaSel (Just "_dpId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dpProperties") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

documentationPart :: DocumentationPart Source #

Creates a value of DocumentationPart with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dpLocation - The location of the API entity to which the documentation applies. Valid fields depend on the targeted API entity type. All the valid location fields are not required. If not explicitly specified, a valid location field is treated as a wildcard and associated documentation content may be inherited by matching entities, unless overridden.
  • dpId - The DocumentationPart identifier, generated by API Gateway when the DocumentationPart is created.
  • dpProperties - A content map of API-specific key-value pairs describing the targeted API entity. The map must be encoded as a JSON string, e.g., "{ "description": "The API does ..." }" . Only Swagger-compliant documentation-related fields from the properties map are exported and, hence, published as part of the API entity definitions, while the original documentation parts are exported in a Swagger extension of x-amazon-apigateway-documentation .

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

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

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

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

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

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

DocumentationPartLocation

data DocumentationPartLocation Source #

Specifies the target API entity to which the documentation applies.

See: documentationPartLocation smart constructor.

Instances
Eq DocumentationPartLocation Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Data DocumentationPartLocation Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DocumentationPartLocation -> c DocumentationPartLocation #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DocumentationPartLocation #

toConstr :: DocumentationPartLocation -> Constr #

dataTypeOf :: DocumentationPartLocation -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DocumentationPartLocation) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DocumentationPartLocation) #

gmapT :: (forall b. Data b => b -> b) -> DocumentationPartLocation -> DocumentationPartLocation #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DocumentationPartLocation -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DocumentationPartLocation -> r #

gmapQ :: (forall d. Data d => d -> u) -> DocumentationPartLocation -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DocumentationPartLocation -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DocumentationPartLocation -> m DocumentationPartLocation #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DocumentationPartLocation -> m DocumentationPartLocation #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DocumentationPartLocation -> m DocumentationPartLocation #

Read DocumentationPartLocation Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show DocumentationPartLocation Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic DocumentationPartLocation Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep DocumentationPartLocation :: Type -> Type #

Hashable DocumentationPartLocation Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

ToJSON DocumentationPartLocation Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

FromJSON DocumentationPartLocation Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData DocumentationPartLocation Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep DocumentationPartLocation Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep DocumentationPartLocation = D1 (MetaData "DocumentationPartLocation" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "DocumentationPartLocation'" PrefixI True) ((S1 (MetaSel (Just "_dplPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dplName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_dplMethod") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_dplStatusCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dplType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 DocumentationPartType)))))

documentationPartLocation Source #

Creates a value of DocumentationPartLocation with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dplPath - The URL path of the target. It is a valid field for the API entity types of RESOURCE , METHOD , PATH_PARAMETER , QUERY_PARAMETER , REQUEST_HEADER , REQUEST_BODY , RESPONSE , RESPONSE_HEADER , and RESPONSE_BODY . The default value is / for the root resource. When an applicable child entity inherits the content of another entity of the same type with more general specifications of the other location attributes, the child entity's path attribute must match that of the parent entity as a prefix.
  • dplName - The name of the targeted API entity. It is a valid and required field for the API entity types of AUTHORIZER , MODEL , PATH_PARAMETER , QUERY_PARAMETER , REQUEST_HEADER , REQUEST_BODY and RESPONSE_HEADER . It is an invalid field for any other entity type.
  • dplMethod - The HTTP verb of a method. It is a valid field for the API entity types of METHOD , PATH_PARAMETER , QUERY_PARAMETER , REQUEST_HEADER , REQUEST_BODY , RESPONSE , RESPONSE_HEADER , and RESPONSE_BODY . The default value is * for any method. When an applicable child entity inherits the content of an entity of the same type with more general specifications of the other location attributes, the child entity's method attribute must match that of the parent entity exactly.
  • dplStatusCode - The HTTP status code of a response. It is a valid field for the API entity types of RESPONSE , RESPONSE_HEADER , and RESPONSE_BODY . The default value is * for any status code. When an applicable child entity inherits the content of an entity of the same type with more general specifications of the other location attributes, the child entity's statusCode attribute must match that of the parent entity exactly.
  • dplType - [Required] The type of API entity to which the documentation content applies. Valid values are API , AUTHORIZER , MODEL , RESOURCE , METHOD , PATH_PARAMETER , QUERY_PARAMETER , REQUEST_HEADER , REQUEST_BODY , RESPONSE , RESPONSE_HEADER , and RESPONSE_BODY . Content inheritance does not apply to any entity of the API , AUTHORIZER , METHOD , MODEL , REQUEST_BODY , or RESOURCE type.

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

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

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

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

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

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

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

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

dplType :: Lens' DocumentationPartLocation DocumentationPartType Source #

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

DocumentationVersion

data DocumentationVersion Source #

A snapshot of the documentation of an API.

Publishing API documentation involves creating a documentation version associated with an API stage and exporting the versioned documentation to an external (e.g., Swagger) file.

Documenting an API , DocumentationPart , DocumentationVersions

See: documentationVersion smart constructor.

Instances
Eq DocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Data DocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DocumentationVersion -> c DocumentationVersion #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DocumentationVersion #

toConstr :: DocumentationVersion -> Constr #

dataTypeOf :: DocumentationVersion -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DocumentationVersion) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DocumentationVersion) #

gmapT :: (forall b. Data b => b -> b) -> DocumentationVersion -> DocumentationVersion #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DocumentationVersion -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DocumentationVersion -> r #

gmapQ :: (forall d. Data d => d -> u) -> DocumentationVersion -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DocumentationVersion -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DocumentationVersion -> m DocumentationVersion #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DocumentationVersion -> m DocumentationVersion #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DocumentationVersion -> m DocumentationVersion #

Read DocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show DocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic DocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep DocumentationVersion :: Type -> Type #

Hashable DocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

FromJSON DocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData DocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: DocumentationVersion -> () #

type Rep DocumentationVersion Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep DocumentationVersion = D1 (MetaData "DocumentationVersion" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "DocumentationVersion'" PrefixI True) (S1 (MetaSel (Just "_dvCreatedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 (MetaSel (Just "_dvVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dvDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

documentationVersion :: DocumentationVersion Source #

Creates a value of DocumentationVersion with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dvCreatedDate - The date when the API documentation snapshot is created.
  • dvVersion - The version identifier of the API documentation snapshot.
  • dvDescription - The description of the API documentation snapshot.

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

The date when the API documentation snapshot is created.

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

The version identifier of the API documentation snapshot.

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

The description of the API documentation snapshot.

DomainName

data DomainName Source #

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

When you deploy an API, API Gateway creates a default host name for the API. This default API host name is of the {restapi-id}.execute-api.{region}.amazonaws.com format. With the default host name, you can access the API's root resource with the URL of https://{restapi-id}.execute-api.{region}.amazonaws.com/{stage}/ . When you set up a custom domain name of apis.example.com for this API, you can then access the same resource using the URL of the https://apis.examples.com/myApi , where myApi is the base path mapping (BasePathMapping ) of your API under the custom domain name.

Set a Custom Host Name for an API

See: domainName smart constructor.

Instances
Eq DomainName Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Data DomainName Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DomainName -> c DomainName #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DomainName #

toConstr :: DomainName -> Constr #

dataTypeOf :: DomainName -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DomainName) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DomainName) #

gmapT :: (forall b. Data b => b -> b) -> DomainName -> DomainName #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DomainName -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DomainName -> r #

gmapQ :: (forall d. Data d => d -> u) -> DomainName -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DomainName -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DomainName -> m DomainName #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DomainName -> m DomainName #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DomainName -> m DomainName #

Read DomainName Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show DomainName Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic DomainName Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep DomainName :: Type -> Type #

Hashable DomainName Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

FromJSON DomainName Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData DomainName Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: DomainName -> () #

type Rep DomainName Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep DomainName = D1 (MetaData "DomainName" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "DomainName'" PrefixI True) (((S1 (MetaSel (Just "_dnRegionalHostedZoneId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dnCertificateName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_dnRegionalCertificateARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_dnCertificateARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dnDistributionHostedZoneId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_dnDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_dnRegionalCertificateName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dnRegionalDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_dnCertificateUploadDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 (MetaSel (Just "_dnDistributionDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dnEndpointConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EndpointConfiguration)))))))

domainName :: DomainName Source #

Creates a value of DomainName with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

EndpointConfiguration

data EndpointConfiguration Source #

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

See: endpointConfiguration smart constructor.

Instances
Eq EndpointConfiguration Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Data EndpointConfiguration Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EndpointConfiguration -> c EndpointConfiguration #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EndpointConfiguration #

toConstr :: EndpointConfiguration -> Constr #

dataTypeOf :: EndpointConfiguration -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EndpointConfiguration) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EndpointConfiguration) #

gmapT :: (forall b. Data b => b -> b) -> EndpointConfiguration -> EndpointConfiguration #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EndpointConfiguration -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EndpointConfiguration -> r #

gmapQ :: (forall d. Data d => d -> u) -> EndpointConfiguration -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EndpointConfiguration -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EndpointConfiguration -> m EndpointConfiguration #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EndpointConfiguration -> m EndpointConfiguration #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EndpointConfiguration -> m EndpointConfiguration #

Read EndpointConfiguration Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show EndpointConfiguration Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic EndpointConfiguration Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep EndpointConfiguration :: Type -> Type #

Hashable EndpointConfiguration Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

ToJSON EndpointConfiguration Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

FromJSON EndpointConfiguration Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData EndpointConfiguration Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: EndpointConfiguration -> () #

type Rep EndpointConfiguration Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep EndpointConfiguration = D1 (MetaData "EndpointConfiguration" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" True) (C1 (MetaCons "EndpointConfiguration'" PrefixI True) (S1 (MetaSel (Just "_ecTypes") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [EndpointType]))))

endpointConfiguration :: EndpointConfiguration Source #

Creates a value of EndpointConfiguration with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

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

ecTypes :: Lens' EndpointConfiguration [EndpointType] Source #

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

GatewayResponse

data GatewayResponse Source #

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

For more information about valid gateway response types, see Gateway Response Types Supported by API Gateway Example: Get a Gateway Response of a given response type Request This example shows how to get a gateway response of the MISSING_AUTHENTICATION_TOKEN type.

@GET restapiso81lxiseflgatewayresponsesMISSING_AUTHENTICATION_TOKEN HTTP1.1 Host: beta-apigateway.us-east-1.amazonaws.com Content-Type: applicationjson X-Amz-Date: 20170503T202516Z Authorization: AWS4-HMAC-SHA256 Credential={access-key-id}20170503us-east-1apigatewayaws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=1b52460e3159c1a26cff29093855d50ea141c1c5b937528fecaf60f51129697a Cache-Control: no-cache Postman-Token: 3b2a1ce9-c848-2e26-2e2f-9c2caefbed45 @ The response type is specified as a URL path.

Response The successful operation returns the 200 OK status code and a payload similar to the following:

@{ "_links": { "curies": { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-gatewayresponse-{rel}.html", "name": "gatewayresponse", "templated": true }, "self": { "href": "restapiso81lxiseflgatewayresponsesMISSING_AUTHENTICATION_TOKEN" }, "gatewayresponse:delete": { "href": "restapiso81lxiseflgatewayresponsesMISSING_AUTHENTICATION_TOKEN" }, "gatewayresponse:put": { "href": "restapiso81lxiseflgatewayresponses{response_type}", "templated": true }, "gatewayresponse:update": { "href": "restapiso81lxiseflgatewayresponsesMISSING_AUTHENTICATION_TOKEN" } }, "defaultResponse": false, "responseParameters": { "gatewayresponse.header.x-request-path": "method.request.path.petId", "gatewayresponse.header.Access-Control-Allow-Origin": "'a.b.c'", "gatewayresponse.header.x-request-query": "method.request.querystring.q", "gatewayresponse.header.x-request-header": "method.request.header.Accept" }, "responseTemplates": { "application/json": "{n "message": $context.error.messageString,n "type": "$context.error.responseType",n "stage": "$context.stage",n "resourcePath": "$context.resourcePath",n "stageVariables.a": "$stageVariables.a",n "statusCode": "'404'"n}" }, "responseType": MISSING_AUTHENTICATION_TOKEN, "statusCode": "404" } @

Customize Gateway Responses

See: gatewayResponse smart constructor.

Instances
Eq GatewayResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Data GatewayResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GatewayResponse -> c GatewayResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GatewayResponse #

toConstr :: GatewayResponse -> Constr #

dataTypeOf :: GatewayResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GatewayResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GatewayResponse) #

gmapT :: (forall b. Data b => b -> b) -> GatewayResponse -> GatewayResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GatewayResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GatewayResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GatewayResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GatewayResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GatewayResponse -> m GatewayResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GatewayResponse -> m GatewayResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GatewayResponse -> m GatewayResponse #

Read GatewayResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show GatewayResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic GatewayResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep GatewayResponse :: Type -> Type #

Hashable GatewayResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

FromJSON GatewayResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData GatewayResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: GatewayResponse -> () #

type Rep GatewayResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep GatewayResponse = D1 (MetaData "GatewayResponse" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "GatewayResponse'" PrefixI True) ((S1 (MetaSel (Just "_gDefaultResponse") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_gResponseTemplates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text)))) :*: (S1 (MetaSel (Just "_gResponseType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GatewayResponseType)) :*: (S1 (MetaSel (Just "_gStatusCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gResponseParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text)))))))

gatewayResponse :: GatewayResponse Source #

Creates a value of GatewayResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • gDefaultResponse - A Boolean flag to indicate whether this GatewayResponse is the default gateway response (true ) or not (false ). A default gateway response is one generated by API Gateway without any customization by an API developer.
  • gResponseTemplates - Response templates of the GatewayResponse as a string-to-string map of key-value pairs.
  • gResponseType - The response type of the associated GatewayResponse . Valid values are * ACCESS_DENIED * API_CONFIGURATION_ERROR * AUTHORIZER_FAILURE * AUTHORIZER_CONFIGURATION_ERROR * BAD_REQUEST_PARAMETERS * BAD_REQUEST_BODY * DEFAULT_4XX * DEFAULT_5XX * EXPIRED_TOKEN * INVALID_SIGNATURE * INTEGRATION_FAILURE * INTEGRATION_TIMEOUT * INVALID_API_KEY * MISSING_AUTHENTICATION_TOKEN * QUOTA_EXCEEDED * REQUEST_TOO_LARGE * RESOURCE_NOT_FOUND * THROTTLED * UNAUTHORIZED * UNSUPPORTED_MEDIA_TYPE
  • gStatusCode - The HTTP status code for this GatewayResponse .
  • gResponseParameters - Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.

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

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

gResponseTemplates :: Lens' GatewayResponse (HashMap Text Text) Source #

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

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

The response type of the associated GatewayResponse . Valid values are * ACCESS_DENIED * API_CONFIGURATION_ERROR * AUTHORIZER_FAILURE * AUTHORIZER_CONFIGURATION_ERROR * BAD_REQUEST_PARAMETERS * BAD_REQUEST_BODY * DEFAULT_4XX * DEFAULT_5XX * EXPIRED_TOKEN * INVALID_SIGNATURE * INTEGRATION_FAILURE * INTEGRATION_TIMEOUT * INVALID_API_KEY * MISSING_AUTHENTICATION_TOKEN * QUOTA_EXCEEDED * REQUEST_TOO_LARGE * RESOURCE_NOT_FOUND * THROTTLED * UNAUTHORIZED * UNSUPPORTED_MEDIA_TYPE

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

The HTTP status code for this GatewayResponse .

gResponseParameters :: Lens' GatewayResponse (HashMap Text Text) Source #

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

Integration

data Integration Source #

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

In the API Gateway console, the built-in Lambda integration is an AWS integration.Creating an API

See: integration smart constructor.

Instances
Eq Integration Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Data Integration Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Integration -> c Integration #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Integration #

toConstr :: Integration -> Constr #

dataTypeOf :: Integration -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Integration) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Integration) #

gmapT :: (forall b. Data b => b -> b) -> Integration -> Integration #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Integration -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Integration -> r #

gmapQ :: (forall d. Data d => d -> u) -> Integration -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Integration -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Integration -> m Integration #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Integration -> m Integration #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Integration -> m Integration #

Read Integration Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show Integration Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic Integration Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep Integration :: Type -> Type #

Hashable Integration Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

FromJSON Integration Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData Integration Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: Integration -> () #

type Rep Integration Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep Integration = D1 (MetaData "Integration" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "Integration'" PrefixI True) (((S1 (MetaSel (Just "_iHttpMethod") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_iRequestTemplates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text))) :*: S1 (MetaSel (Just "_iCredentials") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_iConnectionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_iRequestParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text)))) :*: (S1 (MetaSel (Just "_iContentHandling") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ContentHandlingStrategy)) :*: S1 (MetaSel (Just "_iPassthroughBehavior") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_iUri") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_iIntegrationResponses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text IntegrationResponse))) :*: S1 (MetaSel (Just "_iCacheNamespace") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_iTimeoutInMillis") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_iType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe IntegrationType))) :*: (S1 (MetaSel (Just "_iConnectionType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ConnectionType)) :*: S1 (MetaSel (Just "_iCacheKeyParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))))))

integration :: Integration Source #

Creates a value of Integration with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • iHttpMethod - Specifies the integration's HTTP method type.
  • iRequestTemplates - 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.
  • iCredentials - 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.
  • iConnectionId - The (@id@ ) of the VpcLink used for the integration when connectionType=VPC_LINK and undefined, otherwise.
  • iRequestParameters - A key-value map specifying request parameters that are passed from the method request to the back end. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the back end. The method request parameter value must match the pattern of method.request.{location}.{name} , where location is querystring , path , or header and name must be a valid and unique method request parameter name.
  • iContentHandling - Specifies how to handle request payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT , with the following behaviors: * CONVERT_TO_BINARY : Converts a request payload from a Base64-encoded string to the corresponding binary blob. * CONVERT_TO_TEXT : Converts a request payload from a binary blob to a Base64-encoded string. If this property is not defined, the request payload will be passed through from the method request to integration request without modification, provided that the passthroughBehaviors is configured to support payload pass-through.
  • iPassthroughBehavior - Specifies how the method request body of an unmapped content type will be passed through the integration request to the back end without transformation. A content type is unmapped if no mapping template is defined in the integration or the content type does not match any of the mapped content types, as specified in requestTemplates . The valid value is one of the following: * WHEN_NO_MATCH : passes the method request body through the integration request to the back end without transformation when the method request content type does not match any content type associated with the mapping templates defined in the integration request. * WHEN_NO_TEMPLATES : passes the method request body through the integration request to the back end without transformation when no mapping template is defined in the integration request. If a template is defined when this option is selected, the method request of an unmapped content-type will be rejected with an HTTP 415 Unsupported Media Type response. * NEVER : rejects the method request with an HTTP 415 Unsupported Media Type response when either the method request content type does not match any content type associated with the mapping templates defined in the integration request or no mapping template is defined in the integration request.
  • iUri - Specifies Uniform Resource Identifier (URI) of the integration endpoint. * For HTTP or HTTP_PROXY integrations, the URI must be a fully formed, encoded HTTP(S) URL according to the RFC-3986 specification , for either standard integration, where connectionType is not VPC_LINK , or private integration, where connectionType is VPC_LINK . For a private HTTP integration, the URI is not used for routing. * For AWS or AWS_PROXY integrations, the URI is of the form arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api} . Here, {Region} is the API Gateway region (e.g., us-east-1 ); {service} is the name of the integrated AWS service (e.g., s3 ); and {subdomain} is a designated subdomain supported by certain AWS service for fast host-name lookup. action can be used for an AWS service action-based API, using an Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing {service_api} refers to a supported action {name} plus any required input parameters. Alternatively, path can be used for an AWS service path-based API. The ensuing service_api refers to the path to an AWS service resource, including the region of the integrated AWS service, if applicable. For example, for integration with the S3 API of GetObject , the uri can be either arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key} or arn:aws:apigateway:us-west-2:s3:path{bucket}{key}
  • iIntegrationResponses - Specifies the integration's responses. Example: Get integration responses of a method Request @GET restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegrationresponses200 HTTP1.1 Content-Type: applicationjson Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160607T191449Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}20160607us-east-1apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} Response The successful response returns 200 OK status and a payload as follows: { "_links": { "curies": { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true }, "self": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegrationresponses200", "title": "200" }, "integrationresponse:delete": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegrationresponses200" }, "integrationresponse:update": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegrationresponses200" } }, "responseParameters": { "method.response.header.Content-Type": "'applicationxml'" }, "responseTemplates": { "applicationjson": "$util.urlDecode("%3CkinesisStreams%3E#foreach($stream in $input.path('$.StreamNames'))%3Cstream%3E%3Cname%3E$stream%3Cname%3E%3Cstream%3E#end%3CkinesisStreams%3E")n" }, "statusCode": "200" } @ Creating an API
  • iCacheNamespace - Specifies the integration's cache namespace.
  • iTimeoutInMillis - Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds.
  • iType - Specifies an API method integration type. The valid value is one of the following: * AWS : for integrating the API 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. * AWS_PROXY : for integrating the API method request with the Lambda function-invoking action with the client request passed through as-is. This integration is also referred to as the Lambda proxy integration. * HTTP : for integrating the API method request with an HTTP endpoint, including a private HTTP endpoint within a VPC. This integration is also referred to as the HTTP custom integration. * HTTP_PROXY : for integrating the API method request with an HTTP endpoint, including a private HTTP endpoint within a VPC, with the client request passed through as-is. This is also referred to as the HTTP proxy integration. * MOCK : for integrating the API method request with API Gateway as a "loop-back" endpoint without invoking any backend. For the HTTP and HTTP proxy integrations, each integration can specify a protocol (http/https ), port and path. Standard 80 and 443 ports are supported as well as custom ports above 1024. An HTTP or HTTP proxy integration with a connectionType of VPC_LINK is referred to as a private integration and uses a VpcLink to connect API Gateway to a network load balancer of a VPC.
  • iConnectionType - The type of the network connection to the integration endpoint. The valid value is INTERNET for connections through the public routable internet or VPC_LINK for private connections between API Gateway and a network load balancer in a VPC. The default value is INTERNET .
  • iCacheKeyParameters - Specifies the integration's cache key parameters.

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

Specifies the integration's HTTP method type.

iRequestTemplates :: Lens' Integration (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.

iCredentials :: 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.

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

The (@id@ ) of the VpcLink used for the integration when connectionType=VPC_LINK and undefined, otherwise.

iRequestParameters :: Lens' Integration (HashMap Text Text) Source #

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

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

Specifies how to handle request payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT , with the following behaviors: * CONVERT_TO_BINARY : Converts a request payload from a Base64-encoded string to the corresponding binary blob. * CONVERT_TO_TEXT : Converts a request payload from a binary blob to a Base64-encoded string. If this property is not defined, the request payload will be passed through from the method request to integration request without modification, provided that the passthroughBehaviors is configured to support payload pass-through.

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

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

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

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

iIntegrationResponses :: Lens' Integration (HashMap Text IntegrationResponse) Source #

Specifies the integration's responses. Example: Get integration responses of a method Request @GET restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegrationresponses200 HTTP1.1 Content-Type: applicationjson Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160607T191449Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}20160607us-east-1apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} Response The successful response returns 200 OK status and a payload as follows: { "_links": { "curies": { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true }, "self": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegrationresponses200", "title": "200" }, "integrationresponse:delete": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegrationresponses200" }, "integrationresponse:update": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegrationresponses200" } }, "responseParameters": { "method.response.header.Content-Type": "'applicationxml'" }, "responseTemplates": { "applicationjson": "$util.urlDecode("%3CkinesisStreams%3E#foreach($stream in $input.path('$.StreamNames'))%3Cstream%3E%3Cname%3E$stream%3Cname%3E%3Cstream%3E#end%3CkinesisStreams%3E")n" }, "statusCode": "200" } @ Creating an API

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

Specifies the integration's cache namespace.

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

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

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

Specifies an API method integration type. The valid value is one of the following: * AWS : for integrating the API 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. * AWS_PROXY : for integrating the API method request with the Lambda function-invoking action with the client request passed through as-is. This integration is also referred to as the Lambda proxy integration. * HTTP : for integrating the API method request with an HTTP endpoint, including a private HTTP endpoint within a VPC. This integration is also referred to as the HTTP custom integration. * HTTP_PROXY : for integrating the API method request with an HTTP endpoint, including a private HTTP endpoint within a VPC, with the client request passed through as-is. This is also referred to as the HTTP proxy integration. * MOCK : for integrating the API method request with API Gateway as a "loop-back" endpoint without invoking any backend. For the HTTP and HTTP proxy integrations, each integration can specify a protocol (http/https ), port and path. Standard 80 and 443 ports are supported as well as custom ports above 1024. An HTTP or HTTP proxy integration with a connectionType of VPC_LINK is referred to as a private integration and uses a VpcLink to connect API Gateway to a network load balancer of a VPC.

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

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

iCacheKeyParameters :: Lens' Integration [Text] Source #

Specifies the integration's cache key parameters.

IntegrationResponse

data IntegrationResponse Source #

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

Creating an API

See: integrationResponse smart constructor.

Instances
Eq IntegrationResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Data IntegrationResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> IntegrationResponse -> c IntegrationResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c IntegrationResponse #

toConstr :: IntegrationResponse -> Constr #

dataTypeOf :: IntegrationResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c IntegrationResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c IntegrationResponse) #

gmapT :: (forall b. Data b => b -> b) -> IntegrationResponse -> IntegrationResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> IntegrationResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> IntegrationResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> IntegrationResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> IntegrationResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> IntegrationResponse -> m IntegrationResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> IntegrationResponse -> m IntegrationResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> IntegrationResponse -> m IntegrationResponse #

Read IntegrationResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show IntegrationResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic IntegrationResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep IntegrationResponse :: Type -> Type #

Hashable IntegrationResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

FromJSON IntegrationResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData IntegrationResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: IntegrationResponse -> () #

type Rep IntegrationResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep IntegrationResponse = D1 (MetaData "IntegrationResponse" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "IntegrationResponse'" PrefixI True) ((S1 (MetaSel (Just "_intContentHandling") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ContentHandlingStrategy)) :*: S1 (MetaSel (Just "_intResponseTemplates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text)))) :*: (S1 (MetaSel (Just "_intSelectionPattern") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_intStatusCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_intResponseParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text)))))))

integrationResponse :: IntegrationResponse Source #

Creates a value of IntegrationResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • intContentHandling - 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 method response without modification.
  • intResponseTemplates - Specifies the templates used to transform the integration response body. Response templates are represented as a key/value map, with a content-type as the key and a template as the value.
  • intSelectionPattern - Specifies the regular expression (regex) pattern used to choose an integration response based on the response from the back end. For example, if the success response returns nothing and the error response returns some string, you could use the .+ regex to match error response. However, make sure that the error response does not contain any newline (n ) character in such cases. If the back end is an AWS Lambda function, the AWS Lambda function error header is matched. For all other HTTP and AWS back ends, the HTTP status code is matched.
  • intStatusCode - Specifies the status code that is used to map the integration response to an existing MethodResponse .
  • intResponseParameters - A key-value map specifying response parameters that are passed to the method response from the back end. The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of method.response.header.{name} , where name is a valid and unique header name. The mapped non-static value must match the pattern of integration.response.header.{name} or integration.response.body.{JSON-expression} , where name is a valid and unique response header name and JSON-expression is a valid JSON expression without the > prefix.

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

Specifies how to handle response payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT , with the following behaviors: * 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 method response without modification.

intResponseTemplates :: Lens' IntegrationResponse (HashMap Text Text) Source #

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

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

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

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

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

intResponseParameters :: Lens' IntegrationResponse (HashMap Text Text) Source #

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

Method

data Method Source #

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

Example: Retrive the GET method on a specified resource Request The following example request retrieves the information about the GET method on an API resource (3kzxbg5sa2 ) of an API (fugvjdxtri ).

@GET restapisfugvjdxtriresources3kzxbg5sa2methodsGET HTTP1.1 Content-Type: applicationjson Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160603T210259Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}20160603us-east-1apigatewayaws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} Response The successful response returns a 200 OK@ status code and a payload similar to the following:

@{ "_links": { "curies": [ { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", "name": "integration", "templated": true }, { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true }, { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html", "name": "method", "templated": true }, { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true } ], "self": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGET", "name": GET, "title": GET }, "integration:put": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegration" }, "method:delete": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGET" }, "method:integration": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegration" }, "method:responses": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETresponses200", "name": "200", "title": "200" }, "method:update": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGET" }, "methodresponse:put": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETresponses{status_code}", "templated": true } }, "apiKeyRequired": true, "authorizationType": NONE, "httpMethod": GET, "_embedded": { "method:integration": { "_links": { "self": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegration" }, "integration:delete": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegration" }, "integration:responses": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegrationresponses200", "name": "200", "title": "200" }, "integration:update": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegration" }, "integrationresponse:put": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegrationresponses{status_code}", "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "3kzxbg5sa2", "credentials": "arn:aws:iam::123456789012:roleapigAwsProxyRole", "httpMethod": POST, "passthroughBehavior": WHEN_NO_MATCH, "requestParameters": { "integration.request.header.Content-Type": "'application/x-amz-json-1.1'" }, "requestTemplates": { "applicationjson": "{n}" }, "type": AWS, "uri": "arn:aws:apigateway:us-east-1:kinesis:actionListStreams", "_embedded": { "integration:responses": { "_links": { "self": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegrationresponses200", "name": "200", "title": "200" }, "integrationresponse:delete": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegrationresponses200" }, "integrationresponse:update": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegrationresponses200" } }, "responseParameters": { "method.response.header.Content-Type": "'applicationxml'" }, "responseTemplates": { "applicationjson": "$util.urlDecode("%3CkinesisStreams%3E%23foreach(%24stream%20in%20%24input.path(%27%24.StreamNames%27))%3Cstream%3E%3Cname%3E%24stream%3C%2Fname%3E%3C%2Fstream%3E%23end%3C%2FkinesisStreams%3E")" }, "statusCode": "200" } } }, "method:responses": { "_links": { "self": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETresponses200", "name": "200", "title": "200" }, "methodresponse:delete": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETresponses200" }, "methodresponse:update": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETresponses200" } }, "responseModels": { "applicationjson": Empty }, "responseParameters": { "method.response.header.Content-Type": false }, "statusCode": "200" } } } In the example above, the response template for the 200 OK response maps the JSON output from the ListStreams action in the back end to an XML output. The mapping template is URL-encoded as %3CkinesisStreams%3E%23foreach(%24stream%20in%20%24input.path(%27%24.StreamNames%27))%3Cstream%3E%3Cname%3E%24stream%3C%2Fname%3E%3C%2Fstream%3E%23end%3C%2FkinesisStreams%3E@ and the output is decoded using the http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html#util-templat-reference util.urlDecode()> helper function.

MethodResponse , Integration , IntegrationResponse , Resource , Set up an API's method

See: method smart constructor.

Instances
Eq Method Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

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

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

Data Method Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Method -> c Method #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Method #

toConstr :: Method -> Constr #

dataTypeOf :: Method -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Method) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Method) #

gmapT :: (forall b. Data b => b -> b) -> Method -> Method #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Method -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Method -> r #

gmapQ :: (forall d. Data d => d -> u) -> Method -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Method -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Method -> m Method #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Method -> m Method #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Method -> m Method #

Read Method Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show Method Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic Method Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep Method :: Type -> Type #

Methods

from :: Method -> Rep Method x #

to :: Rep Method x -> Method #

Hashable Method Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

hashWithSalt :: Int -> Method -> Int #

hash :: Method -> Int #

FromJSON Method Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData Method Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: Method -> () #

type Rep Method Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

method :: Method Source #

Creates a value of Method with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • mMethodResponses - Gets a method response associated with a given HTTP status code. The collection of method responses are encapsulated in a key-value map, where the key is a response's HTTP status code and the value is a MethodResponse resource that specifies the response returned to the caller from the back end through the integration response. Example: Get a 200 OK response of a GET method Request @GET restapisuojnr9hd57resources0cjtchmethodsGETresponses200 HTTP1.1 Content-Type: applicationjson Host: apigateway.us-east-1.amazonaws.com Content-Length: 117 X-Amz-Date: 20160613T215008Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}20160613us-east-1apigatewayaws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} Response The successful response returns a 200 OK status code and a payload similar to the following: { "_links": { "curies": { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true }, "self": { "href": "restapisuojnr9hd57resources0cjtchmethodsGETresponses200", "title": "200" }, "methodresponse:delete": { "href": "restapisuojnr9hd57resources0cjtchmethodsGETresponses200" }, "methodresponse:update": { "href": "restapisuojnr9hd57resources0cjtchmethodsGETresponses200" } }, "responseModels": { "application/json": Empty }, "responseParameters": { "method.response.header.operator": false, "method.response.header.operand_2": false, "method.response.header.operand_1": false }, "statusCode": "200" } @ AWS CLI
  • mHttpMethod - The method's HTTP verb.
  • mAuthorizationScopes - A list of authorization scopes configured on the method. The scopes are used with a COGNITO_USER_POOLS authorizer to authorize the method invocation. The authorization works by matching the method scopes against the scopes parsed from the access token in the incoming request. The method invocation is authorized if any method scopes matches a claimed scope in the access token. Otherwise, the invocation is not authorized. When the method scope is configured, the client must provide an access token instead of an identity token for authorization purposes.
  • mRequestValidatorId - The identifier of a RequestValidator for request validation.
  • mRequestModels - A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key).
  • mRequestParameters - A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of method.request.{location}.{name} , where location is querystring , path , or header and name is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (true ) or optional (false ). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates.
  • mAuthorizerId - The identifier of an Authorizer to use on this method. The authorizationType must be CUSTOM .
  • mOperationName - A human-friendly operation identifier for the method. For example, you can assign the operationName of ListPets for the GET /pets method in PetStore example.
  • mAuthorizationType - The method's authorization type. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS for using a Cognito user pool.
  • mApiKeyRequired - A boolean flag specifying whether a valid ApiKey is required to invoke this method.
  • mMethodIntegration - Gets the method's integration responsible for passing the client-submitted request to the back end and performing necessary transformations to make the request compliant with the back end. Example: Request @GET restapisuojnr9hd57resources0cjtchmethodsGETintegration HTTP1.1 Content-Type: applicationjson Host: apigateway.us-east-1.amazonaws.com Content-Length: 117 X-Amz-Date: 20160613T213210Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}20160613us-east-1apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} Response The successful response returns a 200 OK status code and a payload similar to the following: { "_links": { "curies": [ { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", "name": "integration", "templated": true }, { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true } ], "self": { "href": "restapisuojnr9hd57resources0cjtchmethodsGETintegration" }, "integration:delete": { "href": "restapisuojnr9hd57resources0cjtchmethodsGETintegration" }, "integration:responses": { "href": "restapisuojnr9hd57resources0cjtchmethodsGETintegrationresponses200", "name": "200", "title": "200" }, "integration:update": { "href": "restapisuojnr9hd57resources0cjtchmethodsGETintegration" }, "integrationresponse:put": { "href": "restapisuojnr9hd57resources0cjtchmethodsGETintegrationresponses{status_code}", "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "0cjtch", "credentials": "arn:aws:iam::123456789012:roleapigAwsProxyRole", "httpMethod": POST, "passthroughBehavior": WHEN_NO_MATCH, "requestTemplates": { "applicationjson": "{n "a": "$input.params(operand1)",n "b": "$input.params(operand2)", n "op": "$input.params(operator)" n}" }, "type": AWS, "uri": "arn:aws:apigateway:us-west-2:lambda:path2015-03-31functionsarn:aws:lambda:us-west-2:123456789012:function:Calcinvocations", "_embedded": { "integration:responses": { "_links": { "self": { "href": "restapisuojnr9hd57resources0cjtchmethodsGETintegrationresponses200", "name": "200", "title": "200" }, "integrationresponse:delete": { "href": "restapisuojnr9hd57resources0cjtchmethodsGETintegrationresponses200" }, "integrationresponse:update": { "href": "restapisuojnr9hd57resources0cjtchmethodsGETintegrationresponses200" } }, "responseParameters": { "method.response.header.operator": "integration.response.body.op", "method.response.header.operand_2": "integration.response.body.b", "method.response.header.operand_1": "integration.response.body.a" }, "responseTemplates": { "applicationjson": "#set($res = $input.path($))n{n "result": "$res.a, $res.b, $res.op => $res.c",n "a" : "$res.a",n "b" : "$res.b",n "op" : "$res.op",n "c" : "$res.c"n}" }, "selectionPattern": "", "statusCode": "200" } } } @ AWS CLI

mMethodResponses :: Lens' Method (HashMap Text MethodResponse) Source #

Gets a method response associated with a given HTTP status code. The collection of method responses are encapsulated in a key-value map, where the key is a response's HTTP status code and the value is a MethodResponse resource that specifies the response returned to the caller from the back end through the integration response. Example: Get a 200 OK response of a GET method Request @GET restapisuojnr9hd57resources0cjtchmethodsGETresponses200 HTTP1.1 Content-Type: applicationjson Host: apigateway.us-east-1.amazonaws.com Content-Length: 117 X-Amz-Date: 20160613T215008Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}20160613us-east-1apigatewayaws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} Response The successful response returns a 200 OK status code and a payload similar to the following: { "_links": { "curies": { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true }, "self": { "href": "restapisuojnr9hd57resources0cjtchmethodsGETresponses200", "title": "200" }, "methodresponse:delete": { "href": "restapisuojnr9hd57resources0cjtchmethodsGETresponses200" }, "methodresponse:update": { "href": "restapisuojnr9hd57resources0cjtchmethodsGETresponses200" } }, "responseModels": { "application/json": Empty }, "responseParameters": { "method.response.header.operator": false, "method.response.header.operand_2": false, "method.response.header.operand_1": false }, "statusCode": "200" } @ AWS CLI

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

The method's HTTP verb.

mAuthorizationScopes :: Lens' Method [Text] Source #

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

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

The identifier of a RequestValidator for request validation.

mRequestModels :: Lens' Method (HashMap Text Text) Source #

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

mRequestParameters :: Lens' Method (HashMap Text Bool) Source #

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

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

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

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

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

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

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

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

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

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

Gets the method's integration responsible for passing the client-submitted request to the back end and performing necessary transformations to make the request compliant with the back end. Example: Request @GET restapisuojnr9hd57resources0cjtchmethodsGETintegration HTTP1.1 Content-Type: applicationjson Host: apigateway.us-east-1.amazonaws.com Content-Length: 117 X-Amz-Date: 20160613T213210Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}20160613us-east-1apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} Response The successful response returns a 200 OK status code and a payload similar to the following: { "_links": { "curies": [ { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", "name": "integration", "templated": true }, { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true } ], "self": { "href": "restapisuojnr9hd57resources0cjtchmethodsGETintegration" }, "integration:delete": { "href": "restapisuojnr9hd57resources0cjtchmethodsGETintegration" }, "integration:responses": { "href": "restapisuojnr9hd57resources0cjtchmethodsGETintegrationresponses200", "name": "200", "title": "200" }, "integration:update": { "href": "restapisuojnr9hd57resources0cjtchmethodsGETintegration" }, "integrationresponse:put": { "href": "restapisuojnr9hd57resources0cjtchmethodsGETintegrationresponses{status_code}", "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "0cjtch", "credentials": "arn:aws:iam::123456789012:roleapigAwsProxyRole", "httpMethod": POST, "passthroughBehavior": WHEN_NO_MATCH, "requestTemplates": { "applicationjson": "{n "a": "$input.params(operand1)",n "b": "$input.params(operand2)", n "op": "$input.params(operator)" n}" }, "type": AWS, "uri": "arn:aws:apigateway:us-west-2:lambda:path2015-03-31functionsarn:aws:lambda:us-west-2:123456789012:function:Calcinvocations", "_embedded": { "integration:responses": { "_links": { "self": { "href": "restapisuojnr9hd57resources0cjtchmethodsGETintegrationresponses200", "name": "200", "title": "200" }, "integrationresponse:delete": { "href": "restapisuojnr9hd57resources0cjtchmethodsGETintegrationresponses200" }, "integrationresponse:update": { "href": "restapisuojnr9hd57resources0cjtchmethodsGETintegrationresponses200" } }, "responseParameters": { "method.response.header.operator": "integration.response.body.op", "method.response.header.operand_2": "integration.response.body.b", "method.response.header.operand_1": "integration.response.body.a" }, "responseTemplates": { "applicationjson": "#set($res = $input.path($))n{n "result": "$res.a, $res.b, $res.op => $res.c",n "a" : "$res.a",n "b" : "$res.b",n "op" : "$res.op",n "c" : "$res.c"n}" }, "selectionPattern": "", "statusCode": "200" } } } @ AWS CLI

MethodResponse

data MethodResponse Source #

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

Example: A MethodResponse instance of an API Request The example request retrieves a MethodResponse of the 200 status code.

@GET restapisfugvjdxtriresources3kzxbg5sa2methodsGETresponses200 HTTP1.1 Content-Type: applicationjson Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160603T222952Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}20160603us-east-1apigatewayaws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} Response The successful response returns 200 OK@ status and a payload as follows:

@{ "_links": { "curies": { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true }, "self": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETresponses200", "title": "200" }, "methodresponse:delete": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETresponses200" }, "methodresponse:update": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETresponses200" } }, "responseModels": { "application/json": Empty }, "responseParameters": { "method.response.header.Content-Type": false }, "statusCode": "200" } @

Method , IntegrationResponse , Integration Creating an API

See: methodResponse smart constructor.

Instances
Eq MethodResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Data MethodResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MethodResponse -> c MethodResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MethodResponse #

toConstr :: MethodResponse -> Constr #

dataTypeOf :: MethodResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MethodResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MethodResponse) #

gmapT :: (forall b. Data b => b -> b) -> MethodResponse -> MethodResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MethodResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MethodResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> MethodResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MethodResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MethodResponse -> m MethodResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MethodResponse -> m MethodResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MethodResponse -> m MethodResponse #

Read MethodResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show MethodResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic MethodResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep MethodResponse :: Type -> Type #

Hashable MethodResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

FromJSON MethodResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData MethodResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: MethodResponse -> () #

type Rep MethodResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep MethodResponse = D1 (MetaData "MethodResponse" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "MethodResponse'" PrefixI True) (S1 (MetaSel (Just "_mResponseModels") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text))) :*: (S1 (MetaSel (Just "_mStatusCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_mResponseParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Bool))))))

methodResponse :: MethodResponse Source #

Creates a value of MethodResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

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

mResponseModels :: Lens' MethodResponse (HashMap Text Text) Source #

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

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

The method response's status code.

mResponseParameters :: Lens' MethodResponse (HashMap Text Bool) Source #

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

MethodSetting

data MethodSetting Source #

Specifies the method setting properties.

See: methodSetting smart constructor.

Instances
Eq MethodSetting Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Data MethodSetting Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MethodSetting -> c MethodSetting #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MethodSetting #

toConstr :: MethodSetting -> Constr #

dataTypeOf :: MethodSetting -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MethodSetting) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MethodSetting) #

gmapT :: (forall b. Data b => b -> b) -> MethodSetting -> MethodSetting #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MethodSetting -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MethodSetting -> r #

gmapQ :: (forall d. Data d => d -> u) -> MethodSetting -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MethodSetting -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MethodSetting -> m MethodSetting #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MethodSetting -> m MethodSetting #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MethodSetting -> m MethodSetting #

Read MethodSetting Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show MethodSetting Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic MethodSetting Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep MethodSetting :: Type -> Type #

Hashable MethodSetting Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

FromJSON MethodSetting Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData MethodSetting Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: MethodSetting -> () #

type Rep MethodSetting Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep MethodSetting = D1 (MetaData "MethodSetting" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "MethodSetting'" PrefixI True) (((S1 (MetaSel (Just "_msCacheTtlInSeconds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_msDataTraceEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_msThrottlingBurstLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 (MetaSel (Just "_msCacheDataEncrypted") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_msLoggingLevel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_msRequireAuthorizationForCacheControl") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_msCachingEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_msMetricsEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_msThrottlingRateLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Double)) :*: S1 (MetaSel (Just "_msUnauthorizedCacheControlHeaderStrategy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe UnauthorizedCacheControlHeaderStrategy)))))))

methodSetting :: MethodSetting Source #

Creates a value of MethodSetting with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • msCacheTtlInSeconds - Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached. The PATCH path for this setting is {method_setting_key}caching/ttlInSeconds , and the value is an integer.
  • msDataTraceEnabled - Specifies whether data trace logging is enabled for this method, which effects the log entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting is {method_setting_key}logging/dataTrace , and the value is a Boolean.
  • msThrottlingBurstLimit - Specifies the throttling burst limit. The PATCH path for this setting is {method_setting_key}throttling/burstLimit , and the value is an integer.
  • msCacheDataEncrypted - Specifies whether the cached responses are encrypted. The PATCH path for this setting is {method_setting_key}caching/dataEncrypted , and the value is a Boolean.
  • msLoggingLevel - Specifies the logging level for this method, which effects the log entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting is {method_setting_key}logging/loglevel , and the available levels are OFF , ERROR , and INFO .
  • msRequireAuthorizationForCacheControl - Specifies whether authorization is required for a cache invalidation request. The PATCH path for this setting is {method_setting_key}caching/requireAuthorizationForCacheControl , and the value is a Boolean.
  • msCachingEnabled - Specifies whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached. The PATCH path for this setting is {method_setting_key}caching/enabled , and the value is a Boolean.
  • msMetricsEnabled - Specifies whether Amazon CloudWatch metrics are enabled for this method. The PATCH path for this setting is {method_setting_key}metrics/enabled , and the value is a Boolean.
  • msThrottlingRateLimit - Specifies the throttling rate limit. The PATCH path for this setting is {method_setting_key}throttling/rateLimit , and the value is a double.
  • msUnauthorizedCacheControlHeaderStrategy - Specifies how to handle unauthorized requests for cache invalidation. The PATCH path for this setting is {method_setting_key}caching/unauthorizedCacheControlHeaderStrategy , and the available values are FAIL_WITH_403 , SUCCEED_WITH_RESPONSE_HEADER , SUCCEED_WITHOUT_RESPONSE_HEADER .

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

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

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

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

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

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

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

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

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

Specifies the logging level for this method, which effects the log entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting is {method_setting_key}logging/loglevel , and the available levels are OFF , ERROR , and INFO .

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

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

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

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

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

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

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

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

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

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

MethodSnapshot

data MethodSnapshot Source #

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

See: methodSnapshot smart constructor.

Instances
Eq MethodSnapshot Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Data MethodSnapshot Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MethodSnapshot -> c MethodSnapshot #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MethodSnapshot #

toConstr :: MethodSnapshot -> Constr #

dataTypeOf :: MethodSnapshot -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MethodSnapshot) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MethodSnapshot) #

gmapT :: (forall b. Data b => b -> b) -> MethodSnapshot -> MethodSnapshot #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MethodSnapshot -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MethodSnapshot -> r #

gmapQ :: (forall d. Data d => d -> u) -> MethodSnapshot -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MethodSnapshot -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MethodSnapshot -> m MethodSnapshot #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MethodSnapshot -> m MethodSnapshot #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MethodSnapshot -> m MethodSnapshot #

Read MethodSnapshot Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show MethodSnapshot Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic MethodSnapshot Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep MethodSnapshot :: Type -> Type #

Hashable MethodSnapshot Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

FromJSON MethodSnapshot Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData MethodSnapshot Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: MethodSnapshot -> () #

type Rep MethodSnapshot Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep MethodSnapshot = D1 (MetaData "MethodSnapshot" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "MethodSnapshot'" PrefixI True) (S1 (MetaSel (Just "_msAuthorizationType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_msApiKeyRequired") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))

methodSnapshot :: MethodSnapshot Source #

Creates a value of MethodSnapshot with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • msAuthorizationType - The method's authorization type. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS for using a Cognito user pool.
  • msApiKeyRequired - Specifies whether the method requires a valid ApiKey .

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

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

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

Specifies whether the method requires a valid ApiKey .

Model

data Model Source #

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

A request model defines the data structure of the client-supplied request payload. A response model defines the data structure of the response payload returned by the back end. Although not required, models are useful for mapping payloads between the front end and back end.

A model is used for generating an API's SDK, validating the input request body, and creating a skeletal mapping template.

Method , MethodResponse , Models and Mappings

See: model smart constructor.

Instances
Eq Model Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

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

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

Data Model Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Model -> c Model #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Model #

toConstr :: Model -> Constr #

dataTypeOf :: Model -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Model) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Model) #

gmapT :: (forall b. Data b => b -> b) -> Model -> Model #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Model -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Model -> r #

gmapQ :: (forall d. Data d => d -> u) -> Model -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Model -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Model -> m Model #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Model -> m Model #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Model -> m Model #

Read Model Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show Model Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

showsPrec :: Int -> Model -> ShowS #

show :: Model -> String #

showList :: [Model] -> ShowS #

Generic Model Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep Model :: Type -> Type #

Methods

from :: Model -> Rep Model x #

to :: Rep Model x -> Model #

Hashable Model Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

hashWithSalt :: Int -> Model -> Int #

hash :: Model -> Int #

FromJSON Model Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData Model Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: Model -> () #

type Rep Model Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep Model = D1 (MetaData "Model" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "Model'" PrefixI True) ((S1 (MetaSel (Just "_mSchema") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_mName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_mId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_mDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_mContentType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

model :: Model Source #

Creates a value of Model with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • mSchema - The schema for the model. For application/json models, this should be JSON schema draft 4 model. Do not include "*" characters in the description of any properties because such "*" characters may be interpreted as the closing marker for comments in some languages, such as Java or JavaScript, causing the installation of your API's SDK generated by API Gateway to fail.
  • mName - The name of the model. Must be an alphanumeric string.
  • mId - The identifier for the model resource.
  • mDescription - The description of the model.
  • mContentType - The content-type for the model.

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

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

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

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

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

The identifier for the model resource.

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

The description of the model.

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

The content-type for the model.

PatchOperation

data PatchOperation Source #

A single patch operation to apply to the specified resource. Please refer to http://tools.ietf.org/html/rfc6902#section-4 for an explanation of how each operation is used.

See: patchOperation smart constructor.

Instances
Eq PatchOperation Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Data PatchOperation Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PatchOperation -> c PatchOperation #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PatchOperation #

toConstr :: PatchOperation -> Constr #

dataTypeOf :: PatchOperation -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PatchOperation) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PatchOperation) #

gmapT :: (forall b. Data b => b -> b) -> PatchOperation -> PatchOperation #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PatchOperation -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PatchOperation -> r #

gmapQ :: (forall d. Data d => d -> u) -> PatchOperation -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PatchOperation -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PatchOperation -> m PatchOperation #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PatchOperation -> m PatchOperation #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PatchOperation -> m PatchOperation #

Read PatchOperation Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show PatchOperation Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic PatchOperation Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep PatchOperation :: Type -> Type #

Hashable PatchOperation Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

ToJSON PatchOperation Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData PatchOperation Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: PatchOperation -> () #

type Rep PatchOperation Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep PatchOperation = D1 (MetaData "PatchOperation" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "PatchOperation'" PrefixI True) ((S1 (MetaSel (Just "_poOp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Op)) :*: S1 (MetaSel (Just "_poPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_poValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_poFrom") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

patchOperation :: PatchOperation Source #

Creates a value of PatchOperation with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • poOp - An update operation to be performed with this PATCH request. The valid value can be add , remove , replace or copy . Not all valid operations are supported for a given resource. Support of the operations depends on specific operational contexts. Attempts to apply an unsupported operation on a resource will return an error message.
  • poPath - The op operation's target, as identified by a JSON Pointer value that references a location within the targeted resource. For example, if the target resource has an updateable property of {"name":"value"} , the path for this property is /name . If the name property value is a JSON object (e.g., {"name": {"child/name": "child-value"}} ), the path for the child/name property will be namechild~1name . Any slash ("/") character appearing in path names must be escaped with "~1", as shown in the example above. Each op operation can have only one path associated with it.
  • poValue - The new target value of the update operation. It is applicable for the add or replace operation. When using AWS CLI to update a property of a JSON value, enclose the JSON object with a pair of single quotes in a Linux shell, e.g., '{"a": ...}'. In a Windows shell, see Using JSON for Parameters .
  • poFrom - The copy update operation's source as identified by a JSON-Pointer value referencing the location within the targeted resource to copy the value from. For example, to promote a canary deployment, you copy the canary deployment ID to the affiliated deployment ID by calling a PATCH request on a Stage resource with "op":"copy" , "from":"canarySettingsdeploymentId" and "path":"/deploymentId" .

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

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

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

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

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

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

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

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

QuotaSettings

data QuotaSettings Source #

Quotas configured for a usage plan.

See: quotaSettings smart constructor.

Instances
Eq QuotaSettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Data QuotaSettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> QuotaSettings -> c QuotaSettings #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c QuotaSettings #

toConstr :: QuotaSettings -> Constr #

dataTypeOf :: QuotaSettings -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c QuotaSettings) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c QuotaSettings) #

gmapT :: (forall b. Data b => b -> b) -> QuotaSettings -> QuotaSettings #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> QuotaSettings -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> QuotaSettings -> r #

gmapQ :: (forall d. Data d => d -> u) -> QuotaSettings -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> QuotaSettings -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> QuotaSettings -> m QuotaSettings #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> QuotaSettings -> m QuotaSettings #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> QuotaSettings -> m QuotaSettings #

Read QuotaSettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show QuotaSettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic QuotaSettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep QuotaSettings :: Type -> Type #

Hashable QuotaSettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

ToJSON QuotaSettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

FromJSON QuotaSettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData QuotaSettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: QuotaSettings -> () #

type Rep QuotaSettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep QuotaSettings = D1 (MetaData "QuotaSettings" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "QuotaSettings'" PrefixI True) (S1 (MetaSel (Just "_qsOffset") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 (MetaSel (Just "_qsPeriod") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe QuotaPeriodType)) :*: S1 (MetaSel (Just "_qsLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))))

quotaSettings :: QuotaSettings Source #

Creates a value of QuotaSettings with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • qsOffset - The number of requests subtracted from the given limit in the initial time period.
  • qsPeriod - The time period in which the limit applies. Valid values are DAY, WEEK or MONTH.
  • qsLimit - The maximum number of requests that can be made in a given time period.

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

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

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

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

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

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

RequestValidator

data RequestValidator Source #

A set of validation rules for incoming Method requests.

In Swagger, a RequestValidator of an API is defined by the x-amazon-apigateway-request-validators.requestValidator object. It the referenced using the x-amazon-apigateway-request-validator property.

Enable Basic Request Validation in API Gateway

See: requestValidator smart constructor.

Instances
Eq RequestValidator Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Data RequestValidator Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RequestValidator -> c RequestValidator #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RequestValidator #

toConstr :: RequestValidator -> Constr #

dataTypeOf :: RequestValidator -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RequestValidator) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RequestValidator) #

gmapT :: (forall b. Data b => b -> b) -> RequestValidator -> RequestValidator #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RequestValidator -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RequestValidator -> r #

gmapQ :: (forall d. Data d => d -> u) -> RequestValidator -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RequestValidator -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RequestValidator -> m RequestValidator #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RequestValidator -> m RequestValidator #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RequestValidator -> m RequestValidator #

Read RequestValidator Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show RequestValidator Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic RequestValidator Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep RequestValidator :: Type -> Type #

Hashable RequestValidator Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

FromJSON RequestValidator Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData RequestValidator Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: RequestValidator -> () #

type Rep RequestValidator Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep RequestValidator = D1 (MetaData "RequestValidator" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "RequestValidator'" PrefixI True) ((S1 (MetaSel (Just "_rvValidateRequestParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_rvName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_rvValidateRequestBody") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_rvId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

requestValidator :: RequestValidator Source #

Creates a value of RequestValidator with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

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

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

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

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

Resource

data Resource Source #

Represents an API resource.

Create an API

See: resource smart constructor.

Instances
Eq Resource Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Data Resource Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Resource -> c Resource #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Resource #

toConstr :: Resource -> Constr #

dataTypeOf :: Resource -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Resource) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Resource) #

gmapT :: (forall b. Data b => b -> b) -> Resource -> Resource #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Resource -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Resource -> r #

gmapQ :: (forall d. Data d => d -> u) -> Resource -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Resource -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Resource -> m Resource #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Resource -> m Resource #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Resource -> m Resource #

Read Resource Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show Resource Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic Resource Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep Resource :: Type -> Type #

Methods

from :: Resource -> Rep Resource x #

to :: Rep Resource x -> Resource #

Hashable Resource Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

hashWithSalt :: Int -> Resource -> Int #

hash :: Resource -> Int #

FromJSON Resource Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData Resource Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: Resource -> () #

type Rep Resource Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep Resource = D1 (MetaData "Resource" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "Resource'" PrefixI True) ((S1 (MetaSel (Just "_rPathPart") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_rId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_rResourceMethods") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Method))) :*: S1 (MetaSel (Just "_rParentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

resource :: Resource Source #

Creates a value of Resource with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • rPathPart - The last path segment for this resource.
  • rPath - The full path for this resource.
  • rId - The resource's identifier.
  • rResourceMethods - Gets an API resource's method of a given HTTP verb. The resource methods are a map of methods indexed by methods' HTTP verbs enabled on the resource. This method map is included in the 200 OK response of the GET restapis{restapi_id}resources{resource_id} or GET restapis{restapi_id}resources{resource_id}?embed=methods request. Example: Get the GET method of an API resource Request @GET restapisfugvjdxtriresources3kzxbg5sa2methodsGET HTTP1.1 Content-Type: applicationjson Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20170223T031827Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}20170223us-east-1apigatewayaws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} Response { "_links": { "curies": [ { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", "name": "integration", "templated": true }, { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true }, { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html", "name": "method", "templated": true }, { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true } ], "self": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGET", "name": GET, "title": GET }, "integration:put": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegration" }, "method:delete": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGET" }, "method:integration": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegration" }, "method:responses": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETresponses200", "name": "200", "title": "200" }, "method:update": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGET" }, "methodresponse:put": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETresponses{status_code}", "templated": true } }, "apiKeyRequired": false, "authorizationType": NONE, "httpMethod": GET, "_embedded": { "method:integration": { "_links": { "self": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegration" }, "integration:delete": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegration" }, "integration:responses": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegrationresponses200", "name": "200", "title": "200" }, "integration:update": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegration" }, "integrationresponse:put": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegrationresponses{status_code}", "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "3kzxbg5sa2", "credentials": "arn:aws:iam::123456789012:roleapigAwsProxyRole", "httpMethod": POST, "passthroughBehavior": WHEN_NO_MATCH, "requestParameters": { "integration.request.header.Content-Type": "'application/x-amz-json-1.1'" }, "requestTemplates": { "applicationjson": "{n}" }, "type": AWS, "uri": "arn:aws:apigateway:us-east-1:kinesis:actionListStreams", "_embedded": { "integration:responses": { "_links": { "self": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegrationresponses200", "name": "200", "title": "200" }, "integrationresponse:delete": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegrationresponses200" }, "integrationresponse:update": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegrationresponses200" } }, "responseParameters": { "method.response.header.Content-Type": "'applicationxml'" }, "responseTemplates": { "applicationjson": "$util.urlDecode("%3CkinesisStreams%3E#foreach($stream in $input.path('$.StreamNames'))%3Cstream%3E%3Cname%3E$stream%3Cname%3E%3Cstream%3E#end%3CkinesisStreams%3E")n" }, "statusCode": "200" } } }, "method:responses": { "_links": { "self": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETresponses200", "name": "200", "title": "200" }, "methodresponse:delete": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETresponses200" }, "methodresponse:update": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETresponses200" } }, "responseModels": { "application/json": Empty }, "responseParameters": { "method.response.header.Content-Type": false }, "statusCode": "200" } } } If the OPTIONS is enabled on the resource, you can follow the example here to get that method. Just replace the GET of the last path segment in the request URL with OPTIONS@ .
  • rParentId - The parent resource's identifier.

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

The last path segment for this resource.

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

The full path for this resource.

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

The resource's identifier.

rResourceMethods :: Lens' Resource (HashMap Text Method) Source #

Gets an API resource's method of a given HTTP verb. The resource methods are a map of methods indexed by methods' HTTP verbs enabled on the resource. This method map is included in the 200 OK response of the GET restapis{restapi_id}resources{resource_id} or GET restapis{restapi_id}resources{resource_id}?embed=methods request. Example: Get the GET method of an API resource Request @GET restapisfugvjdxtriresources3kzxbg5sa2methodsGET HTTP1.1 Content-Type: applicationjson Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20170223T031827Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}20170223us-east-1apigatewayaws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash} Response { "_links": { "curies": [ { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", "name": "integration", "templated": true }, { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true }, { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html", "name": "method", "templated": true }, { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true } ], "self": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGET", "name": GET, "title": GET }, "integration:put": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegration" }, "method:delete": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGET" }, "method:integration": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegration" }, "method:responses": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETresponses200", "name": "200", "title": "200" }, "method:update": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGET" }, "methodresponse:put": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETresponses{status_code}", "templated": true } }, "apiKeyRequired": false, "authorizationType": NONE, "httpMethod": GET, "_embedded": { "method:integration": { "_links": { "self": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegration" }, "integration:delete": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegration" }, "integration:responses": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegrationresponses200", "name": "200", "title": "200" }, "integration:update": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegration" }, "integrationresponse:put": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegrationresponses{status_code}", "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "3kzxbg5sa2", "credentials": "arn:aws:iam::123456789012:roleapigAwsProxyRole", "httpMethod": POST, "passthroughBehavior": WHEN_NO_MATCH, "requestParameters": { "integration.request.header.Content-Type": "'application/x-amz-json-1.1'" }, "requestTemplates": { "applicationjson": "{n}" }, "type": AWS, "uri": "arn:aws:apigateway:us-east-1:kinesis:actionListStreams", "_embedded": { "integration:responses": { "_links": { "self": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegrationresponses200", "name": "200", "title": "200" }, "integrationresponse:delete": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegrationresponses200" }, "integrationresponse:update": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETintegrationresponses200" } }, "responseParameters": { "method.response.header.Content-Type": "'applicationxml'" }, "responseTemplates": { "applicationjson": "$util.urlDecode("%3CkinesisStreams%3E#foreach($stream in $input.path('$.StreamNames'))%3Cstream%3E%3Cname%3E$stream%3Cname%3E%3Cstream%3E#end%3CkinesisStreams%3E")n" }, "statusCode": "200" } } }, "method:responses": { "_links": { "self": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETresponses200", "name": "200", "title": "200" }, "methodresponse:delete": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETresponses200" }, "methodresponse:update": { "href": "restapisfugvjdxtriresources3kzxbg5sa2methodsGETresponses200" } }, "responseModels": { "application/json": Empty }, "responseParameters": { "method.response.header.Content-Type": false }, "statusCode": "200" } } } If the OPTIONS is enabled on the resource, you can follow the example here to get that method. Just replace the GET of the last path segment in the request URL with OPTIONS@ .

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

The parent resource's identifier.

RestAPI

data RestAPI Source #

Represents a REST API.

Create an API

See: restAPI smart constructor.

Instances
Eq RestAPI Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

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

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

Data RestAPI Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RestAPI -> c RestAPI #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RestAPI #

toConstr :: RestAPI -> Constr #

dataTypeOf :: RestAPI -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RestAPI) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RestAPI) #

gmapT :: (forall b. Data b => b -> b) -> RestAPI -> RestAPI #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RestAPI -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RestAPI -> r #

gmapQ :: (forall d. Data d => d -> u) -> RestAPI -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RestAPI -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RestAPI -> m RestAPI #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RestAPI -> m RestAPI #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RestAPI -> m RestAPI #

Read RestAPI Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show RestAPI Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic RestAPI Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep RestAPI :: Type -> Type #

Methods

from :: RestAPI -> Rep RestAPI x #

to :: Rep RestAPI x -> RestAPI #

Hashable RestAPI Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

hashWithSalt :: Int -> RestAPI -> Int #

hash :: RestAPI -> Int #

FromJSON RestAPI Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData RestAPI Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: RestAPI -> () #

type Rep RestAPI Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

restAPI :: RestAPI Source #

Creates a value of RestAPI with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • raMinimumCompressionSize - A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size.
  • raBinaryMediaTypes - The list of binary media types supported by the RestApi . By default, the RestApi supports only UTF-8-encoded text payloads.
  • raWarnings - The warning messages reported when failonwarnings is turned on during API import.
  • raCreatedDate - The timestamp when the API was created.
  • raName - The API's name.
  • raVersion - A version identifier for the API.
  • raApiKeySource - The source of the API key for metering requests according to a usage plan. Valid values are: * HEADER to read the API key from the X-API-Key header of a request. * AUTHORIZER to read the API key from the UsageIdentifierKey from a custom authorizer.
  • raId - The API's identifier. This identifier is unique across all of your APIs in API Gateway.
  • raPolicy - Method
  • raEndpointConfiguration - The endpoint configuration of this RestApi showing the endpoint types of the API.
  • raDescription - The API's description.

raMinimumCompressionSize :: Lens' RestAPI (Maybe Int) Source #

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

raBinaryMediaTypes :: Lens' RestAPI [Text] Source #

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

raWarnings :: Lens' RestAPI [Text] Source #

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

raCreatedDate :: Lens' RestAPI (Maybe UTCTime) Source #

The timestamp when the API was created.

raName :: Lens' RestAPI (Maybe Text) Source #

The API's name.

raVersion :: Lens' RestAPI (Maybe Text) Source #

A version identifier for the API.

raApiKeySource :: Lens' RestAPI (Maybe APIKeySourceType) Source #

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

raId :: Lens' RestAPI (Maybe Text) Source #

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

raEndpointConfiguration :: Lens' RestAPI (Maybe EndpointConfiguration) Source #

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

raDescription :: Lens' RestAPI (Maybe Text) Source #

The API's description.

SDKConfigurationProperty

data SDKConfigurationProperty Source #

A configuration property of an SDK type.

See: sdkConfigurationProperty smart constructor.

Instances
Eq SDKConfigurationProperty Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Data SDKConfigurationProperty Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SDKConfigurationProperty -> c SDKConfigurationProperty #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SDKConfigurationProperty #

toConstr :: SDKConfigurationProperty -> Constr #

dataTypeOf :: SDKConfigurationProperty -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SDKConfigurationProperty) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SDKConfigurationProperty) #

gmapT :: (forall b. Data b => b -> b) -> SDKConfigurationProperty -> SDKConfigurationProperty #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SDKConfigurationProperty -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SDKConfigurationProperty -> r #

gmapQ :: (forall d. Data d => d -> u) -> SDKConfigurationProperty -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SDKConfigurationProperty -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SDKConfigurationProperty -> m SDKConfigurationProperty #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SDKConfigurationProperty -> m SDKConfigurationProperty #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SDKConfigurationProperty -> m SDKConfigurationProperty #

Read SDKConfigurationProperty Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show SDKConfigurationProperty Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic SDKConfigurationProperty Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep SDKConfigurationProperty :: Type -> Type #

Hashable SDKConfigurationProperty Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

FromJSON SDKConfigurationProperty Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData SDKConfigurationProperty Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep SDKConfigurationProperty Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep SDKConfigurationProperty = D1 (MetaData "SDKConfigurationProperty" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "SDKConfigurationProperty'" PrefixI True) ((S1 (MetaSel (Just "_scpFriendlyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_scpRequired") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_scpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_scpDefaultValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_scpDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

sdkConfigurationProperty :: SDKConfigurationProperty Source #

Creates a value of SDKConfigurationProperty with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • scpFriendlyName - The user-friendly name of an SdkType configuration property.
  • scpRequired - A boolean flag of an SdkType configuration property to indicate if the associated SDK configuration property is required (true ) or not (false ).
  • scpName - The name of a an SdkType configuration property.
  • scpDefaultValue - The default value of an SdkType configuration property.
  • scpDescription - The description of an SdkType configuration property.

scpFriendlyName :: Lens' SDKConfigurationProperty (Maybe Text) Source #

The user-friendly name of an SdkType configuration property.

scpRequired :: Lens' SDKConfigurationProperty (Maybe Bool) Source #

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

scpName :: Lens' SDKConfigurationProperty (Maybe Text) Source #

The name of a an SdkType configuration property.

scpDefaultValue :: Lens' SDKConfigurationProperty (Maybe Text) Source #

The default value of an SdkType configuration property.

scpDescription :: Lens' SDKConfigurationProperty (Maybe Text) Source #

The description of an SdkType configuration property.

SDKType

data SDKType Source #

A type of SDK that API Gateway can generate.

See: sdkType smart constructor.

Instances
Eq SDKType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

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

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

Data SDKType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SDKType -> c SDKType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SDKType #

toConstr :: SDKType -> Constr #

dataTypeOf :: SDKType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SDKType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SDKType) #

gmapT :: (forall b. Data b => b -> b) -> SDKType -> SDKType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SDKType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SDKType -> r #

gmapQ :: (forall d. Data d => d -> u) -> SDKType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SDKType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SDKType -> m SDKType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SDKType -> m SDKType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SDKType -> m SDKType #

Read SDKType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show SDKType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic SDKType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep SDKType :: Type -> Type #

Methods

from :: SDKType -> Rep SDKType x #

to :: Rep SDKType x -> SDKType #

Hashable SDKType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

hashWithSalt :: Int -> SDKType -> Int #

hash :: SDKType -> Int #

FromJSON SDKType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData SDKType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: SDKType -> () #

type Rep SDKType Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep SDKType = D1 (MetaData "SDKType" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "SDKType'" PrefixI True) ((S1 (MetaSel (Just "_stFriendlyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_stConfigurationProperties") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [SDKConfigurationProperty]))) :*: (S1 (MetaSel (Just "_stId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_stDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

sdkType :: SDKType Source #

Creates a value of SDKType with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

stFriendlyName :: Lens' SDKType (Maybe Text) Source #

The user-friendly name of an SdkType instance.

stConfigurationProperties :: Lens' SDKType [SDKConfigurationProperty] Source #

A list of configuration properties of an SdkType .

stId :: Lens' SDKType (Maybe Text) Source #

The identifier of an SdkType instance.

stDescription :: Lens' SDKType (Maybe Text) Source #

The description of an SdkType .

Stage

data Stage Source #

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

Deploy an API

See: stage smart constructor.

Instances
Eq Stage Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

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

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

Data Stage Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Stage -> c Stage #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Stage #

toConstr :: Stage -> Constr #

dataTypeOf :: Stage -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Stage) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Stage) #

gmapT :: (forall b. Data b => b -> b) -> Stage -> Stage #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Stage -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Stage -> r #

gmapQ :: (forall d. Data d => d -> u) -> Stage -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Stage -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Stage -> m Stage #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Stage -> m Stage #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Stage -> m Stage #

Read Stage Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show Stage Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

showsPrec :: Int -> Stage -> ShowS #

show :: Stage -> String #

showList :: [Stage] -> ShowS #

Generic Stage Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep Stage :: Type -> Type #

Methods

from :: Stage -> Rep Stage x #

to :: Rep Stage x -> Stage #

Hashable Stage Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

hashWithSalt :: Int -> Stage -> Int #

hash :: Stage -> Int #

FromJSON Stage Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData Stage Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: Stage -> () #

type Rep Stage Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep Stage = D1 (MetaData "Stage" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "Stage'" PrefixI True) (((S1 (MetaSel (Just "_sDeploymentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_sVariables") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text))) :*: S1 (MetaSel (Just "_sAccessLogSettings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AccessLogSettings)))) :*: ((S1 (MetaSel (Just "_sDocumentationVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sClientCertificateId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_sCreatedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 (MetaSel (Just "_sCacheClusterStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CacheClusterStatus))))) :*: (((S1 (MetaSel (Just "_sMethodSettings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text MethodSetting))) :*: S1 (MetaSel (Just "_sLastUpdatedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 (MetaSel (Just "_sCacheClusterSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CacheClusterSize)) :*: S1 (MetaSel (Just "_sCanarySettings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CanarySettings)))) :*: ((S1 (MetaSel (Just "_sCacheClusterEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_sStageName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_sDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text))))))))

stage :: Stage Source #

Creates a value of Stage with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • sDeploymentId - The identifier of the Deployment that the stage points to.
  • sVariables - 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-._~:/?#&=,]+ .
  • sAccessLogSettings - Settings for logging access in this stage.
  • sDocumentationVersion - The version of the associated API documentation.
  • sClientCertificateId - The identifier of a client certificate for an API stage.
  • sCreatedDate - The timestamp when the stage was created.
  • sCacheClusterStatus - The status of the cache cluster for the stage, if enabled.
  • sMethodSettings - A map that defines the method settings for a Stage resource. Keys (designated as /{method_setting_key below) are method paths defined as {resource_path}/{http_method} for an individual method override, or ** for overriding all methods in the stage.
  • sLastUpdatedDate - The timestamp when the stage last updated.
  • sCacheClusterSize - The size of the cache cluster for the stage, if enabled.
  • sCanarySettings - Settings for the canary deployment in this stage.
  • sCacheClusterEnabled - Specifies whether a cache cluster is enabled for the stage.
  • sStageName - The name of the stage is the first path segment in the Uniform Resource Identifier (URI) of a call to API Gateway.
  • sDescription - The stage's description.
  • sTags - The collection of tags. Each tag element is associated with a given resource.

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

The identifier of the Deployment that the stage points to.

sVariables :: Lens' Stage (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-._~:/?#&=,]+ .

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

Settings for logging access in this stage.

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

The version of the associated API documentation.

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

The identifier of a client certificate for an API stage.

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

The timestamp when the stage was created.

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

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

sMethodSettings :: Lens' Stage (HashMap Text MethodSetting) Source #

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

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

The timestamp when the stage last updated.

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

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

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

Settings for the canary deployment in this stage.

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

Specifies whether a cache cluster is enabled for the stage.

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

The name of the stage is the first path segment in the Uniform Resource Identifier (URI) of a call to API Gateway.

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

The stage's description.

sTags :: Lens' Stage (HashMap Text Text) Source #

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

StageKey

data StageKey Source #

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

See: stageKey smart constructor.

Instances
Eq StageKey Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Data StageKey Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StageKey -> c StageKey #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StageKey #

toConstr :: StageKey -> Constr #

dataTypeOf :: StageKey -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c StageKey) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StageKey) #

gmapT :: (forall b. Data b => b -> b) -> StageKey -> StageKey #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StageKey -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StageKey -> r #

gmapQ :: (forall d. Data d => d -> u) -> StageKey -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StageKey -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StageKey -> m StageKey #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StageKey -> m StageKey #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StageKey -> m StageKey #

Read StageKey Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show StageKey Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic StageKey Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep StageKey :: Type -> Type #

Methods

from :: StageKey -> Rep StageKey x #

to :: Rep StageKey x -> StageKey #

Hashable StageKey Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

hashWithSalt :: Int -> StageKey -> Int #

hash :: StageKey -> Int #

ToJSON StageKey Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData StageKey Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: StageKey -> () #

type Rep StageKey Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep StageKey = D1 (MetaData "StageKey" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "StageKey'" PrefixI True) (S1 (MetaSel (Just "_skRestAPIId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_skStageName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

stageKey :: StageKey Source #

Creates a value of StageKey with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • skRestAPIId - The string identifier of the associated RestApi .
  • skStageName - The stage name associated with the stage key.

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

The string identifier of the associated RestApi .

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

The stage name associated with the stage key.

ThrottleSettings

data ThrottleSettings Source #

The API request rate limits.

See: throttleSettings smart constructor.

Instances
Eq ThrottleSettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Data ThrottleSettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ThrottleSettings -> c ThrottleSettings #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ThrottleSettings #

toConstr :: ThrottleSettings -> Constr #

dataTypeOf :: ThrottleSettings -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ThrottleSettings) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ThrottleSettings) #

gmapT :: (forall b. Data b => b -> b) -> ThrottleSettings -> ThrottleSettings #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ThrottleSettings -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ThrottleSettings -> r #

gmapQ :: (forall d. Data d => d -> u) -> ThrottleSettings -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ThrottleSettings -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ThrottleSettings -> m ThrottleSettings #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ThrottleSettings -> m ThrottleSettings #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ThrottleSettings -> m ThrottleSettings #

Read ThrottleSettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show ThrottleSettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic ThrottleSettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep ThrottleSettings :: Type -> Type #

Hashable ThrottleSettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

ToJSON ThrottleSettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

FromJSON ThrottleSettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData ThrottleSettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: ThrottleSettings -> () #

type Rep ThrottleSettings Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep ThrottleSettings = D1 (MetaData "ThrottleSettings" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "ThrottleSettings'" PrefixI True) (S1 (MetaSel (Just "_tsBurstLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_tsRateLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Double))))

throttleSettings :: ThrottleSettings Source #

Creates a value of ThrottleSettings with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • tsBurstLimit - The API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon whether the underlying token bucket is at its full capacity.
  • tsRateLimit - The API request steady-state rate limit.

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

The API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon whether the underlying token bucket is at its full capacity.

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

The API request steady-state rate limit.

Usage

data Usage Source #

Represents the usage data of a usage plan.

Create and Use Usage Plans , Manage Usage in a Usage Plan

See: usage smart constructor.

Instances
Eq Usage Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

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

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

Data Usage Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Usage -> c Usage #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Usage #

toConstr :: Usage -> Constr #

dataTypeOf :: Usage -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Usage) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Usage) #

gmapT :: (forall b. Data b => b -> b) -> Usage -> Usage #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Usage -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Usage -> r #

gmapQ :: (forall d. Data d => d -> u) -> Usage -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Usage -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Usage -> m Usage #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Usage -> m Usage #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Usage -> m Usage #

Read Usage Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show Usage Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

showsPrec :: Int -> Usage -> ShowS #

show :: Usage -> String #

showList :: [Usage] -> ShowS #

Generic Usage Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep Usage :: Type -> Type #

Methods

from :: Usage -> Rep Usage x #

to :: Rep Usage x -> Usage #

Hashable Usage Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

hashWithSalt :: Int -> Usage -> Int #

hash :: Usage -> Int #

FromJSON Usage Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData Usage Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: Usage -> () #

type Rep Usage Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep Usage = D1 (MetaData "Usage" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "Usage'" PrefixI True) ((S1 (MetaSel (Just "_uUsagePlanId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_uEndDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_uItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text [[Integer]]))) :*: (S1 (MetaSel (Just "_uStartDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_uPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

usage :: Usage Source #

Creates a value of Usage with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • uUsagePlanId - The plan Id associated with this usage data.
  • uEndDate - The ending date of the usage data.
  • uItems - The usage data, as daily logs of used and remaining quotas, over the specified time interval indexed over the API keys in a usage plan. For example, {..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]} , where {api_key} stands for an API key value and the daily log entry is of the format [used quota, remaining quota] .
  • uStartDate - The starting date of the usage data.
  • uPosition - Undocumented member.

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

The plan Id associated with this usage data.

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

The ending date of the usage data.

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

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

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

The starting date of the usage data.

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

Undocumented member.

UsagePlan

data UsagePlan Source #

Represents a usage plan than can specify who can assess associated API stages with specified request limits and quotas.

In a usage plan, you associate an API by specifying the API's Id and a stage name of the specified API. You add plan customers by adding API keys to the plan.

Create and Use Usage Plans

See: usagePlan smart constructor.

Instances
Eq UsagePlan Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Data UsagePlan Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UsagePlan -> c UsagePlan #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UsagePlan #

toConstr :: UsagePlan -> Constr #

dataTypeOf :: UsagePlan -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UsagePlan) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UsagePlan) #

gmapT :: (forall b. Data b => b -> b) -> UsagePlan -> UsagePlan #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UsagePlan -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UsagePlan -> r #

gmapQ :: (forall d. Data d => d -> u) -> UsagePlan -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UsagePlan -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UsagePlan -> m UsagePlan #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UsagePlan -> m UsagePlan #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UsagePlan -> m UsagePlan #

Read UsagePlan Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show UsagePlan Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic UsagePlan Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep UsagePlan :: Type -> Type #

Hashable UsagePlan Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

FromJSON UsagePlan Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData UsagePlan Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: UsagePlan -> () #

type Rep UsagePlan Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

usagePlan :: UsagePlan Source #

Creates a value of UsagePlan with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • upApiStages - The associated API stages of a usage plan.
  • upName - The name of a usage plan.
  • upId - The identifier of a UsagePlan resource.
  • upThrottle - The request throttle limits of a usage plan.
  • upQuota - The maximum number of permitted requests per a given unit time interval.
  • upDescription - The description of a usage plan.
  • upProductCode - The AWS Markeplace product identifier to associate with the usage plan as a SaaS product on AWS Marketplace.

upApiStages :: Lens' UsagePlan [APIStage] Source #

The associated API stages of a usage plan.

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

The name of a usage plan.

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

The identifier of a UsagePlan resource.

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

The request throttle limits of a usage plan.

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

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

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

The description of a usage plan.

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

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

UsagePlanKey

data UsagePlanKey Source #

Represents a usage plan key to identify a plan customer.

To associate an API stage with a selected API key in a usage plan, you must create a UsagePlanKey resource to represent the selected ApiKey .

" Create and Use Usage Plans

See: usagePlanKey smart constructor.

Instances
Eq UsagePlanKey Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Data UsagePlanKey Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UsagePlanKey -> c UsagePlanKey #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UsagePlanKey #

toConstr :: UsagePlanKey -> Constr #

dataTypeOf :: UsagePlanKey -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UsagePlanKey) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UsagePlanKey) #

gmapT :: (forall b. Data b => b -> b) -> UsagePlanKey -> UsagePlanKey #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UsagePlanKey -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UsagePlanKey -> r #

gmapQ :: (forall d. Data d => d -> u) -> UsagePlanKey -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UsagePlanKey -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UsagePlanKey -> m UsagePlanKey #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UsagePlanKey -> m UsagePlanKey #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UsagePlanKey -> m UsagePlanKey #

Read UsagePlanKey Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show UsagePlanKey Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic UsagePlanKey Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep UsagePlanKey :: Type -> Type #

Hashable UsagePlanKey Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

FromJSON UsagePlanKey Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData UsagePlanKey Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: UsagePlanKey -> () #

type Rep UsagePlanKey Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep UsagePlanKey = D1 (MetaData "UsagePlanKey" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "UsagePlanKey'" PrefixI True) ((S1 (MetaSel (Just "_upkValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_upkName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_upkId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_upkType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

usagePlanKey :: UsagePlanKey Source #

Creates a value of UsagePlanKey with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • upkValue - The value of a usage plan key.
  • upkName - The name of a usage plan key.
  • upkId - The Id of a usage plan key.
  • upkType - The type of a usage plan key. Currently, the valid key type is API_KEY .

upkValue :: Lens' UsagePlanKey (Maybe Text) Source #

The value of a usage plan key.

upkName :: Lens' UsagePlanKey (Maybe Text) Source #

The name of a usage plan key.

upkId :: Lens' UsagePlanKey (Maybe Text) Source #

The Id of a usage plan key.

upkType :: Lens' UsagePlanKey (Maybe Text) Source #

The type of a usage plan key. Currently, the valid key type is API_KEY .

VPCLink

data VPCLink Source #

A API Gateway VPC link for a RestApi to access resources in an Amazon Virtual Private Cloud (VPC).

To enable access to a resource in an Amazon Virtual Private Cloud through Amazon API Gateway, you, as an API developer, create a VpcLink resource targeted for one or more network load balancers of the VPC and then integrate an API method with a private integration that uses the VpcLink . The private integration has an integration type of HTTP or HTTP_PROXY and has a connection type of VPC_LINK . The integration uses the connectionId property to identify the VpcLink used.

See: vpcLink smart constructor.

vpcLink :: VPCLink Source #

Creates a value of VPCLink with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • vlStatus - The status of the VPC link. The valid values are AVAILABLE , PENDING , DELETING , or FAILED . Deploying an API will wait if the status is PENDING and will fail if the status is DELETING .
  • vlTargetARNs - The ARNs of network load balancers of the VPC targeted by the VPC link. The network load balancers must be owned by the same AWS account of the API owner.
  • vlName - The name used to label and identify the VPC link.
  • vlStatusMessage - A description about the VPC link status.
  • vlId - The identifier of the VpcLink . It is used in an Integration to reference this VpcLink .
  • vlDescription - The description of the VPC link.

vlStatus :: Lens' VPCLink (Maybe VPCLinkStatus) Source #

The status of the VPC link. The valid values are AVAILABLE , PENDING , DELETING , or FAILED . Deploying an API will wait if the status is PENDING and will fail if the status is DELETING .

vlTargetARNs :: Lens' VPCLink [Text] Source #

The ARNs of network load balancers of the VPC targeted by the VPC link. The network load balancers must be owned by the same AWS account of the API owner.

vlName :: Lens' VPCLink (Maybe Text) Source #

The name used to label and identify the VPC link.

vlStatusMessage :: Lens' VPCLink (Maybe Text) Source #

A description about the VPC link status.

vlId :: Lens' VPCLink (Maybe Text) Source #

The identifier of the VpcLink . It is used in an Integration to reference this VpcLink .

vlDescription :: Lens' VPCLink (Maybe Text) Source #

The description of the VPC link.