Module Values_2.AllowedPrincipalSource

Describes a principal.

Sourcetype nonrec t = {
  1. principalType : Values_1.PrincipalType.t option;
    (*

    The type of principal.

    *)
  2. principal : Values_0.String_.t option;
    (*

    The Amazon Resource Name (ARN) of the principal.

    *)
  3. servicePermissionId : Values_0.String_.t option;
    (*

    The ID of the service permission.

    *)
  4. tags : Values_0.TagList.t option;
    (*

    The tags.

    *)
  5. serviceId : Values_0.String_.t option;
    (*

    The ID of the service.

    *)
}
Sourceval make : ?principalType:??? -> ?principal:??? -> ?servicePermissionId:??? -> ?tags:??? -> ?serviceId:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of string ]) list ] list | `String of Values_0.String_.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