aws-sdk-connect 1.285.0 → 1.286.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: b27540c6322d675de754bceb9a14c9951963420b07b702b832ed0e3e0c32e0f9
4
- data.tar.gz: 0e3ab069dc947036534f636ceffeeab13fc0d4628fcd3f7f2e67184ac176cf88
3
+ metadata.gz: c3fc84e874777c8172e0c765adc39a8b928a37f0494f3e7128f616315f3c207d
4
+ data.tar.gz: f87cfdb71365077742bff976a7a81c07af18b6f37621fc0318a1a5b0900c863c
5
5
  SHA512:
6
- metadata.gz: edcc887a3c22ba64f1d2996fc9ba021ec2a4b428d89ba0769f558f7324203a4633850da2eb7cffa28703fbde76d73c8fbca9d5ccaed79dc205536b013c119b36
7
- data.tar.gz: b031d045845f5b1f5f9d716f405c37c91679c14be77d23cfbcccab5a80a4a61b1077a96155f3612f8123af1e14f38462754752993eadbf840a9cebbaddfad523
6
+ metadata.gz: c20a8553084d6ee39c2fe0a61aba95f836465d30e7045f122bb70cea75ad012b3b7f9bed97791b8f627f26c1d7e156da4e29cd42f70fdc1712a8d9fc7a4f6112
7
+ data.tar.gz: 1f7bc1395812bf1d9f122025d709e0eb6b74a48c13146997c8e5ad850c012e573bf96a1b918e5cb1ce84aa61554850e3cbe62cf4575f4619855e53905dbcf248
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.286.0 (2026-10-19)
5
+ ------------------
6
+
7
+ * Feature - Amazon Connect GetAttachedFile API now supports an optional UrlContentDisposition parameter. Set it to INLINE to get a pre-signed URL that displays the file in the browser, so agents can preview email attachments without downloading them. ATTACHMENT (download) remains the default.
8
+
4
9
  1.285.0 (2026-10-13)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.285.0
1
+ 1.286.0
@@ -2053,7 +2053,7 @@ module Aws::Connect
2053
2053
  # resp.files[0].file_id #=> String
2054
2054
  # resp.files[0].file_name #=> String
2055
2055
  # resp.files[0].file_size_in_bytes #=> Integer
2056
- # resp.files[0].file_status #=> String, one of "APPROVED", "REJECTED", "PROCESSING", "FAILED"
2056
+ # resp.files[0].file_status #=> String, one of "APPROVED", "REJECTED", "PROCESSING", "FAILED", "DRAFTING"
2057
2057
  # resp.files[0].created_by.connect_user_arn #=> String
2058
2058
  # resp.files[0].created_by.aws_identity_arn #=> String
2059
2059
  # resp.files[0].file_use_case_type #=> String, one of "CONTACT_ANALYSIS", "EMAIL_MESSAGE", "EMAIL_MESSAGE_PLAIN_TEXT", "EMAIL_MESSAGE_REDACTED", "EMAIL_MESSAGE_PLAIN_TEXT_REDACTED", "ATTACHMENT", "VOICE_RECORDING"
@@ -2602,7 +2602,7 @@ module Aws::Connect
2602
2602
  # resp.file_arn #=> String
2603
2603
  # resp.file_id #=> String
2604
2604
  # resp.creation_time #=> String
2605
- # resp.file_status #=> String, one of "APPROVED", "REJECTED", "PROCESSING", "FAILED"
2605
+ # resp.file_status #=> String, one of "APPROVED", "REJECTED", "PROCESSING", "FAILED", "DRAFTING"
2606
2606
  #
2607
2607
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateAttachedFile AWS API Documentation
2608
2608
  #
@@ -11786,6 +11786,18 @@ module Aws::Connect
11786
11786
  # [2]: https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html
11787
11787
  # [3]: https://docs.aws.amazon.com/connect/latest/adminguide/concepts-getting-started-tasks.html
11788
11788
  #
11789
+ # @option params [String] :url_content_disposition
11790
+ # Specifies how a browser handles the file at the pre-signed URL. The
11791
+ # valid values are the following:
11792
+ #
11793
+ # INLINE
11794
+ #
11795
+ # : Displays the file in the browser.
11796
+ #
11797
+ # ATTACHMENT
11798
+ #
11799
+ # : Downloads the file. This is the default.
11800
+ #
11789
11801
  # @return [Types::GetAttachedFileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
