Skip to content

Get detailed data for a deployment

Description

Get detailed data for a deployment.

Usage

proton_get_deployment(componentName, environmentName, id,
  serviceInstanceName, serviceName)

Arguments

  • componentName

    The name of a component that you want to get the detailed data for.

  • environmentName

    The name of a environment that you want to get the detailed data for.

  • id

    [required] The ID of the deployment that you want to get the detailed data for.

  • serviceInstanceName

    The name of the service instance associated with the given deployment ID. serviceName must be specified to identify the service instance.

  • serviceName

    The name of the service associated with the given deployment ID.

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$get_deployment(
  componentName = "string",
  environmentName = "string",
  id = "string",
  serviceInstanceName = "string",
  serviceName = "string"
)