aws-sdk-qbusiness 1.25.0 → 1.27.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: acb13f72cb1c49029e4eb8103e291cd6d85c4de59fc18f0cc94c7888aa7cb7a7
4
- data.tar.gz: eef6216a2e58cd20dc01d5e4918d37d4b7685e2d1bc2456d77282ee848d8e902
3
+ metadata.gz: 8911f415865c9a64776b35410e7db712ebc6325671e91ee8b9c4bd6b2a9c8e21
4
+ data.tar.gz: 47650617ae4776961e37cd42cf799000d7a36c7b725e5a3042672edfec7caa1c
5
5
  SHA512:
6
- metadata.gz: 325b014fec984f178c3ab7fed0117ccec5b71ead40f242299ef5ce912d7f41582930d1ca355329ddc23064e6e2f36c5aa270ad0daf18a964cf03055301524b26
7
- data.tar.gz: ff447a2df2e0f87970760fb4aaac13bdebded0b0cc7990fadf1025568ef2230d8924c0051bde2c20d153ebdfce7003b090ff2cd065bd9548381a1f8ddc227df2
6
+ metadata.gz: 2500d858569ec5da91c22082644b9d1d6f18e78bc72b7e16572d176aef1fe09516fe6dfd9e99834924ceb0315977f8c7ce4a36e4a266ea99b7efe0c157d7b206
7
+ data.tar.gz: 795f9ffa60ac2bd363ee6ecd78fabeafefd198ec90c3878ed9e78abaa6cb35b6ac86c2cd692f6924a26ab60bf59ac106e400c04f485e88902f65829aa31ab1a8
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.27.0 (2025-01-30)
5
+ ------------------
6
+
7
+ * Feature - Added APIs to manage QBusiness user subscriptions
8
+
9
+ 1.26.0 (2025-01-15)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.25.0 (2024-12-05)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.25.0
1
+ 1.27.0
@@ -197,11 +197,34 @@ module Aws::QBusiness
197
197
  # Used when loading credentials from the shared credentials file
198
198
  # at HOME/.aws/credentials. When not specified, 'default' is used.
199
199
  #
200
+ # @option options [String] :request_checksum_calculation ("when_supported")
201
+ # Determines when a checksum will be calculated for request payloads. Values are:
202
+ #
203
+ # * `when_supported` - (default) When set, a checksum will be
204
+ # calculated for all request payloads of operations modeled with the
205
+ # `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
206
+ # `requestAlgorithmMember` is modeled.
207
+ # * `when_required` - When set, a checksum will only be calculated for
208
+ # request payloads of operations modeled with the `httpChecksum` trait where
209
+ # `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
210
+ # is modeled and supplied.
211
+ #
200
212
  # @option options [Integer] :request_min_compression_size_bytes (10240)
201
213
  # The minimum size in bytes that triggers compression for request
202
214
  # bodies. The value must be non-negative integer value between 0
203
215
  # and 10485780 bytes inclusive.
204
216
  #
217
+ # @option options [String] :response_checksum_validation ("when_supported")
218
+ # Determines when checksum validation will be performed on response payloads. Values are:
219
+ #
220
+ # * `when_supported` - (default) When set, checksum validation is performed on all
221
+ # response payloads of operations modeled with the `httpChecksum` trait where
222
+ # `responseAlgorithms` is modeled, except when no modeled checksum algorithms
223
+ # are supported.
224
+ # * `when_required` - When set, checksum validation is not performed on
225
+ # response payloads of operations unless the checksum algorithm is supported and
226
+ # the `requestValidationModeMember` member is set to `ENABLED`.
227
+ #
205
228
  # @option options [Proc] :retry_backoff
206
229
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
207
230
  # This option is only used in the `legacy` retry mode.
@@ -607,7 +630,7 @@ module Aws::QBusiness
607
630
  tracer: tracer
608
631
  )
609
632
  context[:gem_name] = 'aws-sdk-qbusiness'
