Module Values.AddPolicyGrantInputSource

Adds a policy grant (an authorization policy) to a specified entity, including domain units, environment blueprint configurations, or environment profiles.

Sourcetype nonrec t = {
  1. domainIdentifier : DomainId.t;
    (*

    The ID of the domain where you want to add a policy grant.

    *)
  2. entityType : TargetEntityType.t;
    (*

    The type of entity (resource) to which the grant is added.

    *)
  3. entityIdentifier : String_.t;
    (*

    The ID of the entity (resource) to which you want to add a policy grant.

    *)
  4. policyType : ManagedPolicyType.t;
    (*

    The type of policy that you want to grant.

    *)
  5. principal : PolicyGrantPrincipal.t;
    (*

    The principal to whom the permissions are granted.

    *)
  6. detail : PolicyGrantDetail.t;
    (*

    The details of the policy grant.

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

    A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> domainIdentifier:DomainId.t -> entityType:TargetEntityType.t -> entityIdentifier:String_.t -> policyType:ManagedPolicyType.t -> principal:PolicyGrantPrincipal.t -> detail:PolicyGrantDetail.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of DomainId.t | `Structure of (string * [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `List of [> `String of String_.t ] list | `String of UserIdentifier.t | `Structure of (string * [> `Structure of (string * [> `Boolean of Boolean.t | `String of DomainUnitId.t ]) list ]) list ]) 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