amazonka-apigateway-1.3.6: Amazon API Gateway SDK.

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

Contents

Description

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

See: AWS API Reference for DeleteDeployment.

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:

Request Lenses

ddRestAPIId :: Lens' DeleteDeployment Text Source

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

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.