Skip to content

Cancel Component Deployment

proton_cancel_component_deployment R Documentation

Attempts to cancel a component deployment (for a component that is in the IN_PROGRESS deployment status)

Description

Attempts to cancel a component deployment (for a component that is in the IN_PROGRESS deployment status).

For more information about components, see Proton components in the Proton User Guide.

Usage

proton_cancel_component_deployment(componentName)

Arguments

componentName

[required] The name of the component with the deployment to cancel.

Value

A list with the following syntax:

list(
  component = 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",
    description = "string",
    environmentName = "string",
    lastAttemptedDeploymentId = "string",
    lastClientRequestToken = "string",
    lastDeploymentAttemptedAt = as.POSIXct(
      "2015-01-01"
    ),
    lastDeploymentSucceededAt = as.POSIXct(
      "2015-01-01"
    ),
    lastModifiedAt = as.POSIXct(
      "2015-01-01"
    ),
    lastSucceededDeploymentId = "string",
    name = "string",
    serviceInstanceName = "string",
    serviceName = "string",
    serviceSpec = "string"
  )
)

Request syntax

svc$cancel_component_deployment(
  componentName = "string"
)