11790
11802
  #
11791
11803
  # * {Types::GetAttachedFileResponse#file_arn #file_arn} => String
@@ -11807,6 +11819,7 @@ module Aws::Connect
11807
11819
  # file_id: "FileId", # required
11808
11820
  # url_expiry_in_seconds: 1,
11809
11821
  # associated_resource_arn: "ARN", # required
11822
+ # url_content_disposition: "INLINE", # accepts INLINE, ATTACHMENT
11810
11823
  # })
11811
11824
  #
11812
11825
  # @example Response structure
@@ -11814,7 +11827,7 @@ module Aws::Connect
11814
11827
  # resp.file_arn #=> String
11815
11828
  # resp.file_id #=> String
11816
11829
  # resp.creation_time #=> String
11817
- # resp.file_status #=> String, one of "APPROVED", "REJECTED", "PROCESSING", "FAILED"
11830
+ # resp.file_status #=> String, one of "APPROVED", "REJECTED", "PROCESSING", "FAILED", "DRAFTING"
11818
11831
  # resp.file_name #=> String
11819
11832
  # resp.file_size_in_bytes #=> Integer
11820
11833
  # resp.associated_resource_arn #=> String
@@ -24805,7 +24818,7 @@ module Aws::Connect
24805
24818
  # resp.file_arn #=> String
24806
24819
  # resp.file_id #=> String
24807
24820
  # resp.creation_time #=> String
24808
- # resp.file_status #=> String, one of "APPROVED", "REJECTED", "PROCESSING", "FAILED"
24821
+ # resp.file_status #=> String, one of "APPROVED", "REJECTED", "PROCESSING", "FAILED", "DRAFTING"
24809
24822
  # resp.created_by.connect_user_arn #=> String
24810
24823
  # resp.created_by.aws_identity_arn #=> String
24811
24824
  # resp.upload_url_metadata.url #=> String
@@ -32007,7 +32020,7 @@ module Aws::Connect
32007
32020
  tracer: tracer
32008
32021
  )
32009
32022
  context[:gem_name] = 'aws-sdk-connect'
32010
- context[:gem_version] = '1.285.0'
32023
+ context[:gem_version] = '1.286.0'
32011
32024
  Seahorse::Client::Request.new(handlers, context)
32012
32025
  end
32013
32026
 
@@ -388,6 +388,7 @@ module Aws::Connect
388
388
  Contacts = Shapes::ListShape.new(name: 'Contacts')
389
389
  Content = Shapes::StringShape.new(name: 'Content')
390
390
  ContentAttributes = Shapes::StructureShape.new(name: 'ContentAttributes')
391
+ ContentDisposition = Shapes::StringShape.new(name: 'ContentDisposition')
391
392
  ContentType = Shapes::StringShape.new(name: 'ContentType')
392
393
  ControlPlaneAttributeFilter = Shapes::StructureShape.new(name: 'ControlPlaneAttributeFilter')
393
394
  ControlPlaneTagFilter = Shapes::StructureShape.new(name: 'ControlPlaneTagFilter')
@@ -5780,6 +5781,7 @@ module Aws::Connect
5780
5781
  GetAttachedFileRequest.add_member(:file_id, Shapes::ShapeRef.new(shape: FileId, required: true, location: "uri", location_name: "FileId"))
5781
5782
  GetAttachedFileRequest.add_member(:url_expiry_in_seconds, Shapes::ShapeRef.new(shape: URLExpiryInSeconds, location: "querystring", location_name: "urlExpiryInSeconds"))
5782
5783
  GetAttachedFileRequest.add_member(:associated_resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "querystring", location_name: "associatedResourceArn"))
5784
+ GetAttachedFileRequest.add_member(:url_content_disposition, Shapes::ShapeRef.new(shape: ContentDisposition, location: "querystring", location_name: "urlContentDisposition"))
5783
5785
  GetAttachedFileRequest.struct_class = Types::GetAttachedFileRequest
5784
5786
 
5785
5787
  GetAttachedFileResponse.add_member(:file_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "FileArn"))
@@ -16520,13 +16520,27 @@ module Aws::Connect
16520
16520
  # [3]: https://docs.aws.amazon.com/connect/latest/adminguide/concepts-getting-started-tasks.html
