aws-sdk-sesv2 1.91.0 → 1.92.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: d8cd9bee9dfc9f1b920ba4484b0e198d6ec3dc354b941ea42673b1051da50781
4
- data.tar.gz: 866a998029dfaa3c2d2d7d7d7d6f81d3da0b5fcba551bf6b5085382f7b0e8945
3
+ metadata.gz: 9480723391af58c85453ca139603ef8c3d292f450f407934db6dd454191e279f
4
+ data.tar.gz: 1acbb2bd48281a92ccce9707fc0417ae10ed3de836a423e710bb0f32f10547a3
5
5
  SHA512:
6
- metadata.gz: 1e03490fe913f4b747cdd74a8545a53bef04246ed4528e614739de705a51477cc5efc82dcd5faddb62d49139430bba17d8ffc9923cdb3fd4362af03b744cdba4
7
- data.tar.gz: a2d9873b34ac61699ca2388e749bd31e5a5023fce7578185afec40fd298db11e960fc972d6aed8f0014ad4a0a5cfa7bb60bddbe65426daa0e443aac55fd5c73d
6
+ metadata.gz: d58a516e4f882d9faae59e461a163fbf81142312b1b19c7752142637540c2117d91f298fb505c99f5ad900ffc890389e6839966cddb99f9953b14af1d361a63d
7
+ data.tar.gz: c848f4ea5881810296de8aa3f71c995facaa19362b39b7533883e9aa21b6e8d1a575992af4af001b6608997104667ce143c07648f14a1d547a26c3cb1f3828b7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.92.0 (2025-12-18)
5
+ ------------------
6
+
7
+ * Feature - Amazon SES introduces Email Validation feature which checks email addresses for syntax errors, domain validity, and risky addresses to help maintain deliverability and protect sender reputation. SES also adds resource tagging and ABAC support for EmailTemplates and CustomVerificationEmailTemplates.
8
+
4
9
  1.91.0 (2025-12-11)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.91.0
1
+ 1.92.0
@@ -634,6 +634,14 @@ module Aws::SESV2
634
634
  # ],
635
635
  # suppression_options: {
636
636
  # suppressed_reasons: ["BOUNCE"], # accepts BOUNCE, COMPLAINT
637
+ # validation_options: {
638
+ # condition_threshold: { # required
639
+ # condition_threshold_enabled: "ENABLED", # required, accepts ENABLED, DISABLED
640
+ # overall_confidence_threshold: {
641
+ # confidence_verdict_threshold: "MEDIUM", # required, accepts MEDIUM, HIGH, MANAGED
642
+ # },
643
+ # },
644
+ # },
637
645
  # },
638
646
  # vdm_options: {
639
647
  # dashboard_options: {
@@ -844,6 +852,10 @@ module Aws::SESV2
844
852
  #
845
853
  # [1]: https://docs.aws.amazon.com/ses/latest/dg/creating-identities.html#send-email-verify-address-custom-faq
846
854
  #
855
+ # @option params [Array<Types::Tag>] :tags
856
+ # An array of objects that define the tags (keys and values) to
857
+ # associate with the custom verification email template.
858
+ #
847
859
  # @option params [required, String] :success_redirection_url
848
860
  # The URL that the recipient of the verification email is sent to if his
849
861
  # or her address is successfully verified.
@@ -861,6 +873,12 @@ module Aws::SESV2
861
873
  # from_email_address: "EmailAddress", # required
862
874
  # template_subject: "EmailTemplateSubject", # required
863
875
  # template_content: "TemplateContent", # required
876
+ # tags: [
877
+ # {
878
+ # key: "TagKey", # required
879
+ # value: "TagValue", # required
880
+ # },
881
+ # ],
864
882
  # success_redirection_url: "SuccessRedirectionURL", # required
865
883
  # failure_redirection_url: "FailureRedirectionURL", # required
866
884
  # })
@@ -1224,6 +1242,10 @@ module Aws::SESV2
1224
1242
  # The content of the email template, composed of a subject line, an HTML
1225
1243
  # part, and a text-only part.
1226
1244
  #
1245
+ # @option params [Array<Types::Tag>] :tags
1246
+ # An array of objects that define the tags (keys and values) to
1247
+ # associate with the email template.
1248
+ #
1227
1249
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1228
1250
  #
1229
1251
  # @example Request syntax with placeholder values
@@ -1235,6 +1257,12 @@ module Aws::SESV2
1235
1257
  # text: "EmailTemplateText",
1236
1258
  # html: "EmailTemplateHtml",
1237
1259
  # },
1260
+ # tags: [
1261
+ # {
1262
+ # key: "TagKey", # required
1263
+ # value: "TagValue", # required
1264
+ # },
1265
+ # ],
1238
1266
  # })
1239
1267
  #
1240
1268
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateEmailTemplate AWS API Documentation
@@ -1980,6 +2008,8 @@ module Aws::SESV2
1980
2008
  # resp.sending_enabled #=> Boolean
1981
2009
  # resp.suppression_attributes.suppressed_reasons #=> Array
1982
2010
  # resp.suppression_attributes.suppressed_reasons[0] #=> String, one of "BOUNCE", "COMPLAINT"
2011
+ # resp.suppression_attributes.validation_attributes.condition_threshold.condition_threshold_enabled #=> String, one of "ENABLED", "DISABLED"
2012
+ # resp.suppression_attributes.validation_attributes.condition_threshold.overall_confidence_threshold.confidence_verdict_threshold #=> String, one of "MEDIUM", "HIGH", "MANAGED"
1983
2013
  # resp.details.mail_type #=> String, one of "MARKETING", "TRANSACTIONAL"
1984
2014
  # resp.details.website_url #=> String
1985
2015
  # resp.details.contact_language #=> String, one of "EN", "JA"
@@ -2083,6 +2113,8 @@ module Aws::SESV2
2083
2113
  # resp.tags[0].value #=> String
2084
2114
  # resp.suppression_options.suppressed_reasons #=> Array
2085
2115
  # resp.suppression_options.suppressed_reasons[0] #=> String, one of "BOUNCE", "COMPLAINT"
2116
+ # resp.suppression_options.validation_options.condition_threshold.condition_threshold_enabled #=> String, one of "ENABLED", "DISABLED"
2117
+ # resp.suppression_options.validation_options.condition_threshold.overall_confidence_threshold.confidence_verdict_threshold #=> String, one of "MEDIUM", "HIGH", "MANAGED"
2086
2118
  # resp.vdm_options.dashboard_options.engagement_metrics #=> String, one of "ENABLED", "DISABLED"
2087
2119
  # resp.vdm_options.guardian_options.optimized_shared_delivery #=> String, one of "ENABLED", "DISABLED"
2088
2120
  # resp.archiving_options.archive_arn #=> String
@@ -2262,6 +2294,7 @@ module Aws::SESV2
2262
2294
  # * {Types::GetCustomVerificationEmailTemplateResponse#from_email_address #from_email_address} => String
2263
2295
  # * {Types::GetCustomVerificationEmailTemplateResponse#template_subject #template_subject} => String
2264
2296
  # * {Types::GetCustomVerificationEmailTemplateResponse#template_content #template_content} => String
2297
+ # * {Types::GetCustomVerificationEmailTemplateResponse#tags #tags} => Array&lt;Types::Tag&gt;
2265
2298
  # * {Types::GetCustomVerificationEmailTemplateResponse#success_redirection_url #success_redirection_url} => String
2266
2299
  # * {Types::GetCustomVerificationEmailTemplateResponse#failure_redirection_url #failure_redirection_url} => String
2267
2300
  #
