@aws-sdk/client-ses 3.635.0 → 3.636.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/dist-cjs/index.js +7 -0
- package/dist-es/protocols/Aws_query.js +7 -0
- package/dist-types/commands/CreateReceiptRuleCommand.d.ts +1 -0
- package/dist-types/commands/DescribeActiveReceiptRuleSetCommand.d.ts +1 -0
- package/dist-types/commands/DescribeReceiptRuleCommand.d.ts +1 -0
- package/dist-types/commands/DescribeReceiptRuleSetCommand.d.ts +1 -0
- package/dist-types/commands/SendBulkTemplatedEmailCommand.d.ts +1 -1
- package/dist-types/commands/UpdateReceiptRuleCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +40 -10
- package/dist-types/ts3.4/models/models_0.d.ts +2 -1
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -4155,6 +4155,9 @@ var se_S3Action = /* @__PURE__ */ __name((input, context) => {
|
|
|
4155
4155
|
if (input[_KKA] != null) {
|
|
4156
4156
|
entries[_KKA] = input[_KKA];
|
|
4157
4157
|
}
|
|
4158
|
+
if (input[_IRA] != null) {
|
|
4159
|
+
entries[_IRA] = input[_IRA];
|
|
4160
|
+
}
|
|
4158
4161
|
return entries;
|
|
4159
4162
|
}, "se_S3Action");
|
|
4160
4163
|
var se_SendBounceRequest = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -5737,6 +5740,9 @@ var de_S3Action = /* @__PURE__ */ __name((output, context) => {
|
|
|
5737
5740
|
if (output[_KKA] != null) {
|
|
5738
5741
|
contents[_KKA] = (0, import_smithy_client.expectString)(output[_KKA]);
|
|
5739
5742
|
}
|
|
5743
|
+
if (output[_IRA] != null) {
|
|
5744
|
+
contents[_IRA] = (0, import_smithy_client.expectString)(output[_IRA]);
|
|
5745
|
+
}
|
|
5740
5746
|
return contents;
|
|
5741
5747
|
}, "de_S3Action");
|
|
5742
5748
|
var de_SendBounceResponse = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -6138,6 +6144,7 @@ var _HV = "HeaderValue";
|
|
|
6138
6144
|
var _I = "Identity";
|
|
6139
6145
|
var _IAMRARN = "IAMRoleARN";
|
|
6140
6146
|
var _IF = "IpFilter";
|
|
6147
|
+
var _IRA = "IamRoleArn";
|
|
6141
6148
|
var _IT = "InvocationType";
|
|
6142
6149
|
var _ITd = "IdentityType";
|
|
6143
6150
|
var _Id = "Identities";
|
|
@@ -3099,6 +3099,9 @@ const se_S3Action = (input, context) => {
|
|
|
3099
3099
|
if (input[_KKA] != null) {
|
|
3100
3100
|
entries[_KKA] = input[_KKA];
|
|
3101
3101
|
}
|
|
3102
|
+
if (input[_IRA] != null) {
|
|
3103
|
+
entries[_IRA] = input[_IRA];
|
|
3104
|
+
}
|
|
3102
3105
|
return entries;
|
|
3103
3106
|
};
|
|
3104
3107
|
const se_SendBounceRequest = (input, context) => {
|
|
@@ -4726,6 +4729,9 @@ const de_S3Action = (output, context) => {
|
|
|
4726
4729
|
if (output[_KKA] != null) {
|
|
4727
4730
|
contents[_KKA] = __expectString(output[_KKA]);
|
|
4728
4731
|
}
|
|
4732
|
+
if (output[_IRA] != null) {
|
|
4733
|
+
contents[_IRA] = __expectString(output[_IRA]);
|
|
4734
|
+
}
|
|
4729
4735
|
return contents;
|
|
4730
4736
|
};
|
|
4731
4737
|
const de_SendBounceResponse = (output, context) => {
|
|
@@ -5136,6 +5142,7 @@ const _HV = "HeaderValue";
|
|
|
5136
5142
|
const _I = "Identity";
|
|
5137
5143
|
const _IAMRARN = "IAMRoleARN";
|
|
5138
5144
|
const _IF = "IpFilter";
|
|
5145
|
+
const _IRA = "IamRoleArn";
|
|
5139
5146
|
const _IT = "InvocationType";
|
|
5140
5147
|
const _ITd = "IdentityType";
|
|
5141
5148
|
const _Id = "Identities";
|
|
@@ -54,6 +54,7 @@ declare const CreateReceiptRuleCommand_base: {
|
|
|
54
54
|
* BucketName: "STRING_VALUE", // required
|
|
55
55
|
* ObjectKeyPrefix: "STRING_VALUE",
|
|
56
56
|
* KmsKeyArn: "STRING_VALUE",
|
|
57
|
+
* IamRoleArn: "STRING_VALUE",
|
|
57
58
|
* },
|
|
58
59
|
* BounceAction: { // BounceAction
|
|
59
60
|
* TopicArn: "STRING_VALUE",
|
|
@@ -60,6 +60,7 @@ declare const DescribeActiveReceiptRuleSetCommand_base: {
|
|
|
60
60
|
* // BucketName: "STRING_VALUE", // required
|
|
61
61
|
* // ObjectKeyPrefix: "STRING_VALUE",
|
|
62
62
|
* // KmsKeyArn: "STRING_VALUE",
|
|
63
|
+
* // IamRoleArn: "STRING_VALUE",
|
|
63
64
|
* // },
|
|
64
65
|
* // BounceAction: { // BounceAction
|
|
65
66
|
* // TopicArn: "STRING_VALUE",
|
|
@@ -58,6 +58,7 @@ declare const DescribeReceiptRuleCommand_base: {
|
|
|
58
58
|
* // BucketName: "STRING_VALUE", // required
|
|
59
59
|
* // ObjectKeyPrefix: "STRING_VALUE",
|
|
60
60
|
* // KmsKeyArn: "STRING_VALUE",
|
|
61
|
+
* // IamRoleArn: "STRING_VALUE",
|
|
61
62
|
* // },
|
|
62
63
|
* // BounceAction: { // BounceAction
|
|
63
64
|
* // TopicArn: "STRING_VALUE",
|
|
@@ -62,6 +62,7 @@ declare const DescribeReceiptRuleSetCommand_base: {
|
|
|
62
62
|
* // BucketName: "STRING_VALUE", // required
|
|
63
63
|
* // ObjectKeyPrefix: "STRING_VALUE",
|
|
64
64
|
* // KmsKeyArn: "STRING_VALUE",
|
|
65
|
+
* // IamRoleArn: "STRING_VALUE",
|
|
65
66
|
* // },
|
|
66
67
|
* // BounceAction: { // BounceAction
|
|
67
68
|
* // TopicArn: "STRING_VALUE",
|
|
@@ -93,7 +93,7 @@ declare const SendBulkTemplatedEmailCommand_base: {
|
|
|
93
93
|
* ],
|
|
94
94
|
* Template: "STRING_VALUE", // required
|
|
95
95
|
* TemplateArn: "STRING_VALUE",
|
|
96
|
-
* DefaultTemplateData: "STRING_VALUE",
|
|
96
|
+
* DefaultTemplateData: "STRING_VALUE", // required
|
|
97
97
|
* Destinations: [ // BulkEmailDestinationList // required
|
|
98
98
|
* { // BulkEmailDestination
|
|
99
99
|
* Destination: { // Destination
|
|
@@ -53,6 +53,7 @@ declare const UpdateReceiptRuleCommand_base: {
|
|
|
53
53
|
* BucketName: "STRING_VALUE", // required
|
|
54
54
|
* ObjectKeyPrefix: "STRING_VALUE",
|
|
55
55
|
* KmsKeyArn: "STRING_VALUE",
|
|
56
|
+
* IamRoleArn: "STRING_VALUE",
|
|
56
57
|
* },
|
|
57
58
|
* BounceAction: { // BounceAction
|
|
58
59
|
* TopicArn: "STRING_VALUE",
|
|
@@ -1447,29 +1447,29 @@ export interface S3Action {
|
|
|
1447
1447
|
*/
|
|
1448
1448
|
ObjectKeyPrefix?: string;
|
|
1449
1449
|
/**
|
|
1450
|
-
* <p>The customer
|
|
1451
|
-
* them to the Amazon S3 bucket. You can use the default
|
|
1450
|
+
* <p>The customer managed key that Amazon SES should use to encrypt your emails before saving
|
|
1451
|
+
* them to the Amazon S3 bucket. You can use the default managed key or a custom managed key that
|
|
1452
1452
|
* you created in Amazon Web Services KMS as follows:</p>
|
|
1453
1453
|
* <ul>
|
|
1454
1454
|
* <li>
|
|
1455
|
-
* <p>To use the default
|
|
1455
|
+
* <p>To use the default managed key, provide an ARN in the form of
|
|
1456
1456
|
* <code>arn:aws:kms:REGION:ACCOUNT-ID-WITHOUT-HYPHENS:alias/aws/ses</code>.
|
|
1457
1457
|
* For example, if your Amazon Web Services account ID is 123456789012 and you want to use the
|
|
1458
|
-
* default
|
|
1458
|
+
* default managed key in the US West (Oregon) Region, the ARN of the default master
|
|
1459
1459
|
* key would be <code>arn:aws:kms:us-west-2:123456789012:alias/aws/ses</code>. If
|
|
1460
|
-
* you use the default
|
|
1460
|
+
* you use the default managed key, you don't need to perform any extra steps to
|
|
1461
1461
|
* give Amazon SES permission to use the key.</p>
|
|
1462
1462
|
* </li>
|
|
1463
1463
|
* <li>
|
|
1464
|
-
* <p>To use a custom
|
|
1465
|
-
* the
|
|
1464
|
+
* <p>To use a custom managed key that you created in Amazon Web Services KMS, provide the ARN of
|
|
1465
|
+
* the managed key and ensure that you add a statement to your key's policy to give
|
|
1466
1466
|
* Amazon SES permission to use it. For more information about giving permissions, see
|
|
1467
1467
|
* the <a href="https://docs.aws.amazon.com/ses/latest/dg/receiving-email-permissions.html">Amazon SES Developer
|
|
1468
1468
|
* Guide</a>.</p>
|
|
1469
1469
|
* </li>
|
|
1470
1470
|
* </ul>
|
|
1471
1471
|
* <p>For more information about key policies, see the <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html">Amazon Web Services KMS Developer Guide</a>. If
|
|
1472
|
-
* you do not specify a
|
|
1472
|
+
* you do not specify a managed key, Amazon SES does not encrypt your emails.</p>
|
|
1473
1473
|
* <important>
|
|
1474
1474
|
* <p>Your mail is encrypted by Amazon SES using the Amazon S3 encryption client before the mail
|
|
1475
1475
|
* is submitted to Amazon S3 for storage. It is not encrypted using Amazon S3 server-side
|
|
@@ -1478,12 +1478,42 @@ export interface S3Action {
|
|
|
1478
1478
|
* Amazon Web Services KMS keys for decryption. This encryption client is currently available with
|
|
1479
1479
|
* the <a href="http://aws.amazon.com/sdk-for-java/">Amazon Web Services SDK for Java</a> and
|
|
1480
1480
|
* <a href="http://aws.amazon.com/sdk-for-ruby/">Amazon Web Services SDK for Ruby</a> only. For
|
|
1481
|
-
* more information about client-side encryption using Amazon Web Services KMS
|
|
1481
|
+
* more information about client-side encryption using Amazon Web Services KMS managed keys, see the
|
|
1482
1482
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingClientSideEncryption.html">Amazon S3 Developer Guide</a>.</p>
|
|
1483
1483
|
* </important>
|
|
1484
1484
|
* @public
|
|
1485
1485
|
*/
|
|
1486
1486
|
KmsKeyArn?: string;
|
|
1487
|
+
/**
|
|
1488
|
+
* <p> The ARN of the IAM role to be used by Amazon Simple Email Service while writing to the Amazon S3 bucket,
|
|
1489
|
+
* optionally encrypting your mail via the provided customer managed key, and publishing to
|
|
1490
|
+
* the Amazon SNS topic.
|
|
1491
|
+
* This role should have access to the following APIs:
|
|
1492
|
+
* </p>
|
|
1493
|
+
* <ul>
|
|
1494
|
+
* <li>
|
|
1495
|
+
* <p>
|
|
1496
|
+
* <code>s3:PutObject</code>, <code>kms:Encrypt</code> and
|
|
1497
|
+
* <code>kms:GenerateDataKey</code> for the given Amazon S3 bucket.</p>
|
|
1498
|
+
* </li>
|
|
1499
|
+
* <li>
|
|
1500
|
+
* <p>
|
|
1501
|
+
* <code>kms:GenerateDataKey</code> for the given Amazon Web Services KMS customer managed key.
|
|
1502
|
+
* </p>
|
|
1503
|
+
* </li>
|
|
1504
|
+
* <li>
|
|
1505
|
+
* <p>
|
|
1506
|
+
* <code>sns:Publish</code> for the given Amazon SNS topic.</p>
|
|
1507
|
+
* </li>
|
|
1508
|
+
* </ul>
|
|
1509
|
+
* <note>
|
|
1510
|
+
* <p>If an IAM role ARN is provided, the role (and only the role) is used to access all
|
|
1511
|
+
* the given resources (Amazon S3 bucket, Amazon Web Services KMS customer managed key and Amazon SNS topic).
|
|
1512
|
+
* Therefore, setting up individual resource access permissions is not required.</p>
|
|
1513
|
+
* </note>
|
|
1514
|
+
* @public
|
|
1515
|
+
*/
|
|
1516
|
+
IamRoleArn?: string;
|
|
1487
1517
|
}
|
|
1488
1518
|
/**
|
|
1489
1519
|
* @public
|
|
@@ -3631,7 +3661,7 @@ export interface SendBulkTemplatedEmailRequest {
|
|
|
3631
3661
|
* the keys correspond to replacement tags in the email template.</p>
|
|
3632
3662
|
* @public
|
|
3633
3663
|
*/
|
|
3634
|
-
DefaultTemplateData
|
|
3664
|
+
DefaultTemplateData: string | undefined;
|
|
3635
3665
|
/**
|
|
3636
3666
|
* <p>One or more <code>Destination</code> objects. All of the recipients in a
|
|
3637
3667
|
* <code>Destination</code> receive the same version of the email. You can specify up
|
|
@@ -393,6 +393,7 @@ export interface S3Action {
|
|
|
393
393
|
BucketName: string | undefined;
|
|
394
394
|
ObjectKeyPrefix?: string;
|
|
395
395
|
KmsKeyArn?: string;
|
|
396
|
+
IamRoleArn?: string;
|
|
396
397
|
}
|
|
397
398
|
export declare const SNSActionEncoding: {
|
|
398
399
|
readonly Base64: "Base64";
|
|
@@ -931,7 +932,7 @@ export interface SendBulkTemplatedEmailRequest {
|
|
|
931
932
|
DefaultTags?: MessageTag[];
|
|
932
933
|
Template: string | undefined;
|
|
933
934
|
TemplateArn?: string;
|
|
934
|
-
DefaultTemplateData
|
|
935
|
+
DefaultTemplateData: string | undefined;
|
|
935
936
|
Destinations: BulkEmailDestination[] | undefined;
|
|
936
937
|
}
|
|
937
938
|
export interface SendBulkTemplatedEmailResponse {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ses",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ses Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.636.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-ses",
|