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

Contents

Description

Flushes a stage's cache.

Synopsis

Creating a Request

flushStageCache Source #

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

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

  • fscRestAPIId - [Required] The string identifier of the associated RestApi .
  • fscStageName - [Required] The name of the stage to flush its cache.

data FlushStageCache Source #

Requests API Gateway to flush a stage's cache.

See: flushStageCache smart constructor.

Instances
Eq FlushStageCache Source # 
Instance details

Defined in Network.AWS.APIGateway.FlushStageCache

Data FlushStageCache Source # 
Instance details

Defined in Network.AWS.APIGateway.FlushStageCache

Methods

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

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

toConstr :: FlushStageCache -> Constr #

dataTypeOf :: FlushStageCache -> DataType #

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

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

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

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

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

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

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

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

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

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

Read FlushStageCache Source # 
Instance details

Defined in Network.AWS.APIGateway.FlushStageCache

Show FlushStageCache Source # 
Instance details

Defined in Network.AWS.APIGateway.FlushStageCache

Generic FlushStageCache Source # 
Instance details

Defined in Network.AWS.APIGateway.FlushStageCache

Associated Types

type Rep FlushStageCache :: Type -> Type #

Hashable FlushStageCache Source # 
Instance details

Defined in Network.AWS.APIGateway.FlushStageCache

AWSRequest FlushStageCache Source # 
Instance details

Defined in Network.AWS.APIGateway.FlushStageCache

Associated Types

type Rs FlushStageCache :: Type #

ToHeaders FlushStageCache Source # 
Instance details

Defined in Network.AWS.APIGateway.FlushStageCache

ToPath FlushStageCache Source # 
Instance details

Defined in Network.AWS.APIGateway.FlushStageCache

ToQuery FlushStageCache Source # 
Instance details

Defined in Network.AWS.APIGateway.FlushStageCache

NFData FlushStageCache Source # 
Instance details

Defined in Network.AWS.APIGateway.FlushStageCache

Methods

rnf :: FlushStageCache -> () #

type Rep FlushStageCache Source # 
Instance details

Defined in Network.AWS.APIGateway.FlushStageCache

type Rep FlushStageCache = D1 (MetaData "FlushStageCache" "Network.AWS.APIGateway.FlushStageCache" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "FlushStageCache'" PrefixI True) (S1 (MetaSel (Just "_fscRestAPIId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_fscStageName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs FlushStageCache Source # 
Instance details

Defined in Network.AWS.APIGateway.FlushStageCache

Request Lenses

fscRestAPIId :: Lens' FlushStageCache Text Source #

Required
The string identifier of the associated RestApi .

fscStageName :: Lens' FlushStageCache Text Source #

Required
The name of the stage to flush its cache.

Destructuring the Response

flushStageCacheResponse :: FlushStageCacheResponse Source #

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

data FlushStageCacheResponse Source #

See: flushStageCacheResponse smart constructor.

Instances
Eq FlushStageCacheResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.FlushStageCache

Data FlushStageCacheResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.FlushStageCache

Methods

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

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

toConstr :: FlushStageCacheResponse -> Constr #

dataTypeOf :: FlushStageCacheResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read FlushStageCacheResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.FlushStageCache

Show FlushStageCacheResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.FlushStageCache

Generic FlushStageCacheResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.FlushStageCache

Associated Types

type Rep FlushStageCacheResponse :: Type -> Type #

NFData FlushStageCacheResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.FlushStageCache

Methods

rnf :: FlushStageCacheResponse -> () #

type Rep FlushStageCacheResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.FlushStageCache

type Rep FlushStageCacheResponse = D1 (MetaData "FlushStageCacheResponse" "Network.AWS.APIGateway.FlushStageCache" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "FlushStageCacheResponse'" PrefixI False) (U1 :: Type -> Type))