@@ -2277,6 +2310,9 @@ module Aws::SESV2
2277
2310
  # resp.from_email_address #=> String
2278
2311
  # resp.template_subject #=> String
2279
2312
  # resp.template_content #=> String
2313
+ # resp.tags #=> Array
2314
+ # resp.tags[0].key #=> String
2315
+ # resp.tags[0].value #=> String
2280
2316
  # resp.success_redirection_url #=> String
2281
2317
  # resp.failure_redirection_url #=> String
2282
2318
  #
@@ -2616,6 +2652,42 @@ module Aws::SESV2
2616
2652
  req.send_request(options)
2617
2653
  end
2618
2654
 
2655
+ # Provides validation insights about a specific email address, including
2656
+ # syntax validation, DNS record checks, mailbox existence, and other
2657
+ # deliverability factors.
2658
+ #
2659
+ # @option params [required, String] :email_address
2660
+ # The email address to analyze for validation insights.
2661
+ #
2662
+ # @return [Types::GetEmailAddressInsightsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2663
+ #
2664
+ # * {Types::GetEmailAddressInsightsResponse#mailbox_validation #mailbox_validation} => Types::MailboxValidation
2665
+ #
2666
+ # @example Request syntax with placeholder values
2667
+ #
2668
+ # resp = client.get_email_address_insights({
2669
+ # email_address: "EmailAddress", # required
2670
+ # })
2671
+ #
2672
+ # @example Response structure
2673
+ #
2674
+ # resp.mailbox_validation.is_valid.confidence_verdict #=> String, one of "LOW", "MEDIUM", "HIGH"
2675
+ # resp.mailbox_validation.evaluations.has_valid_syntax.confidence_verdict #=> String, one of "LOW", "MEDIUM", "HIGH"
2676
+ # resp.mailbox_validation.evaluations.has_valid_dns_records.confidence_verdict #=> String, one of "LOW", "MEDIUM", "HIGH"
2677
+ # resp.mailbox_validation.evaluations.mailbox_exists.confidence_verdict #=> String, one of "LOW", "MEDIUM", "HIGH"
2678
+ # resp.mailbox_validation.evaluations.is_role_address.confidence_verdict #=> String, one of "LOW", "MEDIUM", "HIGH"
2679
+ # resp.mailbox_validation.evaluations.is_disposable.confidence_verdict #=> String, one of "LOW", "MEDIUM", "HIGH"
2680
+ # resp.mailbox_validation.evaluations.is_random_input.confidence_verdict #=> String, one of "LOW", "MEDIUM", "HIGH"
2681
+ #
2682
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetEmailAddressInsights AWS API Documentation
2683
+ #
2684
+ # @overload get_email_address_insights(params = {})
2685
+ # @param [Hash] params ({})
2686
+ def get_email_address_insights(params = {}, options = {})
2687
+ req = build_request(:get_email_address_insights, params)
2688
+ req.send_request(options)
2689
+ end
2690
+
2619
2691
  # Provides information about a specific identity, including the
2620
2692
  # identity's verification status, sending authorization policies, its
2621
2693
  # DKIM authentication status, and its custom Mail-From settings.
@@ -2741,6 +2813,7 @@ module Aws::SESV2
2741
2813
  #
2742
2814
  # * {Types::GetEmailTemplateResponse#template_name #template_name} => String
2743
2815
  # * {Types::GetEmailTemplateResponse#template_content #template_content} => Types::EmailTemplateContent
2816
+ # * {Types::GetEmailTemplateResponse#tags #tags} => Array&lt;Types::Tag&gt;
2744
2817
  #
2745
2818
  # @example Request syntax with placeholder values
2746
2819
  #
@@ -2754,6 +2827,9 @@ module Aws::SESV2
2754
2827
  # resp.template_content.subject #=> String
2755
2828
  # resp.template_content.text #=> String
2756
2829
  # resp.template_content.html #=> String
2830
+ # resp.tags #=> Array
2831
+ # resp.tags[0].key #=> String
2832
+ # resp.tags[0].value #=> String
2757
2833
  #
2758
2834
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetEmailTemplate AWS API Documentation
2759
2835
  #
@@ -4407,12 +4483,24 @@ module Aws::SESV2
4407
4483
  # for your account when a message sent to that address results in a
4408
4484
  # hard bounce.
4409
4485
  #
4486
+ # @option params [Types::SuppressionValidationAttributes] :validation_attributes
4487
+ # An object that contains additional suppression attributes for your
4488
+ # account.
4489
+ #
4410
4490
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4411
4491
  #
4412
4492
  # @example Request syntax with placeholder values
4413
4493
  #
4414
4494
  # resp = client.put_account_suppression_attributes({
4415
4495
  # suppressed_reasons: ["BOUNCE"], # accepts BOUNCE, COMPLAINT
4496
+ # validation_attributes: {
4497
+ # condition_threshold: { # required
4498
+ # condition_threshold_enabled: "ENABLED", # required, accepts ENABLED, DISABLED
4499
+ # overall_confidence_threshold: {
4500
+ # confidence_verdict_threshold: "MEDIUM", # required, accepts MEDIUM, HIGH, MANAGED
4501
+ # },
4502
+ # },
4503
+ # },
4416
4504
  # })
4417
4505
  #
4418
4506
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutAccountSuppressionAttributes AWS API Documentation
@@ -4625,6 +4713,11 @@ module Aws::SESV2
4625
4713
  # for your account when a message sent to that address results in a
4626
4714
  # hard bounce.
4627
4715
  #
4716
+ # @option params [Types::SuppressionValidationOptions] :validation_options
4717
+ # An object that contains information about the email address
4718
+ # suppression preferences for the configuration set in the current
4719
+ # Amazon Web Services Region.
4720
+ #
4628
4721
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4629
4722
  #
4630
4723
  # @example Request syntax with placeholder values
@@ -4632,6 +4725,14 @@ module Aws::SESV2
4632
4725
  # resp = client.put_configuration_set_suppression_options({
4633
4726
  # configuration_set_name: "ConfigurationSetName", # required
4634
4727
  # suppressed_reasons: ["BOUNCE"], # accepts BOUNCE, COMPLAINT
4728
+ # validation_options: {
4729
+ # condition_threshold: { # required
4730
+ # condition_threshold_enabled: "ENABLED", # required, accepts ENABLED, DISABLED
4731
+ # overall_confidence_threshold: {
4732
+ # confidence_verdict_threshold: "MEDIUM", # required, accepts MEDIUM, HIGH, MANAGED
4733
+ # },
4734
+ # },
4735
+ # },
4635
4736
  # })
4636
4737
  #
4637
4738
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutConfigurationSetSuppressionOptions AWS API Documentation
@@ -6118,7 +6219,7 @@ module Aws::SESV2
6118
6219
  tracer: tracer
6119
6220
  )
6120
6221
  context[:gem_name] = 'aws-sdk-sesv2'
6121
- context[:gem_version] = '1.91.0'
6222
+ context[:gem_version] = '1.92.0'
6122
6223
  Seahorse::Client::Request.new(handlers, context)
6123
6224
  end
6124
6225
 
@@ -176,6 +176,9 @@ module Aws::SESV2
176
176
  DomainIspPlacements = Shapes::ListShape.new(name: 'DomainIspPlacements')
177
177
  EmailAddress = Shapes::StringShape.new(name: 'EmailAddress')
178
178
  EmailAddressFilterList = Shapes::ListShape.new(name: 'EmailAddressFilterList')
