Cancel Service Pipeline Deployment
proton_cancel_service_pipeline_deployment | R Documentation |
Attempts to cancel a service pipeline deployment on an UpdateServicePipeline action, if the deployment is IN_PROGRESS¶
Description¶
Attempts to cancel a service pipeline deployment on an
update_service_pipeline
action, if the deployment is IN_PROGRESS
.
For more information, see Update a service
pipeline
in the 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
update_service_pipeline
action succeeds before the cancellation attempt starts, the resulting deployment state isSUCCEEDED
and the cancellation attempt has no effect.
Usage¶
Arguments¶
serviceName
[required] The name of the service with the service pipeline deployment to cancel.
Value¶
A list with the following syntax:
list(
pipeline = list(
arn = "string",
createdAt = as.POSIXct(
"2015-01-01"
),
deploymentStatus = "IN_PROGRESS"|"FAILED"|"SUCCEEDED"|"DELETE_IN_PROGRESS"|"DELETE_FAILED"|"DELETE_COMPLETE"|"CANCELLING"|"CANCELLED",
deploymentStatusMessage = "string",
lastAttemptedDeploymentId = "string",
lastDeploymentAttemptedAt = as.POSIXct(
"2015-01-01"
),
lastDeploymentSucceededAt = as.POSIXct(
"2015-01-01"
),
lastSucceededDeploymentId = "string",
spec = "string",
templateMajorVersion = "string",
templateMinorVersion = "string",
templateName = "string"
)
)