aws-sdk-sesv2 1.63.0 → 1.65.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sesv2/client.rb +10 -1
- data/lib/aws-sdk-sesv2/client_api.rb +3 -0
- data/lib/aws-sdk-sesv2/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-sesv2/endpoints.rb +2 -1010
- data/lib/aws-sdk-sesv2/plugins/endpoints.rb +1 -190
- data/lib/aws-sdk-sesv2/types.rb +18 -2
- data/lib/aws-sdk-sesv2.rb +1 -1
- data/sig/client.rbs +4 -2
- data/sig/types.rbs +2 -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: c0f34a1099f30e82b9c1450db9578c11b9a795ee1c9a69b9095353d7d413c92c
|
4
|
+
data.tar.gz: a3f12da584bad0ce341200278c158a68948ee6f0a961b5c596bb3cfd62ef0844
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4fecef66e0486e3dc56c005b2d5c3f33007370351724ec339acb875974c833f9cfced20eb63e78af91c255046f0b900bbab6ba00eed061497369d8a3ff1e59ad
|
7
|
+
data.tar.gz: 7176d62219b710e3a84726b589657af6ae935b6392cd823988c23f535d257e6cee661b5ebf9c1ce78129cad05e9f772dc079f16a01e9295ee6533822eeae9146
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.65.0 (2024-10-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.64.0 (2024-10-15)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
4
14
|
1.63.0 (2024-09-27)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.65.0
|
data/lib/aws-sdk-sesv2/client.rb
CHANGED
@@ -584,6 +584,7 @@ module Aws::SESV2
|
|
584
584
|
# delivery_options: {
|
585
585
|
# tls_policy: "REQUIRE", # accepts REQUIRE, OPTIONAL
|
586
586
|
# sending_pool_name: "PoolName",
|
587
|
+
# max_delivery_seconds: 1,
|
587
588
|
# },
|
588
589
|
# reputation_options: {
|
589
590
|
# reputation_metrics_enabled: false,
|
@@ -1767,6 +1768,7 @@ module Aws::SESV2
|
|
1767
1768
|
# resp.tracking_options.https_policy #=> String, one of "REQUIRE", "REQUIRE_OPEN_ONLY", "OPTIONAL"
|
1768
1769
|
# resp.delivery_options.tls_policy #=> String, one of "REQUIRE", "OPTIONAL"
|
1769
1770
|
# resp.delivery_options.sending_pool_name #=> String
|
1771
|
+
# resp.delivery_options.max_delivery_seconds #=> Integer
|
1770
1772
|
# resp.reputation_options.reputation_metrics_enabled #=> Boolean
|
1771
1773
|
# resp.reputation_options.last_fresh_start #=> Time
|
1772
1774
|
# resp.sending_options.sending_enabled #=> Boolean
|
@@ -3753,6 +3755,12 @@ module Aws::SESV2
|
|
3753
3755
|
# The name of the dedicated IP pool to associate with the configuration
|
3754
3756
|
# set.
|
3755
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
|
+
#
|
3756
3764
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3757
3765
|
#
|
3758
3766
|
# @example Request syntax with placeholder values
|
@@ -3761,6 +3769,7 @@ module Aws::SESV2
|
|
3761
3769
|
# configuration_set_name: "ConfigurationSetName", # required
|
3762
3770
|
# tls_policy: "REQUIRE", # accepts REQUIRE, OPTIONAL
|
3763
3771
|
# sending_pool_name: "SendingPoolName",
|
3772
|
+
# max_delivery_seconds: 1,
|
3764
3773
|
# })
|
3765
3774
|
#
|
3766
3775
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutConfigurationSetDeliveryOptions AWS API Documentation
|
@@ -5176,7 +5185,7 @@ module Aws::SESV2
|
|
5176
5185
|
tracer: tracer
|
5177
5186
|
)
|
5178
5187
|
context[:gem_name] = 'aws-sdk-sesv2'
|
5179
|
-
context[:gem_version] = '1.
|
5188
|
+
context[:gem_version] = '1.65.0'
|
5180
5189
|
Seahorse::Client::Request.new(handlers, context)
|
5181
5190
|
end
|
5182
5191
|
|
@@ -317,6 +317,7 @@ module Aws::SESV2
|
|
317
317
|
MailFromDomainStatus = Shapes::StringShape.new(name: 'MailFromDomainStatus')
|
318
318
|
MailType = Shapes::StringShape.new(name: 'MailType')
|
319
319
|
Max24HourSend = Shapes::FloatShape.new(name: 'Max24HourSend')
|
320
|
+
MaxDeliverySeconds = Shapes::IntegerShape.new(name: 'MaxDeliverySeconds')
|
320
321
|
MaxItems = Shapes::IntegerShape.new(name: 'MaxItems')
|
321
322
|
MaxSendRate = Shapes::FloatShape.new(name: 'MaxSendRate')
|
322
323
|
Message = Shapes::StructureShape.new(name: 'Message')
|
@@ -817,6 +818,7 @@ module Aws::SESV2
|
|
817
818
|
|
818
819
|
DeliveryOptions.add_member(:tls_policy, Shapes::ShapeRef.new(shape: TlsPolicy, location_name: "TlsPolicy"))
|
819
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"))
|
820
822
|
DeliveryOptions.struct_class = Types::DeliveryOptions
|
821
823
|
|
822
824
|
Destination.add_member(:to_addresses, Shapes::ShapeRef.new(shape: EmailAddressList, location_name: "ToAddresses"))
|
@@ -1499,6 +1501,7 @@ module Aws::SESV2
|
|
1499
1501
|
PutConfigurationSetDeliveryOptionsRequest.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetName, required: true, location: "uri", location_name: "ConfigurationSetName"))
|
1500
1502
|
PutConfigurationSetDeliveryOptionsRequest.add_member(:tls_policy, Shapes::ShapeRef.new(shape: TlsPolicy, location_name: "TlsPolicy"))
|
1501
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"))
|
1502
1505
|
PutConfigurationSetDeliveryOptionsRequest.struct_class = Types::PutConfigurationSetDeliveryOptionsRequest
|
1503
1506
|
|
1504
1507
|
PutConfigurationSetDeliveryOptionsResponse.struct_class = Types::PutConfigurationSetDeliveryOptionsResponse
|
@@ -52,15 +52,18 @@ module Aws::SESV2
|
|
52
52
|
self[:region] = options[:region]
|
53
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
|
-
if self[:use_dual_stack].nil?
|
56
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
57
|
-
end
|
58
55
|
self[:use_fips] = options[:use_fips]
|
59
56
|
self[:use_fips] = false if self[:use_fips].nil?
|
60
|
-
if self[:use_fips].nil?
|
61
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
62
|
-
end
|
63
57
|
self[:endpoint] = options[:endpoint]
|
64
58
|
end
|
59
|
+
|
60
|
+
def self.create(config, options={})
|
61
|
+
new({
|
62
|
+
region: config.region,
|
63
|
+
use_dual_stack: config.use_dualstack_endpoint,
|
64
|
+
use_fips: config.use_fips_endpoint,
|
65
|
+
endpoint: (config.endpoint.to_s unless config.regional_endpoint),
|
66
|
+
}.merge(options))
|
67
|
+
end
|
65
68
|
end
|
66
69
|
end
|