179
+ EmailAddressInsightsConfidenceVerdict = Shapes::StringShape.new(name: 'EmailAddressInsightsConfidenceVerdict')
180
+ EmailAddressInsightsMailboxEvaluations = Shapes::StructureShape.new(name: 'EmailAddressInsightsMailboxEvaluations')
181
+ EmailAddressInsightsVerdict = Shapes::StructureShape.new(name: 'EmailAddressInsightsVerdict')
179
182
  EmailAddressList = Shapes::ListShape.new(name: 'EmailAddressList')
180
183
  EmailContent = Shapes::StructureShape.new(name: 'EmailContent')
181
184
  EmailInsights = Shapes::StructureShape.new(name: 'EmailInsights')
@@ -252,6 +255,8 @@ module Aws::SESV2
252
255
  GetDomainDeliverabilityCampaignResponse = Shapes::StructureShape.new(name: 'GetDomainDeliverabilityCampaignResponse')
253
256
  GetDomainStatisticsReportRequest = Shapes::StructureShape.new(name: 'GetDomainStatisticsReportRequest')
254
257
  GetDomainStatisticsReportResponse = Shapes::StructureShape.new(name: 'GetDomainStatisticsReportResponse')
258
+ GetEmailAddressInsightsRequest = Shapes::StructureShape.new(name: 'GetEmailAddressInsightsRequest')
259
+ GetEmailAddressInsightsResponse = Shapes::StructureShape.new(name: 'GetEmailAddressInsightsResponse')
255
260
  GetEmailIdentityPoliciesRequest = Shapes::StructureShape.new(name: 'GetEmailIdentityPoliciesRequest')
256
261
  GetEmailIdentityPoliciesResponse = Shapes::StructureShape.new(name: 'GetEmailIdentityPoliciesResponse')
257
262
  GetEmailIdentityRequest = Shapes::StructureShape.new(name: 'GetEmailIdentityRequest')
@@ -361,6 +366,7 @@ module Aws::SESV2
361
366
  MailFromDomainNotVerifiedException = Shapes::StructureShape.new(name: 'MailFromDomainNotVerifiedException')
362
367
  MailFromDomainStatus = Shapes::StringShape.new(name: 'MailFromDomainStatus')
363
368
  MailType = Shapes::StringShape.new(name: 'MailType')
369
+ MailboxValidation = Shapes::StructureShape.new(name: 'MailboxValidation')
364
370
  Max24HourSend = Shapes::FloatShape.new(name: 'Max24HourSend')
365
371
  MaxDeliverySeconds = Shapes::IntegerShape.new(name: 'MaxDeliverySeconds')
366
372
  MaxItems = Shapes::IntegerShape.new(name: 'MaxItems')
@@ -520,11 +526,16 @@ module Aws::SESV2
520
526
  SuppressedDestinationSummaries = Shapes::ListShape.new(name: 'SuppressedDestinationSummaries')
521
527
  SuppressedDestinationSummary = Shapes::StructureShape.new(name: 'SuppressedDestinationSummary')
522
528
  SuppressionAttributes = Shapes::StructureShape.new(name: 'SuppressionAttributes')
529
+ SuppressionConditionThreshold = Shapes::StructureShape.new(name: 'SuppressionConditionThreshold')
530
+ SuppressionConfidenceThreshold = Shapes::StructureShape.new(name: 'SuppressionConfidenceThreshold')
531
+ SuppressionConfidenceVerdictThreshold = Shapes::StringShape.new(name: 'SuppressionConfidenceVerdictThreshold')
523
532
  SuppressionListDestination = Shapes::StructureShape.new(name: 'SuppressionListDestination')
524
533
  SuppressionListImportAction = Shapes::StringShape.new(name: 'SuppressionListImportAction')
525
534
  SuppressionListReason = Shapes::StringShape.new(name: 'SuppressionListReason')
526
535
  SuppressionListReasons = Shapes::ListShape.new(name: 'SuppressionListReasons')
527
536
  SuppressionOptions = Shapes::StructureShape.new(name: 'SuppressionOptions')
537
+ SuppressionValidationAttributes = Shapes::StructureShape.new(name: 'SuppressionValidationAttributes')
538
+ SuppressionValidationOptions = Shapes::StructureShape.new(name: 'SuppressionValidationOptions')
528
539
  Tag = Shapes::StructureShape.new(name: 'Tag')
529
540
  TagKey = Shapes::StringShape.new(name: 'TagKey')
530
541
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
@@ -756,6 +767,7 @@ module Aws::SESV2
756
767
  CreateCustomVerificationEmailTemplateRequest.add_member(:from_email_address, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location_name: "FromEmailAddress"))
757
768
  CreateCustomVerificationEmailTemplateRequest.add_member(:template_subject, Shapes::ShapeRef.new(shape: EmailTemplateSubject, required: true, location_name: "TemplateSubject"))
758
769
  CreateCustomVerificationEmailTemplateRequest.add_member(:template_content, Shapes::ShapeRef.new(shape: TemplateContent, required: true, location_name: "TemplateContent"))
770
+ CreateCustomVerificationEmailTemplateRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
759
771
  CreateCustomVerificationEmailTemplateRequest.add_member(:success_redirection_url, Shapes::ShapeRef.new(shape: SuccessRedirectionURL, required: true, location_name: "SuccessRedirectionURL"))
760
772
  CreateCustomVerificationEmailTemplateRequest.add_member(:failure_redirection_url, Shapes::ShapeRef.new(shape: FailureRedirectionURL, required: true, location_name: "FailureRedirectionURL"))
761
773
  CreateCustomVerificationEmailTemplateRequest.struct_class = Types::CreateCustomVerificationEmailTemplateRequest
@@ -799,6 +811,7 @@ module Aws::SESV2
799
811
 
800
812
  CreateEmailTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: EmailTemplateName, required: true, location_name: "TemplateName"))
801
813
  CreateEmailTemplateRequest.add_member(:template_content, Shapes::ShapeRef.new(shape: EmailTemplateContent, required: true, location_name: "TemplateContent"))
814
+ CreateEmailTemplateRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
802
815
  CreateEmailTemplateRequest.struct_class = Types::CreateEmailTemplateRequest
803
816
 
804
817
  CreateEmailTemplateResponse.struct_class = Types::CreateEmailTemplateResponse
@@ -1028,6 +1041,17 @@ module Aws::SESV2
1028
1041
 
1029
1042
  EmailAddressFilterList.member = Shapes::ShapeRef.new(shape: InsightsEmailAddress)
1030
1043
 
1044
+ EmailAddressInsightsMailboxEvaluations.add_member(:has_valid_syntax, Shapes::ShapeRef.new(shape: EmailAddressInsightsVerdict, location_name: "HasValidSyntax"))
1045
+ EmailAddressInsightsMailboxEvaluations.add_member(:has_valid_dns_records, Shapes::ShapeRef.new(shape: EmailAddressInsightsVerdict, location_name: "HasValidDnsRecords"))
1046
+ EmailAddressInsightsMailboxEvaluations.add_member(:mailbox_exists, Shapes::ShapeRef.new(shape: EmailAddressInsightsVerdict, location_name: "MailboxExists"))
1047
+ EmailAddressInsightsMailboxEvaluations.add_member(:is_role_address, Shapes::ShapeRef.new(shape: EmailAddressInsightsVerdict, location_name: "IsRoleAddress"))
1048
+ EmailAddressInsightsMailboxEvaluations.add_member(:is_disposable, Shapes::ShapeRef.new(shape: EmailAddressInsightsVerdict, location_name: "IsDisposable"))
1049
+ EmailAddressInsightsMailboxEvaluations.add_member(:is_random_input, Shapes::ShapeRef.new(shape: EmailAddressInsightsVerdict, location_name: "IsRandomInput"))
1050
+ EmailAddressInsightsMailboxEvaluations.struct_class = Types::EmailAddressInsightsMailboxEvaluations
1051
+
1052
+ EmailAddressInsightsVerdict.add_member(:confidence_verdict, Shapes::ShapeRef.new(shape: EmailAddressInsightsConfidenceVerdict, location_name: "ConfidenceVerdict"))
1053
+ EmailAddressInsightsVerdict.struct_class = Types::EmailAddressInsightsVerdict
1054
+
1031
1055
  EmailAddressList.member = Shapes::ShapeRef.new(shape: EmailAddress)
1032
1056
 
1033
1057
  EmailContent.add_member(:simple, Shapes::ShapeRef.new(shape: Message, location_name: "Simple"))
@@ -1193,6 +1217,7 @@ module Aws::SESV2
1193
1217
  GetCustomVerificationEmailTemplateResponse.add_member(:from_email_address, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "FromEmailAddress"))
1194
1218
  GetCustomVerificationEmailTemplateResponse.add_member(:template_subject, Shapes::ShapeRef.new(shape: EmailTemplateSubject, location_name: "TemplateSubject"))
1195
1219
  GetCustomVerificationEmailTemplateResponse.add_member(:template_content, Shapes::ShapeRef.new(shape: TemplateContent, location_name: "TemplateContent"))
1220
+ GetCustomVerificationEmailTemplateResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
1196
1221
  GetCustomVerificationEmailTemplateResponse.add_member(:success_redirection_url, Shapes::ShapeRef.new(shape: SuccessRedirectionURL, location_name: "SuccessRedirectionURL"))
1197
1222
  GetCustomVerificationEmailTemplateResponse.add_member(:failure_redirection_url, Shapes::ShapeRef.new(shape: FailureRedirectionURL, location_name: "FailureRedirectionURL"))
1198
1223
  GetCustomVerificationEmailTemplateResponse.struct_class = Types::GetCustomVerificationEmailTemplateResponse
@@ -1252,6 +1277,12 @@ module Aws::SESV2
1252
1277
  GetDomainStatisticsReportResponse.add_member(:daily_volumes, Shapes::ShapeRef.new(shape: DailyVolumes, required: true, location_name: "DailyVolumes"))
1253
1278
  GetDomainStatisticsReportResponse.struct_class = Types::GetDomainStatisticsReportResponse
1254
1279
 
1280
+ GetEmailAddressInsightsRequest.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location_name: "EmailAddress"))
1281
+ GetEmailAddressInsightsRequest.struct_class = Types::GetEmailAddressInsightsRequest
1282
+
1283
+ GetEmailAddressInsightsResponse.add_member(:mailbox_validation, Shapes::ShapeRef.new(shape: MailboxValidation, location_name: "MailboxValidation"))
1284
+ GetEmailAddressInsightsResponse.struct_class = Types::GetEmailAddressInsightsResponse
1285
+
1255
1286
  GetEmailIdentityPoliciesRequest.add_member(:email_identity, Shapes::ShapeRef.new(shape: Identity, required: true, location: "uri", location_name: "EmailIdentity"))
1256
1287
  GetEmailIdentityPoliciesRequest.struct_class = Types::GetEmailIdentityPoliciesRequest
1257
1288
 
@@ -1278,6 +1309,7 @@ module Aws::SESV2
1278
1309
 
1279
1310
  GetEmailTemplateResponse.add_member(:template_name, Shapes::ShapeRef.new(shape: EmailTemplateName, required: true, location_name: "TemplateName"))
1280
1311
  GetEmailTemplateResponse.add_member(:template_content, Shapes::ShapeRef.new(shape: EmailTemplateContent, required: true, location_name: "TemplateContent"))
1312
+ GetEmailTemplateResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
1281
1313
  GetEmailTemplateResponse.struct_class = Types::GetEmailTemplateResponse
1282
1314
 
1283
1315
  GetExportJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "JobId"))
@@ -1610,6 +1642,10 @@ module Aws::SESV2
1610
1642
 
1611
1643
  MailFromDomainNotVerifiedException.struct_class = Types::MailFromDomainNotVerifiedException
1612
1644
 
1645
+ MailboxValidation.add_member(:is_valid, Shapes::ShapeRef.new(shape: EmailAddressInsightsVerdict, location_name: "IsValid"))
1646
+ MailboxValidation.add_member(:evaluations, Shapes::ShapeRef.new(shape: EmailAddressInsightsMailboxEvaluations, location_name: "Evaluations"))
1647
+ MailboxValidation.struct_class = Types::MailboxValidation
1648
+
1613
1649
  Message.add_member(:subject, Shapes::ShapeRef.new(shape: Content, required: true, location_name: "Subject"))
1614
1650
  Message.add_member(:body, Shapes::ShapeRef.new(shape: Body, required: true, location_name: "Body"))
1615
1651
  Message.add_member(:headers, Shapes::ShapeRef.new(shape: MessageHeaderList, location_name: "Headers"))
@@ -1719,6 +1755,7 @@ module Aws::SESV2
1719
1755
  PutAccountSendingAttributesResponse.struct_class = Types::PutAccountSendingAttributesResponse
1720
1756
 
1721
1757
  PutAccountSuppressionAttributesRequest.add_member(:suppressed_reasons, Shapes::ShapeRef.new(shape: SuppressionListReasons, location_name: "SuppressedReasons"))
1758
+ PutAccountSuppressionAttributesRequest.add_member(:validation_attributes, Shapes::ShapeRef.new(shape: SuppressionValidationAttributes, location_name: "ValidationAttributes"))
1722
1759
  PutAccountSuppressionAttributesRequest.struct_class = Types::PutAccountSuppressionAttributesRequest
1723
1760
 
1724
1761
  PutAccountSuppressionAttributesResponse.struct_class = Types::PutAccountSuppressionAttributesResponse
@@ -1756,6 +1793,7 @@ module Aws::SESV2
1756
1793
 
1757
1794
  PutConfigurationSetSuppressionOptionsRequest.add_member(:configuration_set_name, Shapes::ShapeRef.new(shape: ConfigurationSetName, required: true, location: "uri", location_name: "ConfigurationSetName"))
1758
1795
  PutConfigurationSetSuppressionOptionsRequest.add_member(:suppressed_reasons, Shapes::ShapeRef.new(shape: SuppressionListReasons, location_name: "SuppressedReasons"))
1796
+ PutConfigurationSetSuppressionOptionsRequest.add_member(:validation_options, Shapes::ShapeRef.new(shape: SuppressionValidationOptions, location_name: "ValidationOptions"))
1759
1797
  PutConfigurationSetSuppressionOptionsRequest.struct_class = Types::PutConfigurationSetSuppressionOptionsRequest
1760
1798
 
1761
1799
  PutConfigurationSetSuppressionOptionsResponse.struct_class = Types::PutConfigurationSetSuppressionOptionsResponse
@@ -1982,16 +2020,31 @@ module Aws::SESV2
1982
2020
  SuppressedDestinationSummary.struct_class = Types::SuppressedDestinationSummary
1983
2021
 
1984
2022
  SuppressionAttributes.add_member(:suppressed_reasons, Shapes::ShapeRef.new(shape: SuppressionListReasons, location_name: "SuppressedReasons"))
2023
+ SuppressionAttributes.add_member(:validation_attributes, Shapes::ShapeRef.new(shape: SuppressionValidationAttributes, location_name: "ValidationAttributes"))
1985
2024
  SuppressionAttributes.struct_class = Types::SuppressionAttributes
1986
2025
 