16521
16521
  # @return [String]
16522
16522
  #
16523
+ # @!attribute [rw] url_content_disposition
16524
+ # Specifies how a browser handles the file at the pre-signed URL. The
16525
+ # valid values are the following:
16526
+ #
16527
+ # INLINE
16528
+ #
16529
+ # : Displays the file in the browser.
16530
+ #
16531
+ # ATTACHMENT
16532
+ #
16533
+ # : Downloads the file. This is the default.
16534
+ # @return [String]
16535
+ #
16523
16536
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetAttachedFileRequest AWS API Documentation
16524
16537
  #
16525
16538
  class GetAttachedFileRequest < Struct.new(
16526
16539
  :instance_id,
16527
16540
  :file_id,
16528
16541
  :url_expiry_in_seconds,
16529
- :associated_resource_arn)
16542
+ :associated_resource_arn,
16543
+ :url_content_disposition)
16530
16544
  SENSITIVE = []
16531
16545
  include Aws::Structure
16532
16546
  end
@@ -54,7 +54,7 @@ module Aws::Connect
54
54
  autoload :EndpointProvider, 'aws-sdk-connect/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-connect/endpoints'
56
56
 
57
- GEM_VERSION = '1.285.0'
57
+ GEM_VERSION = '1.286.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -543,7 +543,7 @@ module Aws
543
543
  def file_arn: () -> ::String
544
544
  def file_id: () -> ::String
545
545
  def creation_time: () -> ::String
546
- def file_status: () -> ("APPROVED" | "REJECTED" | "PROCESSING" | "FAILED")
546
+ def file_status: () -> ("APPROVED" | "REJECTED" | "PROCESSING" | "FAILED" | "DRAFTING")
547
547
  end
548
548
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#create_attached_file-instance_method
549
549
  def create_attached_file: (
@@ -2421,7 +2421,7 @@ module Aws
2421
2421
  def file_arn: () -> ::String
2422
2422
  def file_id: () -> ::String
2423
2423
  def creation_time: () -> ::String
2424
- def file_status: () -> ("APPROVED" | "REJECTED" | "PROCESSING" | "FAILED")
2424
+ def file_status: () -> ("APPROVED" | "REJECTED" | "PROCESSING" | "FAILED" | "DRAFTING")
2425
2425
  def file_name: () -> ::String
2426
2426
  def file_size_in_bytes: () -> ::Integer
2427
2427
  def associated_resource_arn: () -> ::String
@@ -2435,7 +2435,8 @@ module Aws
2435
2435
  instance_id: ::String,
2436
2436
  file_id: ::String,
2437
2437
  ?url_expiry_in_seconds: ::Integer,
2438
- associated_resource_arn: ::String
2438
+ associated_resource_arn: ::String,
2439
+ ?url_content_disposition: ("INLINE" | "ATTACHMENT")
2439
2440
  ) -> _GetAttachedFileResponseSuccess
2440
2441
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAttachedFileResponseSuccess
2441
2442
 
@@ -4683,7 +4684,7 @@ module Aws
4683
4684
  def file_arn: () -> ::String
4684
4685
  def file_id: () -> ::String
4685
4686
  def creation_time: () -> ::String
4686
- def file_status: () -> ("APPROVED" | "REJECTED" | "PROCESSING" | "FAILED")
4687
+ def file_status: () -> ("APPROVED" | "REJECTED" | "PROCESSING" | "FAILED" | "DRAFTING")
4687
4688
  def created_by: () -> Types::CreatedByInfo
4688
4689
  def upload_url_metadata: () -> Types::UploadUrlMetadata
4689
4690
  end
data/sig/errors.rbs CHANGED
@@ -11,96 +11,96 @@ module Aws
11
11
  class ServiceError < ::Aws::Errors::ServiceError
12
12
  end
13
13
 
14
- class AccessDeniedException < ::Aws::Errors::ServiceError
14
+ class AccessDeniedException < ServiceError
15
15
  def message: () -> ::String
16
16
  end
17
- class ConditionalOperationFailedException < ::Aws::Errors::ServiceError
17
+ class ConditionalOperationFailedException < ServiceError
18
18
  def message: () -> ::String
19
19
  end
20
- class ConflictException < ::Aws::Errors::ServiceError
20
+ class ConflictException < ServiceError
21
21
  def message: () -> ::String
