aws-sdk-sesv2 1.72.0 → 1.74.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sesv2/client.rb +60 -1
- data/lib/aws-sdk-sesv2/client_api.rb +22 -0
- data/lib/aws-sdk-sesv2/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-sesv2/types.rb +83 -9
- data/lib/aws-sdk-sesv2.rb +1 -1
- data/sig/client.rbs +55 -0
- data/sig/types.rbs +13 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7138eae018cc6f2ef3c66cbe71ed18c5282995fe4172581203eaf71adaa6901
|
4
|
+
data.tar.gz: b8cceac33dc4448c40421766da2742660115e668abdab155fd4944bff71fd5bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1780b41b69d5721bff7594006ff221b45a5e73d5d969a8398d092c39628143cdaa195dad61ba745f8675fb3e65624d09ccac1950e264c89297e869a78353dce6
|
7
|
+
data.tar.gz: 24540db2b712561712d16619d483e82e068eac956e30b9f0bcd0ef6c8258ffb3b2d1ac8e7c2f09805094696576eaecd6f5e1ba11cb19f5729c593c3e313f4261
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.74.0 (2025-04-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release enables customers to provide attachments in the SESv2 SendEmail and SendBulkEmail APIs.
|
8
|
+
|
9
|
+
1.73.0 (2025-03-31)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add dual-stack support to global endpoints.
|
13
|
+
|
4
14
|
1.72.0 (2025-02-19)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.74.0
|
data/lib/aws-sdk-sesv2/client.rb
CHANGED
@@ -966,6 +966,17 @@ module Aws::SESV2
|
|
966
966
|
# value: "MessageHeaderValue", # required
|
967
967
|
# },
|
968
968
|
# ],
|
969
|
+
# attachments: [
|
970
|
+
# {
|
971
|
+
# raw_content: "data", # required
|
972
|
+
# content_disposition: "ATTACHMENT", # accepts ATTACHMENT, INLINE
|
973
|
+
# file_name: "AttachmentFileName", # required
|
974
|
+
# content_description: "AttachmentContentDescription",
|
975
|
+
# content_id: "AttachmentContentId",
|
976
|
+
# content_transfer_encoding: "BASE64", # accepts BASE64, QUOTED_PRINTABLE, SEVEN_BIT
|
977
|
+
# content_type: "AttachmentContentType",
|
978
|
+
# },
|
979
|
+
# ],
|
969
980
|
# },
|
970
981
|
# raw: {
|
971
982
|
# data: "data", # required
|
@@ -985,6 +996,17 @@ module Aws::SESV2
|
|
985
996
|
# value: "MessageHeaderValue", # required
|
986
997
|
# },
|
987
998
|
# ],
|
999
|
+
# attachments: [
|
1000
|
+
# {
|
1001
|
+
# raw_content: "data", # required
|
1002
|
+
# content_disposition: "ATTACHMENT", # accepts ATTACHMENT, INLINE
|
1003
|
+
# file_name: "AttachmentFileName", # required
|
1004
|
+
# content_description: "AttachmentContentDescription",
|
1005
|
+
# content_id: "AttachmentContentId",
|
1006
|
+
# content_transfer_encoding: "BASE64", # accepts BASE64, QUOTED_PRINTABLE, SEVEN_BIT
|
1007
|
+
# content_type: "AttachmentContentType",
|
1008
|
+
# },
|
1009
|
+
# ],
|
988
1010
|
# },
|
989
1011
|
# },
|
990
1012
|
# tags: [
|
@@ -2999,6 +3021,10 @@ module Aws::SESV2
|
|
2999
3021
|
|
3000
3022
|
# Lists all of the contact lists available.
|
3001
3023
|
#
|
3024
|
+
# If your output includes a "NextToken" field with a string value,
|
3025
|
+
# this indicates there may be additional contacts on the filtered list -
|
3026
|
+
# regardless of the number of contacts returned.
|
3027
|
+
#
|
3002
3028
|
# @option params [Integer] :page_size
|
3003
3029
|
# Maximum number of contact lists to return at once. Use this parameter
|
3004
3030
|
# to paginate results. If additional contact lists exist beyond the
|
@@ -4742,6 +4768,17 @@ module Aws::SESV2
|
|
4742
4768
|
# value: "MessageHeaderValue", # required
|
4743
4769
|
# },
|
4744
4770
|
# ],
|
4771
|
+
# attachments: [
|
4772
|
+
# {
|
4773
|
+
# raw_content: "data", # required
|
4774
|
+
# content_disposition: "ATTACHMENT", # accepts ATTACHMENT, INLINE
|
4775
|
+
# file_name: "AttachmentFileName", # required
|
4776
|
+
# content_description: "AttachmentContentDescription",
|
4777
|
+
# content_id: "AttachmentContentId",
|
4778
|
+
# content_transfer_encoding: "BASE64", # accepts BASE64, QUOTED_PRINTABLE, SEVEN_BIT
|
4779
|
+
# content_type: "AttachmentContentType",
|
4780
|
+
# },
|
4781
|
+
# ],
|
4745
4782
|
# },
|
4746
4783
|
# },
|
4747
4784
|
# bulk_email_entries: [ # required
|
@@ -4977,6 +5014,17 @@ module Aws::SESV2
|
|
4977
5014
|
# value: "MessageHeaderValue", # required
|
4978
5015
|
# },
|
4979
5016
|
# ],
|
5017
|
+
# attachments: [
|
5018
|
+
# {
|
5019
|
+
# raw_content: "data", # required
|
5020
|
+
# content_disposition: "ATTACHMENT", # accepts ATTACHMENT, INLINE
|
5021
|
+
# file_name: "AttachmentFileName", # required
|
5022
|
+
# content_description: "AttachmentContentDescription",
|
5023
|
+
# content_id: "AttachmentContentId",
|
5024
|
+
# content_transfer_encoding: "BASE64", # accepts BASE64, QUOTED_PRINTABLE, SEVEN_BIT
|
5025
|
+
# content_type: "AttachmentContentType",
|
5026
|
+
# },
|
5027
|
+
# ],
|
4980
5028
|
# },
|
4981
5029
|
# raw: {
|
4982
5030
|
# data: "data", # required
|
@@ -4996,6 +5044,17 @@ module Aws::SESV2
|
|
4996
5044
|
# value: "MessageHeaderValue", # required
|
4997
5045
|
# },
|
4998
5046
|
# ],
|
5047
|
+
# attachments: [
|
5048
|
+
# {
|
5049
|
+
# raw_content: "data", # required
|
5050
|
+
# content_disposition: "ATTACHMENT", # accepts ATTACHMENT, INLINE
|
5051
|
+
# file_name: "AttachmentFileName", # required
|
5052
|
+
# content_description: "AttachmentContentDescription",
|
5053
|
+
# content_id: "AttachmentContentId",
|
5054
|
+
# content_transfer_encoding: "BASE64", # accepts BASE64, QUOTED_PRINTABLE, SEVEN_BIT
|
5055
|
+
# content_type: "AttachmentContentType",
|
5056
|
+
# },
|
5057
|
+
# ],
|
4999
5058
|
# },
|
5000
5059
|
# },
|
5001
5060
|
# email_tags: [
|
@@ -5470,7 +5529,7 @@ module Aws::SESV2
|
|
5470
5529
|
tracer: tracer
|
5471
5530
|
)
|
5472
5531
|
context[:gem_name] = 'aws-sdk-sesv2'
|
5473
|
-
context[:gem_version] = '1.
|
5532
|
+
context[:gem_version] = '1.74.0'
|
5474
5533
|
Seahorse::Client::Request.new(handlers, context)
|
5475
5534
|
end
|
5476
5535
|
|
@@ -23,6 +23,14 @@ module Aws::SESV2
|
|
23
23
|
AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
|
24
24
|
ArchiveArn = Shapes::StringShape.new(name: 'ArchiveArn')
|
25
25
|
ArchivingOptions = Shapes::StructureShape.new(name: 'ArchivingOptions')
|
26
|
+
Attachment = Shapes::StructureShape.new(name: 'Attachment')
|
27
|
+
AttachmentContentDescription = Shapes::StringShape.new(name: 'AttachmentContentDescription')
|
28
|
+
AttachmentContentDisposition = Shapes::StringShape.new(name: 'AttachmentContentDisposition')
|
29
|
+
AttachmentContentId = Shapes::StringShape.new(name: 'AttachmentContentId')
|
30
|
+
AttachmentContentTransferEncoding = Shapes::StringShape.new(name: 'AttachmentContentTransferEncoding')
|
31
|
+
AttachmentContentType = Shapes::StringShape.new(name: 'AttachmentContentType')
|
32
|
+
AttachmentFileName = Shapes::StringShape.new(name: 'AttachmentFileName')
|
33
|
+
AttachmentList = Shapes::ListShape.new(name: 'AttachmentList')
|
26
34
|
AttributesData = Shapes::StringShape.new(name: 'AttributesData')
|
27
35
|
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
28
36
|
BatchGetMetricDataQueries = Shapes::ListShape.new(name: 'BatchGetMetricDataQueries')
|
@@ -425,6 +433,7 @@ module Aws::SESV2
|
|
425
433
|
QueryErrorCode = Shapes::StringShape.new(name: 'QueryErrorCode')
|
426
434
|
QueryErrorMessage = Shapes::StringShape.new(name: 'QueryErrorMessage')
|
427
435
|
QueryIdentifier = Shapes::StringShape.new(name: 'QueryIdentifier')
|
436
|
+
RawAttachmentData = Shapes::BlobShape.new(name: 'RawAttachmentData')
|
428
437
|
RawMessage = Shapes::StructureShape.new(name: 'RawMessage')
|
429
438
|
RawMessageData = Shapes::BlobShape.new(name: 'RawMessageData')
|
430
439
|
RblName = Shapes::StringShape.new(name: 'RblName')
|
@@ -545,6 +554,17 @@ module Aws::SESV2
|
|
545
554
|
ArchivingOptions.add_member(:archive_arn, Shapes::ShapeRef.new(shape: ArchiveArn, location_name: "ArchiveArn"))
|
546
555
|
ArchivingOptions.struct_class = Types::ArchivingOptions
|
547
556
|
|
557
|
+
Attachment.add_member(:raw_content, Shapes::ShapeRef.new(shape: RawAttachmentData, required: true, location_name: "RawContent"))
|
558
|
+
Attachment.add_member(:content_disposition, Shapes::ShapeRef.new(shape: AttachmentContentDisposition, location_name: "ContentDisposition"))
|
559
|
+
Attachment.add_member(:file_name, Shapes::ShapeRef.new(shape: AttachmentFileName, required: true, location_name: "FileName"))
|
560
|
+
Attachment.add_member(:content_description, Shapes::ShapeRef.new(shape: AttachmentContentDescription, location_name: "ContentDescription"))
|
561
|
+
Attachment.add_member(:content_id, Shapes::ShapeRef.new(shape: AttachmentContentId, location_name: "ContentId"))
|
562
|
+
Attachment.add_member(:content_transfer_encoding, Shapes::ShapeRef.new(shape: AttachmentContentTransferEncoding, location_name: "ContentTransferEncoding"))
|
563
|
+
Attachment.add_member(:content_type, Shapes::ShapeRef.new(shape: AttachmentContentType, location_name: "ContentType"))
|
564
|
+
Attachment.struct_class = Types::Attachment
|
565
|
+
|
566
|
+
AttachmentList.member = Shapes::ShapeRef.new(shape: Attachment)
|
567
|
+
|
548
568
|
BadRequestException.struct_class = Types::BadRequestException
|
549
569
|
|
550
570
|
BatchGetMetricDataQueries.member = Shapes::ShapeRef.new(shape: BatchGetMetricDataQuery)
|
@@ -1463,6 +1483,7 @@ module Aws::SESV2
|
|
1463
1483
|
Message.add_member(:subject, Shapes::ShapeRef.new(shape: Content, required: true, location_name: "Subject"))
|
1464
1484
|
Message.add_member(:body, Shapes::ShapeRef.new(shape: Body, required: true, location_name: "Body"))
|
1465
1485
|
Message.add_member(:headers, Shapes::ShapeRef.new(shape: MessageHeaderList, location_name: "Headers"))
|
1486
|
+
Message.add_member(:attachments, Shapes::ShapeRef.new(shape: AttachmentList, location_name: "Attachments"))
|
1466
1487
|
Message.struct_class = Types::Message
|
1467
1488
|
|
1468
1489
|
MessageHeader.add_member(:name, Shapes::ShapeRef.new(shape: MessageHeaderName, required: true, location_name: "Name"))
|
@@ -1830,6 +1851,7 @@ module Aws::SESV2
|
|
1830
1851
|
Template.add_member(:template_content, Shapes::ShapeRef.new(shape: EmailTemplateContent, location_name: "TemplateContent"))
|
1831
1852
|
Template.add_member(:template_data, Shapes::ShapeRef.new(shape: EmailTemplateData, location_name: "TemplateData"))
|
1832
1853
|
Template.add_member(:headers, Shapes::ShapeRef.new(shape: MessageHeaderList, location_name: "Headers"))
|
1854
|
+
Template.add_member(:attachments, Shapes::ShapeRef.new(shape: AttachmentList, location_name: "Attachments"))
|
1833
1855
|
Template.struct_class = Types::Template
|
1834
1856
|
|
1835
1857
|
TestRenderEmailTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: EmailTemplateName, required: true, location: "uri", location_name: "TemplateName"))
|
@@ -18,7 +18,7 @@ module Aws::SESV2
|
|
18
18
|
end
|
19
19
|
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
20
20
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
21
|
-
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.endpoint_id}.endpoints.email.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4a", "signingName"=>"ses", "signingRegionSet"=>["*"]}]})
|
21
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.endpoint_id}.endpoints.email.global.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4a", "signingName"=>"ses", "signingRegionSet"=>["*"]}]})
|
22
22
|
end
|
23
23
|
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
24
24
|
end
|
data/lib/aws-sdk-sesv2/types.rb
CHANGED
@@ -87,6 +87,67 @@ module Aws::SESV2
|
|
87
87
|
include Aws::Structure
|
88
88
|
end
|
89
89
|
|
90
|
+
# Contains metadata and attachment raw content.
|
91
|
+
#
|
92
|
+
# @!attribute [rw] raw_content
|
93
|
+
# The raw data of the attachment. It needs to be base64-encoded if you
|
94
|
+
# are accessing Amazon SES directly through the HTTPS interface. If
|
95
|
+
# you are accessing Amazon SES using an Amazon Web Services SDK, the
|
96
|
+
# SDK takes care of the base 64-encoding for you.
|
97
|
+
# @return [String]
|
98
|
+
#
|
99
|
+
# @!attribute [rw] content_disposition
|
100
|
+
# A standard descriptor indicating how the attachment should be
|
101
|
+
# rendered in the email. Supported values: `ATTACHMENT` or `INLINE`.
|
102
|
+
# @return [String]
|
103
|
+
#
|
104
|
+
# @!attribute [rw] file_name
|
105
|
+
# The file name for the attachment as it will appear in the email.
|
106
|
+
# Amazon SES restricts certain file extensions. To ensure attachments
|
107
|
+
# are accepted, check the [Unsupported attachment types][1] in the
|
108
|
+
# Amazon SES Developer Guide.
|
109
|
+
#
|
110
|
+
#
|
111
|
+
#
|
112
|
+
# [1]: https://docs.aws.amazon.com/ses/latest/dg/mime-types.html
|
113
|
+
# @return [String]
|
114
|
+
#
|
115
|
+
# @!attribute [rw] content_description
|
116
|
+
# A brief description of the attachment content.
|
117
|
+
# @return [String]
|
118
|
+
#
|
119
|
+
# @!attribute [rw] content_id
|
120
|
+
# Unique identifier for the attachment, used for referencing
|
121
|
+
# attachments with INLINE disposition in HTML content.
|
122
|
+
# @return [String]
|
123
|
+
#
|
124
|
+
# @!attribute [rw] content_transfer_encoding
|
125
|
+
# Specifies how the attachment is encoded. Supported values: `BASE64`,
|
126
|
+
# `QUOTED_PRINTABLE`, `SEVEN_BIT`.
|
127
|
+
# @return [String]
|
128
|
+
#
|
129
|
+
# @!attribute [rw] content_type
|
130
|
+
# The MIME type of the attachment.
|
131
|
+
#
|
132
|
+
# <note markdown="1"> Example: `application/pdf`, `image/jpeg`
|
133
|
+
#
|
134
|
+
# </note>
|
135
|
+
# @return [String]
|
136
|
+
#
|
137
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/Attachment AWS API Documentation
|
138
|
+
#
|
139
|
+
class Attachment < Struct.new(
|
140
|
+
:raw_content,
|
141
|
+
:content_disposition,
|
142
|
+
:file_name,
|
143
|
+
:content_description,
|
144
|
+
:content_id,
|
145
|
+
:content_transfer_encoding,
|
146
|
+
:content_type)
|
147
|
+
SENSITIVE = []
|
148
|
+
include Aws::Structure
|
149
|
+
end
|
150
|
+
|
90
151
|
# The input you provided is invalid.
|
91
152
|
#
|
92
153
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/BadRequestException AWS API Documentation
|
@@ -2421,15 +2482,16 @@ module Aws::SESV2
|
|
2421
2482
|
end
|
2422
2483
|
|
2423
2484
|
# An object that defines the entire content of the email, including the
|
2424
|
-
# message headers
|
2425
|
-
# message,
|
2426
|
-
# versions of the message body. You can also
|
2427
|
-
#
|
2428
|
-
#
|
2485
|
+
# message headers, body content, and attachments. For a simple email
|
2486
|
+
# message, you specify the subject and provide both text and HTML
|
2487
|
+
# versions of the message body. You can also add attachments to simple
|
2488
|
+
# and templated messages. For a raw message, you provide a complete
|
2489
|
+
# MIME-formatted message, which can include custom headers and
|
2490
|
+
# attachments.
|
2429
2491
|
#
|
2430
2492
|
# @!attribute [rw] simple
|
2431
|
-
# The simple email message. The message consists of a subject
|
2432
|
-
#
|
2493
|
+
# The simple email message. The message consists of a subject, message
|
2494
|
+
# body and attachments list.
|
2433
2495
|
# @return [Types::Message]
|
2434
2496
|
#
|
2435
2497
|
# @!attribute [rw] raw
|
@@ -5404,12 +5466,18 @@ module Aws::SESV2
|
|
5404
5466
|
# The list of message headers that will be added to the email message.
|
5405
5467
|
# @return [Array<Types::MessageHeader>]
|
5406
5468
|
#
|
5469
|
+
# @!attribute [rw] attachments
|
5470
|
+
# The List of attachments to include in your email. All recipients
|
5471
|
+
# will receive the same attachments.
|
5472
|
+
# @return [Array<Types::Attachment>]
|
5473
|
+
#
|
5407
5474
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/Message AWS API Documentation
|
5408
5475
|
#
|
5409
5476
|
class Message < Struct.new(
|
5410
5477
|
:subject,
|
5411
5478
|
:body,
|
5412
|
-
:headers
|
5479
|
+
:headers,
|
5480
|
+
:attachments)
|
5413
5481
|
SENSITIVE = []
|
5414
5482
|
include Aws::Structure
|
5415
5483
|
end
|
@@ -7520,6 +7588,11 @@ module Aws::SESV2
|
|
7520
7588
|
# The list of message headers that will be added to the email message.
|
7521
7589
|
# @return [Array<Types::MessageHeader>]
|
7522
7590
|
#
|
7591
|
+
# @!attribute [rw] attachments
|
7592
|
+
# The List of attachments to include in your email. All recipients
|
7593
|
+
# will receive the same attachments.
|
7594
|
+
# @return [Array<Types::Attachment>]
|
7595
|
+
#
|
7523
7596
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/Template AWS API Documentation
|
7524
7597
|
#
|
7525
7598
|
class Template < Struct.new(
|
@@ -7527,7 +7600,8 @@ module Aws::SESV2
|
|
7527
7600
|
:template_arn,
|
7528
7601
|
:template_content,
|
7529
7602
|
:template_data,
|
7530
|
-
:headers
|
7603
|
+
:headers,
|
7604
|
+
:attachments)
|
7531
7605
|
SENSITIVE = []
|
7532
7606
|
include Aws::Structure
|
7533
7607
|
end
|
data/lib/aws-sdk-sesv2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -289,6 +289,17 @@ module Aws
|
|
289
289
|
name: ::String,
|
290
290
|
value: ::String
|
291
291
|
},
|
292
|
+
]?,
|
293
|
+
attachments: Array[
|
294
|
+
{
|
295
|
+
raw_content: ::String,
|
296
|
+
content_disposition: ("ATTACHMENT" | "INLINE")?,
|
297
|
+
file_name: ::String,
|
298
|
+
content_description: ::String?,
|
299
|
+
content_id: ::String?,
|
300
|
+
content_transfer_encoding: ("BASE64" | "QUOTED_PRINTABLE" | "SEVEN_BIT")?,
|
301
|
+
content_type: ::String?
|
302
|
+
},
|
292
303
|
]?
|
293
304
|
}?,
|
294
305
|
raw: {
|
@@ -308,6 +319,17 @@ module Aws
|
|
308
319
|
name: ::String,
|
309
320
|
value: ::String
|
310
321
|
},
|
322
|
+
]?,
|
323
|
+
attachments: Array[
|
324
|
+
{
|
325
|
+
raw_content: ::String,
|
326
|
+
content_disposition: ("ATTACHMENT" | "INLINE")?,
|
327
|
+
file_name: ::String,
|
328
|
+
content_description: ::String?,
|
329
|
+
content_id: ::String?,
|
330
|
+
content_transfer_encoding: ("BASE64" | "QUOTED_PRINTABLE" | "SEVEN_BIT")?,
|
331
|
+
content_type: ::String?
|
332
|
+
},
|
311
333
|
]?
|
312
334
|
}?
|
313
335
|
},
|
@@ -1351,6 +1373,17 @@ module Aws
|
|
1351
1373
|
name: ::String,
|
1352
1374
|
value: ::String
|
1353
1375
|
},
|
1376
|
+
]?,
|
1377
|
+
attachments: Array[
|
1378
|
+
{
|
1379
|
+
raw_content: ::String,
|
1380
|
+
content_disposition: ("ATTACHMENT" | "INLINE")?,
|
1381
|
+
file_name: ::String,
|
1382
|
+
content_description: ::String?,
|
1383
|
+
content_id: ::String?,
|
1384
|
+
content_transfer_encoding: ("BASE64" | "QUOTED_PRINTABLE" | "SEVEN_BIT")?,
|
1385
|
+
content_type: ::String?
|
1386
|
+
},
|
1354
1387
|
]?
|
1355
1388
|
}?
|
1356
1389
|
},
|
@@ -1434,6 +1467,17 @@ module Aws
|
|
1434
1467
|
name: ::String,
|
1435
1468
|
value: ::String
|
1436
1469
|
},
|
1470
|
+
]?,
|
1471
|
+
attachments: Array[
|
1472
|
+
{
|
1473
|
+
raw_content: ::String,
|
1474
|
+
content_disposition: ("ATTACHMENT" | "INLINE")?,
|
1475
|
+
file_name: ::String,
|
1476
|
+
content_description: ::String?,
|
1477
|
+
content_id: ::String?,
|
1478
|
+
content_transfer_encoding: ("BASE64" | "QUOTED_PRINTABLE" | "SEVEN_BIT")?,
|
1479
|
+
content_type: ::String?
|
1480
|
+
},
|
1437
1481
|
]?
|
1438
1482
|
}?,
|
1439
1483
|
raw: {
|
@@ -1453,6 +1497,17 @@ module Aws
|
|
1453
1497
|
name: ::String,
|
1454
1498
|
value: ::String
|
1455
1499
|
},
|
1500
|
+
]?,
|
1501
|
+
attachments: Array[
|
1502
|
+
{
|
1503
|
+
raw_content: ::String,
|
1504
|
+
content_disposition: ("ATTACHMENT" | "INLINE")?,
|
1505
|
+
file_name: ::String,
|
1506
|
+
content_description: ::String?,
|
1507
|
+
content_id: ::String?,
|
1508
|
+
content_transfer_encoding: ("BASE64" | "QUOTED_PRINTABLE" | "SEVEN_BIT")?,
|
1509
|
+
content_type: ::String?
|
1510
|
+
},
|
1456
1511
|
]?
|
1457
1512
|
}?
|
1458
1513
|
},
|
data/sig/types.rbs
CHANGED
@@ -29,6 +29,17 @@ module Aws::SESV2
|
|
29
29
|
SENSITIVE: []
|
30
30
|
end
|
31
31
|
|
32
|
+
class Attachment
|
33
|
+
attr_accessor raw_content: ::String
|
34
|
+
attr_accessor content_disposition: ("ATTACHMENT" | "INLINE")
|
35
|
+
attr_accessor file_name: ::String
|
36
|
+
attr_accessor content_description: ::String
|
37
|
+
attr_accessor content_id: ::String
|
38
|
+
attr_accessor content_transfer_encoding: ("BASE64" | "QUOTED_PRINTABLE" | "SEVEN_BIT")
|
39
|
+
attr_accessor content_type: ::String
|
40
|
+
SENSITIVE: []
|
41
|
+
end
|
42
|
+
|
32
43
|
class BadRequestException < Aws::EmptyStructure
|
33
44
|
end
|
34
45
|
|
@@ -1210,6 +1221,7 @@ module Aws::SESV2
|
|
1210
1221
|
attr_accessor subject: Types::Content
|
1211
1222
|
attr_accessor body: Types::Body
|
1212
1223
|
attr_accessor headers: ::Array[Types::MessageHeader]
|
1224
|
+
attr_accessor attachments: ::Array[Types::Attachment]
|
1213
1225
|
SENSITIVE: []
|
1214
1226
|
end
|
1215
1227
|
|
@@ -1693,6 +1705,7 @@ module Aws::SESV2
|
|
1693
1705
|
attr_accessor template_content: Types::EmailTemplateContent
|
1694
1706
|
attr_accessor template_data: ::String
|
1695
1707
|
attr_accessor headers: ::Array[Types::MessageHeader]
|
1708
|
+
attr_accessor attachments: ::Array[Types::Attachment]
|
1696
1709
|
SENSITIVE: []
|
1697
1710
|
end
|
1698
1711
|
|
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.74.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: 2025-
|
11
|
+
date: 2025-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|