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.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 API Gateway to delete a Deployment resource.

See: deleteDeployment smart constructor.

Instances
Eq DeleteDeployment Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteDeployment

Data DeleteDeployment Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteDeployment

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 # 
Instance details

Defined in Network.AWS.APIGateway.DeleteDeployment

Show DeleteDeployment Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteDeployment

Generic DeleteDeployment Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteDeployment

Associated Types

type Rep DeleteDeployment :: Type -> Type #

Hashable DeleteDeployment Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteDeployment

AWSRequest DeleteDeployment Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteDeployment

Associated Types

type Rs DeleteDeployment :: Type #

ToHeaders DeleteDeployment Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteDeployment

ToPath DeleteDeployment Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteDeployment

ToQuery DeleteDeployment Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteDeployment

NFData DeleteDeployment Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteDeployment

Methods

rnf :: DeleteDeployment -> () #

type Rep DeleteDeployment Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteDeployment

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

Defined in Network.AWS.APIGateway.DeleteDeployment

Request Lenses

ddRestAPIId :: Lens' DeleteDeployment Text Source #

Required
The string identifier of the associated RestApi .

ddDeploymentId :: Lens' DeleteDeployment Text Source #

Required
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 # 
Instance details

Defined in Network.AWS.APIGateway.DeleteDeployment

Data DeleteDeploymentResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteDeployment

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 # 
Instance details

Defined in Network.AWS.APIGateway.DeleteDeployment

Show DeleteDeploymentResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteDeployment

Generic DeleteDeploymentResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteDeployment

Associated Types

type Rep DeleteDeploymentResponse :: Type -> Type #

NFData DeleteDeploymentResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteDeployment

type Rep DeleteDeploymentResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteDeployment

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