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 pipeline deployment on an
UpdateServicePipeline action, if the deployment is IN_PROGRESS
. For
more information, see Update a service pipeline 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 UpdateServicePipeline action succeeds before the
cancellation attempt starts, the resulting deployment state is
SUCCEEDED
and the cancellation attempt has no effect.
Synopsis
- data CancelServicePipelineDeployment = CancelServicePipelineDeployment' {
- serviceName :: Text
- newCancelServicePipelineDeployment :: Text -> CancelServicePipelineDeployment
- cancelServicePipelineDeployment_serviceName :: Lens' CancelServicePipelineDeployment Text
- data CancelServicePipelineDeploymentResponse = CancelServicePipelineDeploymentResponse' {}
- newCancelServicePipelineDeploymentResponse :: Int -> ServicePipeline -> CancelServicePipelineDeploymentResponse
- cancelServicePipelineDeploymentResponse_httpStatus :: Lens' CancelServicePipelineDeploymentResponse Int
- cancelServicePipelineDeploymentResponse_pipeline :: Lens' CancelServicePipelineDeploymentResponse ServicePipeline
Creating a Request
data CancelServicePipelineDeployment Source #
See: newCancelServicePipelineDeployment
smart constructor.
CancelServicePipelineDeployment' | |
|
Instances
newCancelServicePipelineDeployment Source #
Create a value of CancelServicePipelineDeployment
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:serviceName:CancelServicePipelineDeployment'
, cancelServicePipelineDeployment_serviceName
- The name of the service with the service pipeline deployment to cancel.
Request Lenses
cancelServicePipelineDeployment_serviceName :: Lens' CancelServicePipelineDeployment Text Source #
The name of the service with the service pipeline deployment to cancel.
Destructuring the Response
data CancelServicePipelineDeploymentResponse Source #
See: newCancelServicePipelineDeploymentResponse
smart constructor.
CancelServicePipelineDeploymentResponse' | |
|
Instances
newCancelServicePipelineDeploymentResponse Source #
Create a value of CancelServicePipelineDeploymentResponse
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:CancelServicePipelineDeploymentResponse'
, cancelServicePipelineDeploymentResponse_httpStatus
- The response's http status code.
$sel:pipeline:CancelServicePipelineDeploymentResponse'
, cancelServicePipelineDeploymentResponse_pipeline
- The service pipeline detail data that's returned by AWS Proton.
Response Lenses
cancelServicePipelineDeploymentResponse_httpStatus :: Lens' CancelServicePipelineDeploymentResponse Int Source #
The response's http status code.
cancelServicePipelineDeploymentResponse_pipeline :: Lens' CancelServicePipelineDeploymentResponse ServicePipeline Source #
The service pipeline detail data that's returned by AWS Proton.