Skip to content

List Environments

proton_list_environments R Documentation

List environments with detail data summaries

Description

List environments with detail data summaries.

Usage

proton_list_environments(environmentTemplates, maxResults, nextToken)

Arguments

environmentTemplates

An array of the versions of the environment template.

maxResults

The maximum number of environments to list.

nextToken

A token that indicates the location of the next environment in the array of environments, after the list of environments that was previously requested.

Value

A list with the following syntax:

list(
  environments = list(
    list(
      arn = "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",
      templateMajorVersion = "string",
      templateMinorVersion = "string",
      templateName = "string"
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_environments(
  environmentTemplates = list(
    list(
      majorVersion = "string",
      templateName = "string"
    )
  ),
  maxResults = 123,
  nextToken = "string"
)