@aws-sdk/client-sesv2 3.682.0 → 3.686.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.
- package/README.md +1 -1
- package/dist-types/commands/CreateDeliverabilityTestReportCommand.d.ts +5 -0
- package/dist-types/commands/SendBulkEmailCommand.d.ts +5 -0
- package/dist-types/commands/SendEmailCommand.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +36 -24
- package/dist-types/ts3.4/models/models_0.d.ts +6 -5
- package/package.json +35 -35
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ and code samples that demonstrate how to use Amazon SES API v2 features programm
|
|
|
17
17
|
|
|
18
18
|
## Installing
|
|
19
19
|
|
|
20
|
-
To install
|
|
20
|
+
To install this package, simply type add or install @aws-sdk/client-sesv2
|
|
21
21
|
using your favorite package manager:
|
|
22
22
|
|
|
23
23
|
- `npm install @aws-sdk/client-sesv2`
|
|
@@ -72,6 +72,11 @@ declare const CreateDeliverabilityTestReportCommand_base: {
|
|
|
72
72
|
* Template: { // Template
|
|
73
73
|
* TemplateName: "STRING_VALUE",
|
|
74
74
|
* TemplateArn: "STRING_VALUE",
|
|
75
|
+
* TemplateContent: { // EmailTemplateContent
|
|
76
|
+
* Subject: "STRING_VALUE",
|
|
77
|
+
* Text: "STRING_VALUE",
|
|
78
|
+
* Html: "STRING_VALUE",
|
|
79
|
+
* },
|
|
75
80
|
* TemplateData: "STRING_VALUE",
|
|
76
81
|
* Headers: [
|
|
77
82
|
* {
|
|
@@ -52,6 +52,11 @@ declare const SendBulkEmailCommand_base: {
|
|
|
52
52
|
* Template: { // Template
|
|
53
53
|
* TemplateName: "STRING_VALUE",
|
|
54
54
|
* TemplateArn: "STRING_VALUE",
|
|
55
|
+
* TemplateContent: { // EmailTemplateContent
|
|
56
|
+
* Subject: "STRING_VALUE",
|
|
57
|
+
* Text: "STRING_VALUE",
|
|
58
|
+
* Html: "STRING_VALUE",
|
|
59
|
+
* },
|
|
55
60
|
* TemplateData: "STRING_VALUE",
|
|
56
61
|
* Headers: [ // MessageHeaderList
|
|
57
62
|
* { // MessageHeader
|
|
@@ -105,6 +105,11 @@ declare const SendEmailCommand_base: {
|
|
|
105
105
|
* Template: { // Template
|
|
106
106
|
* TemplateName: "STRING_VALUE",
|
|
107
107
|
* TemplateArn: "STRING_VALUE",
|
|
108
|
+
* TemplateContent: { // EmailTemplateContent
|
|
109
|
+
* Subject: "STRING_VALUE",
|
|
110
|
+
* Text: "STRING_VALUE",
|
|
111
|
+
* Html: "STRING_VALUE",
|
|
112
|
+
* },
|
|
108
113
|
* TemplateData: "STRING_VALUE",
|
|
109
114
|
* Headers: [
|
|
110
115
|
* {
|
|
@@ -589,11 +589,36 @@ export interface MessageHeader {
|
|
|
589
589
|
*/
|
|
590
590
|
Value: string | undefined;
|
|
591
591
|
}
|
|
592
|
+
/**
|
|
593
|
+
* <p>The content of the email, composed of a subject line, an HTML part, and a text-only
|
|
594
|
+
* part.</p>
|
|
595
|
+
* @public
|
|
596
|
+
*/
|
|
597
|
+
export interface EmailTemplateContent {
|
|
598
|
+
/**
|
|
599
|
+
* <p>The subject line of the email.</p>
|
|
600
|
+
* @public
|
|
601
|
+
*/
|
|
602
|
+
Subject?: string;
|
|
603
|
+
/**
|
|
604
|
+
* <p>The email body that will be visible to recipients whose email clients do not display
|
|
605
|
+
* HTML.</p>
|
|
606
|
+
* @public
|
|
607
|
+
*/
|
|
608
|
+
Text?: string;
|
|
609
|
+
/**
|
|
610
|
+
* <p>The HTML body of the email.</p>
|
|
611
|
+
* @public
|
|
612
|
+
*/
|
|
613
|
+
Html?: string;
|
|
614
|
+
}
|
|
592
615
|
/**
|
|
593
616
|
* <p>An object that defines the email template to use for an email message, and the values
|
|
594
617
|
* to use for any message variables in that template. An <i>email
|
|
595
618
|
* template</i> is a type of message template that contains content that you
|
|
596
|
-
* want to
|
|
619
|
+
* want to reuse in email messages that you send. You can specifiy the email template by providing
|
|
620
|
+
* the name or ARN of an <i>email template</i>
|
|
621
|
+
* previously saved in your Amazon SES account or by providing the full template content.</p>
|
|
597
622
|
* @public
|
|
598
623
|
*/
|
|
599
624
|
export interface Template {
|
|
@@ -609,6 +634,16 @@ export interface Template {
|
|
|
609
634
|
* @public
|
|
610
635
|
*/
|
|
611
636
|
TemplateArn?: string;
|
|
637
|
+
/**
|
|
638
|
+
* <p>The content of the template.</p>
|
|
639
|
+
* <note>
|
|
640
|
+
* <p>Amazon SES supports only simple substitions when you send email using the
|
|
641
|
+
* <code>SendEmail</code> or <code>SendBulkEmail</code> operations and
|
|
642
|
+
* you provide the full template content in the request.</p>
|
|
643
|
+
* </note>
|
|
644
|
+
* @public
|
|
645
|
+
*/
|
|
646
|
+
TemplateContent?: EmailTemplateContent;
|
|
612
647
|
/**
|
|
613
648
|
* <p>An object that defines the values to use for message variables in the template. This
|
|
614
649
|
* object is a set of key-value pairs. Each key defines a message variable in the template.
|
|
@@ -2357,29 +2392,6 @@ export interface CreateEmailIdentityPolicyRequest {
|
|
|
2357
2392
|
*/
|
|
2358
2393
|
export interface CreateEmailIdentityPolicyResponse {
|
|
2359
2394
|
}
|
|
2360
|
-
/**
|
|
2361
|
-
* <p>The content of the email, composed of a subject line, an HTML part, and a text-only
|
|
2362
|
-
* part.</p>
|
|
2363
|
-
* @public
|
|
2364
|
-
*/
|
|
2365
|
-
export interface EmailTemplateContent {
|
|
2366
|
-
/**
|
|
2367
|
-
* <p>The subject line of the email.</p>
|
|
2368
|
-
* @public
|
|
2369
|
-
*/
|
|
2370
|
-
Subject?: string;
|
|
2371
|
-
/**
|
|
2372
|
-
* <p>The email body that will be visible to recipients whose email clients do not display
|
|
2373
|
-
* HTML.</p>
|
|
2374
|
-
* @public
|
|
2375
|
-
*/
|
|
2376
|
-
Text?: string;
|
|
2377
|
-
/**
|
|
2378
|
-
* <p>The HTML body of the email.</p>
|
|
2379
|
-
* @public
|
|
2380
|
-
*/
|
|
2381
|
-
Html?: string;
|
|
2382
|
-
}
|
|
2383
2395
|
/**
|
|
2384
2396
|
* <p>Represents a request to create an email template. For more information, see the <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html">Amazon SES
|
|
2385
2397
|
* Developer Guide</a>.</p>
|
|
@@ -160,9 +160,15 @@ export interface MessageHeader {
|
|
|
160
160
|
Name: string | undefined;
|
|
161
161
|
Value: string | undefined;
|
|
162
162
|
}
|
|
163
|
+
export interface EmailTemplateContent {
|
|
164
|
+
Subject?: string;
|
|
165
|
+
Text?: string;
|
|
166
|
+
Html?: string;
|
|
167
|
+
}
|
|
163
168
|
export interface Template {
|
|
164
169
|
TemplateName?: string;
|
|
165
170
|
TemplateArn?: string;
|
|
171
|
+
TemplateContent?: EmailTemplateContent;
|
|
166
172
|
TemplateData?: string;
|
|
167
173
|
Headers?: MessageHeader[];
|
|
168
174
|
}
|
|
@@ -545,11 +551,6 @@ export interface CreateEmailIdentityPolicyRequest {
|
|
|
545
551
|
Policy: string | undefined;
|
|
546
552
|
}
|
|
547
553
|
export interface CreateEmailIdentityPolicyResponse {}
|
|
548
|
-
export interface EmailTemplateContent {
|
|
549
|
-
Subject?: string;
|
|
550
|
-
Text?: string;
|
|
551
|
-
Html?: string;
|
|
552
|
-
}
|
|
553
554
|
export interface CreateEmailTemplateRequest {
|
|
554
555
|
TemplateName: string | undefined;
|
|
555
556
|
TemplateContent: EmailTemplateContent | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sesv2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sesv2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.686.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sesv2",
|
|
@@ -20,43 +20,43 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.
|
|
38
|
-
"@smithy/fetch-http-handler": "^
|
|
39
|
-
"@smithy/hash-node": "^3.0.
|
|
40
|
-
"@smithy/invalid-dependency": "^3.0.
|
|
41
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
42
|
-
"@smithy/middleware-endpoint": "^3.1
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
44
|
-
"@smithy/middleware-serde": "^3.0.
|
|
45
|
-
"@smithy/middleware-stack": "^3.0.
|
|
46
|
-
"@smithy/node-config-provider": "^3.1.
|
|
47
|
-
"@smithy/node-http-handler": "^3.2.
|
|
48
|
-
"@smithy/protocol-http": "^4.1.
|
|
49
|
-
"@smithy/smithy-client": "^3.4.
|
|
50
|
-
"@smithy/types": "^3.
|
|
51
|
-
"@smithy/url-parser": "^3.0.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.686.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.686.0",
|
|
25
|
+
"@aws-sdk/core": "3.686.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.686.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.686.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.686.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.686.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.686.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.686.0",
|
|
32
|
+
"@aws-sdk/types": "3.686.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.686.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.686.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.686.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.10",
|
|
37
|
+
"@smithy/core": "^2.5.1",
|
|
38
|
+
"@smithy/fetch-http-handler": "^4.0.0",
|
|
39
|
+
"@smithy/hash-node": "^3.0.8",
|
|
40
|
+
"@smithy/invalid-dependency": "^3.0.8",
|
|
41
|
+
"@smithy/middleware-content-length": "^3.0.10",
|
|
42
|
+
"@smithy/middleware-endpoint": "^3.2.1",
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.25",
|
|
44
|
+
"@smithy/middleware-serde": "^3.0.8",
|
|
45
|
+
"@smithy/middleware-stack": "^3.0.8",
|
|
46
|
+
"@smithy/node-config-provider": "^3.1.9",
|
|
47
|
+
"@smithy/node-http-handler": "^3.2.5",
|
|
48
|
+
"@smithy/protocol-http": "^4.1.5",
|
|
49
|
+
"@smithy/smithy-client": "^3.4.2",
|
|
50
|
+
"@smithy/types": "^3.6.0",
|
|
51
|
+
"@smithy/url-parser": "^3.0.8",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
-
"@smithy/util-endpoints": "^2.1.
|
|
58
|
-
"@smithy/util-middleware": "^3.0.
|
|
59
|
-
"@smithy/util-retry": "^3.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.25",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.25",
|
|
57
|
+
"@smithy/util-endpoints": "^2.1.4",
|
|
58
|
+
"@smithy/util-middleware": "^3.0.8",
|
|
59
|
+
"@smithy/util-retry": "^3.0.8",
|
|
60
60
|
"@smithy/util-utf8": "^3.0.0",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|