Module Values.TargetSource

The target parameter specifies the identifier to which the home region is applied, which is always an ACCOUNT. It applies the home region to the current ACCOUNT.

Sourcetype nonrec t = {
  1. type_ : TargetType.t;
    (*

    The target type is always an ACCOUNT.

    *)
  2. id : TargetId.t option;
    (*

    The TargetID is a 12-character identifier of the ACCOUNT for which the control was created. (This must be the current account.)

    *)
}
Sourceval context_ : string
Sourceval make : ?id:??? -> type_:TargetType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of TargetId.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