Module Values.CreateAccessPolicyRequestSource

Creates an access policy that grants the specified identity (IAM Identity Center user, IAM Identity Center group, or IAM user) access to the specified IoT SiteWise Monitor portal or project resource. Support for access policies that use an SSO Group as the identity is not supported at this time.

Sourcetype nonrec t = {
  1. accessPolicyIdentity : Identity.t;
    (*

    The identity for this access policy. Choose an IAM Identity Center user, an IAM Identity Center group, or an IAM user.

    *)
  2. accessPolicyResource : Resource.t;
    (*

    The IoT SiteWise Monitor resource for this access policy. Choose either a portal or a project.

    *)
  3. accessPolicyPermission : Permission.t;
    (*

    The permission level for this access policy. Note that a project ADMINISTRATOR is also known as a project owner.

    *)
  4. clientToken : ClientToken.t option;
    (*

    A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.

    *)
  5. tags : TagMap.t option;
    (*

    A list of key-value pairs that contain metadata for the access policy. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> ?tags:??? -> accessPolicyIdentity:Identity.t -> accessPolicyResource:Resource.t -> accessPolicyPermission:Permission.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of ClientToken.t | `Structure of (string * [> `Structure of (string * [> `String of IdentityId.t ]) list ]) list ]) 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