aws-sdk-sesv2 1.63.0 → 1.65.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sesv2/client.rb +10 -1
- data/lib/aws-sdk-sesv2/client_api.rb +3 -0
- data/lib/aws-sdk-sesv2/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-sesv2/endpoints.rb +2 -1010
- data/lib/aws-sdk-sesv2/plugins/endpoints.rb +1 -190
- data/lib/aws-sdk-sesv2/types.rb +18 -2
- data/lib/aws-sdk-sesv2.rb +1 -1
- data/sig/client.rbs +4 -2
- data/sig/types.rbs +2 -0
- metadata +4 -4
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
27
27
|
class Handler < Seahorse::Client::Handler
|
28
28
|
def call(context)
|
29
29
|
unless context[:discovered_endpoint]
|
30
|
-
params = parameters_for_operation(context)
|
30
|
+
params = Aws::SESV2::Endpoints.parameters_for_operation(context)
|
31
31
|
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
32
|
|
33
33
|
context.http_request.endpoint = endpoint.url
|
@@ -67,195 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
67
67
|
context.http_request.headers[key] = value
|
68
68
|
end
|
69
69
|
end
|
70
|
-
|
71
|
-
def parameters_for_operation(context)
|
72
|
-
case context.operation_name
|
73
|
-
when :batch_get_metric_data
|
74
|
-
Aws::SESV2::Endpoints::BatchGetMetricData.build(context)
|
75
|
-
when :cancel_export_job
|
76
|
-
Aws::SESV2::Endpoints::CancelExportJob.build(context)
|
77
|
-
when :create_configuration_set
|
78
|
-
Aws::SESV2::Endpoints::CreateConfigurationSet.build(context)
|
79
|
-
when :create_configuration_set_event_destination
|
80
|
-
Aws::SESV2::Endpoints::CreateConfigurationSetEventDestination.build(context)
|
81
|
-
when :create_contact
|
82
|
-
Aws::SESV2::Endpoints::CreateContact.build(context)
|
83
|
-
when :create_contact_list
|
84
|
-
Aws::SESV2::Endpoints::CreateContactList.build(context)
|
85
|
-
when :create_custom_verification_email_template
|
86
|
-
Aws::SESV2::Endpoints::CreateCustomVerificationEmailTemplate.build(context)
|
87
|
-
when :create_dedicated_ip_pool
|
88
|
-
Aws::SESV2::Endpoints::CreateDedicatedIpPool.build(context)
|
89
|
-
when :create_deliverability_test_report
|
90
|
-
Aws::SESV2::Endpoints::CreateDeliverabilityTestReport.build(context)
|
91
|
-
when :create_email_identity
|
92
|
-
Aws::SESV2::Endpoints::CreateEmailIdentity.build(context)
|
93
|
-
when :create_email_identity_policy
|
94
|
-
Aws::SESV2::Endpoints::CreateEmailIdentityPolicy.build(context)
|
95
|
-
when :create_email_template
|
96
|
-
Aws::SESV2::Endpoints::CreateEmailTemplate.build(context)
|
97
|
-
when :create_export_job
|
98
|
-
Aws::SESV2::Endpoints::CreateExportJob.build(context)
|
99
|
-
when :create_import_job
|
100
|
-
Aws::SESV2::Endpoints::CreateImportJob.build(context)
|
101
|
-
when :delete_configuration_set
|
102
|
-
Aws::SESV2::Endpoints::DeleteConfigurationSet.build(context)
|
103
|
-
when :delete_configuration_set_event_destination
|
104
|
-
Aws::SESV2::Endpoints::DeleteConfigurationSetEventDestination.build(context)
|
105
|
-
when :delete_contact
|
106
|
-
Aws::SESV2::Endpoints::DeleteContact.build(context)
|
107
|
-
when :delete_contact_list
|
108
|
-
Aws::SESV2::Endpoints::DeleteContactList.build(context)
|
109
|
-
when :delete_custom_verification_email_template
|
110
|
-
Aws::SESV2::Endpoints::DeleteCustomVerificationEmailTemplate.build(context)
|
111
|
-
when :delete_dedicated_ip_pool
|
112
|
-
Aws::SESV2::Endpoints::DeleteDedicatedIpPool.build(context)
|
113
|
-
when :delete_email_identity
|
114
|
-
Aws::SESV2::Endpoints::DeleteEmailIdentity.build(context)
|
115
|
-
when :delete_email_identity_policy
|
116
|
-
Aws::SESV2::Endpoints::DeleteEmailIdentityPolicy.build(context)
|
117
|
-
when :delete_email_template
|
118
|
-
Aws::SESV2::Endpoints::DeleteEmailTemplate.build(context)
|
119
|
-
when :delete_suppressed_destination
|
120
|
-
Aws::SESV2::Endpoints::DeleteSuppressedDestination.build(context)
|
121
|
-
when :get_account
|
122
|
-
Aws::SESV2::Endpoints::GetAccount.build(context)
|
123
|
-
when :get_blacklist_reports
|
124
|
-
Aws::SESV2::Endpoints::GetBlacklistReports.build(context)
|
125
|
-
when :get_configuration_set
|
126
|
-
Aws::SESV2::Endpoints::GetConfigurationSet.build(context)
|
127
|
-
when :get_configuration_set_event_destinations
|
128
|
-
Aws::SESV2::Endpoints::GetConfigurationSetEventDestinations.build(context)
|
129
|
-
when :get_contact
|
130
|
-
Aws::SESV2::Endpoints::GetContact.build(context)
|
131
|
-
when :get_contact_list
|
132
|
-
Aws::SESV2::Endpoints::GetContactList.build(context)
|
133
|
-
when :get_custom_verification_email_template
|
134
|
-
Aws::SESV2::Endpoints::GetCustomVerificationEmailTemplate.build(context)
|
135
|
-
when :get_dedicated_ip
|
136
|
-
Aws::SESV2::Endpoints::GetDedicatedIp.build(context)
|
137
|
-
when :get_dedicated_ip_pool
|
138
|
-
Aws::SESV2::Endpoints::GetDedicatedIpPool.build(context)
|
139
|
-
when :get_dedicated_ips
|
140
|
-
Aws::SESV2::Endpoints::GetDedicatedIps.build(context)
|
141
|
-
when :get_deliverability_dashboard_options
|
142
|
-
Aws::SESV2::Endpoints::GetDeliverabilityDashboardOptions.build(context)
|
143
|
-
when :get_deliverability_test_report
|
144
|
-
Aws::SESV2::Endpoints::GetDeliverabilityTestReport.build(context)
|
145
|
-
when :get_domain_deliverability_campaign
|
146
|
-
Aws::SESV2::Endpoints::GetDomainDeliverabilityCampaign.build(context)
|
147
|
-
when :get_domain_statistics_report
|
148
|
-
Aws::SESV2::Endpoints::GetDomainStatisticsReport.build(context)
|
149
|
-
when :get_email_identity
|
150
|
-
Aws::SESV2::Endpoints::GetEmailIdentity.build(context)
|
151
|
-
when :get_email_identity_policies
|
152
|
-
Aws::SESV2::Endpoints::GetEmailIdentityPolicies.build(context)
|
153
|
-
when :get_email_template
|
154
|
-
Aws::SESV2::Endpoints::GetEmailTemplate.build(context)
|
155
|
-
when :get_export_job
|
156
|
-
Aws::SESV2::Endpoints::GetExportJob.build(context)
|
157
|
-
when :get_import_job
|
158
|
-
Aws::SESV2::Endpoints::GetImportJob.build(context)
|
159
|
-
when :get_message_insights
|
160
|
-
Aws::SESV2::Endpoints::GetMessageInsights.build(context)
|
161
|
-
when :get_suppressed_destination
|
162
|
-
Aws::SESV2::Endpoints::GetSuppressedDestination.build(context)
|
163
|
-
when :list_configuration_sets
|
164
|
-
Aws::SESV2::Endpoints::ListConfigurationSets.build(context)
|
165
|
-
when :list_contact_lists
|
166
|
-
Aws::SESV2::Endpoints::ListContactLists.build(context)
|
167
|
-
when :list_contacts
|
168
|
-
Aws::SESV2::Endpoints::ListContacts.build(context)
|
169
|
-
when :list_custom_verification_email_templates
|
170
|
-
Aws::SESV2::Endpoints::ListCustomVerificationEmailTemplates.build(context)
|
171
|
-
when :list_dedicated_ip_pools
|
172
|
-
Aws::SESV2::Endpoints::ListDedicatedIpPools.build(context)
|
173
|
-
when :list_deliverability_test_reports
|
174
|
-
Aws::SESV2::Endpoints::ListDeliverabilityTestReports.build(context)
|
175
|
-
when :list_domain_deliverability_campaigns
|
176
|
-
Aws::SESV2::Endpoints::ListDomainDeliverabilityCampaigns.build(context)
|
177
|
-
when :list_email_identities
|
178
|
-
Aws::SESV2::Endpoints::ListEmailIdentities.build(context)
|
179
|
-
when :list_email_templates
|
180
|
-
Aws::SESV2::Endpoints::ListEmailTemplates.build(context)
|
181
|
-
when :list_export_jobs
|
182
|
-
Aws::SESV2::Endpoints::ListExportJobs.build(context)
|
183
|
-
when :list_import_jobs
|
184
|
-
Aws::SESV2::Endpoints::ListImportJobs.build(context)
|
185
|
-
when :list_recommendations
|
186
|
-
Aws::SESV2::Endpoints::ListRecommendations.build(context)
|
187
|
-
when :list_suppressed_destinations
|
188
|
-
Aws::SESV2::Endpoints::ListSuppressedDestinations.build(context)
|
189
|
-
when :list_tags_for_resource
|
190
|
-
Aws::SESV2::Endpoints::ListTagsForResource.build(context)
|
191
|
-
when :put_account_dedicated_ip_warmup_attributes
|
192
|
-
Aws::SESV2::Endpoints::PutAccountDedicatedIpWarmupAttributes.build(context)
|
193
|
-
when :put_account_details
|
194
|
-
Aws::SESV2::Endpoints::PutAccountDetails.build(context)
|
195
|
-
when :put_account_sending_attributes
|
196
|
-
Aws::SESV2::Endpoints::PutAccountSendingAttributes.build(context)
|
197
|
-
when :put_account_suppression_attributes
|
198
|
-
Aws::SESV2::Endpoints::PutAccountSuppressionAttributes.build(context)
|
199
|
-
when :put_account_vdm_attributes
|
200
|
-
Aws::SESV2::Endpoints::PutAccountVdmAttributes.build(context)
|
201
|
-
when :put_configuration_set_delivery_options
|
202
|
-
Aws::SESV2::Endpoints::PutConfigurationSetDeliveryOptions.build(context)
|
203
|
-
when :put_configuration_set_reputation_options
|
204
|
-
Aws::SESV2::Endpoints::PutConfigurationSetReputationOptions.build(context)
|
205
|
-
when :put_configuration_set_sending_options
|
206
|
-
Aws::SESV2::Endpoints::PutConfigurationSetSendingOptions.build(context)
|
207
|
-
when :put_configuration_set_suppression_options
|
208
|
-
Aws::SESV2::Endpoints::PutConfigurationSetSuppressionOptions.build(context)
|
209
|
-
when :put_configuration_set_tracking_options
|
210
|
-
Aws::SESV2::Endpoints::PutConfigurationSetTrackingOptions.build(context)
|
211
|
-
when :put_configuration_set_vdm_options
|
212
|
-
Aws::SESV2::Endpoints::PutConfigurationSetVdmOptions.build(context)
|
213
|
-
when :put_dedicated_ip_in_pool
|
214
|
-
Aws::SESV2::Endpoints::PutDedicatedIpInPool.build(context)
|
215
|
-
when :put_dedicated_ip_pool_scaling_attributes
|
216
|
-
Aws::SESV2::Endpoints::PutDedicatedIpPoolScalingAttributes.build(context)
|
217
|
-
when :put_dedicated_ip_warmup_attributes
|
218
|
-
Aws::SESV2::Endpoints::PutDedicatedIpWarmupAttributes.build(context)
|
219
|
-
when :put_deliverability_dashboard_option
|
220
|
-
Aws::SESV2::Endpoints::PutDeliverabilityDashboardOption.build(context)
|
221
|
-
when :put_email_identity_configuration_set_attributes
|
222
|
-
Aws::SESV2::Endpoints::PutEmailIdentityConfigurationSetAttributes.build(context)
|
223
|
-
when :put_email_identity_dkim_attributes
|
224
|
-
Aws::SESV2::Endpoints::PutEmailIdentityDkimAttributes.build(context)
|
225
|
-
when :put_email_identity_dkim_signing_attributes
|
226
|
-
Aws::SESV2::Endpoints::PutEmailIdentityDkimSigningAttributes.build(context)
|
227
|
-
when :put_email_identity_feedback_attributes
|
228
|
-
Aws::SESV2::Endpoints::PutEmailIdentityFeedbackAttributes.build(context)
|
229
|
-
when :put_email_identity_mail_from_attributes
|
230
|
-
Aws::SESV2::Endpoints::PutEmailIdentityMailFromAttributes.build(context)
|
231
|
-
when :put_suppressed_destination
|
232
|
-
Aws::SESV2::Endpoints::PutSuppressedDestination.build(context)
|
233
|
-
when :send_bulk_email
|
234
|
-
Aws::SESV2::Endpoints::SendBulkEmail.build(context)
|
235
|
-
when :send_custom_verification_email
|
236
|
-
Aws::SESV2::Endpoints::SendCustomVerificationEmail.build(context)
|
237
|
-
when :send_email
|
238
|
-
Aws::SESV2::Endpoints::SendEmail.build(context)
|
239
|
-
when :tag_resource
|
240
|
-
Aws::SESV2::Endpoints::TagResource.build(context)
|
241
|
-
when :test_render_email_template
|
242
|
-
Aws::SESV2::Endpoints::TestRenderEmailTemplate.build(context)
|
243
|
-
when :untag_resource
|
244
|
-
Aws::SESV2::Endpoints::UntagResource.build(context)
|
245
|
-
when :update_configuration_set_event_destination
|
246
|
-
Aws::SESV2::Endpoints::UpdateConfigurationSetEventDestination.build(context)
|
247
|
-
when :update_contact
|
248
|
-
Aws::SESV2::Endpoints::UpdateContact.build(context)
|
249
|
-
when :update_contact_list
|
250
|
-
Aws::SESV2::Endpoints::UpdateContactList.build(context)
|
251
|
-
when :update_custom_verification_email_template
|
252
|
-
Aws::SESV2::Endpoints::UpdateCustomVerificationEmailTemplate.build(context)
|
253
|
-
when :update_email_identity_policy
|
254
|
-
Aws::SESV2::Endpoints::UpdateEmailIdentityPolicy.build(context)
|
255
|
-
when :update_email_template
|
256
|
-
Aws::SESV2::Endpoints::UpdateEmailTemplate.build(context)
|
257
|
-
end
|
258
|
-
end
|
259
70
|
end
|
260
71
|
|
261
72
|
def add_handlers(handlers, _config)
|
data/lib/aws-sdk-sesv2/types.rb
CHANGED
@@ -1694,11 +1694,19 @@ module Aws::SESV2
|
|
1694
1694
|
# configuration set.
|
1695
1695
|
# @return [String]
|
1696
1696
|
#
|
1697
|
+
# @!attribute [rw] max_delivery_seconds
|
1698
|
+
# The maximum amount of time, in seconds, that Amazon SES API v2 will
|
1699
|
+
# attempt delivery of email. If specified, the value must greater than
|
1700
|
+
# or equal to 300 seconds (5 minutes) and less than or equal to 50400
|
1701
|
+
# seconds (840 minutes).
|
1702
|
+
# @return [Integer]
|
1703
|
+
#
|
1697
1704
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeliveryOptions AWS API Documentation
|
1698
1705
|
#
|
1699
1706
|
class DeliveryOptions < Struct.new(
|
1700
1707
|
:tls_policy,
|
1701
|
-
:sending_pool_name
|
1708
|
+
:sending_pool_name,
|
1709
|
+
:max_delivery_seconds)
|
1702
1710
|
SENSITIVE = []
|
1703
1711
|
include Aws::Structure
|
1704
1712
|
end
|
@@ -5471,12 +5479,20 @@ module Aws::SESV2
|
|
5471
5479
|
# configuration set.
|
5472
5480
|
# @return [String]
|
5473
5481
|
#
|
5482
|
+
# @!attribute [rw] max_delivery_seconds
|
5483
|
+
# The maximum amount of time, in seconds, that Amazon SES API v2 will
|
5484
|
+
# attempt delivery of email. If specified, the value must greater than
|
5485
|
+
# or equal to 300 seconds (5 minutes) and less than or equal to 50400
|
5486
|
+
# seconds (840 minutes).
|
5487
|
+
# @return [Integer]
|
5488
|
+
#
|
5474
5489
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutConfigurationSetDeliveryOptionsRequest AWS API Documentation
|
5475
5490
|
#
|
5476
5491
|
class PutConfigurationSetDeliveryOptionsRequest < Struct.new(
|
5477
5492
|
:configuration_set_name,
|
5478
5493
|
:tls_policy,
|
5479
|
-
:sending_pool_name
|
5494
|
+
:sending_pool_name,
|
5495
|
+
:max_delivery_seconds)
|
5480
5496
|
SENSITIVE = []
|
5481
5497
|
include Aws::Structure
|
5482
5498
|
end
|
data/lib/aws-sdk-sesv2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -116,7 +116,8 @@ module Aws
|
|
116
116
|
},
|
117
117
|
?delivery_options: {
|
118
118
|
tls_policy: ("REQUIRE" | "OPTIONAL")?,
|
119
|
-
sending_pool_name: ::String
|
119
|
+
sending_pool_name: ::String?,
|
120
|
+
max_delivery_seconds: ::Integer?
|
120
121
|
},
|
121
122
|
?reputation_options: {
|
122
123
|
reputation_metrics_enabled: bool?,
|
@@ -1054,7 +1055,8 @@ module Aws
|
|
1054
1055
|
def put_configuration_set_delivery_options: (
|
1055
1056
|
configuration_set_name: ::String,
|
1056
1057
|
?tls_policy: ("REQUIRE" | "OPTIONAL"),
|
1057
|
-
?sending_pool_name: ::String
|
1058
|
+
?sending_pool_name: ::String,
|
1059
|
+
?max_delivery_seconds: ::Integer
|
1058
1060
|
) -> _PutConfigurationSetDeliveryOptionsResponseSuccess
|
1059
1061
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutConfigurationSetDeliveryOptionsResponseSuccess
|
1060
1062
|
|
data/sig/types.rbs
CHANGED
@@ -424,6 +424,7 @@ module Aws::SESV2
|
|
424
424
|
class DeliveryOptions
|
425
425
|
attr_accessor tls_policy: ("REQUIRE" | "OPTIONAL")
|
426
426
|
attr_accessor sending_pool_name: ::String
|
427
|
+
attr_accessor max_delivery_seconds: ::Integer
|
427
428
|
SENSITIVE: []
|
428
429
|
end
|
429
430
|
|
@@ -1279,6 +1280,7 @@ module Aws::SESV2
|
|
1279
1280
|
attr_accessor configuration_set_name: ::String
|
1280
1281
|
attr_accessor tls_policy: ("REQUIRE" | "OPTIONAL")
|
1281
1282
|
attr_accessor sending_pool_name: ::String
|
1283
|
+
attr_accessor max_delivery_seconds: ::Integer
|
1282
1284
|
SENSITIVE: []
|
1283
1285
|
end
|
1284
1286
|
|
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.65.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: 2024-
|
11
|
+
date: 2024-10-18 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.
|
22
|
+
version: 3.210.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.
|
32
|
+
version: 3.210.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|