@aws-sdk/client-ses 3.696.0 → 3.699.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 +32 -0
- package/dist-es/protocols/Aws_query.js +32 -0
- package/dist-types/commands/CreateReceiptRuleCommand.d.ts +4 -0
- package/dist-types/commands/DescribeActiveReceiptRuleSetCommand.d.ts +4 -0
- package/dist-types/commands/DescribeReceiptRuleCommand.d.ts +4 -0
- package/dist-types/commands/DescribeReceiptRuleSetCommand.d.ts +4 -0
- package/dist-types/commands/UpdateReceiptRuleCommand.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +46 -15
- package/dist-types/ts3.4/models/models_0.d.ts +5 -0
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -3276,6 +3276,16 @@ var se_ConfigurationSetAttributeList = /* @__PURE__ */ __name((input, context) =
|
|
|
3276
3276
|
}
|
|
3277
3277
|
return entries;
|
|
3278
3278
|
}, "se_ConfigurationSetAttributeList");
|
|
3279
|
+
var se_ConnectAction = /* @__PURE__ */ __name((input, context) => {
|
|
3280
|
+
const entries = {};
|
|
3281
|
+
if (input[_IARN] != null) {
|
|
3282
|
+
entries[_IARN] = input[_IARN];
|
|
3283
|
+
}
|
|
3284
|
+
if (input[_IAMRARN] != null) {
|
|
3285
|
+
entries[_IAMRARN] = input[_IAMRARN];
|
|
3286
|
+
}
|
|
3287
|
+
return entries;
|
|
3288
|
+
}, "se_ConnectAction");
|
|
3279
3289
|
var se_Content = /* @__PURE__ */ __name((input, context) => {
|
|
3280
3290
|
const entries = {};
|
|
3281
3291
|
if (input[_Da] != null) {
|
|
@@ -3988,6 +3998,13 @@ var se_ReceiptAction = /* @__PURE__ */ __name((input, context) => {
|
|
|
3988
3998
|
entries[loc] = value;
|
|
3989
3999
|
});
|
|
3990
4000
|
}
|
|
4001
|
+
if (input[_CAo] != null) {
|
|
4002
|
+
const memberEntries = se_ConnectAction(input[_CAo], context);
|
|
4003
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4004
|
+
const loc = `ConnectAction.${key}`;
|
|
4005
|
+
entries[loc] = value;
|
|
4006
|
+
});
|
|
4007
|
+
}
|
|
3991
4008
|
return entries;
|
|
3992
4009
|
}, "se_ReceiptAction");
|
|
3993
4010
|
var se_ReceiptActionsList = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -4854,6 +4871,16 @@ var de_ConfigurationSetSendingPausedException = /* @__PURE__ */ __name((output,
|
|
|
4854
4871
|
}
|
|
4855
4872
|
return contents;
|
|
4856
4873
|
}, "de_ConfigurationSetSendingPausedException");
|
|
4874
|
+
var de_ConnectAction = /* @__PURE__ */ __name((output, context) => {
|
|
4875
|
+
const contents = {};
|
|
4876
|
+
if (output[_IARN] != null) {
|
|
4877
|
+
contents[_IARN] = (0, import_smithy_client.expectString)(output[_IARN]);
|
|
4878
|
+
}
|
|
4879
|
+
if (output[_IAMRARN] != null) {
|
|
4880
|
+
contents[_IAMRARN] = (0, import_smithy_client.expectString)(output[_IAMRARN]);
|
|
4881
|
+
}
|
|
4882
|
+
return contents;
|
|
4883
|
+
}, "de_ConnectAction");
|
|
4857
4884
|
var de_CreateConfigurationSetEventDestinationResponse = /* @__PURE__ */ __name((output, context) => {
|
|
4858
4885
|
const contents = {};
|
|
4859
4886
|
return contents;
|
|
@@ -5606,6 +5633,9 @@ var de_ReceiptAction = /* @__PURE__ */ __name((output, context) => {
|
|
|
5606
5633
|
if (output[_SNSA] != null) {
|
|
5607
5634
|
contents[_SNSA] = de_SNSAction(output[_SNSA], context);
|
|
5608
5635
|
}
|
|
5636
|
+
if (output[_CAo] != null) {
|
|
5637
|
+
contents[_CAo] = de_ConnectAction(output[_CAo], context);
|
|
5638
|
+
}
|
|
5609
5639
|
return contents;
|
|
5610
5640
|
}, "de_ReceiptAction");
|
|
5611
5641
|
var de_ReceiptActionsList = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -6051,6 +6081,7 @@ var _Bo = "Bounces";
|
|
|
6051
6081
|
var _Bu = "Bucket";
|
|
6052
6082
|
var _C = "Charset";
|
|
6053
6083
|
var _CA = "CcAddresses";
|
|
6084
|
+
var _CAo = "ConnectAction";
|
|
6054
6085
|
var _CCS = "CreateConfigurationSet";
|
|
6055
6086
|
var _CCSED = "CreateConfigurationSetEventDestination";
|
|
6056
6087
|
var _CCSTO = "CreateConfigurationSetTrackingOptions";
|
|
@@ -6143,6 +6174,7 @@ var _HP = "HtmlPart";
|
|
|
6143
6174
|
var _HV = "HeaderValue";
|
|
6144
6175
|
var _I = "Identity";
|
|
6145
6176
|
var _IAMRARN = "IAMRoleARN";
|
|
6177
|
+
var _IARN = "InstanceARN";
|
|
6146
6178
|
var _IF = "IpFilter";
|
|
6147
6179
|
var _IRA = "IamRoleArn";
|
|
6148
6180
|
var _IT = "InvocationType";
|
|
@@ -2232,6 +2232,16 @@ const se_ConfigurationSetAttributeList = (input, context) => {
|
|
|
2232
2232
|
}
|
|
2233
2233
|
return entries;
|
|
2234
2234
|
};
|
|
2235
|
+
const se_ConnectAction = (input, context) => {
|
|
2236
|
+
const entries = {};
|
|
2237
|
+
if (input[_IARN] != null) {
|
|
2238
|
+
entries[_IARN] = input[_IARN];
|
|
2239
|
+
}
|
|
2240
|
+
if (input[_IAMRARN] != null) {
|
|
2241
|
+
entries[_IAMRARN] = input[_IAMRARN];
|
|
2242
|
+
}
|
|
2243
|
+
return entries;
|
|
2244
|
+
};
|
|
2235
2245
|
const se_Content = (input, context) => {
|
|
2236
2246
|
const entries = {};
|
|
2237
2247
|
if (input[_Da] != null) {
|
|
@@ -2935,6 +2945,13 @@ const se_ReceiptAction = (input, context) => {
|
|
|
2935
2945
|
entries[loc] = value;
|
|
2936
2946
|
});
|
|
2937
2947
|
}
|
|
2948
|
+
if (input[_CAo] != null) {
|
|
2949
|
+
const memberEntries = se_ConnectAction(input[_CAo], context);
|
|
2950
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2951
|
+
const loc = `ConnectAction.${key}`;
|
|
2952
|
+
entries[loc] = value;
|
|
2953
|
+
});
|
|
2954
|
+
}
|
|
2938
2955
|
return entries;
|
|
2939
2956
|
};
|
|
2940
2957
|
const se_ReceiptActionsList = (input, context) => {
|
|
@@ -3802,6 +3819,16 @@ const de_ConfigurationSetSendingPausedException = (output, context) => {
|
|
|
3802
3819
|
}
|
|
3803
3820
|
return contents;
|
|
3804
3821
|
};
|
|
3822
|
+
const de_ConnectAction = (output, context) => {
|
|
3823
|
+
const contents = {};
|
|
3824
|
+
if (output[_IARN] != null) {
|
|
3825
|
+
contents[_IARN] = __expectString(output[_IARN]);
|
|
3826
|
+
}
|
|
3827
|
+
if (output[_IAMRARN] != null) {
|
|
3828
|
+
contents[_IAMRARN] = __expectString(output[_IAMRARN]);
|
|
3829
|
+
}
|
|
3830
|
+
return contents;
|
|
3831
|
+
};
|
|
3805
3832
|
const de_CreateConfigurationSetEventDestinationResponse = (output, context) => {
|
|
3806
3833
|
const contents = {};
|
|
3807
3834
|
return contents;
|
|
@@ -4583,6 +4610,9 @@ const de_ReceiptAction = (output, context) => {
|
|
|
4583
4610
|
if (output[_SNSA] != null) {
|
|
4584
4611
|
contents[_SNSA] = de_SNSAction(output[_SNSA], context);
|
|
4585
4612
|
}
|
|
4613
|
+
if (output[_CAo] != null) {
|
|
4614
|
+
contents[_CAo] = de_ConnectAction(output[_CAo], context);
|
|
4615
|
+
}
|
|
4586
4616
|
return contents;
|
|
4587
4617
|
};
|
|
4588
4618
|
const de_ReceiptActionsList = (output, context) => {
|
|
@@ -5049,6 +5079,7 @@ const _Bo = "Bounces";
|
|
|
5049
5079
|
const _Bu = "Bucket";
|
|
5050
5080
|
const _C = "Charset";
|
|
5051
5081
|
const _CA = "CcAddresses";
|
|
5082
|
+
const _CAo = "ConnectAction";
|
|
5052
5083
|
const _CCS = "CreateConfigurationSet";
|
|
5053
5084
|
const _CCSED = "CreateConfigurationSetEventDestination";
|
|
5054
5085
|
const _CCSTO = "CreateConfigurationSetTrackingOptions";
|
|
@@ -5141,6 +5172,7 @@ const _HP = "HtmlPart";
|
|
|
5141
5172
|
const _HV = "HeaderValue";
|
|
5142
5173
|
const _I = "Identity";
|
|
5143
5174
|
const _IAMRARN = "IAMRoleARN";
|
|
5175
|
+
const _IARN = "InstanceARN";
|
|
5144
5176
|
const _IF = "IpFilter";
|
|
5145
5177
|
const _IRA = "IamRoleArn";
|
|
5146
5178
|
const _IT = "InvocationType";
|
|
@@ -84,6 +84,10 @@ declare const CreateReceiptRuleCommand_base: {
|
|
|
84
84
|
* TopicArn: "STRING_VALUE", // required
|
|
85
85
|
* Encoding: "UTF-8" || "Base64",
|
|
86
86
|
* },
|
|
87
|
+
* ConnectAction: { // ConnectAction
|
|
88
|
+
* InstanceARN: "STRING_VALUE", // required
|
|
89
|
+
* IAMRoleARN: "STRING_VALUE", // required
|
|
90
|
+
* },
|
|
87
91
|
* },
|
|
88
92
|
* ],
|
|
89
93
|
* ScanEnabled: true || false,
|
|
@@ -90,6 +90,10 @@ declare const DescribeActiveReceiptRuleSetCommand_base: {
|
|
|
90
90
|
* // TopicArn: "STRING_VALUE", // required
|
|
91
91
|
* // Encoding: "UTF-8" || "Base64",
|
|
92
92
|
* // },
|
|
93
|
+
* // ConnectAction: { // ConnectAction
|
|
94
|
+
* // InstanceARN: "STRING_VALUE", // required
|
|
95
|
+
* // IAMRoleARN: "STRING_VALUE", // required
|
|
96
|
+
* // },
|
|
93
97
|
* // },
|
|
94
98
|
* // ],
|
|
95
99
|
* // ScanEnabled: true || false,
|
|
@@ -88,6 +88,10 @@ declare const DescribeReceiptRuleCommand_base: {
|
|
|
88
88
|
* // TopicArn: "STRING_VALUE", // required
|
|
89
89
|
* // Encoding: "UTF-8" || "Base64",
|
|
90
90
|
* // },
|
|
91
|
+
* // ConnectAction: { // ConnectAction
|
|
92
|
+
* // InstanceARN: "STRING_VALUE", // required
|
|
93
|
+
* // IAMRoleARN: "STRING_VALUE", // required
|
|
94
|
+
* // },
|
|
91
95
|
* // },
|
|
92
96
|
* // ],
|
|
93
97
|
* // ScanEnabled: true || false,
|
|
@@ -92,6 +92,10 @@ declare const DescribeReceiptRuleSetCommand_base: {
|
|
|
92
92
|
* // TopicArn: "STRING_VALUE", // required
|
|
93
93
|
* // Encoding: "UTF-8" || "Base64",
|
|
94
94
|
* // },
|
|
95
|
+
* // ConnectAction: { // ConnectAction
|
|
96
|
+
* // InstanceARN: "STRING_VALUE", // required
|
|
97
|
+
* // IAMRoleARN: "STRING_VALUE", // required
|
|
98
|
+
* // },
|
|
95
99
|
* // },
|
|
96
100
|
* // ],
|
|
97
101
|
* // ScanEnabled: true || false,
|
|
@@ -83,6 +83,10 @@ declare const UpdateReceiptRuleCommand_base: {
|
|
|
83
83
|
* TopicArn: "STRING_VALUE", // required
|
|
84
84
|
* Encoding: "UTF-8" || "Base64",
|
|
85
85
|
* },
|
|
86
|
+
* ConnectAction: { // ConnectAction
|
|
87
|
+
* InstanceARN: "STRING_VALUE", // required
|
|
88
|
+
* IAMRoleARN: "STRING_VALUE", // required
|
|
89
|
+
* },
|
|
86
90
|
* },
|
|
87
91
|
* ],
|
|
88
92
|
* ScanEnabled: true || false,
|
|
@@ -779,6 +779,34 @@ export declare class ConfigurationSetSendingPausedException extends __BaseExcept
|
|
|
779
779
|
*/
|
|
780
780
|
constructor(opts: __ExceptionOptionType<ConfigurationSetSendingPausedException, __BaseException>);
|
|
781
781
|
}
|
|
782
|
+
/**
|
|
783
|
+
* <p>When included in a receipt rule, this action parses the received message and
|
|
784
|
+
* starts an email contact in Amazon Connect on your behalf.</p>
|
|
785
|
+
* <note>
|
|
786
|
+
* <p>When you receive emails, the maximum email size (including headers) is 40 MB.
|
|
787
|
+
* Additionally, emails may only have up to 10 attachments.
|
|
788
|
+
* Emails larger than 40 MB or with more than 10 attachments will be bounced.</p>
|
|
789
|
+
* </note>
|
|
790
|
+
* <p>We recommend that you configure this action via Amazon Connect.</p>
|
|
791
|
+
* @public
|
|
792
|
+
*/
|
|
793
|
+
export interface ConnectAction {
|
|
794
|
+
/**
|
|
795
|
+
* <p>The Amazon Resource Name (ARN) for the Amazon Connect instance that Amazon SES integrates with for starting
|
|
796
|
+
* email contacts.</p>
|
|
797
|
+
* <p>For more information about Amazon Connect instances, see the <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-instances.html">Amazon Connect Administrator Guide</a>
|
|
798
|
+
* </p>
|
|
799
|
+
* @public
|
|
800
|
+
*/
|
|
801
|
+
InstanceARN: string | undefined;
|
|
802
|
+
/**
|
|
803
|
+
* <p> The Amazon Resource Name (ARN) of the IAM role to be used by Amazon Simple Email Service while starting email contacts
|
|
804
|
+
* to the Amazon Connect instance. This role should have permission to invoke <code>connect:StartEmailContact</code>
|
|
805
|
+
* for the given Amazon Connect instance.</p>
|
|
806
|
+
* @public
|
|
807
|
+
*/
|
|
808
|
+
IAMRoleARN: string | undefined;
|
|
809
|
+
}
|
|
782
810
|
/**
|
|
783
811
|
* <p>Represents a request to create a configuration set. Configuration sets enable you to
|
|
784
812
|
* publish email sending events. For information about using configuration sets, see the
|
|
@@ -1448,28 +1476,28 @@ export interface S3Action {
|
|
|
1448
1476
|
ObjectKeyPrefix?: string | undefined;
|
|
1449
1477
|
/**
|
|
1450
1478
|
* <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
|
|
1452
|
-
* you created in Amazon Web Services KMS as follows:</p>
|
|
1479
|
+
* them to the Amazon S3 bucket. You can use the Amazon Web Services managed key or a customer managed key
|
|
1480
|
+
* that you created in Amazon Web Services KMS as follows:</p>
|
|
1453
1481
|
* <ul>
|
|
1454
1482
|
* <li>
|
|
1455
|
-
* <p>To use the
|
|
1483
|
+
* <p>To use the Amazon Web Services managed key, provide an ARN in the form of
|
|
1456
1484
|
* <code>arn:aws:kms:REGION:ACCOUNT-ID-WITHOUT-HYPHENS:alias/aws/ses</code>.
|
|
1457
1485
|
* For example, if your Amazon Web Services account ID is 123456789012 and you want to use the
|
|
1458
|
-
*
|
|
1486
|
+
* Amazon Web Services managed key in the US West (Oregon) Region, the ARN of the Amazon Web Services managed
|
|
1459
1487
|
* key would be <code>arn:aws:kms:us-west-2:123456789012:alias/aws/ses</code>. If
|
|
1460
|
-
* you use the
|
|
1461
|
-
*
|
|
1488
|
+
* you use the Amazon Web Services managed key, you don't need to perform any extra steps to give
|
|
1489
|
+
* Amazon SES permission to use the key.</p>
|
|
1462
1490
|
* </li>
|
|
1463
1491
|
* <li>
|
|
1464
|
-
* <p>To use a
|
|
1465
|
-
* the managed key and ensure that you add a statement to your key's
|
|
1466
|
-
* Amazon SES permission to use it. For more information about giving
|
|
1467
|
-
* the <a href="https://docs.aws.amazon.com/ses/latest/dg/receiving-email-permissions.html">Amazon SES Developer
|
|
1492
|
+
* <p>To use a customer managed key that you created in Amazon Web Services KMS, provide the ARN
|
|
1493
|
+
* of the customer managed key and ensure that you add a statement to your key's
|
|
1494
|
+
* policy to give Amazon SES permission to use it. For more information about giving
|
|
1495
|
+
* permissions, see the <a href="https://docs.aws.amazon.com/ses/latest/dg/receiving-email-permissions.html">Amazon SES Developer
|
|
1468
1496
|
* Guide</a>.</p>
|
|
1469
1497
|
* </li>
|
|
1470
1498
|
* </ul>
|
|
1471
1499
|
* <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
|
|
1500
|
+
* you do not specify an Amazon Web Services KMS key, Amazon SES does not encrypt your emails.</p>
|
|
1473
1501
|
* <important>
|
|
1474
1502
|
* <p>Your mail is encrypted by Amazon SES using the Amazon S3 encryption client before the mail
|
|
1475
1503
|
* is submitted to Amazon S3 for storage. It is not encrypted using Amazon S3 server-side
|
|
@@ -1487,14 +1515,12 @@ export interface S3Action {
|
|
|
1487
1515
|
/**
|
|
1488
1516
|
* <p> The ARN of the IAM role to be used by Amazon Simple Email Service while writing to the Amazon S3 bucket,
|
|
1489
1517
|
* 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>
|
|
1518
|
+
* the Amazon SNS topic. This role should have access to the following APIs: </p>
|
|
1493
1519
|
* <ul>
|
|
1494
1520
|
* <li>
|
|
1495
1521
|
* <p>
|
|
1496
1522
|
* <code>s3:PutObject</code>, <code>kms:Encrypt</code> and
|
|
1497
|
-
*
|
|
1523
|
+
* <code>kms:GenerateDataKey</code> for the given Amazon S3 bucket.</p>
|
|
1498
1524
|
* </li>
|
|
1499
1525
|
* <li>
|
|
1500
1526
|
* <p>
|
|
@@ -1675,6 +1701,11 @@ export interface ReceiptAction {
|
|
|
1675
1701
|
* @public
|
|
1676
1702
|
*/
|
|
1677
1703
|
SNSAction?: SNSAction | undefined;
|
|
1704
|
+
/**
|
|
1705
|
+
* <p>Parses the received message and starts an email contact in Amazon Connect on your behalf.</p>
|
|
1706
|
+
* @public
|
|
1707
|
+
*/
|
|
1708
|
+
ConnectAction?: ConnectAction | undefined;
|
|
1678
1709
|
}
|
|
1679
1710
|
/**
|
|
1680
1711
|
* @public
|
|
@@ -200,6 +200,10 @@ export declare class ConfigurationSetSendingPausedException extends __BaseExcept
|
|
|
200
200
|
>
|
|
201
201
|
);
|
|
202
202
|
}
|
|
203
|
+
export interface ConnectAction {
|
|
204
|
+
InstanceARN: string | undefined;
|
|
205
|
+
IAMRoleARN: string | undefined;
|
|
206
|
+
}
|
|
203
207
|
export interface CreateConfigurationSetRequest {
|
|
204
208
|
ConfigurationSet: ConfigurationSet | undefined;
|
|
205
209
|
}
|
|
@@ -425,6 +429,7 @@ export interface ReceiptAction {
|
|
|
425
429
|
StopAction?: StopAction | undefined;
|
|
426
430
|
AddHeaderAction?: AddHeaderAction | undefined;
|
|
427
431
|
SNSAction?: SNSAction | undefined;
|
|
432
|
+
ConnectAction?: ConnectAction | undefined;
|
|
428
433
|
}
|
|
429
434
|
export declare const TlsPolicy: {
|
|
430
435
|
readonly Optional: "Optional";
|
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.699.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",
|
|
@@ -20,10 +20,10 @@
|
|
|
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.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.699.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.699.0",
|
|
25
25
|
"@aws-sdk/core": "3.696.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.699.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.696.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.696.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.696.0",
|