2026
+ SuppressionConditionThreshold.add_member(:condition_threshold_enabled, Shapes::ShapeRef.new(shape: FeatureStatus, required: true, location_name: "ConditionThresholdEnabled"))
2027
+ SuppressionConditionThreshold.add_member(:overall_confidence_threshold, Shapes::ShapeRef.new(shape: SuppressionConfidenceThreshold, location_name: "OverallConfidenceThreshold"))
2028
+ SuppressionConditionThreshold.struct_class = Types::SuppressionConditionThreshold
2029
+
2030
+ SuppressionConfidenceThreshold.add_member(:confidence_verdict_threshold, Shapes::ShapeRef.new(shape: SuppressionConfidenceVerdictThreshold, required: true, location_name: "ConfidenceVerdictThreshold"))
2031
+ SuppressionConfidenceThreshold.struct_class = Types::SuppressionConfidenceThreshold
2032
+
1987
2033
  SuppressionListDestination.add_member(:suppression_list_import_action, Shapes::ShapeRef.new(shape: SuppressionListImportAction, required: true, location_name: "SuppressionListImportAction"))
1988
2034
  SuppressionListDestination.struct_class = Types::SuppressionListDestination
1989
2035
 
1990
2036
  SuppressionListReasons.member = Shapes::ShapeRef.new(shape: SuppressionListReason)
1991
2037
 
1992
2038
  SuppressionOptions.add_member(:suppressed_reasons, Shapes::ShapeRef.new(shape: SuppressionListReasons, location_name: "SuppressedReasons"))
2039
+ SuppressionOptions.add_member(:validation_options, Shapes::ShapeRef.new(shape: SuppressionValidationOptions, location_name: "ValidationOptions"))
1993
2040
  SuppressionOptions.struct_class = Types::SuppressionOptions
1994
2041
 
2042
+ SuppressionValidationAttributes.add_member(:condition_threshold, Shapes::ShapeRef.new(shape: SuppressionConditionThreshold, required: true, location_name: "ConditionThreshold"))
2043
+ SuppressionValidationAttributes.struct_class = Types::SuppressionValidationAttributes
2044
+
2045
+ SuppressionValidationOptions.add_member(:condition_threshold, Shapes::ShapeRef.new(shape: SuppressionConditionThreshold, required: true, location_name: "ConditionThreshold"))
2046
+ SuppressionValidationOptions.struct_class = Types::SuppressionValidationOptions
2047
+
1995
2048
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
1996
2049
  Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
1997
2050
  Tag.struct_class = Types::Tag
@@ -2699,6 +2752,16 @@ module Aws::SESV2
2699
2752
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2700
2753
  end)
2701
2754
 
2755
+ api.add_operation(:get_email_address_insights, Seahorse::Model::Operation.new.tap do |o|
2756
+ o.name = "GetEmailAddressInsights"
2757
+ o.http_method = "POST"
2758
+ o.http_request_uri = "/v2/email/email-address-insights/"
2759
+ o.input = Shapes::ShapeRef.new(shape: GetEmailAddressInsightsRequest)
2760
+ o.output = Shapes::ShapeRef.new(shape: GetEmailAddressInsightsResponse)
2761
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2762
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2763
+ end)
2764
+
2702
2765
  api.add_operation(:get_email_identity, Seahorse::Model::Operation.new.tap do |o|
2703
2766
  o.name = "GetEmailIdentity"
2704
2767
  o.http_method = "GET"
@@ -934,6 +934,11 @@ module Aws::SESV2
934
934
  # [1]: https://docs.aws.amazon.com/ses/latest/dg/creating-identities.html#send-email-verify-address-custom-faq
935
935
  # @return [String]
936
936
  #
937
+ # @!attribute [rw] tags
938
+ # An array of objects that define the tags (keys and values) to
939
+ # associate with the custom verification email template.
940
+ # @return [Array<Types::Tag>]
941
+ #
937
942
  # @!attribute [rw] success_redirection_url
938
943
  # The URL that the recipient of the verification email is sent to if
939
944
  # his or her address is successfully verified.
@@ -951,6 +956,7 @@ module Aws::SESV2
951
956
  :from_email_address,
952
957
  :template_subject,
953
958
  :template_content,
959
+ :tags,
954
960
  :success_redirection_url,
955
961
  :failure_redirection_url)
956
962
  SENSITIVE = []
@@ -1206,11 +1212,17 @@ module Aws::SESV2
1206
1212
  # HTML part, and a text-only part.
1207
1213
  # @return [Types::EmailTemplateContent]
1208
1214
  #
1215
+ # @!attribute [rw] tags
1216
+ # An array of objects that define the tags (keys and values) to
1217
+ # associate with the email template.
1218
+ # @return [Array<Types::Tag>]
1219
+ #
1209
1220
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateEmailTemplateRequest AWS API Documentation
1210
1221
  #
1211
1222
  class CreateEmailTemplateRequest < Struct.new(
1212
1223
  :template_name,
1213
- :template_content)
1224
+ :template_content,
1225
+ :tags)
1214
1226
  SENSITIVE = []
1215
1227
  include Aws::Structure
1216
1228
  end
@@ -2705,6 +2717,64 @@ module Aws::SESV2
2705
2717
  include Aws::Structure
2706
2718
  end
2707
2719
 
2720
+ # Contains individual validation checks performed on an email address.
2721
+ #
2722
+ # @!attribute [rw] has_valid_syntax
2723
+ # Checks that the email address follows proper RFC standards and
2724
+ # contains valid characters in the correct format.
2725
+ # @return [Types::EmailAddressInsightsVerdict]
2726
+ #
2727
+ # @!attribute [rw] has_valid_dns_records
2728
+ # Checks that the domain exists, has valid DNS records, and is
2729
+ # configured to receive email.
2730
+ # @return [Types::EmailAddressInsightsVerdict]
2731
+ #
2732
+ # @!attribute [rw] mailbox_exists
2733
+ # Checks that the mailbox exists and can receive messages without
2734
+ # actually sending an email.
2735
+ # @return [Types::EmailAddressInsightsVerdict]
2736
+ #
2737
+ # @!attribute [rw] is_role_address
2738
+ # Identifies role-based addresses (such as admin@, support@, or info@)
2739
+ # that may have lower engagement rates.
2740
+ # @return [Types::EmailAddressInsightsVerdict]
2741
+ #
2742
+ # @!attribute [rw] is_disposable
2743
+ # Checks disposable or temporary email addresses that could negatively
2744
+ # impact your sender reputation.
2745
+ # @return [Types::EmailAddressInsightsVerdict]
2746
+ #
2747
+ # @!attribute [rw] is_random_input
2748
+ # Checks if the input appears to be random text.
2749
+ # @return [Types::EmailAddressInsightsVerdict]
2750
+ #
2751
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/EmailAddressInsightsMailboxEvaluations AWS API Documentation
2752
+ #
2753
+ class EmailAddressInsightsMailboxEvaluations < Struct.new(
2754
+ :has_valid_syntax,
2755
+ :has_valid_dns_records,
2756
+ :mailbox_exists,
2757
+ :is_role_address,
2758
+ :is_disposable,
2759
+ :is_random_input)
2760
+ SENSITIVE = []
2761
+ include Aws::Structure
2762
+ end
2763
+
2764
+ # Contains the overall validation verdict for an email address.
2765
+ #
2766
+ # @!attribute [rw] confidence_verdict
2767
+ # The confidence level of the validation verdict.
2768
+ # @return [String]
2769
+ #
2770
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/EmailAddressInsightsVerdict AWS API Documentation
2771
+ #
2772
+ class EmailAddressInsightsVerdict < Struct.new(
2773
+ :confidence_verdict)
2774
+ SENSITIVE = []
2775
+ include Aws::Structure
2776
+ end
2777
+
2708
2778
  # An object that defines the entire content of the email, including the
