aws-sdk-sesv2 1.62.0 → 1.64.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-sesv2/client.rb +21 -1
- data/lib/aws-sdk-sesv2/client_api.rb +6 -0
- data/lib/aws-sdk-sesv2/types.rb +35 -4
- data/lib/aws-sdk-sesv2.rb +1 -1
- data/sig/client.rbs +8 -4
- data/sig/types.rbs +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94dc4bc753251a3c3189b30ec740771309a9e9d758b8611d05a31225a96d446a
|
4
|
+
data.tar.gz: b26b5ac1779942c70ed6e8e5974cd410a440d65211619c1331f30d204511e98e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3acfa47cfe8b7983c7bd8d7533ea1c268e0bb249ca55d512c7f11ce892a294d53dae840f48309ae0b79e86f21f49d2f16274d599c592dc42280d5bd930df537
|
7
|
+
data.tar.gz: 66019a97808747a16f8052467fbfa0654c903684fc1c5f805a26c3b1290c75d5f6c1282fb014c3c6977ae813abfe766acfede55f2701b9620003452af399d8d6
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.64.0 (2024-10-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for email maximum delivery seconds that allows senders to control the time within which their emails are attempted for delivery.
|
8
|
+
|
9
|
+
1.63.0 (2024-09-27)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds support for engagement tracking over Https using custom domains.
|
13
|
+
|
4
14
|
1.62.0 (2024-09-24)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.64.0
|
data/lib/aws-sdk-sesv2/client.rb
CHANGED
@@ -579,10 +579,12 @@ module Aws::SESV2
|
|
579
579
|
# configuration_set_name: "ConfigurationSetName", # required
|
580
580
|
# tracking_options: {
|
581
581
|
# custom_redirect_domain: "CustomRedirectDomain", # required
|
582
|
+
# https_policy: "REQUIRE", # accepts REQUIRE, REQUIRE_OPEN_ONLY, OPTIONAL
|
582
583
|
# },
|
583
584
|
# delivery_options: {
|
584
585
|
# tls_policy: "REQUIRE", # accepts REQUIRE, OPTIONAL
|
585
586
|
# sending_pool_name: "PoolName",
|
587
|
+
# max_delivery_seconds: 1,
|
586
588
|
# },
|
587
589
|
# reputation_options: {
|
588
590
|
# reputation_metrics_enabled: false,
|
@@ -1763,8 +1765,10 @@ module Aws::SESV2
|
|
1763
1765
|
#
|
1764
1766
|
# resp.configuration_set_name #=> String
|
1765
1767
|
# resp.tracking_options.custom_redirect_domain #=> String
|
1768
|
+
# resp.tracking_options.https_policy #=> String, one of "REQUIRE", "REQUIRE_OPEN_ONLY", "OPTIONAL"
|
1766
1769
|
# resp.delivery_options.tls_policy #=> String, one of "REQUIRE", "OPTIONAL"
|
1767
1770
|
# resp.delivery_options.sending_pool_name #=> String
|
1771
|
+
# resp.delivery_options.max_delivery_seconds #=> Integer
|
1768
1772
|
# resp.reputation_options.reputation_metrics_enabled #=> Boolean
|
1769
1773
|
# resp.reputation_options.last_fresh_start #=> Time
|
1770
1774
|
# resp.sending_options.sending_enabled #=> Boolean
|
@@ -3751,6 +3755,12 @@ module Aws::SESV2
|
|
3751
3755
|
# The name of the dedicated IP pool to associate with the configuration
|
3752
3756
|
# set.
|
3753
3757
|
#
|
3758
|
+
# @option params [Integer] :max_delivery_seconds
|
3759
|
+
# The maximum amount of time, in seconds, that Amazon SES API v2 will
|
3760
|
+
# attempt delivery of email. If specified, the value must greater than
|
3761
|
+
# or equal to 300 seconds (5 minutes) and less than or equal to 50400
|
3762
|
+
# seconds (840 minutes).
|
3763
|
+
#
|
3754
3764
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3755
3765
|
#
|
3756
3766
|
# @example Request syntax with placeholder values
|
@@ -3759,6 +3769,7 @@ module Aws::SESV2
|
|
3759
3769
|
# configuration_set_name: "ConfigurationSetName", # required
|
3760
3770
|
# tls_policy: "REQUIRE", # accepts REQUIRE, OPTIONAL
|
3761
3771
|
# sending_pool_name: "SendingPoolName",
|
3772
|
+
# max_delivery_seconds: 1,
|
3762
3773
|
# })
|
3763
3774
|
#
|
3764
3775
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutConfigurationSetDeliveryOptions AWS API Documentation
|
@@ -3876,6 +3887,14 @@ module Aws::SESV2
|
|
3876
3887
|
# @option params [String] :custom_redirect_domain
|
3877
3888
|
# The domain to use to track open and click events.
|
3878
3889
|
#
|
3890
|
+
# @option params [String] :https_policy
|
3891
|
+
# The https policy to use for tracking open and click events. If the
|
3892
|
+
# value is OPTIONAL or HttpsPolicy is not specified, the open trackers
|
3893
|
+
# use HTTP and click tracker use the original protocol of the link. If
|
3894
|
+
# the value is REQUIRE, both open and click tracker uses HTTPS and if
|
3895
|
+
# the value is REQUIRE\_OPEN\_ONLY open tracker uses HTTPS and link
|
3896
|
+
# tracker is same as original protocol of the link.
|
3897
|
+
#
|
3879
3898
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3880
3899
|
#
|
3881
3900
|
# @example Request syntax with placeholder values
|
@@ -3883,6 +3902,7 @@ module Aws::SESV2
|
|
3883
3902
|
# resp = client.put_configuration_set_tracking_options({
|
3884
3903
|
# configuration_set_name: "ConfigurationSetName", # required
|
3885
3904
|
# custom_redirect_domain: "CustomRedirectDomain",
|
3905
|
+
# https_policy: "REQUIRE", # accepts REQUIRE, REQUIRE_OPEN_ONLY, OPTIONAL
|
3886
3906
|
# })
|
3887
3907
|
#
|
3888
3908
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutConfigurationSetTrackingOptions AWS API Documentation
|
@@ -5165,7 +5185,7 @@ module Aws::SESV2
|
|
5165
5185
|
tracer: tracer
|
5166
5186
|
)
|
5167
5187
|
context[:gem_name] = 'aws-sdk-sesv2'
|
5168
|
-
context[:gem_version] = '1.
|
5188
|
+
context[:gem_version] = '1.64.0'
|
5169
5189
|
Seahorse::Client::Request.new(handlers, context)
|
5170
5190
|
end
|
5171
5191
|
|
@@ -243,6 +243,7 @@ module Aws::SESV2
|
|
243
243
|
GetSuppressedDestinationResponse = Shapes::StructureShape.new(name: 'GetSuppressedDestinationResponse')
|
244
244
|
GuardianAttributes = Shapes::StructureShape.new(name: 'GuardianAttributes')
|
245
245
|
GuardianOptions = Shapes::StructureShape.new(name: 'GuardianOptions')
|
246
|
+
HttpsPolicy = Shapes::StringShape.new(name: 'HttpsPolicy')
|
246
247
|
Identity = Shapes::StringShape.new(name: 'Identity')
|
247
248
|
IdentityInfo = Shapes::StructureShape.new(name: 'IdentityInfo')
|
248
249
|
IdentityInfoList = Shapes::ListShape.new(name: 'IdentityInfoList')
|
@@ -316,6 +317,7 @@ module Aws::SESV2
|
|
316
317
|
MailFromDomainStatus = Shapes::StringShape.new(name: 'MailFromDomainStatus')
|
317
318
|
MailType = Shapes::StringShape.new(name: 'MailType')
|
318
319
|
Max24HourSend = Shapes::FloatShape.new(name: 'Max24HourSend')
|
320
|
+
MaxDeliverySeconds = Shapes::IntegerShape.new(name: 'MaxDeliverySeconds')
|
319
321
|
MaxItems = Shapes::IntegerShape.new(name: 'MaxItems')
|
320
322
|
MaxSendRate = Shapes::FloatShape.new(name: 'MaxSendRate')
|
321
323
|
Message = Shapes::StructureShape.new(name: 'Message')
|
@@ -816,6 +818,7 @@ module Aws::SESV2
|
|
816
818
|
|
817
819
|
DeliveryOptions.add_member(:tls_policy, Shapes::ShapeRef.new(shape: TlsPolicy, location_name: "TlsPolicy"))
|
818
820
|
DeliveryOptions.add_member(:sending_pool_name, Shapes::ShapeRef.new(shape: PoolName, location_name: "SendingPoolName"))
|
821
|
+
DeliveryOptions.add_member(:max_delivery_seconds, Shapes::ShapeRef.new(shape: MaxDeliverySeconds, location_name: "MaxDeliverySeconds"))
|
819
822
|
DeliveryOptions.struct_class = Types::DeliveryOptions
|
820
823
|
|
821
824
|
Destination.add_member(:to_addresses, Shapes::ShapeRef.new(shape: EmailAddressList, location_name: "ToAddresses"))
|
@@ -1498,6 +1501,7 @@ module Aws::SESV2
|
|
1498
1501
|
PutConfigurationSetDeliveryOptionsRequest.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetName, required: true, location: "uri", location_name: "ConfigurationSetName"))
|
1499
1502
|
PutConfigurationSetDeliveryOptionsRequest.add_member(:tls_policy, Shapes::ShapeRef.new(shape: TlsPolicy, location_name: "TlsPolicy"))
|
1500
1503
|
PutConfigurationSetDeliveryOptionsRequest.add_member(:sending_pool_name, Shapes::ShapeRef.new(shape: SendingPoolName, location_name: "SendingPoolName"))
|
1504
|
+
PutConfigurationSetDeliveryOptionsRequest.add_member(:max_delivery_seconds, Shapes::ShapeRef.new(shape: MaxDeliverySeconds, location_name: "MaxDeliverySeconds"))
|
1501
1505
|
PutConfigurationSetDeliveryOptionsRequest.struct_class = Types::PutConfigurationSetDeliveryOptionsRequest
|
1502
1506
|
|
1503
1507
|
PutConfigurationSetDeliveryOptionsResponse.struct_class = Types::PutConfigurationSetDeliveryOptionsResponse
|
@@ -1522,6 +1526,7 @@ module Aws::SESV2
|
|
1522
1526
|
|
1523
1527
|
PutConfigurationSetTrackingOptionsRequest.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetName, required: true, location: "uri", location_name: "ConfigurationSetName"))
|
1524
1528
|
PutConfigurationSetTrackingOptionsRequest.add_member(:custom_redirect_domain, Shapes::ShapeRef.new(shape: CustomRedirectDomain, location_name: "CustomRedirectDomain"))
|
1529
|
+
PutConfigurationSetTrackingOptionsRequest.add_member(:https_policy, Shapes::ShapeRef.new(shape: HttpsPolicy, location_name: "HttpsPolicy"))
|
1525
1530
|
PutConfigurationSetTrackingOptionsRequest.struct_class = Types::PutConfigurationSetTrackingOptionsRequest
|
1526
1531
|
|
1527
1532
|
PutConfigurationSetTrackingOptionsResponse.struct_class = Types::PutConfigurationSetTrackingOptionsResponse
|
@@ -1757,6 +1762,7 @@ module Aws::SESV2
|
|
1757
1762
|
Topics.member = Shapes::ShapeRef.new(shape: Topic)
|
1758
1763
|
|
1759
1764
|
TrackingOptions.add_member(:custom_redirect_domain, Shapes::ShapeRef.new(shape: CustomRedirectDomain, required: true, location_name: "CustomRedirectDomain"))
|
1765
|
+
TrackingOptions.add_member(:https_policy, Shapes::ShapeRef.new(shape: HttpsPolicy, location_name: "HttpsPolicy"))
|
1760
1766
|
TrackingOptions.struct_class = Types::TrackingOptions
|
1761
1767
|
|
1762
1768
|
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "querystring", location_name: "ResourceArn"))
|
data/lib/aws-sdk-sesv2/types.rb
CHANGED
@@ -1694,11 +1694,19 @@ module Aws::SESV2
|
|
1694
1694
|
# configuration set.
|
1695
1695
|
# @return [String]
|
1696
1696
|
#
|
1697
|
+
# @!attribute [rw] max_delivery_seconds
|
1698
|
+
# The maximum amount of time, in seconds, that Amazon SES API v2 will
|
1699
|
+
# attempt delivery of email. If specified, the value must greater than
|
1700
|
+
# or equal to 300 seconds (5 minutes) and less than or equal to 50400
|
1701
|
+
# seconds (840 minutes).
|
1702
|
+
# @return [Integer]
|
1703
|
+
#
|
1697
1704
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeliveryOptions AWS API Documentation
|
1698
1705
|
#
|
1699
1706
|
class DeliveryOptions < Struct.new(
|
1700
1707
|
:tls_policy,
|
1701
|
-
:sending_pool_name
|
1708
|
+
:sending_pool_name,
|
1709
|
+
:max_delivery_seconds)
|
1702
1710
|
SENSITIVE = []
|
1703
1711
|
include Aws::Structure
|
1704
1712
|
end
|
@@ -5471,12 +5479,20 @@ module Aws::SESV2
|
|
5471
5479
|
# configuration set.
|
5472
5480
|
# @return [String]
|
5473
5481
|
#
|
5482
|
+
# @!attribute [rw] max_delivery_seconds
|
5483
|
+
# The maximum amount of time, in seconds, that Amazon SES API v2 will
|
5484
|
+
# attempt delivery of email. If specified, the value must greater than
|
5485
|
+
# or equal to 300 seconds (5 minutes) and less than or equal to 50400
|
5486
|
+
# seconds (840 minutes).
|
5487
|
+
# @return [Integer]
|
5488
|
+
#
|
5474
5489
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutConfigurationSetDeliveryOptionsRequest AWS API Documentation
|
5475
5490
|
#
|
5476
5491
|
class PutConfigurationSetDeliveryOptionsRequest < Struct.new(
|
5477
5492
|
:configuration_set_name,
|
5478
5493
|
:tls_policy,
|
5479
|
-
:sending_pool_name
|
5494
|
+
:sending_pool_name,
|
5495
|
+
:max_delivery_seconds)
|
5480
5496
|
SENSITIVE = []
|
5481
5497
|
include Aws::Structure
|
5482
5498
|
end
|
@@ -5595,11 +5611,21 @@ module Aws::SESV2
|
|
5595
5611
|
# The domain to use to track open and click events.
|
5596
5612
|
# @return [String]
|
5597
5613
|
#
|
5614
|
+
# @!attribute [rw] https_policy
|
5615
|
+
# The https policy to use for tracking open and click events. If the
|
5616
|
+
# value is OPTIONAL or HttpsPolicy is not specified, the open trackers
|
5617
|
+
# use HTTP and click tracker use the original protocol of the link. If
|
5618
|
+
# the value is REQUIRE, both open and click tracker uses HTTPS and if
|
5619
|
+
# the value is REQUIRE\_OPEN\_ONLY open tracker uses HTTPS and link
|
5620
|
+
# tracker is same as original protocol of the link.
|
5621
|
+
# @return [String]
|
5622
|
+
#
|
5598
5623
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutConfigurationSetTrackingOptionsRequest AWS API Documentation
|
5599
5624
|
#
|
5600
5625
|
class PutConfigurationSetTrackingOptionsRequest < Struct.new(
|
5601
5626
|
:configuration_set_name,
|
5602
|
-
:custom_redirect_domain
|
5627
|
+
:custom_redirect_domain,
|
5628
|
+
:https_policy)
|
5603
5629
|
SENSITIVE = []
|
5604
5630
|
include Aws::Structure
|
5605
5631
|
end
|
@@ -7034,10 +7060,15 @@ module Aws::SESV2
|
|
7034
7060
|
# The domain to use for tracking open and click events.
|
7035
7061
|
# @return [String]
|
7036
7062
|
#
|
7063
|
+
# @!attribute [rw] https_policy
|
7064
|
+
# The https policy to use for tracking open and click events.
|
7065
|
+
# @return [String]
|
7066
|
+
#
|
7037
7067
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/TrackingOptions AWS API Documentation
|
7038
7068
|
#
|
7039
7069
|
class TrackingOptions < Struct.new(
|
7040
|
-
:custom_redirect_domain
|
7070
|
+
:custom_redirect_domain,
|
7071
|
+
:https_policy)
|
7041
7072
|
SENSITIVE = []
|
7042
7073
|
include Aws::Structure
|
7043
7074
|
end
|
data/lib/aws-sdk-sesv2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -111,11 +111,13 @@ module Aws
|
|
111
111
|
def create_configuration_set: (
|
112
112
|
configuration_set_name: ::String,
|
113
113
|
?tracking_options: {
|
114
|
-
custom_redirect_domain: ::String
|
114
|
+
custom_redirect_domain: ::String,
|
115
|
+
https_policy: ("REQUIRE" | "REQUIRE_OPEN_ONLY" | "OPTIONAL")?
|
115
116
|
},
|
116
117
|
?delivery_options: {
|
117
118
|
tls_policy: ("REQUIRE" | "OPTIONAL")?,
|
118
|
-
sending_pool_name: ::String
|
119
|
+
sending_pool_name: ::String?,
|
120
|
+
max_delivery_seconds: ::Integer?
|
119
121
|
},
|
120
122
|
?reputation_options: {
|
121
123
|
reputation_metrics_enabled: bool?,
|
@@ -1053,7 +1055,8 @@ module Aws
|
|
1053
1055
|
def put_configuration_set_delivery_options: (
|
1054
1056
|
configuration_set_name: ::String,
|
1055
1057
|
?tls_policy: ("REQUIRE" | "OPTIONAL"),
|
1056
|
-
?sending_pool_name: ::String
|
1058
|
+
?sending_pool_name: ::String,
|
1059
|
+
?max_delivery_seconds: ::Integer
|
1057
1060
|
) -> _PutConfigurationSetDeliveryOptionsResponseSuccess
|
1058
1061
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutConfigurationSetDeliveryOptionsResponseSuccess
|
1059
1062
|
|
@@ -1093,7 +1096,8 @@ module Aws
|
|
1093
1096
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SESV2/Client.html#put_configuration_set_tracking_options-instance_method
|
1094
1097
|
def put_configuration_set_tracking_options: (
|
1095
1098
|
configuration_set_name: ::String,
|
1096
|
-
?custom_redirect_domain: ::String
|
1099
|
+
?custom_redirect_domain: ::String,
|
1100
|
+
?https_policy: ("REQUIRE" | "REQUIRE_OPEN_ONLY" | "OPTIONAL")
|
1097
1101
|
) -> _PutConfigurationSetTrackingOptionsResponseSuccess
|
1098
1102
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutConfigurationSetTrackingOptionsResponseSuccess
|
1099
1103
|
|
data/sig/types.rbs
CHANGED
@@ -424,6 +424,7 @@ module Aws::SESV2
|
|
424
424
|
class DeliveryOptions
|
425
425
|
attr_accessor tls_policy: ("REQUIRE" | "OPTIONAL")
|
426
426
|
attr_accessor sending_pool_name: ::String
|
427
|
+
attr_accessor max_delivery_seconds: ::Integer
|
427
428
|
SENSITIVE: []
|
428
429
|
end
|
429
430
|
|
@@ -1279,6 +1280,7 @@ module Aws::SESV2
|
|
1279
1280
|
attr_accessor configuration_set_name: ::String
|
1280
1281
|
attr_accessor tls_policy: ("REQUIRE" | "OPTIONAL")
|
1281
1282
|
attr_accessor sending_pool_name: ::String
|
1283
|
+
attr_accessor max_delivery_seconds: ::Integer
|
1282
1284
|
SENSITIVE: []
|
1283
1285
|
end
|
1284
1286
|
|
@@ -1315,6 +1317,7 @@ module Aws::SESV2
|
|
1315
1317
|
class PutConfigurationSetTrackingOptionsRequest
|
1316
1318
|
attr_accessor configuration_set_name: ::String
|
1317
1319
|
attr_accessor custom_redirect_domain: ::String
|
1320
|
+
attr_accessor https_policy: ("REQUIRE" | "REQUIRE_OPEN_ONLY" | "OPTIONAL")
|
1318
1321
|
SENSITIVE: []
|
1319
1322
|
end
|
1320
1323
|
|
@@ -1634,6 +1637,7 @@ module Aws::SESV2
|
|
1634
1637
|
|
1635
1638
|
class TrackingOptions
|
1636
1639
|
attr_accessor custom_redirect_domain: ::String
|
1640
|
+
attr_accessor https_policy: ("REQUIRE" | "REQUIRE_OPEN_ONLY" | "OPTIONAL")
|
1637
1641
|
SENSITIVE: []
|
1638
1642
|
end
|
1639
1643
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-sesv2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.64.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: 2024-
|
11
|
+
date: 2024-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|