| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.APIGateway.DeleteDeployment
Description
Deletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage resources associated with it.
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> DeleteDeployment |
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
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.
data DeleteDeploymentResponse Source
See: deleteDeploymentResponse smart constructor.