610
- context[:gem_version] = '1.25.0'
633
+ context[:gem_version] = '1.27.0'
611
634
  Seahorse::Client::Request.new(handlers, context)
612
635
  end
613
636
 
@@ -268,11 +268,34 @@ module Aws::QBusiness
268
268
  # Used when loading credentials from the shared credentials file
269
269
  # at HOME/.aws/credentials. When not specified, 'default' is used.
270
270
  #
271
+ # @option options [String] :request_checksum_calculation ("when_supported")
272
+ # Determines when a checksum will be calculated for request payloads. Values are:
273
+ #
274
+ # * `when_supported` - (default) When set, a checksum will be
275
+ # calculated for all request payloads of operations modeled with the
276
+ # `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
277
+ # `requestAlgorithmMember` is modeled.
278
+ # * `when_required` - When set, a checksum will only be calculated for
279
+ # request payloads of operations modeled with the `httpChecksum` trait where
280
+ # `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
281
+ # is modeled and supplied.
282
+ #
271
283
  # @option options [Integer] :request_min_compression_size_bytes (10240)
272
284
  # The minimum size in bytes that triggers compression for request
273
285
  # bodies. The value must be non-negative integer value between 0
274
286
  # and 10485780 bytes inclusive.
275
287
  #
288
+ # @option options [String] :response_checksum_validation ("when_supported")
289
+ # Determines when checksum validation will be performed on response payloads. Values are:
290
+ #
291
+ # * `when_supported` - (default) When set, checksum validation is performed on all
292
+ # response payloads of operations modeled with the `httpChecksum` trait where
293
+ # `responseAlgorithms` is modeled, except when no modeled checksum algorithms
294
+ # are supported.
295
+ # * `when_required` - When set, checksum validation is not performed on
296
+ # response payloads of operations unless the checksum algorithm is supported and
297
+ # the `requestValidationModeMember` member is set to `ENABLED`.
298
+ #
276
299
  # @option options [Proc] :retry_backoff
277
300
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
278
301
  # This option is only used in the `legacy` retry mode.
@@ -458,24 +481,26 @@ module Aws::QBusiness
458
481
 
459
482
  # @!group API Operations
460
483
 
461
- # Adds or updates a permission policy for a Q Business application,
462
- # allowing cross-account access for an ISV. This operation creates a new
463
- # policy statement for the specified Q Business application. The policy
464
- # statement defines the IAM actions that the ISV is allowed to perform
465
- # on the Q Business application's resources.
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.
466
490
  #
467
491
  # @option params [required, String] :application_id
468
- # The unique identifier of the Q Business application.
492
+ # The unique identifier of the Amazon Q Business application.
469
493
  #
470
494
  # @option params [required, String] :statement_id
471
495
  # A unique identifier for the policy statement.
472
496
  #
473
497
  # @option params [required, Array<String>] :actions
474
- # The list of Q Business actions that the ISV is allowed to perform.
498
+ # The list of Amazon Q Business actions that the ISV is allowed to
499
+ # perform.
475
500
  #
476
501
  # @option params [required, String] :principal
477
- # The Amazon Resource Name (ARN) of the IAM role for the ISV that is
478
- # being granted permission.
502
+ # The Amazon Resource Name of the IAM role for the ISV that is being
503
+ # granted permission.
479
504
  #
480
505
  # @return [Types::AssociatePermissionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
481
506
  #
@@ -728,6 +753,45 @@ module Aws::QBusiness
728
753
  req.send_request(options)
729
754
  end
730
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
+
731
795
  # Starts or continues a non-streaming Amazon Q Business conversation.
732
796
  #
733
797
  # @option params [required, String] :application_id
@@ -1145,18 +1209,18 @@ module Aws::QBusiness
1145
1209
  req.send_request(options)
1146
1210
  end
1147
1211
 
1148
- # 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
1149
1213
  # Business application. The data accessor is an entity that represents
