aws-sdk-sesv2 1.44.0 → 1.46.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 +109 -53
- data/lib/aws-sdk-sesv2/client_api.rb +12 -0
- data/lib/aws-sdk-sesv2/types.rb +50 -14
- data/lib/aws-sdk-sesv2.rb +1 -1
- data/sig/client.rbs +35 -5
- data/sig/types.rbs +8 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24ed710785d61a2902f5df85a54c70aef175669f038e55ad7e26703fc1c15d2c
|
4
|
+
data.tar.gz: f936a0915c8f69b8a72a15bbc335fc2c0bdd6db27716cc8cbafe9e669d9f6759
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e20e6a217143a9e73d62613aee8e8dede34122b18832349052636a8049c8526f0e4fa6df0ea59b463e8545d75860b1f759fa78020c55eb6ae546feba106293e2
|
7
|
+
data.tar.gz: 1e03469a58ea14e944a5371753f45e833ab0060bb72088c378602bb9ddcfa26a032f98eba323312fffcbf5782138573b8e8cba5e8e0d8eb0b9df94b913508481
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.46.0 (2024-04-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.45.0 (2024-03-05)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Adds support for providing custom headers within SendEmail and SendBulkEmail for SESv2.
|
13
|
+
|
4
14
|
1.44.0 (2024-01-26)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.46.0
|
data/lib/aws-sdk-sesv2/client.rb
CHANGED
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
|
22
22
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
23
23
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
24
24
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id.rb'
|
25
26
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
26
27
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
27
28
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
@@ -72,6 +73,7 @@ module Aws::SESV2
|
|
72
73
|
add_plugin(Aws::Plugins::ResponsePaging)
|
73
74
|
add_plugin(Aws::Plugins::StubResponses)
|
74
75
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
76
|
+
add_plugin(Aws::Plugins::InvocationId)
|
75
77
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
76
78
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
77
79
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
@@ -196,10 +198,17 @@ module Aws::SESV2
|
|
196
198
|
# When set to 'true' the request body will not be compressed
|
197
199
|
# for supported operations.
|
198
200
|
#
|
199
|
-
# @option options [String] :endpoint
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
201
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
202
|
+
# Normally you should not configure the `:endpoint` option
|
203
|
+
# directly. This is normally constructed from the `:region`
|
204
|
+
# option. Configuring `:endpoint` is normally reserved for
|
205
|
+
# connecting to test or custom endpoints. The endpoint should
|
206
|
+
# be a URI formatted like:
|
207
|
+
#
|
208
|
+
# 'http://example.com'
|
209
|
+
# 'https://example.com'
|
210
|
+
# 'http://example.com:123'
|
211
|
+
#
|
203
212
|
#
|
204
213
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
205
214
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -337,50 +346,65 @@ module Aws::SESV2
|
|
337
346
|
# @option options [Aws::SESV2::EndpointProvider] :endpoint_provider
|
338
347
|
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::SESV2::EndpointParameters`
|
339
348
|
#
|
340
|
-
# @option options [
|
341
|
-
#
|
342
|
-
#
|
343
|
-
#
|
344
|
-
#
|
345
|
-
#
|
346
|
-
#
|
347
|
-
#
|
348
|
-
#
|
349
|
-
#
|
350
|
-
#
|
351
|
-
# @option options [Float] :
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
365
|
-
#
|
366
|
-
#
|
367
|
-
#
|
349
|
+
# @option options [Float] :http_continue_timeout (1)
|
350
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
351
|
+
# request body. This option has no effect unless the request has "Expect"
|
352
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
353
|
+
# behaviour. This value can safely be set per request on the session.
|
354
|
+
#
|
355
|
+
# @option options [Float] :http_idle_timeout (5)
|
356
|
+
# The number of seconds a connection is allowed to sit idle before it
|
357
|
+
# is considered stale. Stale connections are closed and removed from the
|
358
|
+
# pool before making a request.
|
359
|
+
#
|
360
|
+
# @option options [Float] :http_open_timeout (15)
|
361
|
+
# The default number of seconds to wait for response data.
|
362
|
+
# This value can safely be set per-request on the session.
|
363
|
+
#
|
364
|
+
# @option options [URI::HTTP,String] :http_proxy
|
365
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
366
|
+
#
|
367
|
+
# @option options [Float] :http_read_timeout (60)
|
368
|
+
# The default number of seconds to wait for response data.
|
369
|
+
# This value can safely be set per-request on the session.
|
370
|
+
#
|
371
|
+
# @option options [Boolean] :http_wire_trace (false)
|
372
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
373
|
+
#
|
374
|
+
# @option options [Proc] :on_chunk_received
|
375
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
376
|
+
# of the response body is received. It provides three arguments: the chunk,
|
377
|
+
# the number of bytes received, and the total number of
|
378
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
379
|
+
#
|
380
|
+
# @option options [Proc] :on_chunk_sent
|
381
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
382
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
383
|
+
# the number of bytes read from the body, and the total number of
|
384
|
+
# bytes in the body.
|
385
|
+
#
|
386
|
+
# @option options [Boolean] :raise_response_errors (true)
|
387
|
+
# When `true`, response errors are raised.
|
388
|
+
#
|
389
|
+
# @option options [String] :ssl_ca_bundle
|
390
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
391
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
392
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
393
|
+
#
|
394
|
+
# @option options [String] :ssl_ca_directory
|
395
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
396
|
+
# authority files for verifying peer certificates. If you do
|
397
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
398
|
+
# default will be used if available.
|
368
399
|
#
|
369
|
-
# @option options [
|
370
|
-
#
|
371
|
-
# connection.
|
400
|
+
# @option options [String] :ssl_ca_store
|
401
|
+
# Sets the X509::Store to verify peer certificate.
|
372
402
|
#
|
373
|
-
# @option options [
|
374
|
-
#
|
375
|
-
# verifying peer certificates. If you do not pass
|
376
|
-
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
377
|
-
# will be used if available.
|
403
|
+
# @option options [Float] :ssl_timeout
|
404
|
+
# Sets the SSL timeout in seconds
|
378
405
|
#
|
379
|
-
# @option options [
|
380
|
-
#
|
381
|
-
# authority files for verifying peer certificates. If you do
|
382
|
-
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
383
|
-
# system default will be used if available.
|
406
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
407
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
384
408
|
#
|
385
409
|
def initialize(*args)
|
386
410
|
super
|
@@ -868,6 +892,12 @@ module Aws::SESV2
|
|
868
892
|
# charset: "Charset",
|
869
893
|
# },
|
870
894
|
# },
|
895
|
+
# headers: [
|
896
|
+
# {
|
897
|
+
# name: "MessageHeaderName", # required
|
898
|
+
# value: "MessageHeaderValue", # required
|
899
|
+
# },
|
900
|
+
# ],
|
871
901
|
# },
|
872
902
|
# raw: {
|
873
903
|
# data: "data", # required
|
@@ -876,6 +906,12 @@ module Aws::SESV2
|
|
876
906
|
# template_name: "EmailTemplateName",
|
877
907
|
# template_arn: "AmazonResourceName",
|
878
908
|
# template_data: "EmailTemplateData",
|
909
|
+
# headers: [
|
910
|
+
# {
|
911
|
+
# name: "MessageHeaderName", # required
|
912
|
+
# value: "MessageHeaderValue", # required
|
913
|
+
# },
|
914
|
+
# ],
|
879
915
|
# },
|
880
916
|
# },
|
881
917
|
# tags: [
|
@@ -3538,9 +3574,7 @@ module Aws::SESV2
|
|
3538
3574
|
#
|
3539
3575
|
# If the value is `false`, then your account is in the *sandbox*. When
|
3540
3576
|
# your account is in the sandbox, you can only send email to verified
|
3541
|
-
# identities.
|
3542
|
-
# a 24-hour period (your sending quota) is 200, and the maximum number
|
3543
|
-
# of emails you can send per second (your maximum sending rate) is 1.
|
3577
|
+
# identities.
|
3544
3578
|
#
|
3545
3579
|
# If the value is `true`, then your account has production access. When
|
3546
3580
|
# your account has production access, you can send email to any address.
|
@@ -4372,6 +4406,12 @@ module Aws::SESV2
|
|
4372
4406
|
# template_name: "EmailTemplateName",
|
4373
4407
|
# template_arn: "AmazonResourceName",
|
4374
4408
|
# template_data: "EmailTemplateData",
|
4409
|
+
# headers: [
|
4410
|
+
# {
|
4411
|
+
# name: "MessageHeaderName", # required
|
4412
|
+
# value: "MessageHeaderValue", # required
|
4413
|
+
# },
|
4414
|
+
# ],
|
4375
4415
|
# },
|
4376
4416
|
# },
|
4377
4417
|
# bulk_email_entries: [ # required
|
@@ -4543,7 +4583,7 @@ module Aws::SESV2
|
|
4543
4583
|
#
|
4544
4584
|
# @option params [required, Types::EmailContent] :content
|
4545
4585
|
# An object that contains the body of the message. You can send either a
|
4546
|
-
# Simple message Raw message or a
|
4586
|
+
# Simple message, Raw message, or a Templated message.
|
4547
4587
|
#
|
4548
4588
|
# @option params [Array<Types::MessageTag>] :email_tags
|
4549
4589
|
# A list of tags, in the form of name/value pairs, to apply to an email
|
@@ -4591,6 +4631,12 @@ module Aws::SESV2
|
|
4591
4631
|
# charset: "Charset",
|
4592
4632
|
# },
|
4593
4633
|
# },
|
4634
|
+
# headers: [
|
4635
|
+
# {
|
4636
|
+
# name: "MessageHeaderName", # required
|
4637
|
+
# value: "MessageHeaderValue", # required
|
4638
|
+
# },
|
4639
|
+
# ],
|
4594
4640
|
# },
|
4595
4641
|
# raw: {
|
4596
4642
|
# data: "data", # required
|
@@ -4599,6 +4645,12 @@ module Aws::SESV2
|
|
4599
4645
|
# template_name: "EmailTemplateName",
|
4600
4646
|
# template_arn: "AmazonResourceName",
|
4601
4647
|
# template_data: "EmailTemplateData",
|
4648
|
+
# headers: [
|
4649
|
+
# {
|
4650
|
+
# name: "MessageHeaderName", # required
|
4651
|
+
# value: "MessageHeaderValue", # required
|
4652
|
+
# },
|
4653
|
+
# ],
|
4602
4654
|
# },
|
4603
4655
|
# },
|
4604
4656
|
# email_tags: [
|
@@ -4803,9 +4855,13 @@ module Aws::SESV2
|
|
4803
4855
|
req.send_request(options)
|
4804
4856
|
end
|
4805
4857
|
|
4806
|
-
# Updates a contact's preferences for a list.
|
4807
|
-
#
|
4808
|
-
#
|
4858
|
+
# Updates a contact's preferences for a list.
|
4859
|
+
#
|
4860
|
+
# <note markdown="1"> You must specify all existing topic preferences in the
|
4861
|
+
# `TopicPreferences` object, not just the ones that need updating;
|
4862
|
+
# otherwise, all your existing preferences will be removed.
|
4863
|
+
#
|
4864
|
+
# </note>
|
4809
4865
|
#
|
4810
4866
|
# @option params [required, String] :contact_list_name
|
4811
4867
|
# The name of the contact list.
|
@@ -5061,7 +5117,7 @@ module Aws::SESV2
|
|
5061
5117
|
params: params,
|
5062
5118
|
config: config)
|
5063
5119
|
context[:gem_name] = 'aws-sdk-sesv2'
|
5064
|
-
context[:gem_version] = '1.
|
5120
|
+
context[:gem_version] = '1.46.0'
|
5065
5121
|
Seahorse::Client::Request.new(handlers, context)
|
5066
5122
|
end
|
5067
5123
|
|
@@ -319,6 +319,10 @@ module Aws::SESV2
|
|
319
319
|
Message = Shapes::StructureShape.new(name: 'Message')
|
320
320
|
MessageContent = Shapes::StringShape.new(name: 'MessageContent')
|
321
321
|
MessageData = Shapes::StringShape.new(name: 'MessageData')
|
322
|
+
MessageHeader = Shapes::StructureShape.new(name: 'MessageHeader')
|
323
|
+
MessageHeaderList = Shapes::ListShape.new(name: 'MessageHeaderList')
|
324
|
+
MessageHeaderName = Shapes::StringShape.new(name: 'MessageHeaderName')
|
325
|
+
MessageHeaderValue = Shapes::StringShape.new(name: 'MessageHeaderValue')
|
322
326
|
MessageInsightsDataSource = Shapes::StructureShape.new(name: 'MessageInsightsDataSource')
|
323
327
|
MessageInsightsExportMaxResults = Shapes::IntegerShape.new(name: 'MessageInsightsExportMaxResults')
|
324
328
|
MessageInsightsFilters = Shapes::StructureShape.new(name: 'MessageInsightsFilters')
|
@@ -1378,8 +1382,15 @@ module Aws::SESV2
|
|
1378
1382
|
|
1379
1383
|
Message.add_member(:subject, Shapes::ShapeRef.new(shape: Content, required: true, location_name: "Subject"))
|
1380
1384
|
Message.add_member(:body, Shapes::ShapeRef.new(shape: Body, required: true, location_name: "Body"))
|
1385
|
+
Message.add_member(:headers, Shapes::ShapeRef.new(shape: MessageHeaderList, location_name: "Headers"))
|
1381
1386
|
Message.struct_class = Types::Message
|
1382
1387
|
|
1388
|
+
MessageHeader.add_member(:name, Shapes::ShapeRef.new(shape: MessageHeaderName, required: true, location_name: "Name"))
|
1389
|
+
MessageHeader.add_member(:value, Shapes::ShapeRef.new(shape: MessageHeaderValue, required: true, location_name: "Value"))
|
1390
|
+
MessageHeader.struct_class = Types::MessageHeader
|
1391
|
+
|
1392
|
+
MessageHeaderList.member = Shapes::ShapeRef.new(shape: MessageHeader)
|
1393
|
+
|
1383
1394
|
MessageInsightsDataSource.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartDate"))
|
1384
1395
|
MessageInsightsDataSource.add_member(:end_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EndDate"))
|
1385
1396
|
MessageInsightsDataSource.add_member(:include, Shapes::ShapeRef.new(shape: MessageInsightsFilters, location_name: "Include"))
|
@@ -1705,6 +1716,7 @@ module Aws::SESV2
|
|
1705
1716
|
Template.add_member(:template_name, Shapes::ShapeRef.new(shape: EmailTemplateName, location_name: "TemplateName"))
|
1706
1717
|
Template.add_member(:template_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "TemplateArn"))
|
1707
1718
|
Template.add_member(:template_data, Shapes::ShapeRef.new(shape: EmailTemplateData, location_name: "TemplateData"))
|
1719
|
+
Template.add_member(:headers, Shapes::ShapeRef.new(shape: MessageHeaderList, location_name: "Headers"))
|
1708
1720
|
Template.struct_class = Types::Template
|
1709
1721
|
|
1710
1722
|
TestRenderEmailTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: EmailTemplateName, required: true, location: "uri", location_name: "TemplateName"))
|
data/lib/aws-sdk-sesv2/types.rb
CHANGED
@@ -2605,10 +2605,7 @@ module Aws::SESV2
|
|
2605
2605
|
#
|
2606
2606
|
# If the value is `false`, then your account is in the *sandbox*. When
|
2607
2607
|
# your account is in the sandbox, you can only send email to verified
|
2608
|
-
# identities.
|
2609
|
-
# in a 24-hour period (your sending quota) is 200, and the maximum
|
2610
|
-
# number of emails you can send per second (your maximum sending rate)
|
2611
|
-
# is 1.
|
2608
|
+
# identities.
|
2612
2609
|
#
|
2613
2610
|
# If the value is `true`, then your account has production access.
|
2614
2611
|
# When your account has production access, you can send email to any
|
@@ -4867,11 +4864,47 @@ module Aws::SESV2
|
|
4867
4864
|
# message, a text-only version of the message, or both.
|
4868
4865
|
# @return [Types::Body]
|
4869
4866
|
#
|
4867
|
+
# @!attribute [rw] headers
|
4868
|
+
# The list of message headers that will be added to the email message.
|
4869
|
+
# @return [Array<Types::MessageHeader>]
|
4870
|
+
#
|
4870
4871
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/Message AWS API Documentation
|
4871
4872
|
#
|
4872
4873
|
class Message < Struct.new(
|
4873
4874
|
:subject,
|
4874
|
-
:body
|
4875
|
+
:body,
|
4876
|
+
:headers)
|
4877
|
+
SENSITIVE = []
|
4878
|
+
include Aws::Structure
|
4879
|
+
end
|
4880
|
+
|
4881
|
+
# Contains the name and value of a message header that you add to an
|
4882
|
+
# email.
|
4883
|
+
#
|
4884
|
+
# @!attribute [rw] name
|
4885
|
+
# The name of the message header. The message header name has to meet
|
4886
|
+
# the following criteria:
|
4887
|
+
#
|
4888
|
+
# * Can contain any printable ASCII character (33 - 126) except for
|
4889
|
+
# colon (:).
|
4890
|
+
#
|
4891
|
+
# * Can contain no more than 126 characters.
|
4892
|
+
# @return [String]
|
4893
|
+
#
|
4894
|
+
# @!attribute [rw] value
|
4895
|
+
# The value of the message header. The message header value has to
|
4896
|
+
# meet the following criteria:
|
4897
|
+
#
|
4898
|
+
# * Can contain any printable ASCII character.
|
4899
|
+
#
|
4900
|
+
# * Can contain no more than 870 characters.
|
4901
|
+
# @return [String]
|
4902
|
+
#
|
4903
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/MessageHeader AWS API Documentation
|
4904
|
+
#
|
4905
|
+
class MessageHeader < Struct.new(
|
4906
|
+
:name,
|
4907
|
+
:value)
|
4875
4908
|
SENSITIVE = []
|
4876
4909
|
include Aws::Structure
|
4877
4910
|
end
|
@@ -5256,10 +5289,7 @@ module Aws::SESV2
|
|
5256
5289
|
#
|
5257
5290
|
# If the value is `false`, then your account is in the *sandbox*. When
|
5258
5291
|
# your account is in the sandbox, you can only send email to verified
|
5259
|
-
# identities.
|
5260
|
-
# in a 24-hour period (your sending quota) is 200, and the maximum
|
5261
|
-
# number of emails you can send per second (your maximum sending rate)
|
5262
|
-
# is 1.
|
5292
|
+
# identities.
|
5263
5293
|
#
|
5264
5294
|
# If the value is `true`, then your account has production access.
|
5265
5295
|
# When your account has production access, you can send email to any
|
@@ -6408,7 +6438,7 @@ module Aws::SESV2
|
|
6408
6438
|
#
|
6409
6439
|
# @!attribute [rw] content
|
6410
6440
|
# An object that contains the body of the message. You can send either
|
6411
|
-
# a Simple message Raw message or a
|
6441
|
+
# a Simple message, Raw message, or a Templated message.
|
6412
6442
|
# @return [Types::EmailContent]
|
6413
6443
|
#
|
6414
6444
|
# @!attribute [rw] email_tags
|
@@ -6452,9 +6482,10 @@ module Aws::SESV2
|
|
6452
6482
|
# message is accepted.
|
6453
6483
|
#
|
6454
6484
|
# <note markdown="1"> It's possible for Amazon SES to accept a message without sending
|
6455
|
-
# it.
|
6456
|
-
# an attachment contains a virus, or when you
|
6457
|
-
# that contains invalid personalization
|
6485
|
+
# it. For example, this can happen when the message that you're
|
6486
|
+
# trying to send has an attachment that contains a virus, or when you
|
6487
|
+
# send a templated email that contains invalid personalization
|
6488
|
+
# content.
|
6458
6489
|
#
|
6459
6490
|
# </note>
|
6460
6491
|
# @return [String]
|
@@ -6800,12 +6831,17 @@ module Aws::SESV2
|
|
6800
6831
|
# defines the value to use for that variable.
|
6801
6832
|
# @return [String]
|
6802
6833
|
#
|
6834
|
+
# @!attribute [rw] headers
|
6835
|
+
# The list of message headers that will be added to the email message.
|
6836
|
+
# @return [Array<Types::MessageHeader>]
|
6837
|
+
#
|
6803
6838
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/Template AWS API Documentation
|
6804
6839
|
#
|
6805
6840
|
class Template < Struct.new(
|
6806
6841
|
:template_name,
|
6807
6842
|
:template_arn,
|
6808
|
-
:template_data
|
6843
|
+
:template_data,
|
6844
|
+
:headers)
|
6809
6845
|
SENSITIVE = []
|
6810
6846
|
include Aws::Structure
|
6811
6847
|
end
|
data/lib/aws-sdk-sesv2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -270,7 +270,13 @@ module Aws
|
|
270
270
|
data: ::String,
|
271
271
|
charset: ::String?
|
272
272
|
}?
|
273
|
-
}
|
273
|
+
},
|
274
|
+
headers: Array[
|
275
|
+
{
|
276
|
+
name: ::String,
|
277
|
+
value: ::String
|
278
|
+
},
|
279
|
+
]?
|
274
280
|
}?,
|
275
281
|
raw: {
|
276
282
|
data: ::String
|
@@ -278,7 +284,13 @@ module Aws
|
|
278
284
|
template: {
|
279
285
|
template_name: ::String?,
|
280
286
|
template_arn: ::String?,
|
281
|
-
template_data: ::String
|
287
|
+
template_data: ::String?,
|
288
|
+
headers: Array[
|
289
|
+
{
|
290
|
+
name: ::String,
|
291
|
+
value: ::String
|
292
|
+
},
|
293
|
+
]?
|
282
294
|
}?
|
283
295
|
},
|
284
296
|
?tags: Array[
|
@@ -1234,7 +1246,13 @@ module Aws
|
|
1234
1246
|
template: {
|
1235
1247
|
template_name: ::String?,
|
1236
1248
|
template_arn: ::String?,
|
1237
|
-
template_data: ::String
|
1249
|
+
template_data: ::String?,
|
1250
|
+
headers: Array[
|
1251
|
+
{
|
1252
|
+
name: ::String,
|
1253
|
+
value: ::String
|
1254
|
+
},
|
1255
|
+
]?
|
1238
1256
|
}?
|
1239
1257
|
},
|
1240
1258
|
bulk_email_entries: Array[
|
@@ -1304,7 +1322,13 @@ module Aws
|
|
1304
1322
|
data: ::String,
|
1305
1323
|
charset: ::String?
|
1306
1324
|
}?
|
1307
|
-
}
|
1325
|
+
},
|
1326
|
+
headers: Array[
|
1327
|
+
{
|
1328
|
+
name: ::String,
|
1329
|
+
value: ::String
|
1330
|
+
},
|
1331
|
+
]?
|
1308
1332
|
}?,
|
1309
1333
|
raw: {
|
1310
1334
|
data: ::String
|
@@ -1312,7 +1336,13 @@ module Aws
|
|
1312
1336
|
template: {
|
1313
1337
|
template_name: ::String?,
|
1314
1338
|
template_arn: ::String?,
|
1315
|
-
template_data: ::String
|
1339
|
+
template_data: ::String?,
|
1340
|
+
headers: Array[
|
1341
|
+
{
|
1342
|
+
name: ::String,
|
1343
|
+
value: ::String
|
1344
|
+
},
|
1345
|
+
]?
|
1316
1346
|
}?
|
1317
1347
|
},
|
1318
1348
|
?email_tags: Array[
|
data/sig/types.rbs
CHANGED
@@ -1137,6 +1137,13 @@ module Aws::SESV2
|
|
1137
1137
|
class Message
|
1138
1138
|
attr_accessor subject: Types::Content
|
1139
1139
|
attr_accessor body: Types::Body
|
1140
|
+
attr_accessor headers: ::Array[Types::MessageHeader]
|
1141
|
+
SENSITIVE: []
|
1142
|
+
end
|
1143
|
+
|
1144
|
+
class MessageHeader
|
1145
|
+
attr_accessor name: ::String
|
1146
|
+
attr_accessor value: ::String
|
1140
1147
|
SENSITIVE: []
|
1141
1148
|
end
|
1142
1149
|
|
@@ -1579,6 +1586,7 @@ module Aws::SESV2
|
|
1579
1586
|
attr_accessor template_name: ::String
|
1580
1587
|
attr_accessor template_arn: ::String
|
1581
1588
|
attr_accessor template_data: ::String
|
1589
|
+
attr_accessor headers: ::Array[Types::MessageHeader]
|
1582
1590
|
SENSITIVE: []
|
1583
1591
|
end
|
1584
1592
|
|
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.46.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-04-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.
|
22
|
+
version: 3.193.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.193.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|