22
22
  end
23
- class ContactFlowNotPublishedException < ::Aws::Errors::ServiceError
23
+ class ContactFlowNotPublishedException < ServiceError
24
24
  def message: () -> ::String
25
25
  end
26
- class ContactNotFoundException < ::Aws::Errors::ServiceError
26
+ class ContactNotFoundException < ServiceError
27
27
  def message: () -> ::String
28
28
  end
29
- class ContactNotTerminatedException < ::Aws::Errors::ServiceError
29
+ class ContactNotTerminatedException < ServiceError
30
30
  def message: () -> ::String
31
31
  end
32
- class DestinationNotAllowedException < ::Aws::Errors::ServiceError
32
+ class DestinationNotAllowedException < ServiceError
33
33
  def message: () -> ::String
34
34
  end
35
- class DuplicateResourceException < ::Aws::Errors::ServiceError
35
+ class DuplicateResourceException < ServiceError
36
36
  def message: () -> ::String
37
37
  end
38
- class IdempotencyException < ::Aws::Errors::ServiceError
38
+ class IdempotencyException < ServiceError
39
39
  def message: () -> ::String
40
40
  end
41
- class InternalServiceException < ::Aws::Errors::ServiceError
41
+ class InternalServiceException < ServiceError
42
42
  def message: () -> ::String
43
43
  end
44
- class InvalidActiveRegionException < ::Aws::Errors::ServiceError
44
+ class InvalidActiveRegionException < ServiceError
45
45
  def message: () -> ::String
46
46
  end
47
- class InvalidContactFlowException < ::Aws::Errors::ServiceError
47
+ class InvalidContactFlowException < ServiceError
48
48
  def problems: () -> ::String
49
49
  end
50
- class InvalidContactFlowModuleException < ::Aws::Errors::ServiceError
50
+ class InvalidContactFlowModuleException < ServiceError
51
51
  def problems: () -> ::String
52
52
  end
53
- class InvalidParameterException < ::Aws::Errors::ServiceError
53
+ class InvalidParameterException < ServiceError
54
54
  def message: () -> ::String
55
55
  end
56
- class InvalidRequestException < ::Aws::Errors::ServiceError
56
+ class InvalidRequestException < ServiceError
57
57
  def message: () -> ::String
58
58
  def reason: () -> ::String
59
59
  end
60
- class InvalidTestCaseException < ::Aws::Errors::ServiceError
60
+ class InvalidTestCaseException < ServiceError
61
61
  def problems: () -> ::String
62
62
  end
63
- class LimitExceededException < ::Aws::Errors::ServiceError
63
+ class LimitExceededException < ServiceError
64
64
  def message: () -> ::String
65
65
  end
66
- class MaximumResultReturnedException < ::Aws::Errors::ServiceError
66
+ class MaximumResultReturnedException < ServiceError
67
67
  def message: () -> ::String
68
68
  end
69
- class OutboundContactNotPermittedException < ::Aws::Errors::ServiceError
69
+ class OutboundContactNotPermittedException < ServiceError
70
70
  def message: () -> ::String
71
71
  end
72
- class OutputTypeNotFoundException < ::Aws::Errors::ServiceError
72
+ class OutputTypeNotFoundException < ServiceError
73
73
  def message: () -> ::String
74
74
  end
75
- class PropertyValidationException < ::Aws::Errors::ServiceError
75
+ class PropertyValidationException < ServiceError
76
76
  def message: () -> ::String
77
77
  def property_list: () -> ::String
78
78
  end
79
- class ResourceConflictException < ::Aws::Errors::ServiceError
79
+ class ResourceConflictException < ServiceError
80
80
  def message: () -> ::String
81
81
  end
82
- class ResourceInUseException < ::Aws::Errors::ServiceError
82
+ class ResourceInUseException < ServiceError
83
83
  def message: () -> ::String
84
84
  def resource_type: () -> ::String
85
85
  def resource_id: () -> ::String
86
86
  end
87
- class ResourceNotFoundException < ::Aws::Errors::ServiceError
87
+ class ResourceNotFoundException < ServiceError
88
88
  def message: () -> ::String
89
89
  end
90
- class ResourceNotReadyException < ::Aws::Errors::ServiceError
90
+ class ResourceNotReadyException < ServiceError
91
91
  def message: () -> ::String
