Module Values.PrincipalSource

The IAM principal that you allowing or denying access to an Amazon Lex action. You must provide a service or an arn, but not both in the same statement. For more information, see AWS JSON policy elements: Principal .

Sourcetype nonrec t = {
  1. service : ServicePrincipal.t option;
    (*

    The name of the Amazon Web Services service that should allowed or denied access to an Amazon Lex action.

    *)
  2. arn : PrincipalArn.t option;
    (*

    The Amazon Resource Name (ARN) of the principal.

    *)
}
Sourceval make : ?service:??? -> ?arn:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ServicePrincipal.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