amazonka-apigateway-1.4.2: Amazon API Gateway SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@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 #

Prism for ConflictException' errors.

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

Prism for NotFoundException' errors.

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

Prism for TooManyRequestsException' errors.

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

Prism for ServiceUnavailableException' errors.

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

Prism for UnauthorizedException' errors.

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

Prism for BadRequestException' errors.

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

Prism for LimitExceededException' errors.

AuthorizerType

data AuthorizerType Source #

The authorizer type. Only current value is TOKEN.

Constructors

Token 

Instances

Bounded AuthorizerType Source # 
Enum AuthorizerType Source # 
Eq AuthorizerType Source # 
Data AuthorizerType Source # 

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 # 
Read AuthorizerType Source # 
Show AuthorizerType Source # 
Generic AuthorizerType Source # 

Associated Types

type Rep AuthorizerType :: * -> * #

ToJSON AuthorizerType Source # 
FromJSON AuthorizerType Source # 
Hashable AuthorizerType Source # 
NFData AuthorizerType Source # 

Methods

rnf :: AuthorizerType -> () #

ToHeader AuthorizerType Source # 
ToQuery AuthorizerType Source # 
ToByteString AuthorizerType Source # 
FromText AuthorizerType Source # 
ToText AuthorizerType Source # 
type Rep AuthorizerType Source # 
type Rep AuthorizerType = D1 (MetaData "AuthorizerType" "Network.AWS.APIGateway.Types.Sum" "amazonka-apigateway-1.4.2-1ZfIGe0X9Tw3KKubfE7kqg" False) (C1 (MetaCons "Token" PrefixI False) U1)

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 # 
Enum CacheClusterSize Source # 
Eq CacheClusterSize Source # 
Data CacheClusterSize Source # 

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 # 
Read CacheClusterSize Source # 
Show CacheClusterSize Source # 
Generic CacheClusterSize Source # 
ToJSON CacheClusterSize Source # 
FromJSON CacheClusterSize Source # 
Hashable CacheClusterSize Source # 
NFData CacheClusterSize Source # 

Methods

rnf :: CacheClusterSize -> () #

ToHeader CacheClusterSize Source # 
ToQuery CacheClusterSize Source # 
ToByteString CacheClusterSize Source # 
FromText CacheClusterSize Source # 
ToText CacheClusterSize Source # 
type Rep CacheClusterSize Source # 
type Rep CacheClusterSize = D1 (MetaData "CacheClusterSize" "Network.AWS.APIGateway.Types.Sum" "amazonka-apigateway-1.4.2-1ZfIGe0X9Tw3KKubfE7kqg" False) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "D0_5" PrefixI False) U1) (C1 (MetaCons "D118" PrefixI False) U1)) ((:+:) (C1 (MetaCons "D13_5" PrefixI False) U1) (C1 (MetaCons "D1_6" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "D237" PrefixI False) U1) (C1 (MetaCons "D28_4" PrefixI False) U1)) ((:+:) (C1 (MetaCons "D58_2" PrefixI False) U1) (C1 (MetaCons "D6_1" PrefixI False) U1))))

CacheClusterStatus

data CacheClusterStatus Source #

Returns the status of the CacheCluster.

Instances

Bounded CacheClusterStatus Source # 
Enum CacheClusterStatus Source # 
Eq CacheClusterStatus Source # 
Data CacheClusterStatus Source # 

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 # 
Read CacheClusterStatus Source # 
Show CacheClusterStatus Source # 
Generic CacheClusterStatus Source # 
FromJSON CacheClusterStatus Source # 
Hashable CacheClusterStatus Source # 
NFData CacheClusterStatus Source # 

Methods

rnf :: CacheClusterStatus -> () #

ToHeader CacheClusterStatus Source # 
ToQuery CacheClusterStatus Source # 
ToByteString CacheClusterStatus Source # 
FromText CacheClusterStatus Source # 
ToText CacheClusterStatus Source # 
type Rep CacheClusterStatus Source # 
type Rep CacheClusterStatus = D1 (MetaData "CacheClusterStatus" "Network.AWS.APIGateway.Types.Sum" "amazonka-apigateway-1.4.2-1ZfIGe0X9Tw3KKubfE7kqg" False) ((:+:) ((:+:) (C1 (MetaCons "Available" PrefixI False) U1) (C1 (MetaCons "CreateInProgress" PrefixI False) U1)) ((:+:) (C1 (MetaCons "DeleteInProgress" PrefixI False) U1) ((:+:) (C1 (MetaCons "FlushInProgress" PrefixI False) U1) (C1 (MetaCons "NotAvailable" PrefixI False) U1))))

