aws-sdk-qbusiness 1.30.0 → 1.31.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: 3704678a5b5764634bc91ca51dd31aa33c91f6ceab62e96ebf949f21cf047514
4
- data.tar.gz: d52aadc81b30bc85c32dd3d7693ec967c4cc2fa33689b4dfb10369909d6d0184
3
+ metadata.gz: c5eb95e34f4785f7ccf72344be022086d9cfc855cdaa1a836e431b6716ddf65c
4
+ data.tar.gz: da8eef57a9279cca95f82b2b8383597ce182347c38bd567c28b59ce9baa6be97
5
5
  SHA512:
6
- metadata.gz: 6394ae1f9b1662fa51c2e6fa01fbf40d769bff7a0dea540b524834946565ac221e2e96a3502f4187d44f51beafa918c542f821a931340f1cec5fd8a1f3907540
7
- data.tar.gz: d6c58980a67f864a34d951dd1a872cfa74ddb093eaeeeb2eec0b20e7ccc856ec58493e75cfc5f45cc3158eddd3fdee3d2b4c69935cf138e8b16c951ac65e4eea
6
+ metadata.gz: 24e0d77ad55dba1ff8c058e6ec88992b2ca59b763a71ac482e208ec29f0b2850b309f9181b76fa20d4a4ef042dfbb0dcad927b83987de6ab0caec395764cecdd
7
+ data.tar.gz: d3d4c207226ddc6748fb0720ad84ccd1a751f2a69c8de8894add11c5922b1af015fd02a9ca914258fb4a15f9ecc1f5b0921deb14d447ddca9bee570313c47bb1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.31.0 (2025-02-27)
5
+ ------------------
6
+
7
+ * Feature - This release supports deleting attachments from conversations.
8
+
4
9
  1.30.0 (2025-02-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.30.0
1
+ 1.31.0
@@ -630,7 +630,7 @@ module Aws::QBusiness
630
630
  tracer: tracer
631
631
  )
632
632
  context[:gem_name] = 'aws-sdk-qbusiness'
633
- context[:gem_version] = '1.30.0'
633
+ context[:gem_version] = '1.31.0'
634
634
  Seahorse::Client::Request.new(handlers, context)
635
635
  end
636
636
 
@@ -2127,6 +2127,42 @@ module Aws::QBusiness
2127
2127
  req.send_request(options)
2128
2128
  end
2129
2129
 
2130
+ # Deletes an attachment associated with a specific Amazon Q Business
2131
+ # conversation.
2132
+ #
2133
+ # @option params [required, String] :application_id
2134
+ # The unique identifier for the Amazon Q Business application
2135
+ # environment.
2136
+ #
2137
+ # @option params [required, String] :conversation_id
2138
+ # The unique identifier of the conversation.
2139
+ #
2140
+ # @option params [required, String] :attachment_id
2141
+ # The unique identifier for the attachment.
2142
+ #
2143
+ # @option params [String] :user_id
2144
+ # The unique identifier of the user involved in the conversation.
2145
+ #
2146
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2147
+ #
2148
+ # @example Request syntax with placeholder values
2149
+ #
2150
+ # resp = client.delete_attachment({
2151
+ # application_id: "ApplicationId", # required
2152
+ # conversation_id: "ConversationId", # required
2153
+ # attachment_id: "AttachmentId", # required
2154
+ # user_id: "UserId",
2155
+ # })
2156
+ #
2157
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/DeleteAttachment AWS API Documentation
2158
+ #
2159
+ # @overload delete_attachment(params = {})
2160
+ # @param [Hash] params ({})
2161
+ def delete_attachment(params = {}, options = {})
2162
+ req = build_request(:delete_attachment, params)
2163
+ req.send_request(options)
2164
+ end
2165
+
2130
2166
  # Deletes chat controls configured for an existing Amazon Q Business
2131
2167
  # application.
2132
2168
  #
@@ -5610,7 +5646,7 @@ module Aws::QBusiness
5610
5646
  tracer: tracer
5611
5647
  )
5612
5648
  context[:gem_name] = 'aws-sdk-qbusiness'
5613
- context[:gem_version] = '1.30.0'
5649
+ context[:gem_version] = '1.31.0'
5614
5650
  Seahorse::Client::Request.new(handlers, context)
5615
5651
  end
5616
5652
 
@@ -164,6 +164,8 @@ module Aws::QBusiness
164
164
  DateAttributeBoostingConfiguration = Shapes::StructureShape.new(name: 'DateAttributeBoostingConfiguration')
165
165
  DeleteApplicationRequest = Shapes::StructureShape.new(name: 'DeleteApplicationRequest')
166
166
  DeleteApplicationResponse = Shapes::StructureShape.new(name: 'DeleteApplicationResponse')
167
+ DeleteAttachmentRequest = Shapes::StructureShape.new(name: 'DeleteAttachmentRequest')
168
+ DeleteAttachmentResponse = Shapes::StructureShape.new(name: 'DeleteAttachmentResponse')
167
169
  DeleteChatControlsConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteChatControlsConfigurationRequest')
168
170
  DeleteChatControlsConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteChatControlsConfigurationResponse')
169
171
  DeleteConversationRequest = Shapes::StructureShape.new(name: 'DeleteConversationRequest')
@@ -1077,6 +1079,14 @@ module Aws::QBusiness
1077
1079
 
1078
1080
  DeleteApplicationResponse.struct_class = Types::DeleteApplicationResponse
1079
1081
 
1082
+ DeleteAttachmentRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
1083
+ DeleteAttachmentRequest.add_member(:conversation_id, Shapes::ShapeRef.new(shape: ConversationId, required: true, location: "uri", location_name: "conversationId"))
1084
+ DeleteAttachmentRequest.add_member(:attachment_id, Shapes::ShapeRef.new(shape: AttachmentId, required: true, location: "uri", location_name: "attachmentId"))
1085
+ DeleteAttachmentRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location: "querystring", location_name: "userId"))
1086
+ DeleteAttachmentRequest.struct_class = Types::DeleteAttachmentRequest
1087
+
1088
+ DeleteAttachmentResponse.struct_class = Types::DeleteAttachmentResponse
1089
+
1080
1090
  DeleteChatControlsConfigurationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
1081
1091
  DeleteChatControlsConfigurationRequest.struct_class = Types::DeleteChatControlsConfigurationRequest
1082
1092
 
@@ -2464,6 +2474,20 @@ module Aws::QBusiness
2464
2474
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2465
2475
  end)
2466
2476
 
2477
+ api.add_operation(:delete_attachment, Seahorse::Model::Operation.new.tap do |o|
2478
+ o.name = "DeleteAttachment"
2479
+ o.http_method = "DELETE"
2480
+ o.http_request_uri = "/applications/{applicationId}/conversations/{conversationId}/attachments/{attachmentId}"
2481
+ o.input = Shapes::ShapeRef.new(shape: DeleteAttachmentRequest)
2482
+ o.output = Shapes::ShapeRef.new(shape: DeleteAttachmentResponse)
2483
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2484
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2485
+ o.errors << Shapes::ShapeRef.new(shape: LicenseNotFoundException)
2486
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2487
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2488
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2489
+ end)
2490
+
2467
2491
  api.add_operation(:delete_chat_controls_configuration, Seahorse::Model::Operation.new.tap do |o|
2468
2492
  o.name = "DeleteChatControlsConfiguration"
2469
2493
  o.http_method = "DELETE"
@@ -2732,6 +2732,38 @@ module Aws::QBusiness
2732
2732
  #
2733
2733
  class DeleteApplicationResponse < Aws::EmptyStructure; end
2734
2734
 
2735
+ # @!attribute [rw] application_id
2736
+ # The unique identifier for the Amazon Q Business application
2737
+ # environment.
2738
+ # @return [String]
2739
+ #
2740
+ # @!attribute [rw] conversation_id
2741
+ # The unique identifier of the conversation.
2742
+ # @return [String]
2743
+ #
2744
+ # @!attribute [rw] attachment_id
2745
+ # The unique identifier for the attachment.
2746
+ # @return [String]
2747
+ #
2748
+ # @!attribute [rw] user_id
2749
+ # The unique identifier of the user involved in the conversation.
2750
+ # @return [String]
2751
+ #
2752
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/DeleteAttachmentRequest AWS API Documentation
2753
+ #
2754
+ class DeleteAttachmentRequest < Struct.new(
2755
+ :application_id,
2756
+ :conversation_id,
2757
+ :attachment_id,
2758
+ :user_id)
2759
+ SENSITIVE = []
2760
+ include Aws::Structure
2761
+ end
2762
+
2763
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/DeleteAttachmentResponse AWS API Documentation
2764
+ #
2765
+ class DeleteAttachmentResponse < Aws::EmptyStructure; end
2766
+
2735
2767
  # @!attribute [rw] application_id
2736
2768
  # The identifier of the application the chat controls have been
2737
2769
  # configured for.
@@ -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.30.0'
60
+ GEM_VERSION = '1.31.0'
61
61
 
62
62
  end
63
63
 
data/sig/client.rbs CHANGED
@@ -824,6 +824,18 @@ module Aws
824
824
  ) -> _DeleteApplicationResponseSuccess
825
825
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteApplicationResponseSuccess
826
826
 
827
+ interface _DeleteAttachmentResponseSuccess
828
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAttachmentResponse]
829
+ end
830
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#delete_attachment-instance_method
831
+ def delete_attachment: (
832
+ application_id: ::String,
833
+ conversation_id: ::String,
834
+ attachment_id: ::String,
835
+ ?user_id: ::String
836
+ ) -> _DeleteAttachmentResponseSuccess
837
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAttachmentResponseSuccess
838
+
827
839
  interface _DeleteChatControlsConfigurationResponseSuccess
828
840
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteChatControlsConfigurationResponse]
829
841
  end
data/sig/types.rbs CHANGED
@@ -665,6 +665,17 @@ module Aws::QBusiness
665
665
  class DeleteApplicationResponse < Aws::EmptyStructure
666
666
  end
667
667
 
668
+ class DeleteAttachmentRequest
669
+ attr_accessor application_id: ::String
670
+ attr_accessor conversation_id: ::String
671
+ attr_accessor attachment_id: ::String
672
+ attr_accessor user_id: ::String
673
+ SENSITIVE: []
674
+ end
675
+
676
+ class DeleteAttachmentResponse < Aws::EmptyStructure
677
+ end
678
+
668
679
  class DeleteChatControlsConfigurationRequest
669
680
  attr_accessor application_id: ::String
670
681
  SENSITIVE: []
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.30.0
4
+ version: 1.31.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: 2025-02-18 00:00:00.000000000 Z
11
+ date: 2025-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core