aws-sdk-sesv2 1.27.0 → 1.29.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.
@@ -0,0 +1,232 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::SESV2
12
+ module Plugins
13
+ class Endpoints < Seahorse::Client::Plugin
14
+ option(
15
+ :endpoint_provider,
16
+ doc_type: 'Aws::SESV2::EndpointProvider',
17
+ docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
+ 'object that responds to `#resolve_endpoint(parameters)` '\
19
+ 'where `parameters` is a Struct similar to '\
20
+ '`Aws::SESV2::EndpointParameters`'
21
+ ) do |cfg|
22
+ Aws::SESV2::EndpointProvider.new
23
+ end
24
+
25
+ # @api private
26
+ class Handler < Seahorse::Client::Handler
27
+ def call(context)
28
+ # If endpoint was discovered, do not resolve or apply the endpoint.
29
+ unless context[:discovered_endpoint]
30
+ params = parameters_for_operation(context)
31
+ endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
+
33
+ context.http_request.endpoint = endpoint.url
34
+ apply_endpoint_headers(context, endpoint.headers)
35
+ end
36
+
37
+ context[:endpoint_params] = params
38
+ context[:auth_scheme] =
39
+ Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
+
41
+ @handler.call(context)
42
+ end
43
+
44
+ private
45
+
46
+ def apply_endpoint_headers(context, headers)
47
+ headers.each do |key, values|
48
+ value = values
49
+ .compact
50
+ .map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
51
+ .join(',')
52
+
53
+ context.http_request.headers[key] = value
54
+ end
55
+ end
56
+
57
+ def parameters_for_operation(context)
58
+ case context.operation_name
59
+ when :create_configuration_set
60
+ Aws::SESV2::Endpoints::CreateConfigurationSet.build(context)
61
+ when :create_configuration_set_event_destination
62
+ Aws::SESV2::Endpoints::CreateConfigurationSetEventDestination.build(context)
63
+ when :create_contact
64
+ Aws::SESV2::Endpoints::CreateContact.build(context)
65
+ when :create_contact_list
66
+ Aws::SESV2::Endpoints::CreateContactList.build(context)
67
+ when :create_custom_verification_email_template
68
+ Aws::SESV2::Endpoints::CreateCustomVerificationEmailTemplate.build(context)
69
+ when :create_dedicated_ip_pool
70
+ Aws::SESV2::Endpoints::CreateDedicatedIpPool.build(context)
71
+ when :create_deliverability_test_report
72
+ Aws::SESV2::Endpoints::CreateDeliverabilityTestReport.build(context)
73
+ when :create_email_identity
74
+ Aws::SESV2::Endpoints::CreateEmailIdentity.build(context)
75
+ when :create_email_identity_policy
76
+ Aws::SESV2::Endpoints::CreateEmailIdentityPolicy.build(context)
77
+ when :create_email_template
78
+ Aws::SESV2::Endpoints::CreateEmailTemplate.build(context)
79
+ when :create_import_job
80
+ Aws::SESV2::Endpoints::CreateImportJob.build(context)
81
+ when :delete_configuration_set
82
+ Aws::SESV2::Endpoints::DeleteConfigurationSet.build(context)
83
+ when :delete_configuration_set_event_destination
84
+ Aws::SESV2::Endpoints::DeleteConfigurationSetEventDestination.build(context)
85
+ when :delete_contact
86
+ Aws::SESV2::Endpoints::DeleteContact.build(context)
87
+ when :delete_contact_list
88
+ Aws::SESV2::Endpoints::DeleteContactList.build(context)
89
+ when :delete_custom_verification_email_template
90
+ Aws::SESV2::Endpoints::DeleteCustomVerificationEmailTemplate.build(context)
91
+ when :delete_dedicated_ip_pool
92
+ Aws::SESV2::Endpoints::DeleteDedicatedIpPool.build(context)
93
+ when :delete_email_identity
94
+ Aws::SESV2::Endpoints::DeleteEmailIdentity.build(context)
95
+ when :delete_email_identity_policy
96
+ Aws::SESV2::Endpoints::DeleteEmailIdentityPolicy.build(context)
97
+ when :delete_email_template
98
+ Aws::SESV2::Endpoints::DeleteEmailTemplate.build(context)
99
+ when :delete_suppressed_destination
100
+ Aws::SESV2::Endpoints::DeleteSuppressedDestination.build(context)
101
+ when :get_account
102
+ Aws::SESV2::Endpoints::GetAccount.build(context)
103
+ when :get_blacklist_reports
104
+ Aws::SESV2::Endpoints::GetBlacklistReports.build(context)
105
+ when :get_configuration_set
106
+ Aws::SESV2::Endpoints::GetConfigurationSet.build(context)
107
+ when :get_configuration_set_event_destinations
108
+ Aws::SESV2::Endpoints::GetConfigurationSetEventDestinations.build(context)
109
+ when :get_contact
110
+ Aws::SESV2::Endpoints::GetContact.build(context)
111
+ when :get_contact_list
112
+ Aws::SESV2::Endpoints::GetContactList.build(context)
113
+ when :get_custom_verification_email_template
114
+ Aws::SESV2::Endpoints::GetCustomVerificationEmailTemplate.build(context)
115
+ when :get_dedicated_ip
116
+ Aws::SESV2::Endpoints::GetDedicatedIp.build(context)
117
+ when :get_dedicated_ip_pool
118
+ Aws::SESV2::Endpoints::GetDedicatedIpPool.build(context)
119
+ when :get_dedicated_ips
120
+ Aws::SESV2::Endpoints::GetDedicatedIps.build(context)
121
+ when :get_deliverability_dashboard_options
122
+ Aws::SESV2::Endpoints::GetDeliverabilityDashboardOptions.build(context)
123
+ when :get_deliverability_test_report
124
+ Aws::SESV2::Endpoints::GetDeliverabilityTestReport.build(context)
125
+ when :get_domain_deliverability_campaign
126
+ Aws::SESV2::Endpoints::GetDomainDeliverabilityCampaign.build(context)
127
+ when :get_domain_statistics_report
128
+ Aws::SESV2::Endpoints::GetDomainStatisticsReport.build(context)
129
+ when :get_email_identity
130
+ Aws::SESV2::Endpoints::GetEmailIdentity.build(context)
131
+ when :get_email_identity_policies
132
+ Aws::SESV2::Endpoints::GetEmailIdentityPolicies.build(context)
133
+ when :get_email_template
134
+ Aws::SESV2::Endpoints::GetEmailTemplate.build(context)
135
+ when :get_import_job
136
+ Aws::SESV2::Endpoints::GetImportJob.build(context)
137
+ when :get_suppressed_destination
138
+ Aws::SESV2::Endpoints::GetSuppressedDestination.build(context)
139
+ when :list_configuration_sets
140
+ Aws::SESV2::Endpoints::ListConfigurationSets.build(context)
141
+ when :list_contact_lists
142
+ Aws::SESV2::Endpoints::ListContactLists.build(context)
143
+ when :list_contacts
144
+ Aws::SESV2::Endpoints::ListContacts.build(context)
145
+ when :list_custom_verification_email_templates
146
+ Aws::SESV2::Endpoints::ListCustomVerificationEmailTemplates.build(context)
147
+ when :list_dedicated_ip_pools
148
+ Aws::SESV2::Endpoints::ListDedicatedIpPools.build(context)
149
+ when :list_deliverability_test_reports
150
+ Aws::SESV2::Endpoints::ListDeliverabilityTestReports.build(context)
151
+ when :list_domain_deliverability_campaigns
152
+ Aws::SESV2::Endpoints::ListDomainDeliverabilityCampaigns.build(context)
153
+ when :list_email_identities
154
+ Aws::SESV2::Endpoints::ListEmailIdentities.build(context)
155
+ when :list_email_templates
156
+ Aws::SESV2::Endpoints::ListEmailTemplates.build(context)
157
+ when :list_import_jobs
158
+ Aws::SESV2::Endpoints::ListImportJobs.build(context)
159
+ when :list_suppressed_destinations
160
+ Aws::SESV2::Endpoints::ListSuppressedDestinations.build(context)
161
+ when :list_tags_for_resource
162
+ Aws::SESV2::Endpoints::ListTagsForResource.build(context)
163
+ when :put_account_dedicated_ip_warmup_attributes
164
+ Aws::SESV2::Endpoints::PutAccountDedicatedIpWarmupAttributes.build(context)
165
+ when :put_account_details
166
+ Aws::SESV2::Endpoints::PutAccountDetails.build(context)
167
+ when :put_account_sending_attributes
168
+ Aws::SESV2::Endpoints::PutAccountSendingAttributes.build(context)
169
+ when :put_account_suppression_attributes
170
+ Aws::SESV2::Endpoints::PutAccountSuppressionAttributes.build(context)
171
+ when :put_configuration_set_delivery_options
172
+ Aws::SESV2::Endpoints::PutConfigurationSetDeliveryOptions.build(context)
173
+ when :put_configuration_set_reputation_options
174
+ Aws::SESV2::Endpoints::PutConfigurationSetReputationOptions.build(context)
175
+ when :put_configuration_set_sending_options
176
+ Aws::SESV2::Endpoints::PutConfigurationSetSendingOptions.build(context)
177
+ when :put_configuration_set_suppression_options
178
+ Aws::SESV2::Endpoints::PutConfigurationSetSuppressionOptions.build(context)
179
+ when :put_configuration_set_tracking_options
180
+ Aws::SESV2::Endpoints::PutConfigurationSetTrackingOptions.build(context)
181
+ when :put_dedicated_ip_in_pool
182
+ Aws::SESV2::Endpoints::PutDedicatedIpInPool.build(context)
183
+ when :put_dedicated_ip_warmup_attributes
184
+ Aws::SESV2::Endpoints::PutDedicatedIpWarmupAttributes.build(context)
185
+ when :put_deliverability_dashboard_option
186
+ Aws::SESV2::Endpoints::PutDeliverabilityDashboardOption.build(context)
187
+ when :put_email_identity_configuration_set_attributes
188
+ Aws::SESV2::Endpoints::PutEmailIdentityConfigurationSetAttributes.build(context)
189
+ when :put_email_identity_dkim_attributes
190
+ Aws::SESV2::Endpoints::PutEmailIdentityDkimAttributes.build(context)
191
+ when :put_email_identity_dkim_signing_attributes
192
+ Aws::SESV2::Endpoints::PutEmailIdentityDkimSigningAttributes.build(context)
193
+ when :put_email_identity_feedback_attributes
194
+ Aws::SESV2::Endpoints::PutEmailIdentityFeedbackAttributes.build(context)
195
+ when :put_email_identity_mail_from_attributes
196
+ Aws::SESV2::Endpoints::PutEmailIdentityMailFromAttributes.build(context)
197
+ when :put_suppressed_destination
198
+ Aws::SESV2::Endpoints::PutSuppressedDestination.build(context)
199
+ when :send_bulk_email
200
+ Aws::SESV2::Endpoints::SendBulkEmail.build(context)
201
+ when :send_custom_verification_email
202
+ Aws::SESV2::Endpoints::SendCustomVerificationEmail.build(context)
203
+ when :send_email
204
+ Aws::SESV2::Endpoints::SendEmail.build(context)
205
+ when :tag_resource
206
+ Aws::SESV2::Endpoints::TagResource.build(context)
207
+ when :test_render_email_template
208
+ Aws::SESV2::Endpoints::TestRenderEmailTemplate.build(context)
209
+ when :untag_resource
210
+ Aws::SESV2::Endpoints::UntagResource.build(context)
211
+ when :update_configuration_set_event_destination
212
+ Aws::SESV2::Endpoints::UpdateConfigurationSetEventDestination.build(context)
213
+ when :update_contact
214
+ Aws::SESV2::Endpoints::UpdateContact.build(context)
215
+ when :update_contact_list
216
+ Aws::SESV2::Endpoints::UpdateContactList.build(context)
217
+ when :update_custom_verification_email_template
218
+ Aws::SESV2::Endpoints::UpdateCustomVerificationEmailTemplate.build(context)
219
+ when :update_email_identity_policy
220
+ Aws::SESV2::Endpoints::UpdateEmailIdentityPolicy.build(context)
221
+ when :update_email_template
222
+ Aws::SESV2::Endpoints::UpdateEmailTemplate.build(context)
223
+ end
224
+ end
225
+ end
226
+
227
+ def add_handlers(handlers, _config)
228
+ handlers.add(Handler, step: :build, priority: 75)
229
+ end
230
+ end
231
+ end
232
+ end
@@ -87,8 +87,7 @@ module Aws::SESV2
87
87
  # @return [String]