IntegrationType

data IntegrationType Source #

The integration type. The valid value is HTTP, AWS, or MOCK.

Constructors

AWS 
HTTP 
Mock 

Instances

Bounded IntegrationType Source # 
Enum IntegrationType Source # 
Eq IntegrationType Source # 
Data IntegrationType Source # 

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 # 
Read IntegrationType Source # 
Show IntegrationType Source # 
Generic IntegrationType Source # 
ToJSON IntegrationType Source # 
FromJSON IntegrationType Source # 
Hashable IntegrationType Source # 
NFData IntegrationType Source # 

Methods

rnf :: IntegrationType -> () #

ToHeader IntegrationType Source # 
ToQuery IntegrationType Source # 
ToByteString IntegrationType Source # 
FromText IntegrationType Source # 
ToText IntegrationType Source # 
type Rep IntegrationType Source # 
type Rep IntegrationType = D1 (MetaData "IntegrationType" "Network.AWS.APIGateway.Types.Sum" "amazonka-apigateway-1.4.2-1ZfIGe0X9Tw3KKubfE7kqg" False) ((:+:) (C1 (MetaCons "AWS" PrefixI False) U1) ((:+:) (C1 (MetaCons "HTTP" PrefixI False) U1) (C1 (MetaCons "Mock" PrefixI False) U1)))

Op

data Op Source #

Constructors

Add 
Copy 
Move 
Remove 
Replace 
Test 

Instances

Bounded Op Source # 

Methods

minBound :: Op #

maxBound :: Op #

Enum Op Source # 

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 # 

Methods

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

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

Data Op Source # 

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 # 

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 # 
Show Op Source # 

Methods

showsPrec :: Int -> Op -> ShowS #

show :: Op -> String #

showList :: [Op] -> ShowS #

Generic Op Source # 

Associated Types

type Rep Op :: * -> * #

Methods

from :: Op -> Rep Op x #

to :: Rep Op x -> Op #

ToJSON Op Source # 

Methods

toJSON :: Op -> Value #

toEncoding :: Op -> Encoding #

Hashable Op Source # 

Methods

hashWithSalt :: Int -> Op -> Int #

hash :: Op -> Int #

NFData Op Source # 

Methods

rnf :: Op -> () #

ToHeader Op Source # 

Methods

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

ToQuery Op Source # 

Methods

toQuery :: Op -> QueryString #

ToByteString Op Source # 

Methods

toBS :: Op -> ByteString #

FromText Op Source # 

Methods

parser :: Parser Op #

ToText Op Source # 

Methods

toText :: Op -> Text #

type Rep Op Source # 
type Rep Op = D1 (MetaData "Op" "Network.AWS.APIGateway.Types.Sum" "amazonka-apigateway-1.4.2-1ZfIGe0X9Tw3KKubfE7kqg" False) ((:+:) ((:+:) (C1 (MetaCons "Add" PrefixI False) U1) ((:+:) (C1 (MetaCons "Copy" PrefixI False) U1) (C1 (MetaCons "Move" PrefixI False) U1))) ((:+:) (C1 (MetaCons "Remove" PrefixI False) U1) ((:+:) (C1 (MetaCons "Replace" PrefixI False) U1) (C1 (MetaCons "Test" PrefixI False) U1))))

PutMode

data PutMode Source #

Constructors

Merge 
Overwrite 

Instances

Bounded PutMode Source # 
Enum PutMode Source # 
Eq PutMode Source # 

Methods

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

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

Data PutMode Source # 

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 # 
Read PutMode Source # 
Show PutMode Source # 
Generic PutMode Source # 

Associated Types

type Rep PutMode :: * -> * #

Methods

from :: PutMode -> Rep PutMode x #

to :: Rep PutMode x -> PutMode #

ToJSON PutMode Source # 
Hashable PutMode Source # 

Methods

hashWithSalt :: Int -> PutMode -> Int #

hash :: PutMode -> Int #

