Skip to content

Get Environment

proton_get_environment R Documentation

Get detailed data for an environment

Description

Get detailed data for an environment.

Usage

proton_get_environment(name)

Arguments

name

[required] The name of the environment that you want to get the detailed data for.

Value

A list with the following syntax:

list(
  environment = list(
    arn = "string",
    codebuildRoleArn = "string",
    componentRoleArn = "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",
    environmentAccountConnectionId = "string",
    environmentAccountId = "string",
    lastAttemptedDeploymentId = "string",
    lastDeploymentAttemptedAt = as.POSIXct(
      "2015-01-01"
    ),
    lastDeploymentSucceededAt = as.POSIXct(
      "2015-01-01"
    ),
    lastSucceededDeploymentId = "string",
    name = "string",
    protonServiceRoleArn = "string",
    provisioning = "CUSTOMER_MANAGED",
    provisioningRepository = list(
      arn = "string",
      branch = "string",
      name = "string",
      provider = "GITHUB"|"GITHUB_ENTERPRISE"|"BITBUCKET"
    ),
    spec = "string",
    templateMajorVersion = "string",
    templateMinorVersion = "string",
    templateName = "string"
  )
)

Request syntax

svc$get_environment(
  name = "string"
)