aws-sdk-qbusiness 1.46.0 → 1.47.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6ee160372a0fedf8d85b3ae09be272eb3ae6a271f19817fb5aec805adc06fc89
4
- data.tar.gz: 026b72d9666cc29640878772454f2a31a4623b8cf24f0f042dd747416c76b0d3
3
+ metadata.gz: d473c6cf856405f21dd50dccba2da7bdf8f1434e98cb86f4fcd48c46dc33d5be
4
+ data.tar.gz: 3bb9dfd2f8567be8011aadde90d2b7dec844cc19e13689b10ed5f0022deea1ac
5
5
  SHA512:
6
- metadata.gz: 0e7dfaaeeeb7e39aaf95cbfd5915079b2dec2034779874d54fdda243fb64e8349356c0328ac3fd6fb9a7404e673641cd2255afa03e180c80b362e9383e8f635f
7
- data.tar.gz: ff803217ccb31ca95265bbe515aa1b2e3cc0cea96eaab6132f66482660c2a64bb7e796cf710918a6b63b13a282bade219a8b93e721fc03175f3e9aabf0ebb5fa
6
+ metadata.gz: d176450b72edea7f18be2af69ef8e0a763d1569eed51aa26dd10c84780c8fbe058741ab8fe42579ae4f433d01de2aac0d4887d2c15e661cc3792d973af5970f7
7
+ data.tar.gz: 16646aad4b1241f6408180e4f6bc19ac81db7532497638a633eb74d5fd7e74af2e6b3ab63685bb3c17ac3d2d6197eb902b7972c075c376d6813d7f05eff9507f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.47.0 (2025-08-25)
5
+ ------------------
6
+
7
+ * Feature - The Amazon Q Business GetDocumentContent operation now supports retrieval of the extracted text content in JSON format.
8
+
4
9
  1.46.0 (2025-08-06)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.46.0
1
+ 1.47.0
@@ -683,7 +683,7 @@ module Aws::QBusiness
683
683
  tracer: tracer
684
684
  )
685
685
  context[:gem_name] = 'aws-sdk-qbusiness'
686
- context[:gem_version] = '1.46.0'
686
+ context[:gem_version] = '1.47.0'
687
687
  Seahorse::Client::Request.new(handlers, context)
688
688
  end
689
689
 
@@ -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"> You must provide this value if you're using IAM Identity Center to
2276
- # manage end user access to your application. If you're using legacy
2277
- # identity management to manage user access, you don't need to provide
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
- # Raw document outputFormat.
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.46.0'
6258
+ context[:gem_version] = '1.47.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"> You must provide this value if you're using IAM Identity Center to
2707
- # manage end user access to your application. If you're using legacy
2708
- # identity management to manage user access, you don't need to
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
- # Raw document outputFormat.
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 (e.g., application/pdf,
4861
- # text/plain,
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
@@ -57,7 +57,7 @@ module Aws::QBusiness
57
57
  autoload :AsyncClient, 'aws-sdk-qbusiness/async_client'
58
58
  autoload :EventStreams, 'aws-sdk-qbusiness/event_streams'
59
59
 
60
- GEM_VERSION = '1.46.0'
60
+ GEM_VERSION = '1.47.0'
61
61
 
62
62
  end
63
63
 
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.46.0
4
+ version: 1.47.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services