NFData PutMode Source # 

Methods

rnf :: PutMode -> () #

ToHeader PutMode Source # 

Methods

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

ToQuery PutMode Source # 
ToByteString PutMode Source # 

Methods

toBS :: PutMode -> ByteString #

FromText PutMode Source # 
ToText PutMode Source # 

Methods

toText :: PutMode -> Text #

type Rep PutMode Source # 
type Rep PutMode = D1 (MetaData "PutMode" "Network.AWS.APIGateway.Types.Sum" "amazonka-apigateway-1.4.2-1ZfIGe0X9Tw3KKubfE7kqg" False) ((:+:) (C1 (MetaCons "Merge" PrefixI False) U1) (C1 (MetaCons "Overwrite" PrefixI False) U1))

UnauthorizedCacheControlHeaderStrategy

data UnauthorizedCacheControlHeaderStrategy Source #

Instances

Bounded UnauthorizedCacheControlHeaderStrategy Source # 
Enum UnauthorizedCacheControlHeaderStrategy Source # 
Eq UnauthorizedCacheControlHeaderStrategy Source # 
Data UnauthorizedCacheControlHeaderStrategy Source # 

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 # 
Read UnauthorizedCacheControlHeaderStrategy Source # 
Show UnauthorizedCacheControlHeaderStrategy Source # 
Generic UnauthorizedCacheControlHeaderStrategy Source # 
FromJSON UnauthorizedCacheControlHeaderStrategy Source # 
Hashable UnauthorizedCacheControlHeaderStrategy Source # 
NFData UnauthorizedCacheControlHeaderStrategy Source # 
ToHeader UnauthorizedCacheControlHeaderStrategy Source # 
ToQuery UnauthorizedCacheControlHeaderStrategy Source # 
ToByteString UnauthorizedCacheControlHeaderStrategy Source # 
FromText UnauthorizedCacheControlHeaderStrategy Source # 
ToText UnauthorizedCacheControlHeaderStrategy Source # 
type Rep UnauthorizedCacheControlHeaderStrategy Source # 
type Rep UnauthorizedCacheControlHeaderStrategy = D1 (MetaData "UnauthorizedCacheControlHeaderStrategy" "Network.AWS.APIGateway.Types.Sum" "amazonka-apigateway-1.4.2-1ZfIGe0X9Tw3KKubfE7kqg" False) ((:+:) (C1 (MetaCons "FailWith403" PrefixI False) U1) ((:+:) (C1 (MetaCons "SucceedWithResponseHeader" PrefixI False) U1) (C1 (MetaCons "SucceedWithoutResponseHeader" PrefixI False) U1)))

APIKey

data APIKey Source #

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

See: apiKey smart constructor.

Instances

Eq APIKey Source # 

Methods

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

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

Data APIKey Source # 

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 # 
Show APIKey Source # 
Generic APIKey Source # 

Associated Types

type Rep APIKey :: * -> * #

Methods

from :: APIKey -> Rep APIKey x #

to :: Rep APIKey x -> APIKey #

FromJSON APIKey Source # 
Hashable APIKey Source # 

Methods

hashWithSalt :: Int -> APIKey -> Int #

hash :: APIKey -> Int #

NFData APIKey Source # 

Methods

rnf :: APIKey -> () #

type Rep APIKey Source # 

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

Specifies whether the API Key can be used by callers.

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

The date when the API Key was created, in ISO 8601 format.

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 #

When the API Key was last updated, in ISO 8601 format.

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

The description of the API Key.

Account

data Account Source #

Represents an AWS account that is associated with Amazon API Gateway.

See: account smart constructor.

Instances

Eq Account Source # 

Methods

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

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

Data Account Source # 

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 # 
Show Account Source # 
Generic Account Source # 

Associated Types

type Rep Account :: * -> * #

Methods

from :: Account -> Rep Account x #

to :: Rep Account x -> Account #

FromJSON Account Source # 
Hashable Account Source # 

Methods

hashWithSalt :: Int -> Account -> Int #

hash :: Account -> Int #

NFData Account Source # 

Methods

rnf :: Account -> () #

