Skip to content

List Environment Account Connections

proton_list_environment_account_connections R Documentation

View a list of environment account connections

Description

View a list of environment account connections.

For more information, see Environment account connections in the Proton User guide.

Usage

proton_list_environment_account_connections(environmentName, maxResults,
  nextToken, requestedBy, statuses)

Arguments

environmentName

The environment name that's associated with each listed environment account connection.

maxResults

The maximum number of environment account connections to list.

nextToken

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

requestedBy

[required] The type of account making the list_environment_account_connections request.

statuses

The status details for each listed environment account connection.

Value

A list with the following syntax:

list(
  environmentAccountConnections = list(
    list(
      arn = "string",
      componentRoleArn = "string",
      environmentAccountId = "string",
      environmentName = "string",
      id = "string",
      lastModifiedAt = as.POSIXct(
        "2015-01-01"
      ),
      managementAccountId = "string",
      requestedAt = as.POSIXct(
        "2015-01-01"
      ),
      roleArn = "string",
      status = "PENDING"|"CONNECTED"|"REJECTED"
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_environment_account_connections(
  environmentName = "string",
  maxResults = 123,
  nextToken = "string",
  requestedBy = "MANAGEMENT_ACCOUNT"|"ENVIRONMENT_ACCOUNT",
  statuses = list(
    "PENDING"|"CONNECTED"|"REJECTED"
  )
)