2709
2779
  # message headers, body content, and attachments. For a simple email
2710
2780
  # message, you specify the subject and provide both text and HTML
@@ -3642,6 +3712,11 @@ module Aws::SESV2
3642
3712
  # The content of the custom verification email.
3643
3713
  # @return [String]
3644
3714
  #
3715
+ # @!attribute [rw] tags
3716
+ # An array of objects that define the tags (keys and values) that are
3717
+ # associated with the custom verification email template.
3718
+ # @return [Array<Types::Tag>]
3719
+ #
3645
3720
  # @!attribute [rw] success_redirection_url
3646
3721
  # The URL that the recipient of the verification email is sent to if
3647
3722
  # his or her address is successfully verified.
@@ -3659,6 +3734,7 @@ module Aws::SESV2
3659
3734
  :from_email_address,
3660
3735
  :template_subject,
3661
3736
  :template_content,
3737
+ :tags,
3662
3738
  :success_redirection_url,
3663
3739
  :failure_redirection_url)
3664
3740
  SENSITIVE = []
@@ -3989,6 +4065,34 @@ module Aws::SESV2
3989
4065
  include Aws::Structure
3990
4066
  end
3991
4067
 
4068
+ # A request to return validation insights about an email address.
4069
+ #
4070
+ # @!attribute [rw] email_address
4071
+ # The email address to analyze for validation insights.
4072
+ # @return [String]
4073
+ #
4074
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetEmailAddressInsightsRequest AWS API Documentation
4075
+ #
4076
+ class GetEmailAddressInsightsRequest < Struct.new(
4077
+ :email_address)
4078
+ SENSITIVE = []
4079
+ include Aws::Structure
4080
+ end
4081
+
4082
+ # Validation insights about an email address.
4083
+ #
4084
+ # @!attribute [rw] mailbox_validation
4085
+ # Detailed validation results for the email address.
4086
+ # @return [Types::MailboxValidation]
4087
+ #
4088
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetEmailAddressInsightsResponse AWS API Documentation
4089
+ #
4090
+ class GetEmailAddressInsightsResponse < Struct.new(
4091
+ :mailbox_validation)
4092
+ SENSITIVE = []
4093
+ include Aws::Structure
4094
+ end
4095
+
3992
4096
  # A request to return the policies of an email identity.
3993
4097
  #
3994
4098
  # @!attribute [rw] email_identity
@@ -4154,11 +4258,17 @@ module Aws::SESV2
4154
4258
  # HTML part, and a text-only part.
4155
4259
  # @return [Types::EmailTemplateContent]
4156
4260
  #
4261
+ # @!attribute [rw] tags
4262
+ # An array of objects that define the tags (keys and values) that are
4263
+ # associated with the email template.
4264
+ # @return [Array<Types::Tag>]
4265
+ #
4157
4266
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetEmailTemplateResponse AWS API Documentation
4158
4267
  #
4159
4268
  class GetEmailTemplateResponse < Struct.new(
4160
4269
  :template_name,
4161
- :template_content)
4270
+ :template_content,
4271
+ :tags)
4162
4272
  SENSITIVE = []
4163
4273
  include Aws::Structure
4164
4274
  end
@@ -5943,6 +6053,25 @@ module Aws::SESV2
5943
6053
  #
5944
6054
  class MailFromDomainNotVerifiedException < Aws::EmptyStructure; end
5945
6055
 
6056
+ # Contains detailed validation information about an email address.
6057
+ #
6058
+ # @!attribute [rw] is_valid
6059
+ # Overall validity assessment with a confidence verdict.
6060
+ # @return [Types::EmailAddressInsightsVerdict]
6061
+ #
6062
+ # @!attribute [rw] evaluations
6063
+ # Specific validation checks performed on the email address.
6064
+ # @return [Types::EmailAddressInsightsMailboxEvaluations]
6065
+ #
6066
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/MailboxValidation AWS API Documentation
6067
+ #
6068
+ class MailboxValidation < Struct.new(
6069
+ :is_valid,
6070
+ :evaluations)
6071
+ SENSITIVE = []
6072
+ include Aws::Structure
6073
+ end
6074
+
5946
6075
  # Represents the email message that you're sending. The `Message`
5947
6076
  # object consists of a subject line and a message body.
5948
6077
  #
@@ -6517,10 +6646,16 @@ module Aws::SESV2
6517
6646
  # in a hard bounce.
6518
6647
  # @return [Array<String>]
6519
6648
  #
6649
+ # @!attribute [rw] validation_attributes
6650
+ # An object that contains additional suppression attributes for your
6651
+ # account.
6652
+ # @return [Types::SuppressionValidationAttributes]
6653
+ #
6520
6654
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutAccountSuppressionAttributesRequest AWS API Documentation
6521
6655
  #
6522
6656
  class PutAccountSuppressionAttributesRequest < Struct.new(
6523
- :suppressed_reasons)
6657
+ :suppressed_reasons,
6658
+ :validation_attributes)
6524
6659
  SENSITIVE = []
6525
6660
  include Aws::Structure
6526
6661
  end
@@ -6704,11 +6839,18 @@ module Aws::SESV2
6704
6839
  # in a hard bounce.
6705
6840
  # @return [Array<String>]
6706
6841
  #
6842
+ # @!attribute [rw] validation_options
6843
+ # An object that contains information about the email address
6844
+ # suppression preferences for the configuration set in the current
6845
+ # Amazon Web Services Region.
6846
+ # @return [Types::SuppressionValidationOptions]
6847
+ #
6707
6848
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutConfigurationSetSuppressionOptionsRequest AWS API Documentation
6708
6849
  #
6709
6850
  class PutConfigurationSetSuppressionOptionsRequest < Struct.new(
6710
6851
  :configuration_set_name,
6711
- :suppressed_reasons)
6852
+ :suppressed_reasons,
6853
+ :validation_options)
6712
6854
  SENSITIVE = []
6713
6855
  include Aws::Structure
6714
6856
  end
@@ -8088,10 +8230,58 @@ module Aws::SESV2
8088
8230
  # in a hard bounce.
8089
8231
  # @return [Array<String>]
8090
8232
  #
8233
+ # @!attribute [rw] validation_attributes
8234
+ # Structure containing validation attributes used for suppressing
8235
+ # sending to specific destination on account level.
8236
+ # @return [Types::SuppressionValidationAttributes]
8237
+ #
8091
8238
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SuppressionAttributes AWS API Documentation
8092
8239
  #
8093
8240
  class SuppressionAttributes < Struct.new(
8094
- :suppressed_reasons)
8241
+ :suppressed_reasons,
8242
+ :validation_attributes)
8243
+ SENSITIVE = []
8244
+ include Aws::Structure
8245
+ end
8246
+
8247
+ # Contains Auto Validation settings, allowing you to suppress sending to
8248
+ # specific destination(s) if they do not meet required threshold. For
8249
+ # details on Auto Validation, see [Auto Validation][1].
8250
+ #
8251
+ #
8252
+ #
8253
+ # [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/email-validation.html
8254
+ #
8255
+ # @!attribute [rw] condition_threshold_enabled
8256
+ # Indicates whether Auto Validation is enabled for suppression. Set to
8257
+ # `ENABLED` to enable the Auto Validation feature, or set to
8258
+ # `DISABLED` to disable it.
8259
+ # @return [String]
8260
+ #
8261
+ # @!attribute [rw] overall_confidence_threshold
8262
+ # The overall confidence threshold used to determine suppression
8263
+ # decisions.
8264
+ # @return [Types::SuppressionConfidenceThreshold]
8265
+ #
8266
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SuppressionConditionThreshold AWS API Documentation
8267
+ #
8268
+ class SuppressionConditionThreshold < Struct.new(
8269
+ :condition_threshold_enabled,
8270
+ :overall_confidence_threshold)
8271
+ SENSITIVE = []
8272
+ include Aws::Structure
8273
+ end
8274
+
8275
+ # Contains the confidence threshold settings for Auto Validation.
8276
+ #
8277
+ # @!attribute [rw] confidence_verdict_threshold
8278
+ # The confidence level threshold for suppression decisions.
8279
+ # @return [String]
8280
+ #
8281
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SuppressionConfidenceThreshold AWS API Documentation
8282
+ #
8283
+ class SuppressionConfidenceThreshold < Struct.new(
8284
+ :confidence_verdict_threshold)
8095
8285
  SENSITIVE = []