88
88
  #
89
89
  # @!attribute [rw] listing_time
90
- # The time when the blacklisting event occurred, shown in Unix time
91
- # format.
90
+ # The time when the blacklisting event occurred.
92
91
  # @return [Time]
93
92
  #
94
93
  # @!attribute [rw] description
@@ -379,8 +378,8 @@ module Aws::SESV2
379
378
  # CloudWatch if you don't provide the value of the dimension when you
380
379
  # send an email. This value has to meet the following criteria:
381
380
  #
382
- # * It can only contain ASCII letters (a–z, A–Z), numbers (0–9),
383
- # underscores (\_), or dashes (-).
381
+ # * Can only contain ASCII letters (a–z, A–Z), numbers (0–9),
382
+ # underscores (\_), or dashes (-), at signs (@), and periods (.).
384
383
  #
385
384
  # * It can contain no more than 256 characters.
386
385
  # @return [String]
@@ -819,12 +818,12 @@ module Aws::SESV2
819
818
  # The content of the custom verification email. The total size of the
820
819
  # email must be less than 10 MB. The message body may contain HTML,
821
820
  # with some limitations. For more information, see [Custom
822
- # Verification Email Frequently Asked Questions][1] in the *Amazon SES
821
+ # verification email frequently asked questions][1] in the *Amazon SES
823
822
  # Developer Guide*.
