Module Values_1.ResourcePermissionSource

Permission for the resource.

Sourcetype nonrec t = {
  1. principal : Principal.t;
    (*

    The Amazon Resource Name (ARN) of the principal. This can be one of the following: The ARN of an Quick Sight user or group associated with a data source or dataset. (This is common.) The ARN of an Quick Sight user, group, or namespace associated with an analysis, dashboard, template, or theme. Namespace sharing is not supported for action connectors. (This is common.) The ARN of an Amazon Web Services account root: This is an IAM ARN rather than a Quick Sight ARN. Use this option only to share resources (templates) across Amazon Web Services accounts. Account root sharing is not supported for action connectors. (This is less common.)

    *)
  2. actions : Values_0.ActionList.t;
    (*

    The IAM action to grant or revoke permissions on.

    *)
}
Sourceval context_ : string
Sourceval make : principal:Principal.t -> actions:Values_0.ActionList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of string ] list | `String of Principal.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