8096
8286
  include Aws::Structure
8097
8287
  end
@@ -8133,10 +8323,46 @@ module Aws::SESV2
8133
8323
  # in a hard bounce.
8134
8324
  # @return [Array<String>]
8135
8325
  #
8326
+ # @!attribute [rw] validation_options
8327
+ # Contains validation options for email address suppression.
8328
+ # @return [Types::SuppressionValidationOptions]
8329
+ #
8136
8330
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SuppressionOptions AWS API Documentation
8137
8331
  #
8138
8332
  class SuppressionOptions < Struct.new(
8139
- :suppressed_reasons)
8333
+ :suppressed_reasons,
8334
+ :validation_options)
8335
+ SENSITIVE = []
8336
+ include Aws::Structure
8337
+ end
8338
+
8339
+ # Structure containing validation attributes used for suppressing
8340
+ # sending to specific destination on account level.
8341
+ #
8342
+ # @!attribute [rw] condition_threshold
8343
+ # Specifies the condition threshold settings for account-level
8344
+ # suppression.
8345
+ # @return [Types::SuppressionConditionThreshold]
8346
+ #
8347
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SuppressionValidationAttributes AWS API Documentation
8348
+ #
8349
+ class SuppressionValidationAttributes < Struct.new(
8350
+ :condition_threshold)
8351
+ SENSITIVE = []
8352
+ include Aws::Structure
8353
+ end
8354
+
8355
+ # Contains validation options for email address suppression.
8356
+ #
8357
+ # @!attribute [rw] condition_threshold
8358
+ # Specifies the condition threshold settings for suppression
8359
+ # validation.
8360
+ # @return [Types::SuppressionConditionThreshold]
8361
+ #
8362
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SuppressionValidationOptions AWS API Documentation
8363
+ #
8364
+ class SuppressionValidationOptions < Struct.new(
8365
+ :condition_threshold)
8140
8366
  SENSITIVE = []
8141
8367
  include Aws::Structure
8142
8368
  end
data/lib/aws-sdk-sesv2.rb CHANGED
@@ -54,7 +54,7 @@ module Aws::SESV2
54
54
  autoload :EndpointProvider, 'aws-sdk-sesv2/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-sesv2/endpoints'
56
56
 
57
- GEM_VERSION = '1.91.0'
57
+ GEM_VERSION = '1.92.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -136,7 +136,15 @@ module Aws
136
136
  },
137
137
  ],
138
138
  ?suppression_options: {
139
- suppressed_reasons: Array[("BOUNCE" | "COMPLAINT")]?
139
+ suppressed_reasons: Array[("BOUNCE" | "COMPLAINT")]?,
140
+ validation_options: {
141
+ condition_threshold: {
142
+ condition_threshold_enabled: ("ENABLED" | "DISABLED"),
143
+ overall_confidence_threshold: {
144
+ confidence_verdict_threshold: ("MEDIUM" | "HIGH" | "MANAGED")
145
+ }?
146
+ }
147
+ }?
140
148
  },
141
149
  ?vdm_options: {
142
150
  dashboard_options: {
@@ -239,6 +247,12 @@ module Aws
239
247
  from_email_address: ::String,
240
248
  template_subject: ::String,
241
249
  template_content: ::String,
250
+ ?tags: Array[
251
+ {
252
+ key: ::String,
253
+ value: ::String
254
+ },
255
+ ],
242
256
  success_redirection_url: ::String,
243
257
  failure_redirection_url: ::String
244
258
  ) -> _CreateCustomVerificationEmailTemplateResponseSuccess
@@ -389,7 +403,13 @@ module Aws
389
403
  subject: ::String?,
390
404
  text: ::String?,
391
405
  html: ::String?
392
- }
406
+ },
407
+ ?tags: Array[
408
+ {
409
+ key: ::String,
410
+ value: ::String
411
+ },
412
+ ]
393
413
  ) -> _CreateEmailTemplateResponseSuccess
394
414
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEmailTemplateResponseSuccess
395
415
 
@@ -733,6 +753,7 @@ module Aws
733
753
  def from_email_address: () -> ::String
734
754
  def template_subject: () -> ::String
735
755
  def template_content: () -> ::String
756
+ def tags: () -> ::Array[Types::Tag]
736
757
  def success_redirection_url: () -> ::String
737
758
  def failure_redirection_url: () -> ::String
738
759
  end
@@ -825,6 +846,16 @@ module Aws
825
846
  ) -> _GetDomainStatisticsReportResponseSuccess
826
847
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDomainStatisticsReportResponseSuccess
827
848
 
849
+ interface _GetEmailAddressInsightsResponseSuccess
850
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEmailAddressInsightsResponse]
851
+ def mailbox_validation: () -> Types::MailboxValidation
852
+ end
853
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SESV2/Client.html#get_email_address_insights-instance_method
854
+ def get_email_address_insights: (
855
+ email_address: ::String
856
+ ) -> _GetEmailAddressInsightsResponseSuccess
857
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEmailAddressInsightsResponseSuccess
858
+
828
859
  interface _GetEmailIdentityResponseSuccess
829
860
  include ::Seahorse::Client::_ResponseSuccess[Types::GetEmailIdentityResponse]
830
861
  def identity_type: () -> ("EMAIL_ADDRESS" | "DOMAIN" | "MANAGED_DOMAIN")
@@ -858,6 +889,7 @@ module Aws
858
889
  include ::Seahorse::Client::_ResponseSuccess[Types::GetEmailTemplateResponse]
859
890
  def template_name: () -> ::String
860
891
  def template_content: () -> Types::EmailTemplateContent
892
+ def tags: () -> ::Array[Types::Tag]
861
893
  end
