aws-sdk-sesv2 1.40.0 → 1.41.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 +9 -2
- data/lib/aws-sdk-sesv2/client_api.rb +18 -0
- data/lib/aws-sdk-sesv2/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-sesv2/types.rb +92 -4
- 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: 2b9f60ed11feac033ae6d6dd503a57d3679c2c70cdb97ec7532afdee99c7aed1
|
4
|
+
data.tar.gz: 920495259bfd1c252be789ceb7a9eccfd320ab93be26aaf71988457540a891ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24eacd4c97ad776b4be81b01a6590d3b9a2f519fae4b166e4e734234047547f9cdcc155491124cd18845129cb767dddea1f7237b234093e930a3fd4a79ef1ea6
|
7
|
+
data.tar.gz: 4d396ec5a719abcc7a2bd79e2b776c14b3d89821de7ae823e5be5f0dc04df553aee1b6feb928423a47cf93fcd18f2594252f65ce32edb22439b6efd5c88703f8
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.41.0 (2023-10-16)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release provides enhanced visibility into your SES identity verification status. This will offer you more actionable insights, enabling you to promptly address any verification-related issues.
|
8
|
+
|
4
9
|
1.40.0 (2023-09-27)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.41.0
|
data/lib/aws-sdk-sesv2/client.rb
CHANGED
@@ -2252,6 +2252,7 @@ module Aws::SESV2
|
|
2252
2252
|
# * {Types::GetEmailIdentityResponse#tags #tags} => Array<Types::Tag>
|
2253
2253
|
# * {Types::GetEmailIdentityResponse#configuration_set_name #configuration_set_name} => String
|
2254
2254
|
# * {Types::GetEmailIdentityResponse#verification_status #verification_status} => String
|
2255
|
+
# * {Types::GetEmailIdentityResponse#verification_info #verification_info} => Types::VerificationInfo
|
2255
2256
|
#
|
2256
2257
|
# @example Request syntax with placeholder values
|
2257
2258
|
#
|
@@ -2282,6 +2283,12 @@ module Aws::SESV2
|
|
2282
2283
|
# resp.tags[0].value #=> String
|
2283
2284
|
# resp.configuration_set_name #=> String
|
2284
2285
|
# resp.verification_status #=> String, one of "PENDING", "SUCCESS", "FAILED", "TEMPORARY_FAILURE", "NOT_STARTED"
|
2286
|
+
# resp.verification_info.last_checked_timestamp #=> Time
|
2287
|
+
# resp.verification_info.last_success_timestamp #=> Time
|
2288
|
+
# resp.verification_info.error_type #=> String, one of "SERVICE_ERROR", "DNS_SERVER_ERROR", "HOST_NOT_FOUND", "TYPE_NOT_FOUND", "INVALID_VALUE"
|
2289
|
+
# resp.verification_info.soa_record.primary_name_server #=> String
|
2290
|
+
# resp.verification_info.soa_record.admin_email #=> String
|
2291
|
+
# resp.verification_info.soa_record.serial_number #=> Integer
|
2285
2292
|
#
|
2286
2293
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetEmailIdentity AWS API Documentation
|
2287
2294
|
#
|
@@ -3157,7 +3164,7 @@ module Aws::SESV2
|
|
3157
3164
|
# `NextToken` element, which you can use to obtain additional results.
|
3158
3165
|
#
|
3159
3166
|
# The value you specify has to be at least 1, and can be no more than
|
3160
|
-
#
|
3167
|
+
# 100.
|
3161
3168
|
#
|
3162
3169
|
# @return [Types::ListEmailTemplatesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3163
3170
|
#
|
@@ -5054,7 +5061,7 @@ module Aws::SESV2
|
|
5054
5061
|
params: params,
|
5055
5062
|
config: config)
|
5056
5063
|
context[:gem_name] = 'aws-sdk-sesv2'
|
5057
|
-
context[:gem_version] = '1.
|
5064
|
+
context[:gem_version] = '1.41.0'
|
5058
5065
|
Seahorse::Client::Request.new(handlers, context)
|
5059
5066
|
end
|
5060
5067
|
|
@@ -17,6 +17,7 @@ module Aws::SESV2
|
|
17
17
|
AccountSuspendedException = Shapes::StructureShape.new(name: 'AccountSuspendedException')
|
18
18
|
AdditionalContactEmailAddress = Shapes::StringShape.new(name: 'AdditionalContactEmailAddress')
|
19
19
|
AdditionalContactEmailAddresses = Shapes::ListShape.new(name: 'AdditionalContactEmailAddresses')
|
20
|
+
AdminEmail = Shapes::StringShape.new(name: 'AdminEmail')
|
20
21
|
AlreadyExistsException = Shapes::StructureShape.new(name: 'AlreadyExistsException')
|
21
22
|
AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
|
22
23
|
AttributesData = Shapes::StringShape.new(name: 'AttributesData')
|
@@ -349,6 +350,7 @@ module Aws::SESV2
|
|
349
350
|
PolicyMap = Shapes::MapShape.new(name: 'PolicyMap')
|
350
351
|
PolicyName = Shapes::StringShape.new(name: 'PolicyName')
|
351
352
|
PoolName = Shapes::StringShape.new(name: 'PoolName')
|
353
|
+
PrimaryNameServer = Shapes::StringShape.new(name: 'PrimaryNameServer')
|
352
354
|
PrivateKey = Shapes::StringShape.new(name: 'PrivateKey')
|
353
355
|
ProcessedRecordsCount = Shapes::IntegerShape.new(name: 'ProcessedRecordsCount')
|
354
356
|
PutAccountDedicatedIpWarmupAttributesRequest = Shapes::StructureShape.new(name: 'PutAccountDedicatedIpWarmupAttributesRequest')
|
@@ -414,6 +416,7 @@ module Aws::SESV2
|
|
414
416
|
ReviewDetails = Shapes::StructureShape.new(name: 'ReviewDetails')
|
415
417
|
ReviewStatus = Shapes::StringShape.new(name: 'ReviewStatus')
|
416
418
|
S3Url = Shapes::StringShape.new(name: 'S3Url')
|
419
|
+
SOARecord = Shapes::StructureShape.new(name: 'SOARecord')
|
417
420
|
ScalingMode = Shapes::StringShape.new(name: 'ScalingMode')
|
418
421
|
Selector = Shapes::StringShape.new(name: 'Selector')
|
419
422
|
SendBulkEmailRequest = Shapes::StructureShape.new(name: 'SendBulkEmailRequest')
|
@@ -427,6 +430,7 @@ module Aws::SESV2
|
|
427
430
|
SendingPausedException = Shapes::StructureShape.new(name: 'SendingPausedException')
|
428
431
|
SendingPoolName = Shapes::StringShape.new(name: 'SendingPoolName')
|
429
432
|
SentLast24Hours = Shapes::FloatShape.new(name: 'SentLast24Hours')
|
433
|
+
SerialNumber = Shapes::IntegerShape.new(name: 'SerialNumber')
|
430
434
|
SnsDestination = Shapes::StructureShape.new(name: 'SnsDestination')
|
431
435
|
Subject = Shapes::StringShape.new(name: 'Subject')
|
432
436
|
SubscriptionStatus = Shapes::StringShape.new(name: 'SubscriptionStatus')
|
@@ -482,6 +486,8 @@ module Aws::SESV2
|
|
482
486
|
UseDefaultIfPreferenceUnavailable = Shapes::BooleanShape.new(name: 'UseDefaultIfPreferenceUnavailable')
|
483
487
|
VdmAttributes = Shapes::StructureShape.new(name: 'VdmAttributes')
|
484
488
|
VdmOptions = Shapes::StructureShape.new(name: 'VdmOptions')
|
489
|
+
VerificationError = Shapes::StringShape.new(name: 'VerificationError')
|
490
|
+
VerificationInfo = Shapes::StructureShape.new(name: 'VerificationInfo')
|
485
491
|
VerificationStatus = Shapes::StringShape.new(name: 'VerificationStatus')
|
486
492
|
Volume = Shapes::IntegerShape.new(name: 'Volume')
|
487
493
|
VolumeStatistics = Shapes::StructureShape.new(name: 'VolumeStatistics')
|
@@ -1101,6 +1107,7 @@ module Aws::SESV2
|
|
1101
1107
|
GetEmailIdentityResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
1102
1108
|
GetEmailIdentityResponse.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetName, location_name: "ConfigurationSetName"))
|
1103
1109
|
GetEmailIdentityResponse.add_member(:verification_status, Shapes::ShapeRef.new(shape: VerificationStatus, location_name: "VerificationStatus"))
|
1110
|
+
GetEmailIdentityResponse.add_member(:verification_info, Shapes::ShapeRef.new(shape: VerificationInfo, location_name: "VerificationInfo"))
|
1104
1111
|
GetEmailIdentityResponse.struct_class = Types::GetEmailIdentityResponse
|
1105
1112
|
|
1106
1113
|
GetEmailTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: EmailTemplateName, required: true, location: "uri", location_name: "TemplateName"))
|
@@ -1598,6 +1605,11 @@ module Aws::SESV2
|
|
1598
1605
|
ReviewDetails.add_member(:case_id, Shapes::ShapeRef.new(shape: CaseId, location_name: "CaseId"))
|
1599
1606
|
ReviewDetails.struct_class = Types::ReviewDetails
|
1600
1607
|
|
1608
|
+
SOARecord.add_member(:primary_name_server, Shapes::ShapeRef.new(shape: PrimaryNameServer, location_name: "PrimaryNameServer"))
|
1609
|
+
SOARecord.add_member(:admin_email, Shapes::ShapeRef.new(shape: AdminEmail, location_name: "AdminEmail"))
|
1610
|
+
SOARecord.add_member(:serial_number, Shapes::ShapeRef.new(shape: SerialNumber, location_name: "SerialNumber"))
|
1611
|
+
SOARecord.struct_class = Types::SOARecord
|
1612
|
+
|
1601
1613
|
SendBulkEmailRequest.add_member(:from_email_address, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "FromEmailAddress"))
|
1602
1614
|
SendBulkEmailRequest.add_member(:from_email_address_identity_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "FromEmailAddressIdentityArn"))
|
1603
1615
|
SendBulkEmailRequest.add_member(:reply_to_addresses, Shapes::ShapeRef.new(shape: EmailAddressList, location_name: "ReplyToAddresses"))
|
@@ -1788,6 +1800,12 @@ module Aws::SESV2
|
|
1788
1800
|
VdmOptions.add_member(:guardian_options, Shapes::ShapeRef.new(shape: GuardianOptions, location_name: "GuardianOptions"))
|
1789
1801
|
VdmOptions.struct_class = Types::VdmOptions
|
1790
1802
|
|
1803
|
+
VerificationInfo.add_member(:last_checked_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastCheckedTimestamp"))
|
1804
|
+
VerificationInfo.add_member(:last_success_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastSuccessTimestamp"))
|
1805
|
+
VerificationInfo.add_member(:error_type, Shapes::ShapeRef.new(shape: VerificationError, location_name: "ErrorType"))
|
1806
|
+
VerificationInfo.add_member(:soa_record, Shapes::ShapeRef.new(shape: SOARecord, location_name: "SOARecord"))
|
1807
|
+
VerificationInfo.struct_class = Types::VerificationInfo
|
1808
|
+
|
1791
1809
|
VolumeStatistics.add_member(:inbox_raw_count, Shapes::ShapeRef.new(shape: Volume, location_name: "InboxRawCount"))
|
1792
1810
|
VolumeStatistics.add_member(:spam_raw_count, Shapes::ShapeRef.new(shape: Volume, location_name: "SpamRawCount"))
|
1793
1811
|
VolumeStatistics.add_member(:projected_inbox, Shapes::ShapeRef.new(shape: Volume, location_name: "ProjectedInbox"))
|
@@ -32,7 +32,7 @@ module Aws::SESV2
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
36
|
return Aws::Endpoints::Endpoint.new(url: "https://email-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
37
|
end
|
38
38
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
data/lib/aws-sdk-sesv2/types.rb
CHANGED
@@ -2063,7 +2063,10 @@ module Aws::SESV2
|
|
2063
2063
|
# * If you include attachments, they must be in a file format that the
|
2064
2064
|
# Amazon SES API v2 supports.
|
2065
2065
|
#
|
2066
|
-
# * The
|
2066
|
+
# * The raw data of the message needs to base64-encoded if you are
|
2067
|
+
# accessing Amazon SES directly through the HTTPS interface. If you
|
2068
|
+
# are accessing Amazon SES using an Amazon Web Services SDK, the SDK
|
2069
|
+
# takes care of the base 64-encoding for you.
|
2067
2070
|
#
|
2068
2071
|
# * If any of the MIME parts in your message contain content that is
|
2069
2072
|
# outside of the 7-bit ASCII character range, you should encode that
|
@@ -3400,6 +3403,11 @@ module Aws::SESV2
|
|
3400
3403
|
# for the identity.
|
3401
3404
|
# @return [String]
|
3402
3405
|
#
|
3406
|
+
# @!attribute [rw] verification_info
|
3407
|
+
# An object that contains additional information about the
|
3408
|
+
# verification status for the identity.
|
3409
|
+
# @return [Types::VerificationInfo]
|
3410
|
+
#
|
3403
3411
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetEmailIdentityResponse AWS API Documentation
|
3404
3412
|
#
|
3405
3413
|
class GetEmailIdentityResponse < Struct.new(
|
@@ -3411,7 +3419,8 @@ module Aws::SESV2
|
|
3411
3419
|
:policies,
|
3412
3420
|
:tags,
|
3413
3421
|
:configuration_set_name,
|
3414
|
-
:verification_status
|
3422
|
+
:verification_status,
|
3423
|
+
:verification_info)
|
3415
3424
|
SENSITIVE = []
|
3416
3425
|
include Aws::Structure
|
3417
3426
|
end
|
@@ -4464,7 +4473,7 @@ module Aws::SESV2
|
|
4464
4473
|
# `NextToken` element, which you can use to obtain additional results.
|
4465
4474
|
#
|
4466
4475
|
# The value you specify has to be at least 1, and can be no more than
|
4467
|
-
#
|
4476
|
+
# 100.
|
4468
4477
|
# @return [Integer]
|
4469
4478
|
#
|
4470
4479
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListEmailTemplatesRequest AWS API Documentation
|
@@ -5976,7 +5985,10 @@ module Aws::SESV2
|
|
5976
5985
|
#
|
5977
5986
|
# * Attachments must be in a file format that the Amazon SES supports.
|
5978
5987
|
#
|
5979
|
-
# * The
|
5988
|
+
# * The raw data of the message needs to base64-encoded if you are
|
5989
|
+
# accessing Amazon SES directly through the HTTPS interface. If you
|
5990
|
+
# are accessing Amazon SES using an Amazon Web Services SDK, the SDK
|
5991
|
+
# takes care of the base 64-encoding for you.
|
5980
5992
|
#
|
5981
5993
|
# * If any of the MIME parts in your message contain content that is
|
5982
5994
|
# outside of the 7-bit ASCII character range, you should encode that
|
@@ -6139,6 +6151,31 @@ module Aws::SESV2
|
|
6139
6151
|
include Aws::Structure
|
6140
6152
|
end
|
6141
6153
|
|
6154
|
+
# An object that contains information about the start of authority (SOA)
|
6155
|
+
# record associated with the identity.
|
6156
|
+
#
|
6157
|
+
# @!attribute [rw] primary_name_server
|
6158
|
+
# Primary name server specified in the SOA record.
|
6159
|
+
# @return [String]
|
6160
|
+
#
|
6161
|
+
# @!attribute [rw] admin_email
|
6162
|
+
# Administrative contact email from the SOA record.
|
6163
|
+
# @return [String]
|
6164
|
+
#
|
6165
|
+
# @!attribute [rw] serial_number
|
6166
|
+
# Serial number from the SOA record.
|
6167
|
+
# @return [Integer]
|
6168
|
+
#
|
6169
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SOARecord AWS API Documentation
|
6170
|
+
#
|
6171
|
+
class SOARecord < Struct.new(
|
6172
|
+
:primary_name_server,
|
6173
|
+
:admin_email,
|
6174
|
+
:serial_number)
|
6175
|
+
SENSITIVE = []
|
6176
|
+
include Aws::Structure
|
6177
|
+
end
|
6178
|
+
|
6142
6179
|
# Represents a request to send email messages to multiple destinations
|
6143
6180
|
# using Amazon SES. For more information, see the [Amazon SES Developer
|
6144
6181
|
# Guide][1].
|
@@ -7233,6 +7270,57 @@ module Aws::SESV2
|
|
7233
7270
|
include Aws::Structure
|
7234
7271
|
end
|
7235
7272
|
|
7273
|
+
# An object that contains additional information about the verification
|
7274
|
+
# status for the identity.
|
7275
|
+
#
|
7276
|
+
# @!attribute [rw] last_checked_timestamp
|
7277
|
+
# The last time a verification attempt was made for this identity.
|
7278
|
+
# @return [Time]
|
7279
|
+
#
|
7280
|
+
# @!attribute [rw] last_success_timestamp
|
7281
|
+
# The last time a successful verification was made for this identity.
|
7282
|
+
# @return [Time]
|
7283
|
+
#
|
7284
|
+
# @!attribute [rw] error_type
|
7285
|
+
# Provides the reason for the failure describing why Amazon SES was
|
7286
|
+
# not able to successfully verify the identity. Below are the possible
|
7287
|
+
# values:
|
7288
|
+
#
|
7289
|
+
# * `INVALID_VALUE` – Amazon SES was able to find the record, but the
|
7290
|
+
# value contained within the record was invalid. Ensure you have
|
7291
|
+
# published the correct values for the record.
|
7292
|
+
#
|
7293
|
+
# * `TYPE_NOT_FOUND` – The queried hostname exists but does not have
|
7294
|
+
# the requested type of DNS record. Ensure that you have published
|
7295
|
+
# the correct type of DNS record.
|
7296
|
+
#
|
7297
|
+
# * `HOST_NOT_FOUND` – The queried hostname does not exist or was not
|
7298
|
+
# reachable at the time of the request. Ensure that you have
|
7299
|
+
# published the required DNS record(s).
|
7300
|
+
#
|
7301
|
+
# * `SERVICE_ERROR` – A temporary issue is preventing Amazon SES from
|
7302
|
+
# determining the verification status of the domain.
|
7303
|
+
#
|
7304
|
+
# * `DNS_SERVER_ERROR` – The DNS server encountered an issue and was
|
7305
|
+
# unable to complete the request.
|
7306
|
+
# @return [String]
|
7307
|
+
#
|
7308
|
+
# @!attribute [rw] soa_record
|
7309
|
+
# An object that contains information about the start of authority
|
7310
|
+
# (SOA) record associated with the identity.
|
7311
|
+
# @return [Types::SOARecord]
|
7312
|
+
#
|
7313
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/VerificationInfo AWS API Documentation
|
7314
|
+
#
|
7315
|
+
class VerificationInfo < Struct.new(
|
7316
|
+
:last_checked_timestamp,
|
7317
|
+
:last_success_timestamp,
|
7318
|
+
:error_type,
|
7319
|
+
:soa_record)
|
7320
|
+
SENSITIVE = []
|
7321
|
+
include Aws::Structure
|
7322
|
+
end
|
7323
|
+
|
7236
7324
|
# An object that contains information about the amount of email that was
|
7237
7325
|
# delivered to recipients.
|
7238
7326
|
#
|
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.41.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-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|