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 |
Attempts to cancel a service instance deployment on an
UpdateServiceInstance action, if the deployment is IN_PROGRESS
. For
more information, see Update a service instance in the
AWS Proton Administrator guide
or the
AWS Proton User guide.
The following list includes potential cancellation scenarios.
- If the cancellation attempt succeeds, the resulting deployment state
is
CANCELLED
. - If the cancellation attempt fails, the resulting deployment state is
FAILED
. - If the current UpdateServiceInstance action succeeds before the
cancellation attempt starts, the resulting deployment state is
SUCCEEDED
and the cancellation attempt has no effect.
Synopsis
- data CancelServiceInstanceDeployment = CancelServiceInstanceDeployment' {}
- newCancelServiceInstanceDeployment :: Text -> Text -> CancelServiceInstanceDeployment
- cancelServiceInstanceDeployment_serviceInstanceName :: Lens' CancelServiceInstanceDeployment Text
- cancelServiceInstanceDeployment_serviceName :: Lens' CancelServiceInstanceDeployment Text
- data CancelServiceInstanceDeploymentResponse = CancelServiceInstanceDeploymentResponse' {}
- newCancelServiceInstanceDeploymentResponse :: Int -> ServiceInstance -> CancelServiceInstanceDeploymentResponse
- cancelServiceInstanceDeploymentResponse_httpStatus :: Lens' CancelServiceInstanceDeploymentResponse Int
- cancelServiceInstanceDeploymentResponse_serviceInstance :: Lens' CancelServiceInstanceDeploymentResponse ServiceInstance
Creating a Request
data CancelServiceInstanceDeployment Source #
See: newCancelServiceInstanceDeployment
smart constructor.
CancelServiceInstanceDeployment' | |
|
Instances
newCancelServiceInstanceDeployment Source #
Create a value of CancelServiceInstanceDeployment
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:serviceInstanceName:CancelServiceInstanceDeployment'
, cancelServiceInstanceDeployment_serviceInstanceName
- The name of the service instance with the deployment to cancel.
$sel:serviceName:CancelServiceInstanceDeployment'
, cancelServiceInstanceDeployment_serviceName
- The name of the service with the service instance deployment to cancel.
Request Lenses
cancelServiceInstanceDeployment_serviceInstanceName :: Lens' CancelServiceInstanceDeployment Text Source #
The name of the service instance with the deployment to cancel.
cancelServiceInstanceDeployment_serviceName :: Lens' CancelServiceInstanceDeployment Text Source #
The name of the service with the service instance deployment to cancel.
Destructuring the Response
data CancelServiceInstanceDeploymentResponse Source #
See: newCancelServiceInstanceDeploymentResponse
smart constructor.
CancelServiceInstanceDeploymentResponse' | |
|
Instances
newCancelServiceInstanceDeploymentResponse Source #
:: Int | |
-> ServiceInstance |
|
-> CancelServiceInstanceDeploymentResponse |
Create a value of CancelServiceInstanceDeploymentResponse
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:httpStatus:CancelServiceInstanceDeploymentResponse'
, cancelServiceInstanceDeploymentResponse_httpStatus
- The response's http status code.
$sel:serviceInstance:CancelServiceInstanceDeploymentResponse'
, cancelServiceInstanceDeploymentResponse_serviceInstance
- The service instance summary data that's returned by AWS Proton.
Response Lenses
cancelServiceInstanceDeploymentResponse_httpStatus :: Lens' CancelServiceInstanceDeploymentResponse Int Source #
The response's http status code.
cancelServiceInstanceDeploymentResponse_serviceInstance :: Lens' CancelServiceInstanceDeploymentResponse ServiceInstance Source #
The service instance summary data that's returned by AWS Proton.