amazonka-apigateway-1.5.0: Amazon API Gateway SDK.

Copyright(c) 2013-2017 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.DeleteDeployment

Contents

Description

Deletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage resources associated with it.

Synopsis

Creating a Request

deleteDeployment Source #

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

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

data DeleteDeployment Source #

Requests Amazon API Gateway to delete a Deployment resource.

See: deleteDeployment smart constructor.

Instances

Eq DeleteDeployment Source # 
Data DeleteDeployment Source # 

Methods

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

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

toConstr :: DeleteDeployment -> Constr #

dataTypeOf :: DeleteDeployment -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteDeployment Source # 
Show DeleteDeployment Source # 
Generic DeleteDeployment Source # 
Hashable DeleteDeployment Source # 
NFData DeleteDeployment Source # 

Methods

rnf :: DeleteDeployment -> () #

AWSRequest DeleteDeployment Source # 
ToQuery DeleteDeployment Source # 
ToPath DeleteDeployment Source # 
ToHeaders DeleteDeployment Source # 
type Rep DeleteDeployment Source # 
type Rep DeleteDeployment = D1 (MetaData "DeleteDeployment" "Network.AWS.APIGateway.DeleteDeployment" "amazonka-apigateway-1.5.0-3jDq4KKltGt78uikPpOCEJ" False) (C1 (MetaCons "DeleteDeployment'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ddRestAPIId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ddDeploymentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DeleteDeployment Source # 

Request Lenses

ddRestAPIId :: Lens' DeleteDeployment Text Source #

The string identifier of the associated RestApi .

ddDeploymentId :: Lens' DeleteDeployment Text Source #

The identifier of the Deployment resource to delete.

Destructuring the Response

deleteDeploymentResponse :: DeleteDeploymentResponse Source #

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

data DeleteDeploymentResponse Source #

See: deleteDeploymentResponse smart constructor.

Instances

Eq DeleteDeploymentResponse Source # 
Data DeleteDeploymentResponse Source # 

Methods

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

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

toConstr :: DeleteDeploymentResponse -> Constr #

dataTypeOf :: DeleteDeploymentResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteDeploymentResponse Source # 
Show DeleteDeploymentResponse Source # 
Generic DeleteDeploymentResponse Source # 
NFData DeleteDeploymentResponse Source # 
type Rep DeleteDeploymentResponse Source # 
type Rep DeleteDeploymentResponse = D1 (MetaData "DeleteDeploymentResponse" "Network.AWS.APIGateway.DeleteDeployment" "amazonka-apigateway-1.5.0-3jDq4KKltGt78uikPpOCEJ" False) (C1 (MetaCons "DeleteDeploymentResponse'" PrefixI False) U1)