Module Values.MemberSource

The details about a member account.

Sourcetype nonrec t = {
  1. accountId : AccountId.t option;
    (*

    The Amazon Web Services account ID of the member account.

    *)
  2. email : NonEmptyString.t option;
    (*

    The email address of the member account.

    *)
  3. masterId : NonEmptyString.t option;
    (*

    This is replaced by AdministratorID. The Amazon Web Services account ID of the Security Hub CSPM administrator account associated with this member account.

    *)
  4. administratorId : NonEmptyString.t option;
    (*

    The Amazon Web Services account ID of the Security Hub CSPM administrator account associated with this member account.

    *)
  5. memberStatus : NonEmptyString.t option;
    (*

    The status of the relationship between the member account and its administrator account. The status can have one of the following values: Created - Indicates that the administrator account added the member account, but has not yet invited the member account. Invited - Indicates that the administrator account invited the member account. The member account has not yet responded to the invitation. Enabled - Indicates that the member account is currently active. For manually invited member accounts, indicates that the member account accepted the invitation. Removed - Indicates that the administrator account disassociated the member account. Resigned - Indicates that the member account disassociated themselves from the administrator account. Deleted - Indicates that the administrator account deleted the member account. AccountSuspended - Indicates that an organization account was suspended from Amazon Web Services at the same time that the administrator account tried to enable the organization account as a member account.

    *)
  6. invitedAt : Timestamp.t option;
    (*

    A timestamp for the date and time when the invitation was sent to the member account.

    *)
  7. updatedAt : Timestamp.t option;
    (*

    The timestamp for the date and time when the member account was updated.

    *)
}
Sourceval make : ?accountId:??? -> ?email:??? -> ?masterId:??? -> ?administratorId:??? -> ?memberStatus:??? -> ?invitedAt:??? -> ?updatedAt:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of AccountId.t | `Timestamp of Timestamp.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