Module Values.CreateGrantRequestSource

Creates a grant for the specified license. A grant shares the use of license entitlements with a specific Amazon Web Services account, an organization, or an organizational unit (OU). For more information, see Granted licenses in License Manager in the License Manager User Guide.

Sourcetype nonrec t = {
  1. clientToken : ClientToken.t;
    (*

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

    *)
  2. grantName : String_.t;
    (*

    Grant name.

    *)
  3. licenseArn : Arn.t;
    (*

    Amazon Resource Name (ARN) of the license.

    *)
  4. principals : PrincipalArnList.t;
    (*

    The grant principals. You can specify one of the following as an Amazon Resource Name (ARN): An Amazon Web Services account, which includes only the account specified. An organizational unit (OU), which includes all accounts in the OU. An organization, which will include all accounts across your organization.

    *)
  5. homeRegion : String_.t;
    (*

    Home Region of the grant.

    *)
  6. allowedOperations : AllowedOperationList.t;
    (*

    Allowed operations for the grant.

    *)
  7. tags : TagList.t option;
    (*

    Tags to add to the grant. For more information about tagging support in License Manager, see the TagResource operation.

    *)
}
Sourceval context_ : string
Sourceval make : ?tags:??? -> clientToken:ClientToken.t -> grantName:String_.t -> licenseArn:Arn.t -> principals:PrincipalArnList.t -> homeRegion:String_.t -> allowedOperations:AllowedOperationList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Enum of string | `String of Arn.t | `Structure of (string * [> `String of String_.t ]) list ] list | `String of ClientToken.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