aws-sdk-sesv2 1.63.0 → 1.65.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: 0ef48ef98a4ae4954f5ea6474fe33a2b78cbec93309dfabd5e87f371404e330a
4
- data.tar.gz: e7c46dbe75d6f0d38a7ef7ea1f96e1b562cb997e2a20b8c5811961db11910e0e
3
+ metadata.gz: c0f34a1099f30e82b9c1450db9578c11b9a795ee1c9a69b9095353d7d413c92c
4
+ data.tar.gz: a3f12da584bad0ce341200278c158a68948ee6f0a961b5c596bb3cfd62ef0844
5
5
  SHA512:
6
- metadata.gz: 00c4c87db22d72afc609abd70fe75bd57117c4f481b131d0bc8e556903ed17b23c68130aa31af89d5ad974de8035e7075f2d806afd5196b34a592d320d34b4d8
7
- data.tar.gz: b41795a9dfa861f43a763c5b6fa2ee25feb1dad6481ab42306bbc83971d0ab03d08e18bfed1c48ccc03cefe619b04f35ebb26475dcfd23bd4c3b8ec8d15a925f
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.63.0
1
+ 1.65.0
@@ -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.63.0'
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