824
823
  #
825
824
  #
826
825
  #
827
- # [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-verify-address-custom.html#custom-verification-emails-faq
826
+ # [1]: https://docs.aws.amazon.com/ses/latest/dg/creating-identities.html#send-email-verify-address-custom-faq
828
827
  # @return [String]
829
828
  #
830
829
  # @!attribute [rw] success_redirection_url
@@ -870,6 +869,7 @@ module Aws::SESV2
870
869
  # value: "TagValue", # required
871
870
  # },
872
871
  # ],
872
+ # scaling_mode: "STANDARD", # accepts STANDARD, MANAGED
873
873
  # }
874
874
  #
875
875
  # @!attribute [rw] pool_name
@@ -881,11 +881,16 @@ module Aws::SESV2
881
881
  # associate with the pool.
882
882
  # @return [Array<Types::Tag>]
883
883
  #
884
+ # @!attribute [rw] scaling_mode
885
+ # The type of scaling mode.
886
+ # @return [String]
887
+ #
884
888
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateDedicatedIpPoolRequest AWS API Documentation
885
889
  #
886
890
  class CreateDedicatedIpPoolRequest < Struct.new(
887
891
  :pool_name,
888
- :tags)
892
+ :tags,
893
+ :scaling_mode)
889
894
  SENSITIVE = []
