Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Deletes a Deployment
resource. Deleting a deployment will only succeed if there are no Stage
resources associated with it.
Creating a Request
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:
ddRestAPIId
- [Required] The string identifier of the associatedRestApi
.ddDeploymentId
- [Required] The identifier of theDeployment
resource to delete.
data DeleteDeployment Source #
Requests API Gateway to delete a Deployment
resource.
See: deleteDeployment
smart constructor.
Instances
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.