Skip to content

Get Deployment Instance

codedeploy_get_deployment_instance R Documentation

Gets information about an instance as part of a deployment

Description

Gets information about an instance as part of a deployment.

Usage

codedeploy_get_deployment_instance(deploymentId, instanceId)

Arguments

deploymentId

[required] The unique ID of a deployment.

instanceId

[required] The unique ID of an instance in the deployment group.

Value

A list with the following syntax:

list(
  instanceSummary = list(
    deploymentId = "string",
    instanceId = "string",
    status = "Pending"|"InProgress"|"Succeeded"|"Failed"|"Skipped"|"Unknown"|"Ready",
    lastUpdatedAt = as.POSIXct(
      "2015-01-01"
    ),
    lifecycleEvents = list(
      list(
        lifecycleEventName = "string",
        diagnostics = list(
          errorCode = "Success"|"ScriptMissing"|"ScriptNotExecutable"|"ScriptTimedOut"|"ScriptFailed"|"UnknownError",
          scriptName = "string",
          message = "string",
          logTail = "string"
        ),
        startTime = as.POSIXct(
          "2015-01-01"
        ),
        endTime = as.POSIXct(
          "2015-01-01"
        ),
        status = "Pending"|"InProgress"|"Succeeded"|"Failed"|"Skipped"|"Unknown"
      )
    ),
    instanceType = "Blue"|"Green"
  )
)

Request syntax

svc$get_deployment_instance(
  deploymentId = "string",
  instanceId = "string"
)