1150
- # the ISV's access to the Q Business application's data. It includes
1151
- # the IAM role ARN for the ISV, a friendly name, and a set of action
1152
- # configurations that define the specific actions the ISV is allowed to
1153
- # perform and any associated data filters. When the data accessor is
1154
- # created, an AWS IAM Identity Center application is also created to
1155
- # manage the ISV's identity and authentication for accessing the Q
1156
- # 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.
1157
1221
  #
1158
1222
  # @option params [required, String] :application_id
1159
- # The unique identifier of the Q Business application.
1223
+ # The unique identifier of the Amazon Q Business application.
1160
1224
  #
1161
1225
  # @option params [required, String] :principal
1162
1226
  # The Amazon Resource Name (ARN) of the IAM role for the ISV that will
@@ -1796,6 +1860,72 @@ module Aws::QBusiness
1796
1860
  req.send_request(options)
1797
1861
  end
1798
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
+
1799
1929
  # Creates a universally unique identifier (UUID) mapped to a list of
1800
1930
  # local user ids within an application.
1801
1931
  #
@@ -2054,12 +2184,12 @@ module Aws::QBusiness
2054
2184
  end
2055
2185
 
2056
2186
  # Deletes a specified data accessor. This operation permanently removes
2057
- # the data accessor and its associated AWS IAM Identity Center
2058
- # application. Any access granted to the ISV through this data accessor
2059
- # will be revoked
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.
2060
2190
  #
2061
2191
  # @option params [required, String] :application_id
2062
- # The unique identifier of the Q Business application.
2192
+ # The unique identifier of the Amazon Q Business application.
2063
2193
  #
2064
2194
  # @option params [required, String] :data_accessor_id
2065
2195
  # The unique identifier of the data accessor to delete.
@@ -2304,13 +2434,13 @@ module Aws::QBusiness
2304
2434
  req.send_request(options)
2305
2435
  end
2306
2436
 
2307
- # Removes a permission policy from a Q Business application, revoking
2308
- # the cross-account access that was previously granted to an ISV. This
2309
- # 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
2310
2440
  # application's permission policy.
2311
2441
  #
2312
2442
  # @option params [required, String] :application_id
2313
- # The unique identifier of the Q Business application.
2443
+ # The unique identifier of the Amazon Q Business application.
2314
2444
  #
2315
2445
  # @option params [required, String] :statement_id
2316
2446
  # The statement ID of the permission to remove.
@@ -2473,13 +2603,13 @@ module Aws::QBusiness
2473
2603
 
2474
2604
  # Retrieves information about a specified data accessor. This operation
2475
2605
  # returns details about the data accessor, including its display name,
2476
- # unique identifier, Amazon Resource Name (ARN), the associated Q
2477
- # Business application and AWS IAM Identity Center application, the IAM
2478
- # role for the ISV, the action configurations, and the timestamps for
2479
- # when the data accessor was created and last updated.
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.
2480
2610
  #
2481
2611
  # @option params [required, String] :application_id
2482
- # The unique identifier of the Q Business application.
2612
+ # The unique identifier of the Amazon Q Business application.
2483
2613
  #
2484
2614
  # @option params [required, String] :data_accessor_id
2485
2615
  # The unique identifier of the data accessor to retrieve.
@@ -2911,12 +3041,13 @@ module Aws::QBusiness
2911
3041
  req.send_request(options)
2912
3042
  end
2913
3043
 
2914
- # Retrieves the current permission policy for a Q Business application.
2915
- # The policy is returned as a JSON-formatted string and defines the IAM
2916
- # actions that are allowed or denied for the application's resources.
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.
2917
3048
  #
2918
3049
  # @option params [required, String] :application_id
2919
- # The unique identifier of the Q Business application.
3050
+ # The unique identifier of the Amazon Q Business application.
2920
3051
  #
2921
3052
  # @return [Types::GetPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2922
3053
  #
