| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.GreengrassV2.DeleteDeployment
Description
Deletes a deployment. To delete an active deployment, you must first cancel it. For more information, see CancelDeployment.
Deleting a deployment doesn't affect core devices that run that deployment, because core devices store the deployment's configuration on the device. Additionally, core devices can roll back to a previous deployment that has been deleted.
Creating a Request
data DeleteDeployment Source #
See: newDeleteDeployment smart constructor.
Constructors
| DeleteDeployment' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteDeployment |
Create a value of DeleteDeployment with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeleteDeployment, deleteDeployment_deploymentId - The ID of the deployment.
Request Lenses
deleteDeployment_deploymentId :: Lens' DeleteDeployment Text Source #
The ID of the deployment.
Destructuring the Response
data DeleteDeploymentResponse Source #
See: newDeleteDeploymentResponse smart constructor.
Constructors
| DeleteDeploymentResponse' | |
Instances
newDeleteDeploymentResponse :: DeleteDeploymentResponse Source #
Create a value of DeleteDeploymentResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.