Module Values.EnableOrganizationAdminAccountRequestSource

Designates the Detective administrator account for the organization in the current Region. If the account does not have Detective enabled, then enables Detective for that account and creates a new behavior graph. Can only be called by the organization management account. If the organization has a delegated administrator account in Organizations, then the Detective administrator account must be either the delegated administrator account or the organization management account. If the organization does not have a delegated administrator account in Organizations, then you can choose any account in the organization. If you choose an account other than the organization management account, Detective calls Organizations to make that account the delegated administrator account for Detective. The organization management account cannot be the delegated administrator account.

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

    The Amazon Web Services account identifier of the account to designate as the Detective administrator account for the organization.

    *)
}
Sourceval context_ : string
Sourceval make : accountId:AccountId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of AccountId.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