aws-sdk-qbusiness 1.26.0 → 1.27.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-qbusiness/async_client.rb +1 -1
- data/lib/aws-sdk-qbusiness/client.rb +266 -54
- data/lib/aws-sdk-qbusiness/client_api.rb +138 -0
- data/lib/aws-sdk-qbusiness/types.rb +313 -22
- data/lib/aws-sdk-qbusiness.rb +1 -1
- data/sig/client.rbs +59 -0
- data/sig/types.rbs +84 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8911f415865c9a64776b35410e7db712ebc6325671e91ee8b9c4bd6b2a9c8e21
|
4
|
+
data.tar.gz: 47650617ae4776961e37cd42cf799000d7a36c7b725e5a3042672edfec7caa1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2500d858569ec5da91c22082644b9d1d6f18e78bc72b7e16572d176aef1fe09516fe6dfd9e99834924ceb0315977f8c7ce4a36e4a266ea99b7efe0c157d7b206
|
7
|
+
data.tar.gz: 795f9ffa60ac2bd363ee6ecd78fabeafefd198ec90c3878ed9e78abaa6cb35b6ac86c2cd692f6924a26ab60bf59ac106e400c04f485e88902f65829aa31ab1a8
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.27.0
|
@@ -481,24 +481,26 @@ module Aws::QBusiness
|
|
481
481
|
|
482
482
|
# @!group API Operations
|
483
483
|
|
484
|
-
# Adds or updates a permission policy for a Q Business
|
485
|
-
# allowing cross-account access for an ISV. This operation
|
486
|
-
# policy statement for the specified Q Business
|
487
|
-
# statement defines the IAM actions that the ISV
|
488
|
-
# on the Q Business application's
|
484
|
+
# Adds or updates a permission policy for a Amazon Q Business
|
485
|
+
# application, allowing cross-account access for an ISV. This operation
|
486
|
+
# creates a new policy statement for the specified Amazon Q Business
|
487
|
+
# application. The policy statement defines the IAM actions that the ISV
|
488
|
+
# is allowed to perform on the Amazon Q Business application's
|
489
|
+
# resources.
|
489
490
|
#
|
490
491
|
# @option params [required, String] :application_id
|
491
|
-
# The unique identifier of the Q Business application.
|
492
|
+
# The unique identifier of the Amazon Q Business application.
|
492
493
|
#
|
493
494
|
# @option params [required, String] :statement_id
|
494
495
|
# A unique identifier for the policy statement.
|
495
496
|
#
|
496
497
|
# @option params [required, Array<String>] :actions
|
497
|
-
# The list of Q Business actions that the ISV is allowed to
|
498
|
+
# The list of Amazon Q Business actions that the ISV is allowed to
|
499
|
+
# perform.
|
498
500
|
#
|
499
501
|
# @option params [required, String] :principal
|
500
|
-
# The Amazon Resource Name
|
501
|
-
#
|
502
|
+
# The Amazon Resource Name of the IAM role for the ISV that is being
|
503
|
+
# granted permission.
|
502
504
|
#
|
503
505
|
# @return [Types::AssociatePermissionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
504
506
|
#
|
@@ -751,6 +753,45 @@ module Aws::QBusiness
|
|
751
753
|
req.send_request(options)
|
752
754
|
end
|
753
755
|
|
756
|
+
# Unsubscribes a user or a group from their pricing tier in an Amazon Q
|
757
|
+
# Business application. An unsubscribed user or group loses all Amazon Q
|
758
|
+
# Business feature access at the start of next month.
|
759
|
+
#
|
760
|
+
# @option params [required, String] :application_id
|
761
|
+
# The identifier of the Amazon Q Business application for which the
|
762
|
+
# subscription is being cancelled.
|
763
|
+
#
|
764
|
+
# @option params [required, String] :subscription_id
|
765
|
+
# The identifier of the Amazon Q Business subscription being cancelled.
|
766
|
+
#
|
767
|
+
# @return [Types::CancelSubscriptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
768
|
+
#
|
769
|
+
# * {Types::CancelSubscriptionResponse#subscription_arn #subscription_arn} => String
|
770
|
+
# * {Types::CancelSubscriptionResponse#current_subscription #current_subscription} => Types::SubscriptionDetails
|
771
|
+
# * {Types::CancelSubscriptionResponse#next_subscription #next_subscription} => Types::SubscriptionDetails
|
772
|
+
#
|
773
|
+
# @example Request syntax with placeholder values
|
774
|
+
#
|
775
|
+
# resp = client.cancel_subscription({
|
776
|
+
# application_id: "ApplicationId", # required
|
777
|
+
# subscription_id: "SubscriptionId", # required
|
778
|
+
# })
|
779
|
+
#
|
780
|
+
# @example Response structure
|
781
|
+
#
|
782
|
+
# resp.subscription_arn #=> String
|
783
|
+
# resp.current_subscription.type #=> String, one of "Q_LITE", "Q_BUSINESS"
|
784
|
+
# resp.next_subscription.type #=> String, one of "Q_LITE", "Q_BUSINESS"
|
785
|
+
#
|
786
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/CancelSubscription AWS API Documentation
|
787
|
+
#
|
788
|
+
# @overload cancel_subscription(params = {})
|
789
|
+
# @param [Hash] params ({})
|
790
|
+
def cancel_subscription(params = {}, options = {})
|
791
|
+
req = build_request(:cancel_subscription, params)
|
792
|
+
req.send_request(options)
|
793
|
+
end
|
794
|
+
|
754
795
|
# Starts or continues a non-streaming Amazon Q Business conversation.
|
755
796
|
#
|
756
797
|
# @option params [required, String] :application_id
|
@@ -1168,18 +1209,18 @@ module Aws::QBusiness
|
|
1168
1209
|
req.send_request(options)
|
1169
1210
|
end
|
1170
1211
|
|
1171
|
-
# Creates a new data accessor for an ISV to access data from a Q
|
1212
|
+
# Creates a new data accessor for an ISV to access data from a Amazon Q
|
1172
1213
|
# Business application. The data accessor is an entity that represents
|
1173
|
-
# the ISV's access to the Q Business application's data. It
|
1174
|
-
# the IAM role ARN for the ISV, a friendly name, and a set of
|
1175
|
-
# configurations that define the specific actions the ISV is
|
1176
|
-
# perform and any associated data filters. When the data
|
1177
|
-
# created, an
|
1178
|
-
# manage the ISV's identity and authentication for accessing
|
1179
|
-
# Business application.
|
1214
|
+
# the ISV's access to the Amazon Q Business application's data. It
|
1215
|
+
# includes the IAM role ARN for the ISV, a friendly name, and a set of
|
1216
|
+
# action configurations that define the specific actions the ISV is
|
1217
|
+
# allowed to perform and any associated data filters. When the data
|
1218
|
+
# accessor is created, an IAM Identity Center application is also
|
1219
|
+
# created to manage the ISV's identity and authentication for accessing
|
1220
|
+
# the Amazon Q Business application.
|
1180
1221
|
#
|
1181
1222
|
# @option params [required, String] :application_id
|
1182
|
-
# The unique identifier of the Q Business application.
|
1223
|
+
# The unique identifier of the Amazon Q Business application.
|
1183
1224
|
#
|
1184
1225
|
# @option params [required, String] :principal
|
1185
1226
|
# The Amazon Resource Name (ARN) of the IAM role for the ISV that will
|
@@ -1819,6 +1860,72 @@ module Aws::QBusiness
|
|
1819
1860
|
req.send_request(options)
|
1820
1861
|
end
|
1821
1862
|
|
1863
|
+
# Subscribes an IAM Identity Center user or a group to a pricing tier
|
1864
|
+
# for an Amazon Q Business application.
|
1865
|
+
#
|
1866
|
+
# Amazon Q Business offers two subscription tiers: `Q_LITE` and
|
1867
|
+
# `Q_BUSINESS`. Subscription tier determines feature access for the
|
1868
|
+
# user. For more information on subscriptions and pricing tiers, see
|
1869
|
+
# [Amazon Q Business pricing][1].
|
1870
|
+
#
|
1871
|
+
#
|
1872
|
+
#
|
1873
|
+
# [1]: https://aws.amazon.com/q/business/pricing/
|
1874
|
+
#
|
1875
|
+
# @option params [required, String] :application_id
|
1876
|
+
# The identifier of the Amazon Q Business application the subscription
|
1877
|
+
# should be added to.
|
1878
|
+
#
|
1879
|
+
# @option params [required, Types::SubscriptionPrincipal] :principal
|
1880
|
+
# The IAM Identity Center `UserId` or `GroupId` of a user or group in
|
1881
|
+
# the IAM Identity Center instance connected to the Amazon Q Business
|
1882
|
+
# application.
|
1883
|
+
#
|
1884
|
+
# @option params [required, String] :type
|
1885
|
+
# The type of Amazon Q Business subscription you want to create.
|
1886
|
+
#
|
1887
|
+
# @option params [String] :client_token
|
1888
|
+
# A token that you provide to identify the request to create a
|
1889
|
+
# subscription for your Amazon Q Business application.
|
1890
|
+
#
|
1891
|
+
# **A suitable default value is auto-generated.** You should normally
|
1892
|
+
# not need to pass this option.**
|
1893
|
+
#
|
1894
|
+
# @return [Types::CreateSubscriptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1895
|
+
#
|
1896
|
+
# * {Types::CreateSubscriptionResponse#subscription_id #subscription_id} => String
|
1897
|
+
# * {Types::CreateSubscriptionResponse#subscription_arn #subscription_arn} => String
|
1898
|
+
# * {Types::CreateSubscriptionResponse#current_subscription #current_subscription} => Types::SubscriptionDetails
|
1899
|
+
# * {Types::CreateSubscriptionResponse#next_subscription #next_subscription} => Types::SubscriptionDetails
|
1900
|
+
#
|
1901
|
+
# @example Request syntax with placeholder values
|
1902
|
+
#
|
1903
|
+
# resp = client.create_subscription({
|
1904
|
+
# application_id: "ApplicationId", # required
|
1905
|
+
# principal: { # required
|
1906
|
+
# user: "UserIdentifier",
|
1907
|
+
# group: "GroupIdentifier",
|
1908
|
+
# },
|
1909
|
+
# type: "Q_LITE", # required, accepts Q_LITE, Q_BUSINESS
|
1910
|
+
# client_token: "ClientToken",
|
1911
|
+
# })
|
1912
|
+
#
|
1913
|
+
# @example Response structure
|
1914
|
+
#
|
1915
|
+
# resp.subscription_id #=> String
|
1916
|
+
# resp.subscription_arn #=> String
|
1917
|
+
# resp.current_subscription.type #=> String, one of "Q_LITE", "Q_BUSINESS"
|
1918
|
+
# resp.next_subscription.type #=> String, one of "Q_LITE", "Q_BUSINESS"
|
1919
|
+
#
|
1920
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/CreateSubscription AWS API Documentation
|
1921
|
+
#
|
1922
|
+
# @overload create_subscription(params = {})
|
1923
|
+
# @param [Hash] params ({})
|
1924
|
+
def create_subscription(params = {}, options = {})
|
1925
|
+
req = build_request(:create_subscription, params)
|
1926
|
+
req.send_request(options)
|
1927
|
+
end
|
1928
|
+
|
1822
1929
|
# Creates a universally unique identifier (UUID) mapped to a list of
|
1823
1930
|
# local user ids within an application.
|
1824
1931
|
#
|
@@ -2077,12 +2184,12 @@ module Aws::QBusiness
|
|
2077
2184
|
end
|
2078
2185
|
|
2079
2186
|
# Deletes a specified data accessor. This operation permanently removes
|
2080
|
-
# the data accessor and its associated
|
2081
|
-
#
|
2082
|
-
#
|
2187
|
+
# the data accessor and its associated IAM Identity Center application.
|
2188
|
+
# Any access granted to the ISV through this data accessor will be
|
2189
|
+
# revoked.
|
2083
2190
|
#
|
2084
2191
|
# @option params [required, String] :application_id
|
2085
|
-
# The unique identifier of the Q Business application.
|
2192
|
+
# The unique identifier of the Amazon Q Business application.
|
2086
2193
|
#
|
2087
2194
|
# @option params [required, String] :data_accessor_id
|
2088
2195
|
# The unique identifier of the data accessor to delete.
|
@@ -2327,13 +2434,13 @@ module Aws::QBusiness
|
|
2327
2434
|
req.send_request(options)
|
2328
2435
|
end
|
2329
2436
|
|
2330
|
-
# Removes a permission policy from a Q Business application,
|
2331
|
-
# the cross-account access that was previously granted to an
|
2332
|
-
# operation deletes the specified policy statement from the
|
2437
|
+
# Removes a permission policy from a Amazon Q Business application,
|
2438
|
+
# revoking the cross-account access that was previously granted to an
|
2439
|
+
# ISV. This operation deletes the specified policy statement from the
|
2333
2440
|
# application's permission policy.
|
2334
2441
|
#
|
2335
2442
|
# @option params [required, String] :application_id
|
2336
|
-
# The unique identifier of the Q Business application.
|
2443
|
+
# The unique identifier of the Amazon Q Business application.
|
2337
2444
|
#
|
2338
2445
|
# @option params [required, String] :statement_id
|
2339
2446
|
# The statement ID of the permission to remove.
|
@@ -2496,13 +2603,13 @@ module Aws::QBusiness
|
|
2496
2603
|
|
2497
2604
|
# Retrieves information about a specified data accessor. This operation
|
2498
2605
|
# returns details about the data accessor, including its display name,
|
2499
|
-
# unique identifier, Amazon Resource Name (ARN), the associated Q
|
2500
|
-
# Business application and
|
2501
|
-
#
|
2502
|
-
#
|
2606
|
+
# unique identifier, Amazon Resource Name (ARN), the associated Amazon Q
|
2607
|
+
# Business application and IAM Identity Center application, the IAM role
|
2608
|
+
# for the ISV, the action configurations, and the timestamps for when
|
2609
|
+
# the data accessor was created and last updated.
|
2503
2610
|
#
|
2504
2611
|
# @option params [required, String] :application_id
|
2505
|
-
# The unique identifier of the Q Business application.
|
2612
|
+
# The unique identifier of the Amazon Q Business application.
|
2506
2613
|
#
|
2507
2614
|
# @option params [required, String] :data_accessor_id
|
2508
2615
|
# The unique identifier of the data accessor to retrieve.
|
@@ -2934,12 +3041,13 @@ module Aws::QBusiness
|
|
2934
3041
|
req.send_request(options)
|
2935
3042
|
end
|
2936
3043
|
|
2937
|
-
# Retrieves the current permission policy for a Q Business
|
2938
|
-
# The policy is returned as a JSON-formatted string and
|
2939
|
-
# actions that are allowed or denied for the
|
3044
|
+
# Retrieves the current permission policy for a Amazon Q Business
|
3045
|
+
# application. The policy is returned as a JSON-formatted string and
|
3046
|
+
# defines the IAM actions that are allowed or denied for the
|
3047
|
+
# application's resources.
|
2940
3048
|
#
|
2941
3049
|
# @option params [required, String] :application_id
|
2942
|
-
# The unique identifier of the Q Business application.
|
3050
|
+
# The unique identifier of the Amazon Q Business application.
|
2943
3051
|
#
|
2944
3052
|
# @return [Types::GetPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2945
3053
|
#
|
@@ -3314,13 +3422,13 @@ module Aws::QBusiness
|
|
3314
3422
|
req.send_request(options)
|
3315
3423
|
end
|
3316
3424
|
|
3317
|
-
# Lists the data accessors for a Q Business application. This
|
3318
|
-
# returns a paginated list of data accessor summaries,
|
3319
|
-
# friendly name, unique identifier, ARN, associated IAM
|
3320
|
-
# creation/update timestamps for each data accessor.
|
3425
|
+
# Lists the data accessors for a Amazon Q Business application. This
|
3426
|
+
# operation returns a paginated list of data accessor summaries,
|
3427
|
+
# including the friendly name, unique identifier, ARN, associated IAM
|
3428
|
+
# role, and creation/update timestamps for each data accessor.
|
3321
3429
|
#
|
3322
3430
|
# @option params [required, String] :application_id
|
3323
|
-
# The unique identifier of the Q Business application.
|
3431
|
+
# The unique identifier of the Amazon Q Business application.
|
3324
3432
|
#
|
3325
3433
|
# @option params [String] :next_token
|
3326
3434
|
# The token for the next set of results. (You received this token from a
|
@@ -3994,6 +4102,56 @@ module Aws::QBusiness
|
|
3994
4102
|
req.send_request(options)
|
3995
4103
|
end
|
3996
4104
|
|
4105
|
+
# Lists all subscriptions created in an Amazon Q Business application.
|
4106
|
+
#
|
4107
|
+
# @option params [required, String] :application_id
|
4108
|
+
# The identifier of the Amazon Q Business application linked to the
|
4109
|
+
# subscription.
|
4110
|
+
#
|
4111
|
+
# @option params [String] :next_token
|
4112
|
+
# If the `maxResults` response was incomplete because there is more data
|
4113
|
+
# to retrieve, Amazon Q Business returns a pagination token in the
|
4114
|
+
# response. You can use this pagination token to retrieve the next set
|
4115
|
+
# of Amazon Q Business subscriptions.
|
4116
|
+
#
|
4117
|
+
# @option params [Integer] :max_results
|
4118
|
+
# The maximum number of Amazon Q Business subscriptions to return.
|
4119
|
+
#
|
4120
|
+
# @return [Types::ListSubscriptionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4121
|
+
#
|
4122
|
+
# * {Types::ListSubscriptionsResponse#next_token #next_token} => String
|
4123
|
+
# * {Types::ListSubscriptionsResponse#subscriptions #subscriptions} => Array<Types::Subscription>
|
4124
|
+
#
|
4125
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4126
|
+
#
|
4127
|
+
# @example Request syntax with placeholder values
|
4128
|
+
#
|
4129
|
+
# resp = client.list_subscriptions({
|
4130
|
+
# application_id: "ApplicationId", # required
|
4131
|
+
# next_token: "NextToken",
|
4132
|
+
# max_results: 1,
|
4133
|
+
# })
|
4134
|
+
#
|
4135
|
+
# @example Response structure
|
4136
|
+
#
|
4137
|
+
# resp.next_token #=> String
|
4138
|
+
# resp.subscriptions #=> Array
|
4139
|
+
# resp.subscriptions[0].subscription_id #=> String
|
4140
|
+
# resp.subscriptions[0].subscription_arn #=> String
|
4141
|
+
# resp.subscriptions[0].principal.user #=> String
|
4142
|
+
# resp.subscriptions[0].principal.group #=> String
|
4143
|
+
# resp.subscriptions[0].current_subscription.type #=> String, one of "Q_LITE", "Q_BUSINESS"
|
4144
|
+
# resp.subscriptions[0].next_subscription.type #=> String, one of "Q_LITE", "Q_BUSINESS"
|
4145
|
+
#
|
4146
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/ListSubscriptions AWS API Documentation
|
4147
|
+
#
|
4148
|
+
# @overload list_subscriptions(params = {})
|
4149
|
+
# @param [Hash] params ({})
|
4150
|
+
def list_subscriptions(params = {}, options = {})
|
4151
|
+
req = build_request(:list_subscriptions, params)
|
4152
|
+
req.send_request(options)
|
4153
|
+
end
|
4154
|
+
|
3997
4155
|
# Gets a list of tags associated with a specified resource. Amazon Q
|
3998
4156
|
# Business applications and data sources can have tags associated with
|
3999
4157
|
# them.
|
@@ -4135,6 +4293,13 @@ module Aws::QBusiness
|
|
4135
4293
|
# property group, can see top-secret company documents in their Amazon Q
|
4136
4294
|
# Business chat results.
|
4137
4295
|
#
|
4296
|
+
# There are two options for creating groups, either passing group
|
4297
|
+
# members inline or using an S3 file via the S3PathForGroupMembers
|
4298
|
+
# field. For inline groups, there is a limit of 1000 members per group
|
4299
|
+
# and for provided S3 files there is a limit of 100 thousand members.
|
4300
|
+
# When creating a group using an S3 file, you provide both an S3 file
|
4301
|
+
# and a `RoleArn` for Amazon Q Buisness to access the file.
|
4302
|
+
#
|
4138
4303
|
# @option params [required, String] :application_id
|
4139
4304
|
# The identifier of the application in which the user and group mapping
|
4140
4305
|
# belongs.
|
@@ -4169,9 +4334,7 @@ module Aws::QBusiness
|
|
4169
4334
|
#
|
4170
4335
|
# @option params [String] :role_arn
|
4171
4336
|
# The Amazon Resource Name (ARN) of an IAM role that has access to the
|
4172
|
-
# S3 file that contains your list of users that belong to a group.
|
4173
|
-
# Amazon Resource Name (ARN) of an IAM role that has access to the S3
|
4174
|
-
# file that contains your list of users that belong to a group.
|
4337
|
+
# S3 file that contains your list of users that belong to a group.
|
4175
4338
|
#
|
4176
4339
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4177
4340
|
#
|
@@ -4213,17 +4376,17 @@ module Aws::QBusiness
|
|
4213
4376
|
req.send_request(options)
|
4214
4377
|
end
|
4215
4378
|
|
4216
|
-
# Searches for relevant content in a Q Business application based
|
4217
|
-
# query. This operation takes a search query text, the Q
|
4218
|
-
# application identifier, and optional filters (such as content
|
4219
|
-
# and maximum results) as input. It returns a list of relevant
|
4220
|
-
# items, where each item includes the content text, the unique
|
4221
|
-
# identifier, the document title, the document URI, any
|
4222
|
-
# document attributes, and score attributes indicating the
|
4223
|
-
# level of the relevance.
|
4379
|
+
# Searches for relevant content in a Amazon Q Business application based
|
4380
|
+
# on a query. This operation takes a search query text, the Amazon Q
|
4381
|
+
# Business application identifier, and optional filters (such as content
|
4382
|
+
# source and maximum results) as input. It returns a list of relevant
|
4383
|
+
# content items, where each item includes the content text, the unique
|
4384
|
+
# document identifier, the document title, the document URI, any
|
4385
|
+
# relevant document attributes, and score attributes indicating the
|
4386
|
+
# confidence level of the relevance.
|
4224
4387
|
#
|
4225
4388
|
# @option params [required, String] :application_id
|
4226
|
-
# The unique identifier of the Q Business application to search.
|
4389
|
+
# The unique identifier of the Amazon Q Business application to search.
|
4227
4390
|
#
|
4228
4391
|
# @option params [required, String] :query_text
|
4229
4392
|
# The text to search for.
|
@@ -4731,7 +4894,7 @@ module Aws::QBusiness
|
|
4731
4894
|
# the data accessor.
|
4732
4895
|
#
|
4733
4896
|
# @option params [required, String] :application_id
|
4734
|
-
# The unique identifier of the Q Business application.
|
4897
|
+
# The unique identifier of the Amazon Q Business application.
|
4735
4898
|
#
|
4736
4899
|
# @option params [required, String] :data_accessor_id
|
4737
4900
|
# The unique identifier of the data accessor to update.
|
@@ -5191,6 +5354,55 @@ module Aws::QBusiness
|
|
5191
5354
|
req.send_request(options)
|
5192
5355
|
end
|
5193
5356
|
|
5357
|
+
# Updates the pricing tier for an Amazon Q Business subscription.
|
5358
|
+
# Upgrades are instant. Downgrades apply at the start of the next month.
|
5359
|
+
# Subscription tier determines feature access for the user. For more
|
5360
|
+
# information on subscriptions and pricing tiers, see [Amazon Q Business
|
5361
|
+
# pricing][1].
|
5362
|
+
#
|
5363
|
+
#
|
5364
|
+
#
|
5365
|
+
# [1]: https://aws.amazon.com/q/business/pricing/
|
5366
|
+
#
|
5367
|
+
# @option params [required, String] :application_id
|
5368
|
+
# The identifier of the Amazon Q Business application where the
|
5369
|
+
# subscription update should take effect.
|
5370
|
+
#
|
5371
|
+
# @option params [required, String] :subscription_id
|
5372
|
+
# The identifier of the Amazon Q Business subscription to be updated.
|
5373
|
+
#
|
5374
|
+
# @option params [required, String] :type
|
5375
|
+
# The type of the Amazon Q Business subscription to be updated.
|
5376
|
+
#
|
5377
|
+
# @return [Types::UpdateSubscriptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5378
|
+
#
|
5379
|
+
# * {Types::UpdateSubscriptionResponse#subscription_arn #subscription_arn} => String
|
5380
|
+
# * {Types::UpdateSubscriptionResponse#current_subscription #current_subscription} => Types::SubscriptionDetails
|
5381
|
+
# * {Types::UpdateSubscriptionResponse#next_subscription #next_subscription} => Types::SubscriptionDetails
|
5382
|
+
#
|
5383
|
+
# @example Request syntax with placeholder values
|
5384
|
+
#
|
5385
|
+
# resp = client.update_subscription({
|
5386
|
+
# application_id: "ApplicationId", # required
|
5387
|
+
# subscription_id: "SubscriptionId", # required
|
5388
|
+
# type: "Q_LITE", # required, accepts Q_LITE, Q_BUSINESS
|
5389
|
+
# })
|
5390
|
+
#
|
5391
|
+
# @example Response structure
|
5392
|
+
#
|
5393
|
+
# resp.subscription_arn #=> String
|
5394
|
+
# resp.current_subscription.type #=> String, one of "Q_LITE", "Q_BUSINESS"
|
5395
|
+
# resp.next_subscription.type #=> String, one of "Q_LITE", "Q_BUSINESS"
|
5396
|
+
#
|
5397
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/UpdateSubscription AWS API Documentation
|
5398
|
+
#
|
5399
|
+
# @overload update_subscription(params = {})
|
5400
|
+
# @param [Hash] params ({})
|
5401
|
+
def update_subscription(params = {}, options = {})
|
5402
|
+
req = build_request(:update_subscription, params)
|
5403
|
+
req.send_request(options)
|
5404
|
+
end
|
5405
|
+
|
5194
5406
|
# Updates a information associated with a user id.
|
5195
5407
|
#
|
5196
5408
|
# @option params [required, String] :application_id
|
@@ -5390,7 +5602,7 @@ module Aws::QBusiness
|
|
5390
5602
|
tracer: tracer
|
5391
5603
|
)
|
5392
5604
|
context[:gem_name] = 'aws-sdk-qbusiness'
|
5393
|
-
context[:gem_version] = '1.
|
5605
|
+
context[:gem_version] = '1.27.0'
|
5394
5606
|
Seahorse::Client::Request.new(handlers, context)
|
5395
5607
|
end
|
5396
5608
|
|