aws-sdk-qbusiness 1.24.0 → 1.26.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-qbusiness/async_client.rb +24 -1
- data/lib/aws-sdk-qbusiness/client.rb +30 -15
- data/lib/aws-sdk-qbusiness/client_api.rb +0 -2
- data/lib/aws-sdk-qbusiness/types.rb +0 -10
- data/lib/aws-sdk-qbusiness.rb +1 -1
- data/sig/client.rbs +2 -2
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +0 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3cad6055b97daa3aea80364e5c9e435945517a129118016ad84dc2a39de6d5f7
|
4
|
+
data.tar.gz: f13520496a2f13c42e8aac4a24d1dd55338e816f4832dcdaf2e90d72ea29a0fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 166733af8ebb33bfb9f8530429b886666f9b70a2b66c4ff33a1e0d3897d77f7fbdee14500da8cc41db03f749c26bd21c821dcdce2deffef278d1bde83737453d
|
7
|
+
data.tar.gz: 1b560b98ec3fab1598f4c5ba0ef8378c35fcacd7cbd0605905269ce55d6e527ef28bb0919d6acc5aa74db46b3bc5fcfabba201d7b94dc5e0e3e9f99b4223c5fb
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.26.0 (2025-01-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.25.0 (2024-12-05)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release removes the deprecated UserId and UserGroups fields from SearchRelevantContent api's request parameters.
|
13
|
+
|
4
14
|
1.24.0 (2024-12-03)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.26.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.
|
633
|
+
context[:gem_version] = '1.26.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.
|
@@ -4192,22 +4215,16 @@ module Aws::QBusiness
|
|
4192
4215
|
|
4193
4216
|
# Searches for relevant content in a Q Business application based on a
|
4194
4217
|
# query. This operation takes a search query text, the Q Business
|
4195
|
-
# application identifier, and optional filters (such as
|
4196
|
-
#
|
4197
|
-
#
|
4198
|
-
#
|
4199
|
-
#
|
4200
|
-
#
|
4218
|
+
# application identifier, and optional filters (such as content source
|
4219
|
+
# and maximum results) as input. It returns a list of relevant content
|
4220
|
+
# items, where each item includes the content text, the unique document
|
4221
|
+
# identifier, the document title, the document URI, any relevant
|
4222
|
+
# document attributes, and score attributes indicating the confidence
|
4223
|
+
# level of the relevance.
|
4201
4224
|
#
|
4202
4225
|
# @option params [required, String] :application_id
|
4203
4226
|
# The unique identifier of the Q Business application to search.
|
4204
4227
|
#
|
4205
|
-
# @option params [String] :user_id
|
4206
|
-
# The ID of the user performing the search. Used for access control.
|
4207
|
-
#
|
4208
|
-
# @option params [Array<String>] :user_groups
|
4209
|
-
# The groups the user belongs to. Used for access control.
|
4210
|
-
#
|
4211
4228
|
# @option params [required, String] :query_text
|
4212
4229
|
# The text to search for.
|
4213
4230
|
#
|
@@ -4236,8 +4253,6 @@ module Aws::QBusiness
|
|
4236
4253
|
#
|
4237
4254
|
# resp = client.search_relevant_content({
|
4238
4255
|
# application_id: "ApplicationId", # required
|
4239
|
-
# user_id: "UserId",
|
4240
|
-
# user_groups: ["String"],
|
4241
4256
|
# query_text: "QueryText", # required
|
4242
4257
|
# content_source: { # required
|
4243
4258
|
# retriever: {
|
@@ -5375,7 +5390,7 @@ module Aws::QBusiness
|
|
5375
5390
|
tracer: tracer
|
5376
5391
|
)
|
5377
5392
|
context[:gem_name] = 'aws-sdk-qbusiness'
|
5378
|
-
context[:gem_version] = '1.
|
5393
|
+
context[:gem_version] = '1.26.0'
|
5379
5394
|
Seahorse::Client::Request.new(handlers, context)
|
5380
5395
|
end
|
5381
5396
|
|
@@ -1860,8 +1860,6 @@ module Aws::QBusiness
|
|
1860
1860
|
ScoreAttributes.struct_class = Types::ScoreAttributes
|
1861
1861
|
|
1862
1862
|
SearchRelevantContentRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
1863
|
-
SearchRelevantContentRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location: "querystring", location_name: "userId"))
|
1864
|
-
SearchRelevantContentRequest.add_member(:user_groups, Shapes::ShapeRef.new(shape: UserGroups, location: "querystring", location_name: "userGroups"))
|
1865
1863
|
SearchRelevantContentRequest.add_member(:query_text, Shapes::ShapeRef.new(shape: QueryText, required: true, location_name: "queryText"))
|
1866
1864
|
SearchRelevantContentRequest.add_member(:content_source, Shapes::ShapeRef.new(shape: ContentSource, required: true, location_name: "contentSource"))
|
1867
1865
|
SearchRelevantContentRequest.add_member(:attribute_filter, Shapes::ShapeRef.new(shape: AttributeFilter, location_name: "attributeFilter"))
|
@@ -6653,14 +6653,6 @@ module Aws::QBusiness
|
|
6653
6653
|
# The unique identifier of the Q Business application to search.
|
6654
6654
|
# @return [String]
|
6655
6655
|
#
|
6656
|
-
# @!attribute [rw] user_id
|
6657
|
-
# The ID of the user performing the search. Used for access control.
|
6658
|
-
# @return [String]
|
6659
|
-
#
|
6660
|
-
# @!attribute [rw] user_groups
|
6661
|
-
# The groups the user belongs to. Used for access control.
|
6662
|
-
# @return [Array<String>]
|
6663
|
-
#
|
6664
6656
|
# @!attribute [rw] query_text
|
6665
6657
|
# The text to search for.
|
6666
6658
|
# @return [String]
|
@@ -6687,8 +6679,6 @@ module Aws::QBusiness
|
|
6687
6679
|
#
|
6688
6680
|
class SearchRelevantContentRequest < Struct.new(
|
6689
6681
|
:application_id,
|
6690
|
-
:user_id,
|
6691
|
-
:user_groups,
|
6692
6682
|
:query_text,
|
6693
6683
|
:content_source,
|
6694
6684
|
:attribute_filter,
|
data/lib/aws-sdk-qbusiness.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -42,7 +42,9 @@ module Aws
|
|
42
42
|
?max_attempts: Integer,
|
43
43
|
?output_event_stream_handler: Proc,
|
44
44
|
?profile: String,
|
45
|
+
?request_checksum_calculation: String,
|
45
46
|
?request_min_compression_size_bytes: Integer,
|
47
|
+
?response_checksum_validation: String,
|
46
48
|
?retry_backoff: Proc,
|
47
49
|
?retry_base_delay: Float,
|
48
50
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
@@ -1421,8 +1423,6 @@ module Aws
|
|
1421
1423
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#search_relevant_content-instance_method
|
1422
1424
|
def search_relevant_content: (
|
1423
1425
|
application_id: ::String,
|
1424
|
-
?user_id: ::String,
|
1425
|
-
?user_groups: Array[::String],
|
1426
1426
|
query_text: ::String,
|
1427
1427
|
content_source: {
|
1428
1428
|
retriever: {
|
data/sig/resource.rbs
CHANGED
@@ -42,7 +42,9 @@ module Aws
|
|
42
42
|
?max_attempts: Integer,
|
43
43
|
?output_event_stream_handler: Proc,
|
44
44
|
?profile: String,
|
45
|
+
?request_checksum_calculation: String,
|
45
46
|
?request_min_compression_size_bytes: Integer,
|
47
|
+
?response_checksum_validation: String,
|
46
48
|
?retry_backoff: Proc,
|
47
49
|
?retry_base_delay: Float,
|
48
50
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
data/sig/types.rbs
CHANGED
@@ -1734,8 +1734,6 @@ module Aws::QBusiness
|
|
1734
1734
|
|
1735
1735
|
class SearchRelevantContentRequest
|
1736
1736
|
attr_accessor application_id: ::String
|
1737
|
-
attr_accessor user_id: ::String
|
1738
|
-
attr_accessor user_groups: ::Array[::String]
|
1739
1737
|
attr_accessor query_text: ::String
|
1740
1738
|
attr_accessor content_source: Types::ContentSource
|
1741
1739
|
attr_accessor attribute_filter: Types::AttributeFilter
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-qbusiness
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.26.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.216.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.216.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|