890
895
  include Aws::Structure
891
896
  end
@@ -1369,6 +1374,31 @@ module Aws::SESV2
1369
1374
  include Aws::Structure
1370
1375
  end
1371
1376
 
1377
+ # Contains information about a dedicated IP pool.
1378
+ #
1379
+ # @!attribute [rw] pool_name
1380
+ # The name of the dedicated IP pool.
1381
+ # @return [String]
1382
+ #
1383
+ # @!attribute [rw] scaling_mode
1384
+ # The type of the dedicated IP pool.
1385
+ #
1386
+ # * `STANDARD` – A dedicated IP pool where the customer can control
1387
+ # which IPs are part of the pool.
1388
+ #
1389
+ # * `MANAGED` – A dedicated IP pool where the reputation and number of
1390
+ # IPs is automatically managed by Amazon SES.
1391
+ # @return [String]
1392
+ #
1393
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DedicatedIpPool AWS API Documentation
1394
+ #
1395
+ class DedicatedIpPool < Struct.new(
1396
+ :pool_name,
1397
+ :scaling_mode)
1398
+ SENSITIVE = []
1399
+ include Aws::Structure
1400
+ end
1401
+
1372
1402
  # A request to delete an event destination from a configuration set.
1373
1403
  #
1374
1404
  # @note When making an API call, you may pass DeleteConfigurationSetEventDestinationRequest
