aws-sdk-ses 1.77.0 → 1.79.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-ses/client.rb +38 -1
- data/lib/aws-sdk-ses/client_api.rb +7 -0
- data/lib/aws-sdk-ses/types.rb +63 -16
- data/lib/aws-sdk-ses.rb +1 -1
- data/sig/client.rbs +10 -0
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +7 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae411ae9dfdcb3e225e9b5b15d02b85e350b3cdfd07c75bec9b8a1ad2e2a2dc6
|
4
|
+
data.tar.gz: 6c7c06359256d9d455efb06a185146562d9be55eaf8f55cab3b5c8447c2adced
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a204d56c6fd56c8a54ddf6683cbb43278db2f46b0ce6cdf969e274e555a4c2704c3d166a4eddf779476b97f612b98734f6523bf784e4e4be65005ef0220adce
|
7
|
+
data.tar.gz: 71df63f9e1bc179a7e74c38efee736ce7512b1688322e99b0889ad4c9b982b8e2f8907799a7528081aca545f8af95753ddf0a6e750bcfe68b20c962381b40cbb
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.79.0 (2025-01-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.78.0 (2024-11-22)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds support for starting email contacts in your Amazon Connect instance as an email receiving action.
|
13
|
+
|
4
14
|
1.77.0 (2024-11-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.79.0
|
data/lib/aws-sdk-ses/client.rb
CHANGED
@@ -257,11 +257,34 @@ module Aws::SES
|
|
257
257
|
# Used when loading credentials from the shared credentials file
|
258
258
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
259
259
|
#
|
260
|
+
# @option options [String] :request_checksum_calculation ("when_supported")
|
261
|
+
# Determines when a checksum will be calculated for request payloads. Values are:
|
262
|
+
#
|
263
|
+
# * `when_supported` - (default) When set, a checksum will be
|
264
|
+
# calculated for all request payloads of operations modeled with the
|
265
|
+
# `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
|
266
|
+
# `requestAlgorithmMember` is modeled.
|
267
|
+
# * `when_required` - When set, a checksum will only be calculated for
|
268
|
+
# request payloads of operations modeled with the `httpChecksum` trait where
|
269
|
+
# `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
|
270
|
+
# is modeled and supplied.
|
271
|
+
#
|
260
272
|
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
261
273
|
# The minimum size in bytes that triggers compression for request
|
262
274
|
# bodies. The value must be non-negative integer value between 0
|
263
275
|
# and 10485780 bytes inclusive.
|
264
276
|
#
|
277
|
+
# @option options [String] :response_checksum_validation ("when_supported")
|
278
|
+
# Determines when checksum validation will be performed on response payloads. Values are:
|
279
|
+
#
|
280
|
+
# * `when_supported` - (default) When set, checksum validation is performed on all
|
281
|
+
# response payloads of operations modeled with the `httpChecksum` trait where
|
282
|
+
# `responseAlgorithms` is modeled, except when no modeled checksum algorithms
|
283
|
+
# are supported.
|
284
|
+
# * `when_required` - When set, checksum validation is not performed on
|
285
|
+
# response payloads of operations unless the checksum algorithm is supported and
|
286
|
+
# the `requestValidationModeMember` member is set to `ENABLED`.
|
287
|
+
#
|
265
288
|
# @option options [Proc] :retry_backoff
|
266
289
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
267
290
|
# This option is only used in the `legacy` retry mode.
|
@@ -860,6 +883,10 @@ module Aws::SES
|
|
860
883
|
# topic_arn: "AmazonResourceName", # required
|
861
884
|
# encoding: "UTF-8", # accepts UTF-8, Base64
|
862
885
|
# },
|
886
|
+
# connect_action: {
|
887
|
+
# instance_arn: "ConnectInstanceArn", # required
|
888
|
+
# iam_role_arn: "IAMRoleARN", # required
|
889
|
+
# },
|
863
890
|
# },
|
864
891
|
# ],
|
865
892
|
# scan_enabled: false,
|
@@ -1458,6 +1485,8 @@ module Aws::SES
|
|
1458
1485
|
# resp.rules[0].actions[0].add_header_action.header_value #=> String
|
1459
1486
|
# resp.rules[0].actions[0].sns_action.topic_arn #=> String
|
1460
1487
|
# resp.rules[0].actions[0].sns_action.encoding #=> String, one of "UTF-8", "Base64"
|
1488
|
+
# resp.rules[0].actions[0].connect_action.instance_arn #=> String
|
1489
|
+
# resp.rules[0].actions[0].connect_action.iam_role_arn #=> String
|
1461
1490
|
# resp.rules[0].scan_enabled #=> Boolean
|
1462
1491
|
#
|
1463
1492
|
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeActiveReceiptRuleSet AWS API Documentation
|
@@ -1615,6 +1644,8 @@ module Aws::SES
|
|
1615
1644
|
# resp.rule.actions[0].add_header_action.header_value #=> String
|
1616
1645
|
# resp.rule.actions[0].sns_action.topic_arn #=> String
|
1617
1646
|
# resp.rule.actions[0].sns_action.encoding #=> String, one of "UTF-8", "Base64"
|
1647
|
+
# resp.rule.actions[0].connect_action.instance_arn #=> String
|
1648
|
+
# resp.rule.actions[0].connect_action.iam_role_arn #=> String
|
1618
1649
|
# resp.rule.scan_enabled #=> Boolean
|
1619
1650
|
#
|
1620
1651
|
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeReceiptRule AWS API Documentation
|
@@ -1716,6 +1747,8 @@ module Aws::SES
|
|
1716
1747
|
# resp.rules[0].actions[0].add_header_action.header_value #=> String
|
1717
1748
|
# resp.rules[0].actions[0].sns_action.topic_arn #=> String
|
1718
1749
|
# resp.rules[0].actions[0].sns_action.encoding #=> String, one of "UTF-8", "Base64"
|
1750
|
+
# resp.rules[0].actions[0].connect_action.instance_arn #=> String
|
1751
|
+
# resp.rules[0].actions[0].connect_action.iam_role_arn #=> String
|
1719
1752
|
# resp.rules[0].scan_enabled #=> Boolean
|
1720
1753
|
#
|
1721
1754
|
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeReceiptRuleSet AWS API Documentation
|
@@ -4910,6 +4943,10 @@ module Aws::SES
|
|
4910
4943
|
# topic_arn: "AmazonResourceName", # required
|
4911
4944
|
# encoding: "UTF-8", # accepts UTF-8, Base64
|
4912
4945
|
# },
|
4946
|
+
# connect_action: {
|
4947
|
+
# instance_arn: "ConnectInstanceArn", # required
|
4948
|
+
# iam_role_arn: "IAMRoleARN", # required
|
4949
|
+
# },
|
4913
4950
|
# },
|
4914
4951
|
# ],
|
4915
4952
|
# scan_enabled: false,
|
@@ -5182,7 +5219,7 @@ module Aws::SES
|
|
5182
5219
|
tracer: tracer
|
5183
5220
|
)
|
5184
5221
|
context[:gem_name] = 'aws-sdk-ses'
|
5185
|
-
context[:gem_version] = '1.
|
5222
|
+
context[:gem_version] = '1.79.0'
|
5186
5223
|
Seahorse::Client::Request.new(handlers, context)
|
5187
5224
|
end
|
5188
5225
|
|
@@ -51,6 +51,8 @@ module Aws::SES
|
|
51
51
|
ConfigurationSetName = Shapes::StringShape.new(name: 'ConfigurationSetName')
|
52
52
|
ConfigurationSetSendingPausedException = Shapes::StructureShape.new(name: 'ConfigurationSetSendingPausedException', error: {"code"=>"ConfigurationSetSendingPausedException", "httpStatusCode"=>400, "senderFault"=>true})
|
53
53
|
ConfigurationSets = Shapes::ListShape.new(name: 'ConfigurationSets')
|
54
|
+
ConnectAction = Shapes::StructureShape.new(name: 'ConnectAction')
|
55
|
+
ConnectInstanceArn = Shapes::StringShape.new(name: 'ConnectInstanceArn')
|
54
56
|
Content = Shapes::StructureShape.new(name: 'Content')
|
55
57
|
Counter = Shapes::IntegerShape.new(name: 'Counter')
|
56
58
|
CreateConfigurationSetEventDestinationRequest = Shapes::StructureShape.new(name: 'CreateConfigurationSetEventDestinationRequest')
|
@@ -408,6 +410,10 @@ module Aws::SES
|
|
408
410
|
|
409
411
|
ConfigurationSets.member = Shapes::ShapeRef.new(shape: ConfigurationSet)
|
410
412
|
|
413
|
+
ConnectAction.add_member(:instance_arn, Shapes::ShapeRef.new(shape: ConnectInstanceArn, required: true, location_name: "InstanceARN"))
|
414
|
+
ConnectAction.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleARN, required: true, location_name: "IAMRoleARN"))
|
415
|
+
ConnectAction.struct_class = Types::ConnectAction
|
416
|
+
|
411
417
|
Content.add_member(:data, Shapes::ShapeRef.new(shape: MessageData, required: true, location_name: "Data"))
|
412
418
|
Content.add_member(:charset, Shapes::ShapeRef.new(shape: Charset, location_name: "Charset"))
|
413
419
|
Content.struct_class = Types::Content
|
@@ -843,6 +849,7 @@ module Aws::SES
|
|
843
849
|
ReceiptAction.add_member(:stop_action, Shapes::ShapeRef.new(shape: StopAction, location_name: "StopAction"))
|
844
850
|
ReceiptAction.add_member(:add_header_action, Shapes::ShapeRef.new(shape: AddHeaderAction, location_name: "AddHeaderAction"))
|
845
851
|
ReceiptAction.add_member(:sns_action, Shapes::ShapeRef.new(shape: SNSAction, location_name: "SNSAction"))
|
852
|
+
ReceiptAction.add_member(:connect_action, Shapes::ShapeRef.new(shape: ConnectAction, location_name: "ConnectAction"))
|
846
853
|
ReceiptAction.struct_class = Types::ReceiptAction
|
847
854
|
|
848
855
|
ReceiptActionsList.member = Shapes::ShapeRef.new(shape: ReceiptAction)
|
data/lib/aws-sdk-ses/types.rb
CHANGED
@@ -538,6 +538,45 @@ module Aws::SES
|
|
538
538
|
include Aws::Structure
|
539
539
|
end
|
540
540
|
|
541
|
+
# When included in a receipt rule, this action parses the received
|
542
|
+
# message and starts an email contact in Amazon Connect on your behalf.
|
543
|
+
#
|
544
|
+
# <note markdown="1"> When you receive emails, the maximum email size (including headers) is
|
545
|
+
# 40 MB. Additionally, emails may only have up to 10 attachments. Emails
|
546
|
+
# larger than 40 MB or with more than 10 attachments will be bounced.
|
547
|
+
#
|
548
|
+
# </note>
|
549
|
+
#
|
550
|
+
# We recommend that you configure this action via Amazon Connect.
|
551
|
+
#
|
552
|
+
# @!attribute [rw] instance_arn
|
553
|
+
# The Amazon Resource Name (ARN) for the Amazon Connect instance that
|
554
|
+
# Amazon SES integrates with for starting email contacts.
|
555
|
+
#
|
556
|
+
# For more information about Amazon Connect instances, see the [Amazon
|
557
|
+
# Connect Administrator Guide][1]
|
558
|
+
#
|
559
|
+
#
|
560
|
+
#
|
561
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-instances.html
|
562
|
+
# @return [String]
|
563
|
+
#
|
564
|
+
# @!attribute [rw] iam_role_arn
|
565
|
+
# The Amazon Resource Name (ARN) of the IAM role to be used by Amazon
|
566
|
+
# Simple Email Service while starting email contacts to the Amazon
|
567
|
+
# Connect instance. This role should have permission to invoke
|
568
|
+
# `connect:StartEmailContact` for the given Amazon Connect instance.
|
569
|
+
# @return [String]
|
570
|
+
#
|
571
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ConnectAction AWS API Documentation
|
572
|
+
#
|
573
|
+
class ConnectAction < Struct.new(
|
574
|
+
:instance_arn,
|
575
|
+
:iam_role_arn)
|
576
|
+
SENSITIVE = []
|
577
|
+
include Aws::Structure
|
578
|
+
end
|
579
|
+
|
541
580
|
# Represents textual data, plus an optional character set specification.
|
542
581
|
#
|
543
582
|
# By default, the text must be 7-bit ASCII, due to the constraints of
|
@@ -3080,6 +3119,11 @@ module Aws::SES
|
|
3080
3119
|
# Publishes the email content within a notification to Amazon SNS.
|
3081
3120
|
# @return [Types::SNSAction]
|
3082
3121
|
#
|
3122
|
+
# @!attribute [rw] connect_action
|
3123
|
+
# Parses the received message and starts an email contact in Amazon
|
3124
|
+
# Connect on your behalf.
|
3125
|
+
# @return [Types::ConnectAction]
|
3126
|
+
#
|
3083
3127
|
# @see http://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ReceiptAction AWS API Documentation
|
3084
3128
|
#
|
3085
3129
|
class ReceiptAction < Struct.new(
|
@@ -3089,7 +3133,8 @@ module Aws::SES
|
|
3089
3133
|
:lambda_action,
|
3090
3134
|
:stop_action,
|
3091
3135
|
:add_header_action,
|
3092
|
-
:sns_action
|
3136
|
+
:sns_action,
|
3137
|
+
:connect_action)
|
3093
3138
|
SENSITIVE = []
|
3094
3139
|
include Aws::Structure
|
3095
3140
|
end
|
@@ -3527,27 +3572,29 @@ module Aws::SES
|
|
3527
3572
|
# @!attribute [rw] kms_key_arn
|
3528
3573
|
# The customer managed key that Amazon SES should use to encrypt your
|
3529
3574
|
# emails before saving them to the Amazon S3 bucket. You can use the
|
3530
|
-
#
|
3531
|
-
# Amazon Web Services KMS as follows:
|
3575
|
+
# Amazon Web Services managed key or a customer managed key that you
|
3576
|
+
# created in Amazon Web Services KMS as follows:
|
3532
3577
|
#
|
3533
|
-
# * To use the
|
3578
|
+
# * To use the Amazon Web Services managed key, provide an ARN in the
|
3579
|
+
# form of
|
3534
3580
|
# `arn:aws:kms:REGION:ACCOUNT-ID-WITHOUT-HYPHENS:alias/aws/ses`. For
|
3535
3581
|
# example, if your Amazon Web Services account ID is 123456789012
|
3536
|
-
# and you want to use the
|
3537
|
-
# (Oregon) Region, the ARN of the
|
3538
|
-
# `arn:aws:kms:us-west-2:123456789012:alias/aws/ses`.
|
3539
|
-
#
|
3540
|
-
# give Amazon SES permission to use the
|
3541
|
-
#
|
3542
|
-
#
|
3543
|
-
#
|
3544
|
-
#
|
3545
|
-
#
|
3582
|
+
# and you want to use the Amazon Web Services managed key in the US
|
3583
|
+
# West (Oregon) Region, the ARN of the Amazon Web Services managed
|
3584
|
+
# key would be `arn:aws:kms:us-west-2:123456789012:alias/aws/ses`.
|
3585
|
+
# If you use the Amazon Web Services managed key, you don't need to
|
3586
|
+
# perform any extra steps to give Amazon SES permission to use the
|
3587
|
+
# key.
|
3588
|
+
#
|
3589
|
+
# * To use a customer managed key that you created in Amazon Web
|
3590
|
+
# Services KMS, provide the ARN of the customer managed key and
|
3591
|
+
# ensure that you add a statement to your key's policy to give
|
3592
|
+
# Amazon SES permission to use it. For more information about giving
|
3546
3593
|
# permissions, see the [Amazon SES Developer Guide][1].
|
3547
3594
|
#
|
3548
3595
|
# For more information about key policies, see the [Amazon Web
|
3549
|
-
# Services KMS Developer Guide][2]. If you do not specify
|
3550
|
-
# key, Amazon SES does not encrypt your emails.
|
3596
|
+
# Services KMS Developer Guide][2]. If you do not specify an Amazon
|
3597
|
+
# Web Services KMS key, Amazon SES does not encrypt your emails.
|
3551
3598
|
#
|
3552
3599
|
# Your mail is encrypted by Amazon SES using the Amazon S3 encryption
|
3553
3600
|
# client before the mail is submitted to Amazon S3 for storage. It is
|
data/lib/aws-sdk-ses.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -39,7 +39,9 @@ module Aws
|
|
39
39
|
?logger: untyped,
|
40
40
|
?max_attempts: Integer,
|
41
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
42
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
43
45
|
?retry_backoff: Proc,
|
44
46
|
?retry_base_delay: Float,
|
45
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
@@ -212,6 +214,10 @@ module Aws
|
|
212
214
|
sns_action: {
|
213
215
|
topic_arn: ::String,
|
214
216
|
encoding: ("UTF-8" | "Base64")?
|
217
|
+
}?,
|
218
|
+
connect_action: {
|
219
|
+
instance_arn: ::String,
|
220
|
+
iam_role_arn: ::String
|
215
221
|
}?
|
216
222
|
},
|
217
223
|
]?,
|
@@ -1003,6 +1009,10 @@ module Aws
|
|
1003
1009
|
sns_action: {
|
1004
1010
|
topic_arn: ::String,
|
1005
1011
|
encoding: ("UTF-8" | "Base64")?
|
1012
|
+
}?,
|
1013
|
+
connect_action: {
|
1014
|
+
instance_arn: ::String,
|
1015
|
+
iam_role_arn: ::String
|
1006
1016
|
}?
|
1007
1017
|
},
|
1008
1018
|
]?,
|
data/sig/resource.rbs
CHANGED
@@ -39,7 +39,9 @@ module Aws
|
|
39
39
|
?logger: untyped,
|
40
40
|
?max_attempts: Integer,
|
41
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
42
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
43
45
|
?retry_backoff: Proc,
|
44
46
|
?retry_base_delay: Float,
|
45
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
data/sig/types.rbs
CHANGED
@@ -105,6 +105,12 @@ module Aws::SES
|
|
105
105
|
SENSITIVE: []
|
106
106
|
end
|
107
107
|
|
108
|
+
class ConnectAction
|
109
|
+
attr_accessor instance_arn: ::String
|
110
|
+
attr_accessor iam_role_arn: ::String
|
111
|
+
SENSITIVE: []
|
112
|
+
end
|
113
|
+
|
108
114
|
class Content
|
109
115
|
attr_accessor data: ::String
|
110
116
|
attr_accessor charset: ::String
|
@@ -722,6 +728,7 @@ module Aws::SES
|
|
722
728
|
attr_accessor stop_action: Types::StopAction
|
723
729
|
attr_accessor add_header_action: Types::AddHeaderAction
|
724
730
|
attr_accessor sns_action: Types::SNSAction
|
731
|
+
attr_accessor connect_action: Types::ConnectAction
|
725
732
|
SENSITIVE: []
|
726
733
|
end
|
727
734
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ses
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.79.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:
|
11
|
+
date: 2025-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.216.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.216.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|