Skip to content

Delete Deployment

proton_delete_deployment R Documentation

Delete the deployment

Description

Delete the deployment.

Usage

proton_delete_deployment(id)

Arguments

id

[required] The ID of the deployment to delete.

Value

A list with the following syntax:

list(
  deployment = list(
    arn = "string",
    completedAt = as.POSIXct(
      "2015-01-01"
    ),
    componentName = "string",
    createdAt = as.POSIXct(
      "2015-01-01"
    ),
    deploymentStatus = "IN_PROGRESS"|"FAILED"|"SUCCEEDED"|"DELETE_IN_PROGRESS"|"DELETE_FAILED"|"DELETE_COMPLETE"|"CANCELLING"|"CANCELLED",
    deploymentStatusMessage = "string",
    environmentName = "string",
    id = "string",
    initialState = list(
      component = list(
        serviceInstanceName = "string",
        serviceName = "string",
        serviceSpec = "string",
        templateFile = "string"
      ),
      environment = list(
        spec = "string",
        templateMajorVersion = "string",
        templateMinorVersion = "string",
        templateName = "string"
      ),
      serviceInstance = list(
        lastSuccessfulComponentDeploymentIds = list(
          "string"
        ),
        lastSuccessfulEnvironmentDeploymentId = "string",
        lastSuccessfulServicePipelineDeploymentId = "string",
        spec = "string",
        templateMajorVersion = "string",
        templateMinorVersion = "string",
        templateName = "string"
      ),
      servicePipeline = list(
        spec = "string",
        templateMajorVersion = "string",
        templateMinorVersion = "string",
        templateName = "string"
      )
    ),
    lastAttemptedDeploymentId = "string",
    lastModifiedAt = as.POSIXct(
      "2015-01-01"
    ),
    lastSucceededDeploymentId = "string",
    serviceInstanceName = "string",
    serviceName = "string",
    targetArn = "string",
    targetResourceCreatedAt = as.POSIXct(
      "2015-01-01"
    ),
    targetResourceType = "ENVIRONMENT"|"SERVICE_PIPELINE"|"SERVICE_INSTANCE"|"COMPONENT",
    targetState = list(
      component = list(
        serviceInstanceName = "string",
        serviceName = "string",
        serviceSpec = "string",
        templateFile = "string"
      ),
      environment = list(
        spec = "string",
        templateMajorVersion = "string",
        templateMinorVersion = "string",
        templateName = "string"
      ),
      serviceInstance = list(
        lastSuccessfulComponentDeploymentIds = list(
          "string"
        ),
        lastSuccessfulEnvironmentDeploymentId = "string",
        lastSuccessfulServicePipelineDeploymentId = "string",
        spec = "string",
        templateMajorVersion = "string",
        templateMinorVersion = "string",
        templateName = "string"
      ),
      servicePipeline = list(
        spec = "string",
        templateMajorVersion = "string",
        templateMinorVersion = "string",
        templateName = "string"
      )
    )
  )
)

Request syntax

svc$delete_deployment(
  id = "string"
)