amazonka-apigateway-1.6.0: 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 # 
Data FlushStageCache Source # 

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

Methods

rnf :: FlushStageCache -> () #

AWSRequest FlushStageCache Source # 
ToHeaders FlushStageCache Source # 
ToPath FlushStageCache Source # 
ToQuery FlushStageCache Source # 
type Rep FlushStageCache Source # 
type Rep FlushStageCache = D1 * (MetaData "FlushStageCache" "Network.AWS.APIGateway.FlushStageCache" "amazonka-apigateway-1.6.0-JJ9NJtNe0aRBcVRYpJCEA2" False) (C1 * (MetaCons "FlushStageCache'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_fscRestAPIId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_fscStageName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs FlushStageCache Source # 

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

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

Methods

rnf :: FlushStageCacheResponse -> () #

type Rep FlushStageCacheResponse Source # 
type Rep FlushStageCacheResponse = D1 * (MetaData "FlushStageCacheResponse" "Network.AWS.APIGateway.FlushStageCache" "amazonka-apigateway-1.6.0-JJ9NJtNe0aRBcVRYpJCEA2" False) (C1 * (MetaCons "FlushStageCacheResponse'" PrefixI False) (U1 *))