aws-sdk-qbusiness 1.46.0 → 1.48.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-qbusiness/async_client.rb +1 -1
- data/lib/aws-sdk-qbusiness/client.rb +13 -8
- data/lib/aws-sdk-qbusiness/client_api.rb +2 -1
- data/lib/aws-sdk-qbusiness/types.rb +21 -8
- data/lib/aws-sdk-qbusiness.rb +1 -1
- data/sig/client.rbs +1 -1
- data/sig/types.rbs +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e2ef373f95fd53ab58e86b790463461fe9ad9792b54745712d66bd3a9de7f47
|
4
|
+
data.tar.gz: cc28f708276810974881de21f264c67626d5007f4842dbaed51734226228738a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e06d3deecd003730a87527ac821fed48bb5d1487dcbb18adc1b796807041397359dfb5979a395efb222ce572a3a26b9eed462c1fc3dcf9c18e8533db419dbef
|
7
|
+
data.tar.gz: 901cf84cc0bed474f6924488919c9e53a999b23d13cd577165a001f72017bfc34f65173215d8d577deaf8498bceb725927e595b9b782f34d0a6ebfd7f037aae9
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.48.0 (2025-08-26)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.47.0 (2025-08-25)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - The Amazon Q Business GetDocumentContent operation now supports retrieval of the extracted text content in JSON format.
|
13
|
+
|
4
14
|
1.46.0 (2025-08-06)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.48.0
|
@@ -624,6 +624,10 @@ module Aws::QBusiness
|
|
624
624
|
# @option params [required, Array<Types::Document>] :documents
|
625
625
|
# One or more documents to add to the index.
|
626
626
|
#
|
627
|
+
# Ensure that the name of your document doesn't contain any
|
628
|
+
# confidential information. Amazon Q Business returns document names in
|
629
|
+
# chat responses and citations when relevant.
|
630
|
+
#
|
627
631
|
# @option params [String] :role_arn
|
628
632
|
# The Amazon Resource Name (ARN) of an IAM role with permission to
|
629
633
|
# access your S3 bucket.
|
@@ -1699,7 +1703,9 @@ module Aws::QBusiness
|
|
1699
1703
|
#
|
1700
1704
|
# @option params [String] :role_arn
|
1701
1705
|
# The Amazon Resource Name (ARN) of an IAM role with permission to
|
1702
|
-
# access the data source and required resources.
|
1706
|
+
# access the data source and required resources. This field is required
|
1707
|
+
# for all connector types except custom connectors, where it is
|
1708
|
+
# optional.
|
1703
1709
|
#
|
1704
1710
|
# @option params [String] :client_token
|
1705
1711
|
# A token you provide to identify a request to create a data source
|
@@ -2272,10 +2278,9 @@ module Aws::QBusiness
|
|
2272
2278
|
# The Amazon Resource Name (ARN) of the service role attached to your
|
2273
2279
|
# web experience.
|
2274
2280
|
#
|
2275
|
-
# <note markdown="1">
|
2276
|
-
#
|
2277
|
-
#
|
2278
|
-
# this value.
|
2281
|
+
# <note markdown="1"> The `roleArn` parameter is required when your Amazon Q Business
|
2282
|
+
# application is created with IAM Identity Center. It is not required
|
2283
|
+
# for SAML-based applications.
|
2279
2284
|
#
|
2280
2285
|
# </note>
|
2281
2286
|
#
|
@@ -3252,7 +3257,7 @@ module Aws::QBusiness
|
|
3252
3257
|
# found in chat or chatSync response.
|
3253
3258
|
#
|
3254
3259
|
# @option params [String] :output_format
|
3255
|
-
#
|
3260
|
+
# Document outputFormat. Defaults to RAW if not selected.
|
3256
3261
|
#
|
3257
3262
|
# @return [Types::GetDocumentContentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3258
3263
|
#
|
@@ -3266,7 +3271,7 @@ module Aws::QBusiness
|
|
3266
3271
|
# index_id: "IndexId", # required
|
3267
3272
|
# data_source_id: "DataSourceId",
|
3268
3273
|
# document_id: "DocumentId", # required
|
3269
|
-
# output_format: "RAW", # accepts RAW
|
3274
|
+
# output_format: "RAW", # accepts RAW, EXTRACTED
|
3270
3275
|
# })
|
3271
3276
|
#
|
3272
3277
|
# @example Response structure
|
@@ -6250,7 +6255,7 @@ module Aws::QBusiness
|
|
6250
6255
|
tracer: tracer
|
6251
6256
|
)
|
6252
6257
|
context[:gem_name] = 'aws-sdk-qbusiness'
|
6253
|
-
context[:gem_version] = '1.
|
6258
|
+
context[:gem_version] = '1.48.0'
|
6254
6259
|
Seahorse::Client::Request.new(handlers, context)
|
6255
6260
|
end
|
6256
6261
|
|
@@ -2192,7 +2192,7 @@ module Aws::QBusiness
|
|
2192
2192
|
SearchRelevantContentRequest.add_member(:query_text, Shapes::ShapeRef.new(shape: QueryText, required: true, location_name: "queryText"))
|
2193
2193
|
SearchRelevantContentRequest.add_member(:content_source, Shapes::ShapeRef.new(shape: ContentSource, required: true, location_name: "contentSource"))
|
2194
2194
|
SearchRelevantContentRequest.add_member(:attribute_filter, Shapes::ShapeRef.new(shape: AttributeFilter, location_name: "attributeFilter"))
|
2195
|
-
SearchRelevantContentRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
2195
|
+
SearchRelevantContentRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults", metadata: {"box" => true}))
|
2196
2196
|
SearchRelevantContentRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
2197
2197
|
SearchRelevantContentRequest.struct_class = Types::SearchRelevantContentRequest
|
2198
2198
|
|
@@ -2863,6 +2863,7 @@ module Aws::QBusiness
|
|
2863
2863
|
o.output = Shapes::ShapeRef.new(shape: DeleteConversationResponse)
|
2864
2864
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2865
2865
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2866
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2866
2867
|
o.errors << Shapes::ShapeRef.new(shape: LicenseNotFoundException)
|
2867
2868
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2868
2869
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
@@ -1106,6 +1106,10 @@ module Aws::QBusiness
|
|
1106
1106
|
#
|
1107
1107
|
# @!attribute [rw] documents
|
1108
1108
|
# One or more documents to add to the index.
|
1109
|
+
#
|
1110
|
+
# Ensure that the name of your document doesn't contain any
|
1111
|
+
# confidential information. Amazon Q Business returns document names
|
1112
|
+
# in chat responses and citations when relevant.
|
1109
1113
|
# @return [Array<Types::Document>]
|
1110
1114
|
#
|
1111
1115
|
# @!attribute [rw] role_arn
|
@@ -1151,6 +1155,11 @@ module Aws::QBusiness
|
|
1151
1155
|
# @!attribute [rw] blocked_phrases
|
1152
1156
|
# A list of phrases blocked from a Amazon Q Business web experience
|
1153
1157
|
# chat.
|
1158
|
+
#
|
1159
|
+
# <note markdown="1"> Each phrase can contain a maximum of 36 characters. The list can
|
1160
|
+
# contain a maximum of 20 phrases.
|
1161
|
+
#
|
1162
|
+
# </note>
|
1154
1163
|
# @return [Array<String>]
|
1155
1164
|
#
|
1156
1165
|
# @!attribute [rw] system_message_override
|
@@ -2281,7 +2290,9 @@ module Aws::QBusiness
|
|
2281
2290
|
#
|
2282
2291
|
# @!attribute [rw] role_arn
|
2283
2292
|
# The Amazon Resource Name (ARN) of an IAM role with permission to
|
2284
|
-
# access the data source and required resources.
|
2293
|
+
# access the data source and required resources. This field is
|
2294
|
+
# required for all connector types except custom connectors, where it
|
2295
|
+
# is optional.
|
2285
2296
|
# @return [String]
|
2286
2297
|
#
|
2287
2298
|
# @!attribute [rw] client_token
|
@@ -2703,10 +2714,9 @@ module Aws::QBusiness
|
|
2703
2714
|
# The Amazon Resource Name (ARN) of the service role attached to your
|
2704
2715
|
# web experience.
|
2705
2716
|
#
|
2706
|
-
# <note markdown="1">
|
2707
|
-
#
|
2708
|
-
#
|
2709
|
-
# provide this value.
|
2717
|
+
# <note markdown="1"> The `roleArn` parameter is required when your Amazon Q Business
|
2718
|
+
# application is created with IAM Identity Center. It is not required
|
2719
|
+
# for SAML-based applications.
|
2710
2720
|
#
|
2711
2721
|
# </note>
|
2712
2722
|
# @return [String]
|
@@ -4834,7 +4844,7 @@ module Aws::QBusiness
|
|
4834
4844
|
# @return [String]
|
4835
4845
|
#
|
4836
4846
|
# @!attribute [rw] output_format
|
4837
|
-
#
|
4847
|
+
# Document outputFormat. Defaults to RAW if not selected.
|
4838
4848
|
# @return [String]
|
4839
4849
|
#
|
4840
4850
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/GetDocumentContentRequest AWS API Documentation
|
@@ -4857,9 +4867,12 @@ module Aws::QBusiness
|
|
4857
4867
|
# @return [String]
|
4858
4868
|
#
|
4859
4869
|
# @!attribute [rw] mime_type
|
4860
|
-
# The MIME type of the document content
|
4861
|
-
#
|
4870
|
+
# The MIME type of the document content. When outputFormat is RAW,
|
4871
|
+
# this corresponds to the original document's MIME type (e.g.,
|
4872
|
+
# application/pdf, text/plain,
|
4862
4873
|
# application/vnd.openxmlformats-officedocument.wordprocessingml.document).
|
4874
|
+
# When outputFormat is EXTRACTED, the MIME type is always
|
4875
|
+
# application/json.
|
4863
4876
|
# @return [String]
|
4864
4877
|
#
|
4865
4878
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/GetDocumentContentResponse AWS API Documentation
|
data/lib/aws-sdk-qbusiness.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -1152,7 +1152,7 @@ module Aws
|
|
1152
1152
|
index_id: ::String,
|
1153
1153
|
?data_source_id: ::String,
|
1154
1154
|
document_id: ::String,
|
1155
|
-
?output_format: ("RAW")
|
1155
|
+
?output_format: ("RAW" | "EXTRACTED")
|
1156
1156
|
) -> _GetDocumentContentResponseSuccess
|
1157
1157
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDocumentContentResponseSuccess
|
1158
1158
|
|
data/sig/types.rbs
CHANGED
@@ -1206,7 +1206,7 @@ module Aws::QBusiness
|
|
1206
1206
|
attr_accessor index_id: ::String
|
1207
1207
|
attr_accessor data_source_id: ::String
|
1208
1208
|
attr_accessor document_id: ::String
|
1209
|
-
attr_accessor output_format: ("RAW")
|
1209
|
+
attr_accessor output_format: ("RAW" | "EXTRACTED")
|
1210
1210
|
SENSITIVE: []
|
1211
1211
|
end
|
1212
1212
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.48.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
version: '3'
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.
|
21
|
+
version: 3.231.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -28,7 +28,7 @@ dependencies:
|
|
28
28
|
version: '3'
|
29
29
|
- - ">="
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: 3.
|
31
|
+
version: 3.231.0
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: aws-sigv4
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|