type Rep Account Source # 
type Rep Account = D1 (MetaData "Account" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.4.2-1ZfIGe0X9Tw3KKubfE7kqg" False) (C1 (MetaCons "Account'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_aCloudwatchRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_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:

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

Specifies the Amazon resource name (ARN) of an Amazon CloudWatch role for the current Account resource.

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

Specifies the application programming interface (API) throttle settings for the current Account resource.

Authorizer

data Authorizer Source #

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

See: authorizer smart constructor.

Instances

Eq Authorizer Source # 
Data Authorizer Source # 

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 # 
Show Authorizer Source # 
Generic Authorizer Source # 

Associated Types

type Rep Authorizer :: * -> * #

FromJSON Authorizer Source # 
Hashable Authorizer Source # 
NFData Authorizer Source # 

Methods

rnf :: Authorizer -> () #

type Rep Authorizer Source # 

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

Required
Specifies the authorizer's Uniform Resource Identifier (URI). For TOKEN authorizers, this must be a well-formed Lambda function URI. The URI should be of the form 'arn:aws:apigateway:{region}:lambda:path/{service_api}'. Region is used to determine the right endpoint. In this case, path is used to indicate that the remaining substring in the URI should be treated as the path to the resource, including the initial \/. For Lambda functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations

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

A validation expression for the incoming identity. For TOKEN authorizers, this value should be a regular expression. The incoming token from the client is matched against this expression, and will proceed if the token matches. If the token doesn't match, the client receives a 401 Unauthorized response.

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 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/exports. Has no functional impact.

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

Required
The type of the authorizer. Currently, the only valid type is TOKEN.

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

Required
The source of the identity in an incoming request. For TOKEN authorizers, this value is a mapping expression with the same syntax as integration parameter mappings. The only valid source for tokens is 'header', so the expression should match 'method.request.header.[headerName]'. The value of the header '[headerName]' will be interpreted as the incoming token.

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

Specifies the credentials required for the authorizer, if any. Two options are available. To specify an IAM Role for Amazon 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 that must provide as part of the URL after the domain name.

See: basePathMapping smart constructor.

Instances

Eq BasePathMapping Source # 
Data BasePathMapping Source # 

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 # 
Show BasePathMapping Source # 
Generic BasePathMapping Source # 
FromJSON BasePathMapping Source # 
Hashable BasePathMapping Source # 
NFData BasePathMapping Source # 

Methods

rnf :: BasePathMapping -> () #

type Rep BasePathMapping Source # 
type Rep BasePathMapping = D1 (MetaData "BasePathMapping" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.4.2-1ZfIGe0X9Tw3KKubfE7kqg" False) (C1 (MetaCons "BasePathMapping'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_bpmStage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_bpmBasePath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_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 :: Lens' BasePathMapping (Maybe Text) Source #

The name of the API's 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.

ClientCertificate

data ClientCertificate Source #

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

See: clientCertificate smart constructor.

Instances

Eq ClientCertificate Source # 
Data ClientCertificate Source # 

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 # 
Show ClientCertificate Source # 
Generic ClientCertificate Source # 
FromJSON ClientCertificate Source # 
Hashable ClientCertificate Source # 
NFData ClientCertificate Source # 

Methods

rnf :: ClientCertificate -> () #

type Rep ClientCertificate Source # 
type Rep ClientCertificate = D1 (MetaData "ClientCertificate" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.4.2-1ZfIGe0X9Tw3KKubfE7kqg" False) (C1 (MetaCons "ClientCertificate'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ccPemEncodedCertificate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ccClientCertificateId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_ccCreatedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601))) ((:*:) (S1 (MetaSel (Just Symbol "_ccExpirationDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601))) (S1 (MetaSel (Just Symbol "_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 :: Lens' ClientCertificate (Maybe Text) Source #

The PEM-encoded public key of the Client Certificate, that 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 date when the Client Certificate was created, in ISO 8601 format.

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

The date when the Client Certificate will expire, in ISO 8601 format.

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.

See: deployment smart constructor.

Instances

Eq Deployment Source # 
Data Deployment Source # 

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 # 
Show Deployment Source # 
Generic Deployment Source # 

Associated Types

type Rep Deployment :: * -> * #

FromJSON Deployment Source # 
Hashable Deployment Source # 
NFData Deployment Source # 

Methods

rnf :: Deployment -> () #

type Rep Deployment Source # 
type Rep Deployment = D1 (MetaData "Deployment" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.4.2-1ZfIGe0X9Tw3KKubfE7kqg" False) (C1 (MetaCons "Deployment'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dApiSummary") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text (Map Text MethodSnapshot))))) (S1 (MetaSel (Just Symbol "_dCreatedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601)))) ((:*:) (S1 (MetaSel (Just Symbol "_dId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_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 :: Lens' Deployment (HashMap Text (HashMap Text MethodSnapshot)) Source #

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

DomainName

data DomainName Source #

Represents a domain name that is contained in a simpler, more intuitive URL that can be called.

See: domainName smart constructor.

Instances

Eq DomainName Source # 
Data DomainName Source # 

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 # 
Show DomainName Source # 
Generic DomainName Source # 

Associated Types

type Rep DomainName :: * -> * #

FromJSON DomainName Source # 
Hashable DomainName Source # 
NFData DomainName Source # 

Methods

rnf :: DomainName -> () #

type Rep DomainName Source # 
type Rep DomainName = D1 (MetaData "DomainName" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.4.2-1ZfIGe0X9Tw3KKubfE7kqg" False) (C1 (MetaCons "DomainName'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dnCertificateName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dnDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_dnCertificateUploadDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601))) (S1 (MetaSel (Just Symbol "_dnDistributionDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

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:

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

The name of the certificate.

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

The name of the DomainName resource.

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

The date when the certificate was uploaded, in ISO 8601 format.

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

The domain name of the Amazon CloudFront distribution. For more information, see the Amazon CloudFront documentation.

Integration

data Integration Source #

Represents a HTTP, AWS, or Mock integration.

See: integration smart constructor.

Instances

Eq Integration Source # 
Data Integration Source # 

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 # 
Show Integration Source # 
Generic Integration Source # 

Associated Types

type Rep Integration :: * -> * #

FromJSON Integration Source # 
Hashable Integration Source # 
NFData Integration Source # 

Methods

rnf :: Integration -> () #

type Rep Integration Source # 

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

Specifies the integration's HTTP method type.

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

Specifies the integration's request templates.

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

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

Represents requests parameters that are sent with the backend request. Request parameters are represented as a key/value map, with a destination as the key and a source as the value. A source must match an existing method request parameter, or a static value. Static values must be enclosed with single quotes, and be pre-encoded based on their destination in the request. The destination must match the pattern 'integration.request.{location}.{name}', where location is either querystring, path, or header. name must be a valid, unique parameter name.

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

Specifies the integration's Uniform Resource Identifier (URI). For HTTP integrations, the URI must be a fully formed, encoded HTTP(S) URL according to the RFC-3986 specification. For AWS integrations, the URI should be of the form 'arn:aws:apigateway:{region}:{subdomain.service|service}:{path|action}/{service_api}'. Region, subdomain and service are used to determine the right endpoint. For AWS services that use the 'Action=' query string parameter, service_api should be a valid action for the desired service. For RESTful AWS service APIs, path is used to indicate that the remaining substring in the URI should be treated as the path to the resource, including the initial \/.

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

Specifies the integration's responses.

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

Specifies the integration's cache namespace.

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

Specifies the integration's type. The valid value is HTTP, AWS, or MOCK.

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

See: integrationResponse smart constructor.

Instances

Eq IntegrationResponse Source # 
Data IntegrationResponse Source # 

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 # 
Show IntegrationResponse Source # 
Generic IntegrationResponse Source # 
FromJSON IntegrationResponse Source # 
Hashable IntegrationResponse Source # 
NFData IntegrationResponse Source # 

Methods

rnf :: IntegrationResponse -> () #

type Rep IntegrationResponse Source # 
type Rep IntegrationResponse = D1 (MetaData "IntegrationResponse" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.4.2-1ZfIGe0X9Tw3KKubfE7kqg" False) (C1 (MetaCons "IntegrationResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_iResponseTemplates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text)))) (S1 (MetaSel (Just Symbol "_iSelectionPattern") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_iStatusCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_iResponseParameters") 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:

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

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

Specifies the regular expression (regex) pattern used to choose an integration response based on the response from the backend. If the backend is an AWS Lambda function, the AWS Lambda function error header is matched. For all other HTTP and AWS backends, the HTTP status code is matched.

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

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

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

Represents response parameters that can be read from the backend response. Response parameters are represented as a key/value map, with a destination as the key and a source as the value. A destination must match an existing response parameter in the MethodResponse. The source can be a header from the backend response, or a static value. Static values are specified using enclosing single quotes, and backend response headers can be read using the pattern 'integration.response.header.{name}'.

Method

data Method Source #

Represents a method.

See: method smart constructor.

Instances

Eq Method Source # 

Methods

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

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

Data Method Source # 

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 # 
Show Method Source # 
Generic Method Source # 

Associated Types

type Rep Method :: * -> * #

Methods

from :: Method -> Rep Method x #

to :: Rep Method x -> Method #

FromJSON Method Source # 
Hashable Method Source # 

Methods

hashWithSalt :: Int -> Method -> Int #

hash :: Method -> Int #

NFData Method Source # 

Methods

rnf :: Method -> () #

type Rep Method Source # 

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 :: Lens' Method (HashMap Text MethodResponse) Source #

Represents available responses that can be sent to the caller. Method responses are represented as a key/value map, with an HTTP status code as the key and a MethodResponse as the value. The status codes are available for the Integration responses to map to.

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

The HTTP method.

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

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

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

Represents request parameters that can be accepted by Amazon API Gateway. Request parameters are represented as a key/value map, with a source as the key and a Boolean flag as the value. The Boolean flag is used to specify whether the parameter is required. A source must match the pattern 'method.request.{location}.{name}', where location is either querystring, path, or header. name is a valid, unique parameter name. Sources specified here are available to the integration for mapping to integration request parameters or templates.

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

Specifies the identifier of an Authorizer to use on this Method. The authorizationType must be CUSTOM.

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

The method's authorization type.

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

Specifies whether the method requires a valid ApiKey.

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

The method's integration.

MethodResponse

data MethodResponse Source #

Represents a method response. Amazon API Gateway sends back the status code to the caller as the HTTP status code. Parameters and models can be used to transform the response from the method's integration.

See: methodResponse smart constructor.

Instances

Eq MethodResponse Source # 
Data MethodResponse Source # 

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 # 
Show MethodResponse Source # 
Generic MethodResponse Source # 

Associated Types

type Rep MethodResponse :: * -> * #

FromJSON MethodResponse Source # 
Hashable MethodResponse Source # 
NFData MethodResponse Source # 

Methods

rnf :: MethodResponse -> () #

type Rep MethodResponse Source # 
type Rep MethodResponse = D1 (MetaData "MethodResponse" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.4.2-1ZfIGe0X9Tw3KKubfE7kqg" False) (C1 (MetaCons "MethodResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mResponseModels") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_mStatusCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_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 :: 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 #

Represents response parameters that can be sent back to the caller by Amazon API Gateway. Response parameters are represented as a key/value map, with a destination as the key and a boolean flag as the value, which is used to specify whether the parameter is required. A destination must match the pattern 'method.response.header.{name}', where name is a valid, unique header name. Destinations specified here are available to the integration for mapping from integration response parameters.

MethodSetting

data MethodSetting Source #

Specifies the method setting properties.

See: methodSetting smart constructor.

Instances

Eq MethodSetting Source # 
Data MethodSetting Source # 

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 # 
Show MethodSetting Source # 
Generic MethodSetting Source # 

Associated Types

type Rep MethodSetting :: * -> * #

FromJSON MethodSetting Source # 
Hashable MethodSetting Source # 
NFData MethodSetting Source # 

Methods

rnf :: MethodSetting -> () #

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

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

Specifies the time to live (TTL) in seconds, for cached responses. The higher a 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 the 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 the strategy on how to handle the 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 # 
Data MethodSnapshot Source # 

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 # 
Show MethodSnapshot Source # 
Generic MethodSnapshot Source # 

Associated Types

type Rep MethodSnapshot :: * -> * #

FromJSON MethodSnapshot Source # 
Hashable MethodSnapshot Source # 
NFData MethodSnapshot Source # 

Methods

rnf :: MethodSnapshot -> () #

type Rep MethodSnapshot Source # 
type Rep MethodSnapshot = D1 (MetaData "MethodSnapshot" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.4.2-1ZfIGe0X9Tw3KKubfE7kqg" False) (C1 (MetaCons "MethodSnapshot'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_msAuthorizationType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_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 :: Lens' MethodSnapshot (Maybe Text) Source #

Specifies the type of authorization used for the method.

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

Specifies whether the method requires a valid ApiKey.

Model

data Model Source #

Represents the structure of a request or response payload for a method.

See: model smart constructor.

Instances

Eq Model Source # 

Methods

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

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

Data Model Source # 

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 # 
Show Model Source # 

Methods

showsPrec :: Int -> Model -> ShowS #

show :: Model -> String #

showList :: [Model] -> ShowS #

Generic Model Source # 

Associated Types

type Rep Model :: * -> * #

Methods

from :: Model -> Rep Model x #

to :: Rep Model x -> Model #

FromJSON Model Source # 
Hashable Model Source # 

Methods

hashWithSalt :: Int -> Model -> Int #

hash :: Model -> Int #

NFData Model Source # 

Methods

rnf :: Model -> () #

type Rep Model Source # 

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

The schema for the model. For 'application\/json' models, this should be JSON-schema draft v4 model.

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

The name of the model.

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 # 
Data PatchOperation Source # 

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 # 
Show PatchOperation Source # 
Generic PatchOperation Source # 

Associated Types

type Rep PatchOperation :: * -> * #

ToJSON PatchOperation Source # 
Hashable PatchOperation Source # 
NFData PatchOperation Source # 

Methods

rnf :: PatchOperation -> () #

type Rep PatchOperation Source # 
type Rep PatchOperation = D1 (MetaData "PatchOperation" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.4.2-1ZfIGe0X9Tw3KKubfE7kqg" False) (C1 (MetaCons "PatchOperation'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_poOp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Op))) (S1 (MetaSel (Just Symbol "_poPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_poValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_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 :: Lens' PatchOperation (Maybe Op) Source #

A patch operation whose value indicates the operation to perform. Its value MUST be one of "add", "remove", "replace", "move", "copy", or "test"; other values are errors.

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

Operation objects MUST have exactly one "path" member. That member's value is a string containing a `JSON-Pointer` value that references a location within the target document (the "target location") where the operation is performed.

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

The actual value content.

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

The "move" and "copy" operation object MUST contain a "from" member, which is a string containing a 'JSON Pointer' value that references the location in the target document to move the value from.

Resource

data Resource Source #

Represents a resource.

See: resource smart constructor.

Instances

Eq Resource Source # 
Data Resource Source # 

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 # 
Show Resource Source # 
Generic Resource Source # 

Associated Types

type Rep Resource :: * -> * #

Methods

from :: Resource -> Rep Resource x #

to :: Rep Resource x -> Resource #

FromJSON Resource Source # 
Hashable Resource Source # 

Methods

hashWithSalt :: Int -> Resource -> Int #

hash :: Resource -> Int #

NFData Resource Source # 

Methods

rnf :: Resource -> () #

type Rep Resource Source # 
type Rep Resource = D1 (MetaData "Resource" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.4.2-1ZfIGe0X9Tw3KKubfE7kqg" False) (C1 (MetaCons "Resource'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_rPathPart") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_rPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_rId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_rResourceMethods") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Method)))) (S1 (MetaSel (Just Symbol "_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 :: 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 #

Map of methods for this resource, which is included only if the request uses the embed query option.

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

The parent resource's identifier.

RestAPI

data RestAPI Source #

Represents a REST API.

See: restAPI smart constructor.

Instances

Eq RestAPI Source # 

Methods

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

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

Data RestAPI Source # 

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 # 
Show RestAPI Source # 
Generic RestAPI Source # 

Associated Types

type Rep RestAPI :: * -> * #

Methods

from :: RestAPI -> Rep RestAPI x #

to :: Rep RestAPI x -> RestAPI #

FromJSON RestAPI Source # 
Hashable RestAPI Source # 

Methods

hashWithSalt :: Int -> RestAPI -> Int #

hash :: RestAPI -> Int #

NFData RestAPI Source # 

Methods

rnf :: RestAPI -> () #

type Rep RestAPI Source # 
type Rep RestAPI = D1 (MetaData "RestAPI" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.4.2-1ZfIGe0X9Tw3KKubfE7kqg" False) (C1 (MetaCons "RestAPI'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_raWarnings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_raCreatedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601)))) ((:*:) (S1 (MetaSel (Just Symbol "_raName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_raId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_raDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

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:

raWarnings :: Lens' RestAPI [Text] Source #

Undocumented member.

raCreatedDate :: Lens' RestAPI (Maybe UTCTime) Source #

The date when the API was created, in ISO 8601 format.

raName :: Lens' RestAPI (Maybe Text) Source #

The API's name.

raId :: Lens' RestAPI (Maybe Text) Source #

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

raDescription :: Lens' RestAPI (Maybe Text) Source #

The API's description.

Stage

data Stage Source #

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

See: stage smart constructor.

Instances

Eq Stage Source # 

Methods

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

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

Data Stage Source # 

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 # 
Show Stage Source # 

Methods

showsPrec :: Int -> Stage -> ShowS #

show :: Stage -> String #

showList :: [Stage] -> ShowS #

Generic Stage Source # 

Associated Types

type Rep Stage :: * -> * #

Methods

from :: Stage -> Rep Stage x #

to :: Rep Stage x -> Stage #

FromJSON Stage Source # 
Hashable Stage Source # 

Methods

hashWithSalt :: Int -> Stage -> Int #

hash :: Stage -> Int #

NFData Stage Source # 

Methods

rnf :: Stage -> () #

type Rep Stage Source # 
type Rep Stage = D1 (MetaData "Stage" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.4.2-1ZfIGe0X9Tw3KKubfE7kqg" False) (C1 (MetaCons "Stage'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_sDeploymentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_sVariables") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_sClientCertificateId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_sCreatedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601))) (S1 (MetaSel (Just Symbol "_sCacheClusterStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CacheClusterStatus)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_sMethodSettings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text MethodSetting)))) ((:*:) (S1 (MetaSel (Just Symbol "_sLastUpdatedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601))) (S1 (MetaSel (Just Symbol "_sCacheClusterSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CacheClusterSize))))) ((:*:) (S1 (MetaSel (Just Symbol "_sCacheClusterEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_sStageName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_sDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe 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 :: 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 characters, and the values must match '[A-Za-z0-9-._~:/?#&=,]+'.

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

Undocumented member.

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

The date and time that the stage was created, in ISO 8601 format.

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 are defined as '{resource_path}/{http_method}' for an individual method override, or \\*\/\\* for the settings applied to all methods in the stage.

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

The date and time that information about the stage was last updated, in ISO 8601 format.

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

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

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 Amazon API Gateway.

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

The stage's description.

StageKey

data StageKey Source #

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

See: stageKey smart constructor.

Instances

Eq StageKey Source # 
Data StageKey Source # 

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 # 
Show StageKey Source # 
Generic StageKey Source # 

Associated Types

type Rep StageKey :: * -> * #

Methods

from :: StageKey -> Rep StageKey x #

to :: Rep StageKey x -> StageKey #

ToJSON StageKey Source # 
Hashable StageKey Source # 

Methods

hashWithSalt :: Int -> StageKey -> Int #

hash :: StageKey -> Int #

NFData StageKey Source # 

Methods

rnf :: StageKey -> () #

type Rep StageKey Source # 
type Rep StageKey = D1 (MetaData "StageKey" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.4.2-1ZfIGe0X9Tw3KKubfE7kqg" False) (C1 (MetaCons "StageKey'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_skRestAPIId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_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 :: Lens' StageKey (Maybe Text) Source #

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

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

The stage name in the RestApi that the stage key references.

ThrottleSettings

data ThrottleSettings Source #

Returns the throttle settings.

See: throttleSettings smart constructor.

Instances

Eq ThrottleSettings Source # 
Data ThrottleSettings Source # 

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 # 
Show ThrottleSettings Source # 
Generic ThrottleSettings Source # 
FromJSON ThrottleSettings Source # 
Hashable ThrottleSettings Source # 
NFData ThrottleSettings Source # 

Methods

rnf :: ThrottleSettings -> () #

type Rep ThrottleSettings Source # 
type Rep ThrottleSettings = D1 (MetaData "ThrottleSettings" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.4.2-1ZfIGe0X9Tw3KKubfE7kqg" False) (C1 (MetaCons "ThrottleSettings'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tsBurstLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_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 :: Lens' ThrottleSettings (Maybe Int) Source #

Returns the burstLimit when ThrottleSettings is called.

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

Returns the rateLimit when ThrottleSettings is called.