aws-sdk-qbusiness 1.24.0 → 1.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +7 -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 +0 -2
- data/sig/types.rbs +0 -2
- 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: acb13f72cb1c49029e4eb8103e291cd6d85c4de59fc18f0cc94c7888aa7cb7a7
|
4
|
+
data.tar.gz: eef6216a2e58cd20dc01d5e4918d37d4b7685e2d1bc2456d77282ee848d8e902
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 325b014fec984f178c3ab7fed0117ccec5b71ead40f242299ef5ce912d7f41582930d1ca355329ddc23064e6e2f36c5aa270ad0daf18a964cf03055301524b26
|
7
|
+
data.tar.gz: ff447a2df2e0f87970760fb4aaac13bdebded0b0cc7990fadf1025568ef2230d8924c0051bde2c20d153ebdfce7003b090ff2cd065bd9548381a1f8ddc227df2
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.25.0 (2024-12-05)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release removes the deprecated UserId and UserGroups fields from SearchRelevantContent api's request parameters.
|
8
|
+
|
4
9
|
1.24.0 (2024-12-03)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.25.0
|
@@ -4192,22 +4192,16 @@ module Aws::QBusiness
|
|
4192
4192
|
|
4193
4193
|
# Searches for relevant content in a Q Business application based on a
|
4194
4194
|
# query. This operation takes a search query text, the Q Business
|
4195
|
-
# application identifier, and optional filters (such as
|
4196
|
-
#
|
4197
|
-
#
|
4198
|
-
#
|
4199
|
-
#
|
4200
|
-
#
|
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.
|
4201
4201
|
#
|
4202
4202
|
# @option params [required, String] :application_id
|
4203
4203
|
# The unique identifier of the Q Business application to search.
|
4204
4204
|
#
|
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
4205
|
# @option params [required, String] :query_text
|
4212
4206
|
# The text to search for.
|
4213
4207
|
#
|
@@ -4236,8 +4230,6 @@ module Aws::QBusiness
|
|
4236
4230
|
#
|
4237
4231
|
# resp = client.search_relevant_content({
|
4238
4232
|
# application_id: "ApplicationId", # required
|
4239
|
-
# user_id: "UserId",
|
4240
|
-
# user_groups: ["String"],
|
4241
4233
|
# query_text: "QueryText", # required
|
4242
4234
|
# content_source: { # required
|
4243
4235
|
# retriever: {
|
@@ -5375,7 +5367,7 @@ module Aws::QBusiness
|
|
5375
5367
|
tracer: tracer
|
5376
5368
|
)
|
5377
5369
|
context[:gem_name] = 'aws-sdk-qbusiness'
|
5378
|
-
context[:gem_version] = '1.
|
5370
|
+
context[:gem_version] = '1.25.0'
|
5379
5371
|
Seahorse::Client::Request.new(handlers, context)
|
5380
5372
|
end
|
5381
5373
|
|
@@ -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
@@ -1421,8 +1421,6 @@ module Aws
|
|
1421
1421
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#search_relevant_content-instance_method
|
1422
1422
|
def search_relevant_content: (
|
1423
1423
|
application_id: ::String,
|
1424
|
-
?user_id: ::String,
|
1425
|
-
?user_groups: Array[::String],
|
1426
1424
|
query_text: ::String,
|
1427
1425
|
content_source: {
|
1428
1426
|
retriever: {
|
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.25.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: 2024-12-
|
11
|
+
date: 2024-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|