@@ -1705,7 +1735,7 @@ module Aws::SESV2
1705
1735
  #
1706
1736
  # @!attribute [rw] create_date
1707
1737
  # The date and time when the predictive inbox placement test was
1708
- # created, in Unix time format.
1738
+ # created.
1709
1739
  # @return [Time]
1710
1740
  #
1711
1741
  # @!attribute [rw] deliverability_test_status
@@ -1990,17 +2020,15 @@ module Aws::SESV2
1990
2020
  # @return [Array<String>]
1991
2021
  #
1992
2022
  # @!attribute [rw] first_seen_date_time
1993
- # The first time, in Unix time format, when the email message was
1994
- # delivered to any recipient's inbox. This value can help you
1995
- # determine how long it took for a campaign to deliver an email
1996
- # message.
2023
+ # The first time when the email message was delivered to any
2024
+ # recipient's inbox. This value can help you determine how long it
2025
+ # took for a campaign to deliver an email message.
1997
2026
  # @return [Time]
1998
2027
  #
1999
2028
  # @!attribute [rw] last_seen_date_time
2000
- # The last time, in Unix time format, when the email message was
2001
- # delivered to any recipient's inbox. This value can help you
2002
- # determine how long it took for a campaign to deliver an email
2003
- # message.
2029
+ # The last time when the email message was delivered to any
2030
+ # recipient's inbox. This value can help you determine how long it
2031
+ # took for a campaign to deliver an email message.
2004
2032
  # @return [Time]
2005
2033
  #
2006
2034
  # @!attribute [rw] inbox_count
@@ -2089,8 +2117,8 @@ module Aws::SESV2
2089
2117
  # @return [String]
2090
2118
  #
2091
2119
  # @!attribute [rw] subscription_start_date
2092
- # The date, in Unix time format, when you enabled the Deliverability
2093
- # dashboard for the domain.
2120
+ # The date when you enabled the Deliverability dashboard for the
2121
+ # domain.
2094
2122
  # @return [Time]
2095
2123
  #
2096
2124
  # @!attribute [rw] inbox_placement_tracking_option
@@ -2904,6 +2932,41 @@ module Aws::SESV2
2904
2932
  include Aws::Structure
2905
2933
  end
2906
2934
 
2935
+ # A request to obtain more information about a dedicated IP pool.
2936
+ #
2937
+ # @note When making an API call, you may pass GetDedicatedIpPoolRequest
2938
+ # data as a hash:
2939
+ #
2940
+ # {
2941
+ # pool_name: "PoolName", # required
2942
+ # }
2943
+ #
2944
+ # @!attribute [rw] pool_name
2945
+ # The name of the dedicated IP pool to retrieve.
2946
+ # @return [String]
2947
+ #
2948
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetDedicatedIpPoolRequest AWS API Documentation
2949
+ #
2950
+ class GetDedicatedIpPoolRequest < Struct.new(
2951
+ :pool_name)
2952
+ SENSITIVE = []
2953
+ include Aws::Structure
2954
+ end
2955
+
2956
+ # The following element is returned by the service.
2957
+ #
2958
+ # @!attribute [rw] dedicated_ip_pool
2959
+ # An object that contains information about a dedicated IP pool.
2960
+ # @return [Types::DedicatedIpPool]
2961
+ #
2962
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetDedicatedIpPoolResponse AWS API Documentation
2963
+ #
2964
+ class GetDedicatedIpPoolResponse < Struct.new(
2965
+ :dedicated_ip_pool)
2966
+ SENSITIVE = []
2967
+ include Aws::Structure
2968
+ end
2969
+
2907
2970
  # A request to obtain more information about a dedicated IP address.
