Module Values.GetEnrollmentStatusResponseSource

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.

Sourcetype nonrec t = {
  1. status : Status.t option;
    (*

    The enrollment status of the account.

    *)
  2. 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.

    *)
  3. memberAccountsEnrolled : MemberAccountsEnrolled.t option;
    (*

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

    *)
  4. lastUpdatedTimestamp : LastUpdatedTimestamp.t option;
    (*

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

    *)
  5. 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.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalServerException of InternalServerException.t
  3. | `InvalidParameterValueException of InvalidParameterValueException.t
  4. | `MissingAuthenticationToken of MissingAuthenticationToken.t
  5. | `ServiceUnavailableException of ServiceUnavailableException.t
  6. | `ThrottlingException of ThrottlingException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?status:??? -> ?statusReason:??? -> ?memberAccountsEnrolled:??? -> ?lastUpdatedTimestamp:??? -> ?numberOfMemberAccountsOptedIn:??? -> unit -> t
Sourceval 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 ]
Sourceval 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 ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t