92
92
  end
93
- class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
93
+ class ServiceQuotaExceededException < ServiceError
94
94
  def message: () -> ::String
95
95
  def reason: () -> ::String
96
96
  end
97
- class ThrottlingException < ::Aws::Errors::ServiceError
97
+ class ThrottlingException < ServiceError
98
98
  def message: () -> ::String
99
99
  end
100
- class TooManyRequestsException < ::Aws::Errors::ServiceError
100
+ class TooManyRequestsException < ServiceError
101
101
  def message: () -> ::String
102
102
  end
103
- class UserNotFoundException < ::Aws::Errors::ServiceError
103
+ class UserNotFoundException < ServiceError
104
104
  def message: () -> ::String
105
105
  end
106
106
  end
data/sig/types.rbs CHANGED
@@ -461,7 +461,7 @@ module Aws::Connect
461
461
  attr_accessor file_id: ::String
462
462
  attr_accessor file_name: ::String
463
463
  attr_accessor file_size_in_bytes: ::Integer
464
- attr_accessor file_status: ("APPROVED" | "REJECTED" | "PROCESSING" | "FAILED")
464
+ attr_accessor file_status: ("APPROVED" | "REJECTED" | "PROCESSING" | "FAILED" | "DRAFTING")
465
465
  attr_accessor created_by: Types::CreatedByInfo
466
466
  attr_accessor file_use_case_type: ("CONTACT_ANALYSIS" | "EMAIL_MESSAGE" | "EMAIL_MESSAGE_PLAIN_TEXT" | "EMAIL_MESSAGE_REDACTED" | "EMAIL_MESSAGE_PLAIN_TEXT_REDACTED" | "ATTACHMENT" | "VOICE_RECORDING")
467
467
  attr_accessor associated_resource_arn: ::String
@@ -1375,7 +1375,7 @@ module Aws::Connect
1375
1375
  attr_accessor file_arn: ::String
1376
1376
  attr_accessor file_id: ::String
1377
1377
  attr_accessor creation_time: ::String
1378
- attr_accessor file_status: ("APPROVED" | "REJECTED" | "PROCESSING" | "FAILED")
1378
+ attr_accessor file_status: ("APPROVED" | "REJECTED" | "PROCESSING" | "FAILED" | "DRAFTING")
1379
1379
  SENSITIVE: []
1380
1380
  end
1381
1381
 
@@ -4237,6 +4237,7 @@ module Aws::Connect
4237
4237
  attr_accessor file_id: ::String
4238
4238
  attr_accessor url_expiry_in_seconds: ::Integer
4239
4239
  attr_accessor associated_resource_arn: ::String
4240
+ attr_accessor url_content_disposition: ("INLINE" | "ATTACHMENT")
4240
4241
  SENSITIVE: []
4241
4242
  end
4242
4243
 
@@ -4244,7 +4245,7 @@ module Aws::Connect
4244
4245
  attr_accessor file_arn: ::String
4245
4246
  attr_accessor file_id: ::String
4246
4247
  attr_accessor creation_time: ::String
4247
- attr_accessor file_status: ("APPROVED" | "REJECTED" | "PROCESSING" | "FAILED")
4248
+ attr_accessor file_status: ("APPROVED" | "REJECTED" | "PROCESSING" | "FAILED" | "DRAFTING")
4248
4249
  attr_accessor file_name: ::String
4249
4250
  attr_accessor file_size_in_bytes: ::Integer
4250
4251
  attr_accessor associated_resource_arn: ::String
@@ -8109,7 +8110,7 @@ module Aws::Connect
8109
8110
  attr_accessor file_arn: ::String
8110
8111
  attr_accessor file_id: ::String
8111
8112
  attr_accessor creation_time: ::String
8112
- attr_accessor file_status: ("APPROVED" | "REJECTED" | "PROCESSING" | "FAILED")
8113
+ attr_accessor file_status: ("APPROVED" | "REJECTED" | "PROCESSING" | "FAILED" | "DRAFTING")
8113
8114
  attr_accessor created_by: Types::CreatedByInfo
8114
8115
  attr_accessor upload_url_metadata: Types::UploadUrlMetadata
8115
8116
  SENSITIVE: []
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.285.0
4
+ version: 1.286.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.256.0
21
+ version: 3.258.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.256.0
31
+ version: 3.258.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement