aws-sdk-connectparticipant 1.87.0 → 1.88.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: 67c189117f86ac6b7afc955d84511d559b9ec8fa7902966090c55fa926b3191f
4
- data.tar.gz: 9c15df994c9fda74feec8f7c2144c82badd5eb1e5c2b12c21f4c75bf94b82eb0
3
+ metadata.gz: 65d1a7eb9dc2ec35051d6d1f90ef6ebdab6ffb008f2ef46d47a7e4c2af01ee1e
4
+ data.tar.gz: 3861cf8c03a8fadc331e5fce8faee1b585191dbbb1015d18ef85db2d1a7a2806
5
5
  SHA512:
6
- metadata.gz: 28198c070b427692ce2b06d22f20a86bfcc337acd2155d9813418501359b70d0d10adabc373992a29ae8df01d83bae4c04036c2210330751e45d929cf4c49f51
7
- data.tar.gz: 703d7daa1f1985a9df21e695938cc918ff4f521635128ad1e102a1d1423ad931f395b2533c0eebdeb6fce6d273e41934c7d7aafc837f235245f39cff40e7eeb1
6
+ metadata.gz: dd41c8262228deb0a2c89bb25a70891d8d66bbbb9410652e2749ede176a4ab6958dffc75fa8f1b36c5fc5c7aee38832333f07fd8000bb1c89ebd5d5fd606bd00
7
+ data.tar.gz: 3d12f7d6c7b362afc7b0fff13cd55095bdb9fdc79c306a0614a6ea8ff91e9ee8bd47b9d7b89708cd3c04615cc156ca2cbd9c02b62bbd487db134a00912acfcd9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.88.0 (2026-10-28)
5
+ ------------------
6
+
7
+ * Feature - Amazon Connect Participant Service now supports the optional UrlContentDisposition parameter on GetAttachment, which returns a pre-signed URL that renders a chat attachment inline in the browser instead of forcing a download.
8
+
4
9
  1.87.0 (2026-10-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.87.0
1
+ 1.88.0
@@ -868,6 +868,18 @@ module Aws::ConnectParticipant
868
868
  # ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,
869
869
  # 2019-11-08T02:41:28.172Z.
870
870
  #
871
+ # @option params [String] :url_content_disposition
872
+ # Specifies how a browser handles the file at the pre-signed URL. The
873
+ # following values are valid:
874
+ #
875
+ # INLINE
876
+ #
877
+ # : Displays the file in the browser.
878
+ #
879
+ # ATTACHMENT
880
+ #
881
+ # : Downloads the file. This is the default behavior.
882
+ #
871
883
  # @return [Types::GetAttachmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
872
884
  #
873
885
  # * {Types::GetAttachmentResponse#url #url} => String
@@ -880,6 +892,7 @@ module Aws::ConnectParticipant
880
892
  # attachment_id: "ArtifactId", # required
881
893
  # connection_token: "ParticipantToken", # required
882
894
  # url_expiry_in_seconds: 1,
895
+ # url_content_disposition: "INLINE", # accepts INLINE, ATTACHMENT
883
896
  # })
884
897
  #
885
898
  # @example Response structure
@@ -1213,17 +1226,17 @@ module Aws::ConnectParticipant
1213
1226
  # [2]: https://docs.aws.amazon.com/connect/latest/APIReference/API_StartOutboundChatContact.html
1214
1227
  #
1215
1228
  # @option params [required, String] :content
1216
- # The content of the message.
1229
+ # The content of the message. Maximum of 16,384 bytes for all content
1230
+ # types (`text/plain`, `text/markdown`, `application/json`, and
1231
+ # `application/vnd.amazonaws.connect.message.interactive.response`).
1232
+ #
1233
+ # Some messaging channels enforce lower limits. For channel-specific
1234
+ # message size limits, see [Chat message size limits by channel][1] in
1235
+ # the *Amazon Connect Customer Administrator Guide*.
1217
1236
  #
1218
- # * For `text/plain` and `text/markdown`, the Length Constraints are
1219
- # Minimum of 1, Maximum of 1024.
1220
1237
  #
1221
- # * For `application/json`, the Length Constraints are Minimum of 1,
1222
- # Maximum of 12000.
1223
1238
  #
1224
- # * For
1225
- # `application/vnd.amazonaws.connect.message.interactive.response`,
1226
- # the Length Constraints are Minimum of 1, Maximum of 12288.
1239
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/feature-limits.html#chat-message-size-limits
1227
1240
  #
1228
1241
  # @option params [String] :client_token
1229
1242
  # A unique, case-sensitive identifier that you provide to ensure the
@@ -1343,7 +1356,7 @@ module Aws::ConnectParticipant
1343
1356
  # resp.upload_metadata.url #=> String
1344
1357
  # resp.upload_metadata.url_expiry #=> String
1345
1358
  # resp.upload_metadata.headers_to_include #=> Hash
1346
- # resp.upload_metadata.headers_to_include["UploadMetadataSignedHeadersKey"] #=> String
1359
+ # resp.upload_metadata.headers_to_include["UrlMetadataSignedHeadersKey"] #=> String
1347
1360
  #
1348
1361
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/StartAttachmentUpload AWS API Documentation
1349
1362
  #
@@ -1372,7 +1385,7 @@ module Aws::ConnectParticipant
1372
1385
  tracer: tracer
1373
1386
  )
1374
1387
  context[:gem_name] = 'aws-sdk-connectparticipant'
1375
- context[:gem_version] = '1.87.0'
1388
+ context[:gem_version] = '1.88.0'
1376
1389
  Seahorse::Client::Request.new(handlers, context)
1377
1390
  end
1378
1391
 
@@ -42,6 +42,7 @@ module Aws::ConnectParticipant
42
42
  ConnectionType = Shapes::StringShape.new(name: 'ConnectionType')
43
43
  ConnectionTypeList = Shapes::ListShape.new(name: 'ConnectionTypeList')
44
44
  ContactId = Shapes::StringShape.new(name: 'ContactId')
45
+ ContentDisposition = Shapes::StringShape.new(name: 'ContentDisposition')
45
46
  ContentType = Shapes::StringShape.new(name: 'ContentType')
46
47
  CreateParticipantConnectionRequest = Shapes::StructureShape.new(name: 'CreateParticipantConnectionRequest')
47
48
  CreateParticipantConnectionResponse = Shapes::StructureShape.new(name: 'CreateParticipantConnectionResponse')
@@ -69,6 +70,7 @@ module Aws::ConnectParticipant
69
70
  MessageMetadata = Shapes::StructureShape.new(name: 'MessageMetadata')
70
71
  MessageProcessingMetadata = Shapes::StructureShape.new(name: 'MessageProcessingMetadata')
71
72
  MessageProcessingStatus = Shapes::StringShape.new(name: 'MessageProcessingStatus')
73
+ MetadataUrl = Shapes::StringShape.new(name: 'MetadataUrl')
72
74
  MostRecent = Shapes::IntegerShape.new(name: 'MostRecent')
73
75
  NextToken = Shapes::StringShape.new(name: 'NextToken')
74
76
  NonEmptyClientToken = Shapes::StringShape.new(name: 'NonEmptyClientToken')
@@ -100,10 +102,9 @@ module Aws::ConnectParticipant
100
102
  URI = Shapes::StringShape.new(name: 'URI')
101
103
  URLExpiryInSeconds = Shapes::IntegerShape.new(name: 'URLExpiryInSeconds')
102
104
  UploadMetadata = Shapes::StructureShape.new(name: 'UploadMetadata')
103
- UploadMetadataSignedHeaders = Shapes::MapShape.new(name: 'UploadMetadataSignedHeaders')
104
- UploadMetadataSignedHeadersKey = Shapes::StringShape.new(name: 'UploadMetadataSignedHeadersKey')
105
- UploadMetadataSignedHeadersValue = Shapes::StringShape.new(name: 'UploadMetadataSignedHeadersValue')
106
- UploadMetadataUrl = Shapes::StringShape.new(name: 'UploadMetadataUrl')
105
+ UrlMetadataSignedHeaders = Shapes::MapShape.new(name: 'UrlMetadataSignedHeaders')
106
+ UrlMetadataSignedHeadersKey = Shapes::StringShape.new(name: 'UrlMetadataSignedHeadersKey')
107
+ UrlMetadataSignedHeadersValue = Shapes::StringShape.new(name: 'UrlMetadataSignedHeadersValue')
107
108
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
108
109
  View = Shapes::StructureShape.new(name: 'View')
109
110
  ViewAction = Shapes::StringShape.new(name: 'ViewAction')
@@ -188,6 +189,7 @@ module Aws::ConnectParticipant
188
189
  GetAttachmentRequest.add_member(:attachment_id, Shapes::ShapeRef.new(shape: ArtifactId, required: true, location_name: "AttachmentId"))
189
190
  GetAttachmentRequest.add_member(:connection_token, Shapes::ShapeRef.new(shape: ParticipantToken, required: true, location: "header", location_name: "X-Amz-Bearer"))
190
191
  GetAttachmentRequest.add_member(:url_expiry_in_seconds, Shapes::ShapeRef.new(shape: URLExpiryInSeconds, location_name: "UrlExpiryInSeconds"))
192
+ GetAttachmentRequest.add_member(:url_content_disposition, Shapes::ShapeRef.new(shape: ContentDisposition, location_name: "UrlContentDisposition"))
191
193
  GetAttachmentRequest.struct_class = Types::GetAttachmentRequest
192
194
 
193
195
  GetAttachmentResponse.add_member(:url, Shapes::ShapeRef.new(shape: PreSignedAttachmentUrl, location_name: "Url"))
@@ -302,13 +304,13 @@ module Aws::ConnectParticipant
302
304
 
303
305
  Transcript.member = Shapes::ShapeRef.new(shape: Item)
304
306
 
305
- UploadMetadata.add_member(:url, Shapes::ShapeRef.new(shape: UploadMetadataUrl, location_name: "Url"))
307
+ UploadMetadata.add_member(:url, Shapes::ShapeRef.new(shape: MetadataUrl, location_name: "Url"))
306
308
  UploadMetadata.add_member(:url_expiry, Shapes::ShapeRef.new(shape: ISO8601Datetime, location_name: "UrlExpiry"))
307
- UploadMetadata.add_member(:headers_to_include, Shapes::ShapeRef.new(shape: UploadMetadataSignedHeaders, location_name: "HeadersToInclude"))
309
+ UploadMetadata.add_member(:headers_to_include, Shapes::ShapeRef.new(shape: UrlMetadataSignedHeaders, location_name: "HeadersToInclude"))
308
310
  UploadMetadata.struct_class = Types::UploadMetadata
309
311
 
310
- UploadMetadataSignedHeaders.key = Shapes::ShapeRef.new(shape: UploadMetadataSignedHeadersKey)
311
- UploadMetadataSignedHeaders.value = Shapes::ShapeRef.new(shape: UploadMetadataSignedHeadersValue)
312
+ UrlMetadataSignedHeaders.key = Shapes::ShapeRef.new(shape: UrlMetadataSignedHeadersKey)
313
+ UrlMetadataSignedHeaders.value = Shapes::ShapeRef.new(shape: UrlMetadataSignedHeadersValue)
312
314
 
313
315
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: Reason, required: true, location_name: "Message"))
314
316
  ValidationException.struct_class = Types::ValidationException
@@ -325,12 +325,26 @@ module Aws::ConnectParticipant
325
325
  # 2019-11-08T02:41:28.172Z.
326
326
  # @return [Integer]
327
327
  #
328
+ # @!attribute [rw] url_content_disposition
329
+ # Specifies how a browser handles the file at the pre-signed URL. The
330
+ # following values are valid:
331
+ #
332
+ # INLINE
333
+ #
334
+ # : Displays the file in the browser.
335
+ #
336
+ # ATTACHMENT
337
+ #
338
+ # : Downloads the file. This is the default behavior.
339
+ # @return [String]
340
+ #
328
341
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/GetAttachmentRequest AWS API Documentation
329
342
  #
330
343
  class GetAttachmentRequest < Struct.new(
331
344
  :attachment_id,
332
345
  :connection_token,
333
- :url_expiry_in_seconds)
346
+ :url_expiry_in_seconds,
347
+ :url_content_disposition)
334
348
  SENSITIVE = []
335
349
  include Aws::Structure
336
350
  end
@@ -762,17 +776,17 @@ module Aws::ConnectParticipant
762
776
  # @return [String]
763
777
  #
764
778
  # @!attribute [rw] content
765
- # The content of the message.
779
+ # The content of the message. Maximum of 16,384 bytes for all content
780
+ # types (`text/plain`, `text/markdown`, `application/json`, and
781
+ # `application/vnd.amazonaws.connect.message.interactive.response`).
782
+ #
783
+ # Some messaging channels enforce lower limits. For channel-specific
784
+ # message size limits, see [Chat message size limits by channel][1] in
785
+ # the *Amazon Connect Customer Administrator Guide*.
766
786
  #
767
- # * For `text/plain` and `text/markdown`, the Length Constraints are
768
- # Minimum of 1, Maximum of 1024.
769
787
  #
770
- # * For `application/json`, the Length Constraints are Minimum of 1,
771
- # Maximum of 12000.
772
788
  #
773
- # * For
774
- # `application/vnd.amazonaws.connect.message.interactive.response`,
775
- # the Length Constraints are Minimum of 1, Maximum of 12288.
789
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/feature-limits.html#chat-message-size-limits
776
790
  # @return [String]
777
791
  #
778
792
  # @!attribute [rw] client_token
@@ -54,7 +54,7 @@ module Aws::ConnectParticipant
54
54
  autoload :EndpointProvider, 'aws-sdk-connectparticipant/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-connectparticipant/endpoints'
56
56
 
57
- GEM_VERSION = '1.87.0'
57
+ GEM_VERSION = '1.88.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -145,7 +145,8 @@ module Aws
145
145
  def get_attachment: (
146
146
  attachment_id: ::String,
147
147
  connection_token: ::String,
148
- ?url_expiry_in_seconds: ::Integer
148
+ ?url_expiry_in_seconds: ::Integer,
149
+ ?url_content_disposition: ("INLINE" | "ATTACHMENT")
149
150
  ) -> _GetAttachmentResponseSuccess
150
151
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAttachmentResponseSuccess
151
152
 
data/sig/types.rbs CHANGED
@@ -100,6 +100,7 @@ module Aws::ConnectParticipant
100
100
  attr_accessor attachment_id: ::String
101
101
  attr_accessor connection_token: ::String
102
102
  attr_accessor url_expiry_in_seconds: ::Integer
103
+ attr_accessor url_content_disposition: ("INLINE" | "ATTACHMENT")
103
104
  SENSITIVE: []
104
105
  end
105
106
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-connectparticipant
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.87.0
4
+ version: 1.88.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.260.0
21
+ version: 3.262.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.260.0
31
+ version: 3.262.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement