Values.GetEnrollmentStatusResponseSourceReturns 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.
type nonrec t = {status : Status.t option;The enrollment status of the account.
*)statusReason : StatusReason.t option;The reason for the enrollment status of the account. For example, an account might show a status of Pending because member accounts of an organization require more time to be enrolled in the service.
*)memberAccountsEnrolled : MemberAccountsEnrolled.t option;Confirms the enrollment status of member accounts of the organization, if the account is a management account of an organization.
*)lastUpdatedTimestamp : LastUpdatedTimestamp.t option;The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.
*)numberOfMemberAccountsOptedIn : NumberOfMemberAccountsOptedIn.t option;The count of organization member accounts that are opted in to the service, if your account is an organization management account.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerException of InternalServerException.t| `InvalidParameterValueException of InvalidParameterValueException.t| `MissingAuthenticationToken of MissingAuthenticationToken.t| `ThrottlingException of ThrottlingException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `InvalidParameterValueException of InvalidParameterValueException.t
| `MissingAuthenticationToken of MissingAuthenticationToken.t
| `ServiceUnavailableException of ServiceUnavailableException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `InvalidParameterValueException of InvalidParameterValueException.t
| `MissingAuthenticationToken of MissingAuthenticationToken.t
| `ServiceUnavailableException of ServiceUnavailableException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Boolean of MemberAccountsEnrolled.t
| `Enum of string
| `Integer of NumberOfMemberAccountsOptedIn.t
| `String of StatusReason.t
| `Timestamp of LastUpdatedTimestamp.t ])
list ]