2908
2971
  #
2909
2972
  # @note When making an API call, you may pass GetDedicatedIpRequest
@@ -3035,11 +3098,11 @@ module Aws::SESV2
3035
3098
  # @return [Boolean]
3036
3099
  #
3037
3100
  # @!attribute [rw] subscription_expiry_date
3038
- # The date, in Unix time format, when your current subscription to the
3039
- # Deliverability dashboard is scheduled to expire, if your
3040
- # subscription is scheduled to expire at the end of the current
3041
- # calendar month. This value is null if you have an active
3042
- # subscription that isn’t due to expire at the end of the month.
3101
+ # The date when your current subscription to the Deliverability
3102
+ # dashboard is scheduled to expire, if your subscription is scheduled
3103
+ # to expire at the end of the current calendar month. This value is
3104
+ # null if you have an active subscription that isn’t due to expire at
3105
+ # the end of the month.
3043
3106
  # @return [Time]
3044
3107
  #
3045
3108
  # @!attribute [rw] account_status
@@ -3351,6 +3414,24 @@ module Aws::SESV2
3351
3414
  # identity.
3352
3415
  # @return [String]
3353
3416
  #
3417
+ # @!attribute [rw] verification_status
3418
+ # The verification status of the identity. The status can be one of
3419
+ # the following:
3420
+ #
3421
+ # * `PENDING` – The verification process was initiated, but Amazon SES
3422
+ # hasn't yet been able to verify the identity.
3423
+ #
3424
+ # * `SUCCESS` – The verification process completed successfully.
3425
+ #
3426
+ # * `FAILED` – The verification process failed.
3427
+ #
3428
+ # * `TEMPORARY_FAILURE` – A temporary issue is preventing Amazon SES
3429
+ # from determining the verification status of the identity.
3430
+ #
3431
+ # * `NOT_STARTED` – The verification process hasn't been initiated
3432
+ # for the identity.
3433
+ # @return [String]
3434
+ #
3354
3435
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetEmailIdentityResponse AWS API Documentation
3355
3436
  #
3356
3437
  class GetEmailIdentityResponse < Struct.new(
@@ -3361,7 +3442,8 @@ module Aws::SESV2
3361
3442
  :mail_from_attributes,
3362
3443
  :policies,
3363
3444
  :tags,
3364
- :configuration_set_name)
3445
+ :configuration_set_name,
3446
+ :verification_status)
3365
3447
  SENSITIVE = []
3366
3448
  include Aws::Structure
3367
3449
  end
@@ -3543,12 +3625,31 @@ module Aws::SESV2
3543
3625
  # SES to send email from that identity.
3544
3626
  # @return [Boolean]
3545
3627
  #
3628
+ # @!attribute [rw] verification_status
3629
+ # The verification status of the identity. The status can be one of
3630
+ # the following:
3631
+ #
3632
+ # * `PENDING` – The verification process was initiated, but Amazon SES
3633
+ # hasn't yet been able to verify the identity.
3634
+ #
3635
+ # * `SUCCESS` – The verification process completed successfully.
3636
+ #
3637
+ # * `FAILED` – The verification process failed.
3638
+ #
3639
+ # * `TEMPORARY_FAILURE` – A temporary issue is preventing Amazon SES
3640
+ # from determining the verification status of the identity.
3641
+ #
3642
+ # * `NOT_STARTED` – The verification process hasn't been initiated
3643
+ # for the identity.
3644
+ # @return [String]
3645
+ #
3546
3646
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/IdentityInfo AWS API Documentation
3547
3647
  #
