Copyright | (c) 2013-2021 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 |
Cancels a deployment. This operation cancels the deployment for devices that haven't yet received it. If a device already received the deployment, this operation doesn't change anything for that device.
Synopsis
- data CancelDeployment = CancelDeployment' {
- deploymentId :: Text
- newCancelDeployment :: Text -> CancelDeployment
- cancelDeployment_deploymentId :: Lens' CancelDeployment Text
- data CancelDeploymentResponse = CancelDeploymentResponse' {
- message :: Maybe Text
- httpStatus :: Int
- newCancelDeploymentResponse :: Int -> CancelDeploymentResponse
- cancelDeploymentResponse_message :: Lens' CancelDeploymentResponse (Maybe Text)
- cancelDeploymentResponse_httpStatus :: Lens' CancelDeploymentResponse Int
Creating a Request
data CancelDeployment Source #
See: newCancelDeployment
smart constructor.
CancelDeployment' | |
|
Instances
Create a value of CancelDeployment
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:
$sel:deploymentId:CancelDeployment'
, cancelDeployment_deploymentId
- The ID of the deployment.
Request Lenses
cancelDeployment_deploymentId :: Lens' CancelDeployment Text Source #
The ID of the deployment.
Destructuring the Response
data CancelDeploymentResponse Source #
See: newCancelDeploymentResponse
smart constructor.
CancelDeploymentResponse' | |
|
Instances
newCancelDeploymentResponse Source #
Create a value of CancelDeploymentResponse
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:
$sel:message:CancelDeploymentResponse'
, cancelDeploymentResponse_message
- A message that communicates if the cancel was successful.
$sel:httpStatus:CancelDeploymentResponse'
, cancelDeploymentResponse_httpStatus
- The response's http status code.
Response Lenses
cancelDeploymentResponse_message :: Lens' CancelDeploymentResponse (Maybe Text) Source #
A message that communicates if the cancel was successful.
cancelDeploymentResponse_httpStatus :: Lens' CancelDeploymentResponse Int Source #
The response's http status code.