Skip to content

Get Enrollment Statuses For Organization

computeoptimizer_get_enrollment_statuses_for_organization R Documentation

Returns the Compute Optimizer enrollment (opt-in) status of organization member accounts, if your account is an organization management account

Description

Returns the Compute Optimizer enrollment (opt-in) status of organization member accounts, if your account is an organization management account.

To get the enrollment status of standalone accounts, use the get_enrollment_status action.

Usage

computeoptimizer_get_enrollment_statuses_for_organization(filters,
  nextToken, maxResults)

Arguments

filters

An array of objects to specify a filter that returns a more specific list of account enrollment statuses.

nextToken

The token to advance to the next page of account enrollment statuses.

maxResults

The maximum number of account enrollment statuses to return with a single request. You can specify up to 100 statuses to return with each request.

To retrieve the remaining results, make another request with the returned nextToken value.

Value

A list with the following syntax:

list(
  accountEnrollmentStatuses = list(
    list(
      accountId = "string",
      status = "Active"|"Inactive"|"Pending"|"Failed",
      statusReason = "string",
      lastUpdatedTimestamp = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$get_enrollment_statuses_for_organization(
  filters = list(
    list(
      name = "Status",
      values = list(
        "string"
      )
    )
  ),
  nextToken = "string",
  maxResults = 123
)