862
894
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SESV2/Client.html#get_email_template-instance_method
863
895
  def get_email_template: (
@@ -1246,7 +1278,15 @@ module Aws
1246
1278
  end
1247
1279
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SESV2/Client.html#put_account_suppression_attributes-instance_method
1248
1280
  def put_account_suppression_attributes: (
1249
- ?suppressed_reasons: Array[("BOUNCE" | "COMPLAINT")]
1281
+ ?suppressed_reasons: Array[("BOUNCE" | "COMPLAINT")],
1282
+ ?validation_attributes: {
1283
+ condition_threshold: {
1284
+ condition_threshold_enabled: ("ENABLED" | "DISABLED"),
1285
+ overall_confidence_threshold: {
1286
+ confidence_verdict_threshold: ("MEDIUM" | "HIGH" | "MANAGED")
1287
+ }?
1288
+ }
1289
+ }
1250
1290
  ) -> _PutAccountSuppressionAttributesResponseSuccess
1251
1291
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAccountSuppressionAttributesResponseSuccess
1252
1292
 
@@ -1315,7 +1355,15 @@ module Aws
1315
1355
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SESV2/Client.html#put_configuration_set_suppression_options-instance_method
1316
1356
  def put_configuration_set_suppression_options: (
1317
1357
  configuration_set_name: ::String,
1318
- ?suppressed_reasons: Array[("BOUNCE" | "COMPLAINT")]
1358
+ ?suppressed_reasons: Array[("BOUNCE" | "COMPLAINT")],
1359
+ ?validation_options: {
1360
+ condition_threshold: {
1361
+ condition_threshold_enabled: ("ENABLED" | "DISABLED"),
1362
+ overall_confidence_threshold: {
1363
+ confidence_verdict_threshold: ("MEDIUM" | "HIGH" | "MANAGED")
1364
+ }?
1365
+ }
1366
+ }
1319
1367
  ) -> _PutConfigurationSetSuppressionOptionsResponseSuccess
1320
1368
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutConfigurationSetSuppressionOptionsResponseSuccess
1321
1369
 
data/sig/types.rbs CHANGED
@@ -217,6 +217,7 @@ module Aws::SESV2
217
217
  attr_accessor from_email_address: ::String
218
218
  attr_accessor template_subject: ::String
219
219
  attr_accessor template_content: ::String
220
+ attr_accessor tags: ::Array[Types::Tag]
220
221
  attr_accessor success_redirection_url: ::String
221
222
  attr_accessor failure_redirection_url: ::String
222
223
  SENSITIVE: []
@@ -277,6 +278,7 @@ module Aws::SESV2
277
278
  class CreateEmailTemplateRequest
278
279
  attr_accessor template_name: ::String
279
280
  attr_accessor template_content: Types::EmailTemplateContent
281
+ attr_accessor tags: ::Array[Types::Tag]
280
282
  SENSITIVE: []
281
283
  end
282
284
 
@@ -576,6 +578,21 @@ module Aws::SESV2
576
578
  SENSITIVE: []
577
579
  end
578
580
 
581
+ class EmailAddressInsightsMailboxEvaluations
582
+ attr_accessor has_valid_syntax: Types::EmailAddressInsightsVerdict
583
+ attr_accessor has_valid_dns_records: Types::EmailAddressInsightsVerdict
584
+ attr_accessor mailbox_exists: Types::EmailAddressInsightsVerdict
585
+ attr_accessor is_role_address: Types::EmailAddressInsightsVerdict
586
+ attr_accessor is_disposable: Types::EmailAddressInsightsVerdict
587
+ attr_accessor is_random_input: Types::EmailAddressInsightsVerdict
588
+ SENSITIVE: []
589
+ end
590
+
591
+ class EmailAddressInsightsVerdict
592
+ attr_accessor confidence_verdict: ("LOW" | "MEDIUM" | "HIGH")
593
+ SENSITIVE: []
594
+ end
595
+
579
596
  class EmailContent
580
597
  attr_accessor simple: Types::Message
581
598
  attr_accessor raw: Types::RawMessage
@@ -772,6 +789,7 @@ module Aws::SESV2
772
789
  attr_accessor from_email_address: ::String
773
790
  attr_accessor template_subject: ::String
774
791
  attr_accessor template_content: ::String
792
+ attr_accessor tags: ::Array[Types::Tag]
775
793
  attr_accessor success_redirection_url: ::String
776
794
  attr_accessor failure_redirection_url: ::String
777
795
  SENSITIVE: []
@@ -859,6 +877,16 @@ module Aws::SESV2
859
877
  SENSITIVE: []
860
878
  end
861
879
 
880
+ class GetEmailAddressInsightsRequest
881
+ attr_accessor email_address: ::String
882
+ SENSITIVE: []
883
+ end
884
+
885
+ class GetEmailAddressInsightsResponse
886
+ attr_accessor mailbox_validation: Types::MailboxValidation
887
+ SENSITIVE: []
888
+ end
889
+
862
890
  class GetEmailIdentityPoliciesRequest
863
891
  attr_accessor email_identity: ::String
864
892
  SENSITIVE: []
@@ -896,6 +924,7 @@ module Aws::SESV2
896
924
  class GetEmailTemplateResponse
897
925
  attr_accessor template_name: ::String
898
926
  attr_accessor template_content: Types::EmailTemplateContent
927
+ attr_accessor tags: ::Array[Types::Tag]
899
928
  SENSITIVE: []
900
929
  end
901
930
 
@@ -1333,6 +1362,12 @@ module Aws::SESV2
1333
1362
  class MailFromDomainNotVerifiedException < Aws::EmptyStructure
1334
1363
  end
1335
1364
 
1365
+ class MailboxValidation
1366
+ attr_accessor is_valid: Types::EmailAddressInsightsVerdict
1367
+ attr_accessor evaluations: Types::EmailAddressInsightsMailboxEvaluations
1368
+ SENSITIVE: []
1369
+ end
1370
+
1336
1371
  class Message
1337
1372
  attr_accessor subject: Types::Content
1338
1373
  attr_accessor body: Types::Body
@@ -1463,6 +1498,7 @@ module Aws::SESV2
1463
1498
 
1464
1499
  class PutAccountSuppressionAttributesRequest
1465
1500
  attr_accessor suppressed_reasons: ::Array[("BOUNCE" | "COMPLAINT")]
1501
+ attr_accessor validation_attributes: Types::SuppressionValidationAttributes
1466
1502
  SENSITIVE: []
1467
1503
  end
1468
1504
 
@@ -1518,6 +1554,7 @@ module Aws::SESV2
1518
1554
  class PutConfigurationSetSuppressionOptionsRequest
1519
1555
  attr_accessor configuration_set_name: ::String
1520
1556
  attr_accessor suppressed_reasons: ::Array[("BOUNCE" | "COMPLAINT")]
1557
+ attr_accessor validation_options: Types::SuppressionValidationOptions
1521
1558
  SENSITIVE: []
1522
1559
  end
1523
1560
 
@@ -1816,6 +1853,18 @@ module Aws::SESV2
1816
1853
 
1817
1854
  class SuppressionAttributes
1818
1855
  attr_accessor suppressed_reasons: ::Array[("BOUNCE" | "COMPLAINT")]
1856
+ attr_accessor validation_attributes: Types::SuppressionValidationAttributes
1857
+ SENSITIVE: []
1858
+ end
1859
+
1860
+ class SuppressionConditionThreshold
1861
+ attr_accessor condition_threshold_enabled: ("ENABLED" | "DISABLED")
1862
+ attr_accessor overall_confidence_threshold: Types::SuppressionConfidenceThreshold
1863
+ SENSITIVE: []
1864
+ end
1865
+
1866
+ class SuppressionConfidenceThreshold
1867
+ attr_accessor confidence_verdict_threshold: ("MEDIUM" | "HIGH" | "MANAGED")
1819
1868
  SENSITIVE: []
1820
1869
  end
1821
1870
 
@@ -1826,6 +1875,17 @@ module Aws::SESV2
1826
1875
 
1827
1876
  class SuppressionOptions
1828
1877
  attr_accessor suppressed_reasons: ::Array[("BOUNCE" | "COMPLAINT")]
1878
+ attr_accessor validation_options: Types::SuppressionValidationOptions
1879
+ SENSITIVE: []
1880
+ end
1881
+
1882
+ class SuppressionValidationAttributes
1883
+ attr_accessor condition_threshold: Types::SuppressionConditionThreshold
1884
+ SENSITIVE: []
1885
+ end
1886
+
1887
+ class SuppressionValidationOptions
1888
+ attr_accessor condition_threshold: Types::SuppressionConditionThreshold
1829
1889
  SENSITIVE: []
1830
1890
  end
1831
1891
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-sesv2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.91.0
4
+ version: 1.92.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services