3548
3648
  class IdentityInfo < Struct.new(
3549
3649
  :identity_type,
3550
3650
  :identity_name,
3551
- :sending_enabled)
3651
+ :sending_enabled,
3652
+ :verification_status)
3552
3653
  SENSITIVE = []
3553
3654
  include Aws::Structure
3554
3655
  end
@@ -3636,13 +3737,24 @@ module Aws::SESV2
3636
3737
  # The date and time when the import job was created.
3637
3738
  # @return [Time]
3638
3739
  #
3740
+ # @!attribute [rw] processed_records_count
3741
+ # The current number of records processed.
3742
+ # @return [Integer]
3743
+ #
3744
+ # @!attribute [rw] failed_records_count
3745
+ # The number of records that failed processing because of invalid
3746
+ # input or other reasons.
3747
+ # @return [Integer]
3748
+ #
3639
3749
  # @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ImportJobSummary AWS API Documentation
3640
3750
  #
3641
3751
  class ImportJobSummary < Struct.new(
3642
3752
  :job_id,
3643
3753
  :import_destination,
3644
3754
  :job_status,
3645
- :created_timestamp)
3755
+ :created_timestamp,
3756
+ :processed_records_count,
3757
+ :failed_records_count)
3646
3758
  SENSITIVE = []
3647
3759
  include Aws::Structure
3648
3760
  end
@@ -4148,14 +4260,13 @@ module Aws::SESV2
4148
4260
  # }
4149
4261
  #
4150
4262
  # @!attribute [rw] start_date
4151
- # The first day, in Unix time format, that you want to obtain
4152
- # deliverability data for.
4263
+ # The first day that you want to obtain deliverability data for.
4153
4264
  # @return [Time]
4154
4265
  #
4155
4266
  # @!attribute [rw] end_date
4156
- # The last day, in Unix time format, that you want to obtain
4157
- # deliverability data for. This value has to be less than or equal to
4158
- # 30 days after the value of the `StartDate` parameter.
4267
+ # The last day that you want to obtain deliverability data for. This
4268
+ # value has to be less than or equal to 30 days after the value of the
4269
+ # `StartDate` parameter.
4159
4270
  # @return [Time]
4160
4271
  #
4161
4272
  # @!attribute [rw] subscribed_domain
@@ -4451,14 +4562,13 @@ module Aws::SESV2
4451
4562
  # @!attribute [rw] start_date
4452
4563
  # Used to filter the list of suppressed email destinations so that it
4453
4564
  # only includes addresses that were added to the list after a specific
4454
- # date. The date that you specify should be in Unix time format.
4565
+ # date.
4455
4566
  # @return [Time]
4456
4567
  #
4457
4568
  # @!attribute [rw] end_date
4458
4569
  # Used to filter the list of suppressed email destinations so that it
4459
4570
  # only includes addresses that were added to the list before a
4460
- # specific date. The date that you specify should be in Unix time
4461
- # format.
4571
+ # specific date.
4462
4572
  # @return [Time]
4463
4573
  #
4464
4574
  # @!attribute [rw] next_token
@@ -4570,11 +4680,11 @@ module Aws::SESV2
4570
4680
  #
4571
4681
  # @!attribute [rw] behavior_on_mx_failure
4572
4682
  # The action to take if the required MX record can't be found when
4573
- # you send an email. When you set this value to `UseDefaultValue`, the
4574
- # mail is sent using *amazonses.com* as the MAIL FROM domain. When you
4575
- # set this value to `RejectMessage`, the Amazon SES API v2 returns a
4576
- # `MailFromDomainNotVerified` error, and doesn't attempt to deliver
4577
- # the email.
4683
+ # you send an email. When you set this value to `USE_DEFAULT_VALUE`,
4684
+ # the mail is sent using *amazonses.com* as the MAIL FROM domain. When
4685
+ # you set this value to `REJECT_MESSAGE`, the Amazon SES API v2
4686
+ # returns a `MailFromDomainNotVerified` error, and doesn't attempt to
4687
+ # deliver the email.
4578
4688
  #
4579
4689
  # These behaviors are taken when the custom MAIL FROM domain
4580
4690
  # configuration is in the `Pending`, `Failed`, and `TemporaryFailure`
@@ -6214,8 +6324,9 @@ module Aws::SESV2
6214
6324
  #
6215
6325
  # @!attribute [rw] max_24_hour_send
6216
6326
  # The maximum number of emails that you can send in the current Amazon
6217
- # Web Services Region over a 24-hour period. This value is also called
6218
- # your *sending quota*.
6327
+ # Web Services Region over a 24-hour period. A value of -1 signifies
6328
+ # an unlimited quota. (This value is also referred to as your *sending
6329
+ # quota*.)
6219
6330
  # @return [Float]
6220
6331
  #
6221
6332
  # @!attribute [rw] max_send_rate
@@ -7020,12 +7131,12 @@ module Aws::SESV2
7020
7131
  # The content of the custom verification email. The total size of the
7021
7132
  # email must be less than 10 MB. The message body may contain HTML,
7022
7133
  # with some limitations. For more information, see [Custom
7023
- # Verification Email Frequently Asked Questions][1] in the *Amazon SES
7134
+ # verification email frequently asked questions][1] in the *Amazon SES
7024
7135
  # Developer Guide*.
7025
7136
  #
7026
7137
  #
7027
7138
  #
7028
- # [1]: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-verify-address-custom.html#custom-verification-emails-faq
7139
+ # [1]: https://docs.aws.amazon.com/ses/latest/dg/creating-identities.html#send-email-verify-address-custom-faq
7029
7140
  # @return [String]
7030
7141
  #
7031
7142
  # @!attribute [rw] success_redirection_url
data/lib/aws-sdk-sesv2.rb CHANGED
@@ -13,9 +13,13 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-sesv2/types'
15
15
  require_relative 'aws-sdk-sesv2/client_api'
16
+ require_relative 'aws-sdk-sesv2/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-sesv2/client'
17
18
  require_relative 'aws-sdk-sesv2/errors'
18
19
  require_relative 'aws-sdk-sesv2/resource'
20
+ require_relative 'aws-sdk-sesv2/endpoint_parameters'
21
+ require_relative 'aws-sdk-sesv2/endpoint_provider'
22
+ require_relative 'aws-sdk-sesv2/endpoints'
19
23
  require_relative 'aws-sdk-sesv2/customizations'
20
24
 
21
25
  # This module provides support for Amazon Simple Email Service. This module is available in the
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-sesv2/customizations'
48
52
  # @!group service
49
53
  module Aws::SESV2
50
54
 
51
- GEM_VERSION = '1.27.0'
55
+ GEM_VERSION = '1.29.0'
52
56
 
53
57
  end
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.27.0
4
+ version: 1.29.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: 2022-02-24 00:00:00.000000000 Z
11
+ date: 2022-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.127.0
22
+ version: 3.165.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.127.0
32
+ version: 3.165.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,11 @@ files:
59
59
  - lib/aws-sdk-sesv2/client.rb
60
60
  - lib/aws-sdk-sesv2/client_api.rb
61
61
  - lib/aws-sdk-sesv2/customizations.rb
62
+ - lib/aws-sdk-sesv2/endpoint_parameters.rb
63
+ - lib/aws-sdk-sesv2/endpoint_provider.rb
64
+ - lib/aws-sdk-sesv2/endpoints.rb
62
65
  - lib/aws-sdk-sesv2/errors.rb
66
+ - lib/aws-sdk-sesv2/plugins/endpoints.rb
63
67
  - lib/aws-sdk-sesv2/resource.rb
64
68
  - lib/aws-sdk-sesv2/types.rb
65
69
  homepage: https://github.com/aws/aws-sdk-ruby