v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1421274230.6 KB

Returns the enrollment (opt in) status of an account to the Compute Optimizer service.

If the account is the management account of an organization, this action also confirms the enrollment status of member accounts of the organization. Use the GetEnrollmentStatusesForOrganization action to get detailed information about the enrollment status of member accounts of an organization.

post/#X-Amz-Target=ComputeOptimizerService.GetEnrollmentStatus

Headers

X-Amz-Target'ComputeOptimizerService.GetEnrollmentStatus' required

Request body

GetEnrollmentStatusRequest required

Response

Success

status'Active' | 'Inactive' | 'Pending' | 'Failed'

The enrollment status of the account.

statusReasonstring
<p>The reason for the enrollment status of the account.</p> <p>For example, an account might show a status of <code>Pending</code> because member accounts of an organization require more time to be enrolled in the service.</p>
memberAccountsEnrolledboolean

Confirms the enrollment status of member accounts of the organization, if the account is a management account of an organization.

lastUpdatedTimestampstring date-time

The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.

numberOfMemberAccountsOptedIninteger

The count of organization member accounts that are opted in to the service, if your account is an organization management account.