Module Values.CreateSubscriptionRequestSource

Subscribes an IAM Identity Center user or a group to a pricing tier for an Amazon Q Business application. Amazon Q Business offers two subscription tiers: Q_LITE and Q_BUSINESS. Subscription tier determines feature access for the user. For more information on subscriptions and pricing tiers, see Amazon Q Business pricing. For an example IAM role policy for assigning subscriptions, see Set up required permissions in the Amazon Q Business User Guide.

Sourcetype nonrec t = {
  1. applicationId : ApplicationId.t;
    (*

    The identifier of the Amazon Q Business application the subscription should be added to.

    *)
  2. principal : SubscriptionPrincipal.t;
    (*

    The IAM Identity Center UserId or GroupId of a user or group in the IAM Identity Center instance connected to the Amazon Q Business application.

    *)
  3. type_ : SubscriptionType.t;
    (*

    The type of Amazon Q Business subscription you want to create.

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

    A token that you provide to identify the request to create a subscription for your Amazon Q Business application.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> applicationId:ApplicationId.t -> principal:SubscriptionPrincipal.t -> type_:SubscriptionType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of ApplicationId.t | `Structure of (string * [> `String of UserIdentifier.t ]) 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