@@ -3291,13 +3422,13 @@ module Aws::QBusiness
3291
3422
  req.send_request(options)
3292
3423
  end
3293
3424
 
3294
- # Lists the data accessors for a Q Business application. This operation
3295
- # returns a paginated list of data accessor summaries, including the
3296
- # friendly name, unique identifier, ARN, associated IAM role, and
3297
- # 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.
3298
3429
  #
3299
3430
  # @option params [required, String] :application_id
3300
- # The unique identifier of the Q Business application.
3431
+ # The unique identifier of the Amazon Q Business application.
3301
3432
  #
3302
3433
  # @option params [String] :next_token
3303
3434
  # The token for the next set of results. (You received this token from a
@@ -3971,6 +4102,56 @@ module Aws::QBusiness
3971
4102
  req.send_request(options)
3972
4103
  end
3973
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&lt;Types::Subscription&gt;
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
+
3974
4155
  # Gets a list of tags associated with a specified resource. Amazon Q
3975
4156
  # Business applications and data sources can have tags associated with
3976
4157
  # them.
@@ -4112,6 +4293,13 @@ module Aws::QBusiness
4112
4293
  # property group, can see top-secret company documents in their Amazon Q
4113
4294
  # Business chat results.
4114
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
+ #
4115
4303
  # @option params [required, String] :application_id
4116
4304
  # The identifier of the application in which the user and group mapping
4117
4305
  # belongs.
@@ -4146,9 +4334,7 @@ module Aws::QBusiness
4146
4334
  #
4147
4335
  # @option params [String] :role_arn
4148
4336
  # The Amazon Resource Name (ARN) of an IAM role that has access to the
4149
- # S3 file that contains your list of users that belong to a group.The
4150
- # Amazon Resource Name (ARN) of an IAM role that has access to the S3
4151
- # 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.
4152
4338
  #
4153
4339
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4154
4340
  #
@@ -4190,17 +4376,17 @@ module Aws::QBusiness
4190
4376
  req.send_request(options)
4191
4377
  end
4192
4378
 
4193
- # Searches for relevant content in a Q Business application based on a
4194
- # query. This operation takes a search query text, the Q Business
4195
- # application identifier, and optional filters (such as content source
4196
- # and maximum results) as input. It returns a list of relevant content
4197
- # items, where each item includes the content text, the unique document
4198
- # identifier, the document title, the document URI, any relevant
4199
- # document attributes, and score attributes indicating the confidence
4200
- # 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.
4201
4387
  #
4202
4388
  # @option params [required, String] :application_id
4203
- # The unique identifier of the Q Business application to search.
4389
+ # The unique identifier of the Amazon Q Business application to search.
4204
4390
  #
4205
4391
  # @option params [required, String] :query_text
4206
4392
  # The text to search for.
@@ -4708,7 +4894,7 @@ module Aws::QBusiness
4708
4894
  # the data accessor.
4709
4895
  #
4710
4896
  # @option params [required, String] :application_id
4711
- # The unique identifier of the Q Business application.
4897
+ # The unique identifier of the Amazon Q Business application.
4712
4898
  #
4713
4899
  # @option params [required, String] :data_accessor_id
4714
4900
  # The unique identifier of the data accessor to update.
@@ -5168,6 +5354,55 @@ module Aws::QBusiness
5168
5354
  req.send_request(options)
5169
5355
  end
5170
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
+
5171
5406
  # Updates a information associated with a user id.
5172
5407
  #
5173
5408
  # @option params [required, String] :application_id
@@ -5367,7 +5602,7 @@ module Aws::QBusiness
5367
5602
  tracer: tracer
5368
5603
  )
5369
5604
  context[:gem_name] = 'aws-sdk-qbusiness'
5370
- context[:gem_version] = '1.25.0'
5605
+ context[:gem_version] = '1.27.0'
5371
5606
  Seahorse::Client::Request.new(handlers, context)
5372
5607
  end
5373
5608