aws-sdk-sesv2 1.64.0 → 1.66.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.
@@ -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)
@@ -6892,8 +6892,10 @@ module Aws::SESV2
6892
6892
  # An object that defines the email template to use for an email message,
6893
6893
  # and the values to use for any message variables in that template. An
6894
6894
  # *email template* is a type of message template that contains content
6895
- # that you want to define, save, and reuse in email messages that you
6896
- # send.
6895
+ # that you want to reuse in email messages that you send. You can
6896
+ # specifiy the email template by providing the name or ARN of an *email
6897
+ # template* previously saved in your Amazon SES account or by providing
6898
+ # the full template content.
6897
6899
  #
6898
6900
  # @!attribute [rw] template_name
6899
6901
  # The name of the template. You will refer to this name when you send
@@ -6905,6 +6907,16 @@ module Aws::SESV2
6905
6907
  # The Amazon Resource Name (ARN) of the template.
6906
6908
  # @return [String]
6907
6909
  #
6910
+ # @!attribute [rw] template_content
6911
+ # The content of the template.
6912
+ #
6913
+ # <note markdown="1"> Amazon SES supports only simple substitions when you send email
6914
+ # using the `SendEmail` or `SendBulkEmail` operations and you provide
6915
+ # the full template content in the request.
6916
+ #
6917
+ # </note>
6918
+ # @return [Types::EmailTemplateContent]
6919
+ #
6908
6920
  # @!attribute [rw] template_data
6909
6921
  # An object that defines the values to use for message variables in
6910
6922
  # the template. This object is a set of key-value pairs. Each key
@@ -6921,6 +6933,7 @@ module Aws::SESV2
6921
6933
  class Template < Struct.new(
6922
6934
  :template_name,
6923
6935
  :template_arn,
6936
+ :template_content,
6924
6937
  :template_data,
6925
6938
  :headers)
6926
6939
  SENSITIVE = []
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.64.0'
57
+ GEM_VERSION = '1.66.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -292,6 +292,11 @@ module Aws
292
292
  template: {
293
293
  template_name: ::String?,
294
294
  template_arn: ::String?,
295
+ template_content: {
296
+ subject: ::String?,
297
+ text: ::String?,
298
+ html: ::String?
299
+ }?,
295
300
  template_data: ::String?,
296
301
  headers: Array[
297
302
  {
@@ -1256,6 +1261,11 @@ module Aws
1256
1261
  template: {
1257
1262
  template_name: ::String?,
1258
1263
  template_arn: ::String?,
1264
+ template_content: {
1265
+ subject: ::String?,
1266
+ text: ::String?,
1267
+ html: ::String?
1268
+ }?,
1259
1269
  template_data: ::String?,
1260
1270
  headers: Array[
1261
1271
  {
@@ -1352,6 +1362,11 @@ module Aws
1352
1362
  template: {
1353
1363
  template_name: ::String?,
1354
1364
  template_arn: ::String?,
1365
+ template_content: {
1366
+ subject: ::String?,
1367
+ text: ::String?,
1368
+ html: ::String?
1369
+ }?,
1355
1370
  template_data: ::String?,
1356
1371
  headers: Array[
1357
1372
  {
data/sig/types.rbs CHANGED
@@ -1596,6 +1596,7 @@ module Aws::SESV2
1596
1596
  class Template
1597
1597
  attr_accessor template_name: ::String
1598
1598
  attr_accessor template_arn: ::String
1599
+ attr_accessor template_content: Types::EmailTemplateContent
1599
1600
  attr_accessor template_data: ::String
1600
1601
  attr_accessor headers: ::Array[Types::MessageHeader]
1601
1602
  SENSITIVE: []
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.64.0
4
+ version: 1.66.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-10-15 00:00:00.000000000 Z
11
+ date: 2024-10-31 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.207.0
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.207.0
32
+ version: 3.210.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement