aws-sdk-sesv2 1.31.0 → 1.32.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sesv2/client.rb +2 -2
- data/lib/aws-sdk-sesv2/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-sesv2/types.rb +50 -1
- data/lib/aws-sdk-sesv2.rb +1 -1
- 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: 1188ba2f1bf6a5ad937774b14654ad36807e91471eb6a6162c064b280fa6919d
|
4
|
+
data.tar.gz: 0ef053572d39678d81ddc85aa36e7895f949b616e9847f106e65be8b683b0a7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b78f8c606405b1978aa4c848da1cd5e7a8696d898a9e95c307cc2bcd2a138bbe797fabf546bed3bbe090e78825d6c5bb52694c092abd0ca9f629d1f933b9e83
|
7
|
+
data.tar.gz: dd603abee7eda2e5427adc5c38fcc1a68871f0d52468fc1de87fbfa542ee920c3f5544af3cee5b9ccd195788c3d9d1424349d330c2d6746640c81f1cccf92b1c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.32.0 (2023-03-09)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release introduces a new recommendation in Virtual Deliverability Manager Advisor, which detects missing or misconfigured Brand Indicator for Message Identification (BIMI) DNS records for customer sending identities.
|
8
|
+
|
4
9
|
1.31.0 (2023-01-18)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.32.0
|
data/lib/aws-sdk-sesv2/client.rb
CHANGED
@@ -2849,7 +2849,7 @@ module Aws::SESV2
|
|
2849
2849
|
#
|
2850
2850
|
# resp.recommendations #=> Array
|
2851
2851
|
# resp.recommendations[0].resource_arn #=> String
|
2852
|
-
# resp.recommendations[0].type #=> String, one of "DKIM", "DMARC", "SPF"
|
2852
|
+
# resp.recommendations[0].type #=> String, one of "DKIM", "DMARC", "SPF", "BIMI"
|
2853
2853
|
# resp.recommendations[0].description #=> String
|
2854
2854
|
# resp.recommendations[0].status #=> String, one of "OPEN", "FIXED"
|
2855
2855
|
# resp.recommendations[0].created_timestamp #=> Time
|
@@ -4487,7 +4487,7 @@ module Aws::SESV2
|
|
4487
4487
|
params: params,
|
4488
4488
|
config: config)
|
4489
4489
|
context[:gem_name] = 'aws-sdk-sesv2'
|
4490
|
-
context[:gem_version] = '1.
|
4490
|
+
context[:gem_version] = '1.32.0'
|
4491
4491
|
Seahorse::Client::Request.new(handlers, context)
|
4492
4492
|
end
|
4493
4493
|
|
@@ -14,36 +14,39 @@ module Aws::SESV2
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
-
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://email-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
-
end
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://email-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
-
end
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
38
20
|
end
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
-
|
41
|
-
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://email-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://email-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://email.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
42
45
|
end
|
43
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://email.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://email.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
48
|
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
51
|
|
49
52
|
end
|
data/lib/aws-sdk-sesv2/types.rb
CHANGED
@@ -2055,6 +2055,54 @@ module Aws::SESV2
|
|
2055
2055
|
# @!attribute [rw] matching_event_types
|
2056
2056
|
# The types of events that Amazon SES sends to the specified event
|
2057
2057
|
# destinations.
|
2058
|
+
#
|
2059
|
+
# * `SEND` - The send request was successful and SES will attempt to
|
2060
|
+
# deliver the message to the recipient’s mail server. (If
|
2061
|
+
# account-level or global suppression is being used, SES will still
|
2062
|
+
# count it as a send, but delivery is suppressed.)
|
2063
|
+
#
|
2064
|
+
# * `REJECT` - SES accepted the email, but determined that it
|
2065
|
+
# contained a virus and didn’t attempt to deliver it to the
|
2066
|
+
# recipient’s mail server.
|
2067
|
+
#
|
2068
|
+
# * `BOUNCE` - (*Hard bounce*) The recipient's mail server
|
2069
|
+
# permanently rejected the email. (*Soft bounces* are only included
|
2070
|
+
# when SES fails to deliver the email after retrying for a period of
|
2071
|
+
# time.)
|
2072
|
+
#
|
2073
|
+
# * `COMPLAINT` - The email was successfully delivered to the
|
2074
|
+
# recipient’s mail server, but the recipient marked it as spam.
|
2075
|
+
#
|
2076
|
+
# * `DELIVERY` - SES successfully delivered the email to the
|
2077
|
+
# recipient's mail server.
|
2078
|
+
#
|
2079
|
+
# * `OPEN` - The recipient received the message and opened it in their
|
2080
|
+
# email client.
|
2081
|
+
#
|
2082
|
+
# * `CLICK` - The recipient clicked one or more links in the email.
|
2083
|
+
#
|
2084
|
+
# * `RENDERING_FAILURE` - The email wasn't sent because of a template
|
2085
|
+
# rendering issue. This event type can occur when template data is
|
2086
|
+
# missing, or when there is a mismatch between template parameters
|
2087
|
+
# and data. (This event type only occurs when you send email using
|
2088
|
+
# the [ `SendTemplatedEmail` ][1] or [ `SendBulkTemplatedEmail` ][2]
|
2089
|
+
# API operations.)
|
2090
|
+
#
|
2091
|
+
# * `DELIVERY_DELAY` - The email couldn't be delivered to the
|
2092
|
+
# recipient’s mail server because a temporary issue occurred.
|
2093
|
+
# Delivery delays can occur, for example, when the recipient's
|
2094
|
+
# inbox is full, or when the receiving email server experiences a
|
2095
|
+
# transient issue.
|
2096
|
+
#
|
2097
|
+
# * `SUBSCRIPTION` - The email was successfully delivered, but the
|
2098
|
+
# recipient updated their subscription preferences by clicking on an
|
2099
|
+
# *unsubscribe* link as part of your [subscription management][3].
|
2100
|
+
#
|
2101
|
+
#
|
2102
|
+
#
|
2103
|
+
# [1]: https://docs.aws.amazon.com/ses/latest/APIReference/API_SendTemplatedEmail.html
|
2104
|
+
# [2]: https://docs.aws.amazon.com/ses/latest/APIReference/API_SendBulkTemplatedEmail.html
|
2105
|
+
# [3]: https://docs.aws.amazon.com/ses/latest/dg/sending-email-subscription-management.html
|
2058
2106
|
# @return [Array<String>]
|
2059
2107
|
#
|
2060
2108
|
# @!attribute [rw] kinesis_firehose_destination
|
@@ -5223,7 +5271,8 @@ module Aws::SESV2
|
|
5223
5271
|
# @return [String]
|
5224
5272
|
#
|
5225
5273
|
# @!attribute [rw] type
|
5226
|
-
# The recommendation type, with values like `DKIM`, `SPF` or
|
5274
|
+
# The recommendation type, with values like `DKIM`, `SPF`, `DMARC` or
|
5275
|
+
# `BIMI`.
|
5227
5276
|
# @return [String]
|
5228
5277
|
#
|
5229
5278
|
# @!attribute [rw] description
|
data/lib/aws-sdk-sesv2.rb
CHANGED
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.32.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: 2023-
|
11
|
+
date: 2023-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|