Values.CreateSubscriptionRequestSourceSubscribes 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.
type nonrec t = {applicationId : ApplicationId.t;The identifier of the Amazon Q Business application the subscription should be added to.
*)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.
*)type_ : SubscriptionType.t;The type of Amazon Q Business subscription you want to create.
*)clientToken : ClientToken.t option;A token that you provide to identify the request to create a subscription for your Amazon Q Business application.
*)}val make :
?clientToken:??? ->
applicationId:ApplicationId.t ->
principal:SubscriptionPrincipal.t ->
type_:SubscriptionType.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `String of ApplicationId.t
| `Structure of (string * [> `String of UserIdentifier.t ]) list ])
list ]