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

Contents

Description

Deletes a Stage resource.

Synopsis

Creating a Request

deleteStage Source #

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

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

data DeleteStage Source #

Requests Amazon API Gateway to delete a Stage resource.

See: deleteStage smart constructor.

Instances

Eq DeleteStage Source # 
Data DeleteStage Source # 

Methods

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

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

toConstr :: DeleteStage -> Constr #

dataTypeOf :: DeleteStage -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteStage Source # 
Show DeleteStage Source # 
Generic DeleteStage Source # 

Associated Types

type Rep DeleteStage :: * -> * #

Hashable DeleteStage Source # 
NFData DeleteStage Source # 

Methods

rnf :: DeleteStage -> () #

AWSRequest DeleteStage Source # 
ToPath DeleteStage Source # 
ToHeaders DeleteStage Source # 

Methods

toHeaders :: DeleteStage -> [Header] #

ToQuery DeleteStage Source # 
type Rep DeleteStage Source # 
type Rep DeleteStage = D1 (MetaData "DeleteStage" "Network.AWS.APIGateway.DeleteStage" "amazonka-apigateway-1.4.2-1ZfIGe0X9Tw3KKubfE7kqg" False) (C1 (MetaCons "DeleteStage'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dsRestAPIId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dsStageName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DeleteStage Source # 

Request Lenses

dsRestAPIId :: Lens' DeleteStage Text Source #

The identifier of the RestApi resource for the Stage resource to delete.

dsStageName :: Lens' DeleteStage Text Source #

The name of the Stage resource to delete.

Destructuring the Response

deleteStageResponse :: DeleteStageResponse Source #

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

data DeleteStageResponse Source #

See: deleteStageResponse smart constructor.

Instances

Eq DeleteStageResponse Source # 
Data DeleteStageResponse Source # 

Methods

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

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

toConstr :: DeleteStageResponse -> Constr #

dataTypeOf :: DeleteStageResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteStageResponse Source # 
Show DeleteStageResponse Source # 
Generic DeleteStageResponse Source # 
NFData DeleteStageResponse Source # 

Methods

rnf :: DeleteStageResponse -> () #

type Rep DeleteStageResponse Source # 
type Rep DeleteStageResponse = D1 (MetaData "DeleteStageResponse" "Network.AWS.APIGateway.DeleteStage" "amazonka-apigateway-1.4.2-1ZfIGe0X9Tw3KKubfE7kqg" False) (C1 (MetaCons "DeleteStageResponse'" PrefixI False) U1)