@aws-sdk/client-ses 3.774.0 → 3.777.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/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-cjs/index.js +17 -18
- package/dist-es/SESClient.js +2 -1
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-es/endpoint/EndpointParameters.js +2 -3
- package/dist-es/runtimeExtensions.js +2 -14
- package/dist-types/commands/CloneReceiptRuleSetCommand.d.ts +8 -5
- package/dist-types/commands/CreateConfigurationSetCommand.d.ts +1 -0
- package/dist-types/commands/CreateConfigurationSetEventDestinationCommand.d.ts +1 -0
- package/dist-types/commands/CreateConfigurationSetTrackingOptionsCommand.d.ts +1 -0
- package/dist-types/commands/CreateCustomVerificationEmailTemplateCommand.d.ts +1 -0
- package/dist-types/commands/CreateReceiptFilterCommand.d.ts +11 -8
- package/dist-types/commands/CreateReceiptRuleCommand.d.ts +17 -14
- package/dist-types/commands/CreateReceiptRuleSetCommand.d.ts +7 -4
- package/dist-types/commands/CreateTemplateCommand.d.ts +1 -0
- package/dist-types/commands/DeleteConfigurationSetCommand.d.ts +1 -0
- package/dist-types/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +1 -0
- package/dist-types/commands/DeleteConfigurationSetTrackingOptionsCommand.d.ts +1 -0
- package/dist-types/commands/DeleteCustomVerificationEmailTemplateCommand.d.ts +1 -0
- package/dist-types/commands/DeleteIdentityCommand.d.ts +7 -4
- package/dist-types/commands/DeleteIdentityPolicyCommand.d.ts +8 -5
- package/dist-types/commands/DeleteReceiptFilterCommand.d.ts +7 -4
- package/dist-types/commands/DeleteReceiptRuleCommand.d.ts +8 -5
- package/dist-types/commands/DeleteReceiptRuleSetCommand.d.ts +7 -4
- package/dist-types/commands/DeleteTemplateCommand.d.ts +1 -0
- package/dist-types/commands/DeleteVerifiedEmailAddressCommand.d.ts +7 -4
- package/dist-types/commands/DescribeActiveReceiptRuleSetCommand.d.ts +16 -16
- package/dist-types/commands/DescribeConfigurationSetCommand.d.ts +1 -0
- package/dist-types/commands/DescribeReceiptRuleCommand.d.ts +14 -14
- package/dist-types/commands/DescribeReceiptRuleSetCommand.d.ts +16 -16
- package/dist-types/commands/GetAccountSendingEnabledCommand.d.ts +5 -5
- package/dist-types/commands/GetCustomVerificationEmailTemplateCommand.d.ts +1 -0
- package/dist-types/commands/GetIdentityDkimAttributesCommand.d.ts +12 -12
- package/dist-types/commands/GetIdentityMailFromDomainAttributesCommand.d.ts +9 -9
- package/dist-types/commands/GetIdentityNotificationAttributesCommand.d.ts +13 -13
- package/dist-types/commands/GetIdentityPoliciesCommand.d.ts +7 -7
- package/dist-types/commands/GetIdentityVerificationAttributesCommand.d.ts +8 -8
- package/dist-types/commands/GetSendQuotaCommand.d.ts +7 -7
- package/dist-types/commands/GetSendStatisticsCommand.d.ts +20 -20
- package/dist-types/commands/GetTemplateCommand.d.ts +1 -0
- package/dist-types/commands/ListConfigurationSetsCommand.d.ts +1 -0
- package/dist-types/commands/ListCustomVerificationEmailTemplatesCommand.d.ts +1 -0
- package/dist-types/commands/ListIdentitiesCommand.d.ts +8 -8
- package/dist-types/commands/ListIdentityPoliciesCommand.d.ts +5 -5
- package/dist-types/commands/ListReceiptFiltersCommand.d.ts +9 -9
- package/dist-types/commands/ListReceiptRuleSetsCommand.d.ts +8 -8
- package/dist-types/commands/ListTemplatesCommand.d.ts +1 -0
- package/dist-types/commands/ListVerifiedEmailAddressesCommand.d.ts +5 -5
- package/dist-types/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +1 -0
- package/dist-types/commands/PutIdentityPolicyCommand.d.ts +9 -6
- package/dist-types/commands/ReorderReceiptRuleSetCommand.d.ts +8 -5
- package/dist-types/commands/SendBounceCommand.d.ts +1 -0
- package/dist-types/commands/SendBulkTemplatedEmailCommand.d.ts +1 -0
- package/dist-types/commands/SendCustomVerificationEmailCommand.d.ts +1 -0
- package/dist-types/commands/SendEmailCommand.d.ts +24 -24
- package/dist-types/commands/SendRawEmailCommand.d.ts +11 -11
- package/dist-types/commands/SendTemplatedEmailCommand.d.ts +1 -0
- package/dist-types/commands/SetActiveReceiptRuleSetCommand.d.ts +7 -4
- package/dist-types/commands/SetIdentityDkimEnabledCommand.d.ts +8 -5
- package/dist-types/commands/SetIdentityFeedbackForwardingEnabledCommand.d.ts +8 -5
- package/dist-types/commands/SetIdentityHeadersInNotificationsEnabledCommand.d.ts +9 -6
- package/dist-types/commands/SetIdentityMailFromDomainCommand.d.ts +9 -6
- package/dist-types/commands/SetIdentityNotificationTopicCommand.d.ts +9 -6
- package/dist-types/commands/SetReceiptRulePositionCommand.d.ts +9 -6
- package/dist-types/commands/TestRenderTemplateCommand.d.ts +1 -0
- package/dist-types/commands/UpdateAccountSendingEnabledCommand.d.ts +7 -4
- package/dist-types/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +1 -0
- package/dist-types/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.d.ts +8 -5
- package/dist-types/commands/UpdateConfigurationSetSendingEnabledCommand.d.ts +8 -5
- package/dist-types/commands/UpdateConfigurationSetTrackingOptionsCommand.d.ts +1 -0
- package/dist-types/commands/UpdateCustomVerificationEmailTemplateCommand.d.ts +1 -0
- package/dist-types/commands/UpdateReceiptRuleCommand.d.ts +16 -13
- package/dist-types/commands/UpdateTemplateCommand.d.ts +1 -0
- package/dist-types/commands/VerifyDomainDkimCommand.d.ts +5 -5
- package/dist-types/commands/VerifyDomainIdentityCommand.d.ts +5 -5
- package/dist-types/commands/VerifyEmailAddressCommand.d.ts +7 -4
- package/dist-types/commands/VerifyEmailIdentityCommand.d.ts +7 -4
- package/package.json +34 -34
|
@@ -55,24 +55,24 @@ declare const ListVerifiedEmailAddressesCommand_base: {
|
|
|
55
55
|
* @throws {@link SESServiceException}
|
|
56
56
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
57
57
|
*
|
|
58
|
-
*
|
|
58
|
+
*
|
|
59
59
|
* @example ListVerifiedEmailAddresses
|
|
60
60
|
* ```javascript
|
|
61
61
|
* // The following example lists all email addresses that have been submitted for verification with Amazon SES:
|
|
62
|
-
* const input = {};
|
|
62
|
+
* const input = { /* empty *\/ };
|
|
63
63
|
* const command = new ListVerifiedEmailAddressesCommand(input);
|
|
64
64
|
* const response = await client.send(command);
|
|
65
|
-
* /* response
|
|
65
|
+
* /* response is
|
|
66
66
|
* {
|
|
67
|
-
*
|
|
67
|
+
* VerifiedEmailAddresses: [
|
|
68
68
|
* "user1@example.com",
|
|
69
69
|
* "user2@example.com"
|
|
70
70
|
* ]
|
|
71
71
|
* }
|
|
72
72
|
* *\/
|
|
73
|
-
* // example id: listverifiedemailaddresses-1469051402570
|
|
74
73
|
* ```
|
|
75
74
|
*
|
|
75
|
+
* @public
|
|
76
76
|
*/
|
|
77
77
|
export declare class ListVerifiedEmailAddressesCommand extends ListVerifiedEmailAddressesCommand_base {
|
|
78
78
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -61,6 +61,7 @@ declare const PutConfigurationSetDeliveryOptionsCommand_base: {
|
|
|
61
61
|
* @throws {@link SESServiceException}
|
|
62
62
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
63
63
|
*
|
|
64
|
+
*
|
|
64
65
|
* @public
|
|
65
66
|
*/
|
|
66
67
|
export declare class PutConfigurationSetDeliveryOptionsCommand extends PutConfigurationSetDeliveryOptionsCommand_base {
|
|
@@ -68,20 +68,23 @@ declare const PutIdentityPolicyCommand_base: {
|
|
|
68
68
|
* @throws {@link SESServiceException}
|
|
69
69
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
70
70
|
*
|
|
71
|
-
*
|
|
71
|
+
*
|
|
72
72
|
* @example PutIdentityPolicy
|
|
73
73
|
* ```javascript
|
|
74
74
|
* // The following example adds a sending authorization policy to an identity:
|
|
75
75
|
* const input = {
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
76
|
+
* Identity: "example.com",
|
|
77
|
+
* Policy: `{"Version":"2008-10-17","Statement":[{"Sid":"stmt1469123904194","Effect":"Allow","Principal":{"AWS":"arn:aws:iam::123456789012:root"},"Action":["ses:SendEmail","ses:SendRawEmail"],"Resource":"arn:aws:ses:us-east-1:EXAMPLE65304:identity/example.com"}]}`,
|
|
78
|
+
* PolicyName: "MyPolicy"
|
|
79
79
|
* };
|
|
80
80
|
* const command = new PutIdentityPolicyCommand(input);
|
|
81
|
-
* await client.send(command);
|
|
82
|
-
*
|
|
81
|
+
* const response = await client.send(command);
|
|
82
|
+
* /* response is
|
|
83
|
+
* { /* metadata only *\/ }
|
|
84
|
+
* *\/
|
|
83
85
|
* ```
|
|
84
86
|
*
|
|
87
|
+
* @public
|
|
85
88
|
*/
|
|
86
89
|
export declare class PutIdentityPolicyCommand extends PutIdentityPolicyCommand_base {
|
|
87
90
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -68,22 +68,25 @@ declare const ReorderReceiptRuleSetCommand_base: {
|
|
|
68
68
|
* @throws {@link SESServiceException}
|
|
69
69
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
70
70
|
*
|
|
71
|
-
*
|
|
71
|
+
*
|
|
72
72
|
* @example ReorderReceiptRuleSet
|
|
73
73
|
* ```javascript
|
|
74
74
|
* // The following example reorders the receipt rules within a receipt rule set:
|
|
75
75
|
* const input = {
|
|
76
|
-
*
|
|
76
|
+
* RuleNames: [
|
|
77
77
|
* "MyRule",
|
|
78
78
|
* "MyOtherRule"
|
|
79
79
|
* ],
|
|
80
|
-
*
|
|
80
|
+
* RuleSetName: "MyRuleSet"
|
|
81
81
|
* };
|
|
82
82
|
* const command = new ReorderReceiptRuleSetCommand(input);
|
|
83
|
-
* await client.send(command);
|
|
84
|
-
*
|
|
83
|
+
* const response = await client.send(command);
|
|
84
|
+
* /* response is
|
|
85
|
+
* { /* metadata only *\/ }
|
|
86
|
+
* *\/
|
|
85
87
|
* ```
|
|
86
88
|
*
|
|
89
|
+
* @public
|
|
87
90
|
*/
|
|
88
91
|
export declare class ReorderReceiptRuleSetCommand extends ReorderReceiptRuleSetCommand_base {
|
|
89
92
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -101,6 +101,7 @@ declare const SendBounceCommand_base: {
|
|
|
101
101
|
* @throws {@link SESServiceException}
|
|
102
102
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
103
103
|
*
|
|
104
|
+
*
|
|
104
105
|
* @public
|
|
105
106
|
*/
|
|
106
107
|
export declare class SendBounceCommand extends SendBounceCommand_base {
|
|
@@ -165,6 +165,7 @@ declare const SendBulkTemplatedEmailCommand_base: {
|
|
|
165
165
|
* @throws {@link SESServiceException}
|
|
166
166
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
167
167
|
*
|
|
168
|
+
*
|
|
168
169
|
* @public
|
|
169
170
|
*/
|
|
170
171
|
export declare class SendBulkTemplatedEmailCommand extends SendBulkTemplatedEmailCommand_base {
|
|
@@ -82,6 +82,7 @@ declare const SendCustomVerificationEmailCommand_base: {
|
|
|
82
82
|
* @throws {@link SESServiceException}
|
|
83
83
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
84
84
|
*
|
|
85
|
+
*
|
|
85
86
|
* @public
|
|
86
87
|
*/
|
|
87
88
|
export declare class SendCustomVerificationEmailCommand extends SendCustomVerificationEmailCommand_base {
|
|
@@ -157,53 +157,53 @@ declare const SendEmailCommand_base: {
|
|
|
157
157
|
* @throws {@link SESServiceException}
|
|
158
158
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
159
159
|
*
|
|
160
|
-
*
|
|
160
|
+
*
|
|
161
161
|
* @example SendEmail
|
|
162
162
|
* ```javascript
|
|
163
163
|
* // The following example sends a formatted email:
|
|
164
164
|
* const input = {
|
|
165
|
-
*
|
|
166
|
-
*
|
|
167
|
-
*
|
|
165
|
+
* Destination: {
|
|
166
|
+
* BccAddresses: [],
|
|
167
|
+
* CcAddresses: [
|
|
168
168
|
* "recipient3@example.com"
|
|
169
169
|
* ],
|
|
170
|
-
*
|
|
170
|
+
* ToAddresses: [
|
|
171
171
|
* "recipient1@example.com",
|
|
172
172
|
* "recipient2@example.com"
|
|
173
173
|
* ]
|
|
174
174
|
* },
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
*
|
|
175
|
+
* Message: {
|
|
176
|
+
* Body: {
|
|
177
|
+
* Html: {
|
|
178
|
+
* Charset: "UTF-8",
|
|
179
|
+
* Data: `This message body contains HTML formatting. It can, for example, contain links like this one: <a class="ulink" href="http://docs.aws.amazon.com/ses/latest/DeveloperGuide" target="_blank">Amazon SES Developer Guide</a>.`
|
|
180
180
|
* },
|
|
181
|
-
*
|
|
182
|
-
*
|
|
183
|
-
*
|
|
181
|
+
* Text: {
|
|
182
|
+
* Charset: "UTF-8",
|
|
183
|
+
* Data: "This is the message body in text format."
|
|
184
184
|
* }
|
|
185
185
|
* },
|
|
186
|
-
*
|
|
187
|
-
*
|
|
188
|
-
*
|
|
186
|
+
* Subject: {
|
|
187
|
+
* Charset: "UTF-8",
|
|
188
|
+
* Data: "Test email"
|
|
189
189
|
* }
|
|
190
190
|
* },
|
|
191
|
-
*
|
|
192
|
-
*
|
|
193
|
-
*
|
|
194
|
-
*
|
|
195
|
-
*
|
|
191
|
+
* ReplyToAddresses: [],
|
|
192
|
+
* ReturnPath: "",
|
|
193
|
+
* ReturnPathArn: "",
|
|
194
|
+
* Source: "sender@example.com",
|
|
195
|
+
* SourceArn: ""
|
|
196
196
|
* };
|
|
197
197
|
* const command = new SendEmailCommand(input);
|
|
198
198
|
* const response = await client.send(command);
|
|
199
|
-
* /* response
|
|
199
|
+
* /* response is
|
|
200
200
|
* {
|
|
201
|
-
*
|
|
201
|
+
* MessageId: "EXAMPLE78603177f-7a5433e7-8edb-42ae-af10-f0181f34d6ee-000000"
|
|
202
202
|
* }
|
|
203
203
|
* *\/
|
|
204
|
-
* // example id: sendemail-1469049656296
|
|
205
204
|
* ```
|
|
206
205
|
*
|
|
206
|
+
* @public
|
|
207
207
|
*/
|
|
208
208
|
export declare class SendEmailCommand extends SendEmailCommand_base {
|
|
209
209
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -191,30 +191,30 @@ declare const SendRawEmailCommand_base: {
|
|
|
191
191
|
* @throws {@link SESServiceException}
|
|
192
192
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
193
193
|
*
|
|
194
|
-
*
|
|
194
|
+
*
|
|
195
195
|
* @example SendRawEmail
|
|
196
196
|
* ```javascript
|
|
197
197
|
* // The following example sends an email with an attachment:
|
|
198
198
|
* const input = {
|
|
199
|
-
*
|
|
200
|
-
*
|
|
201
|
-
*
|
|
202
|
-
*
|
|
199
|
+
* Destinations: [],
|
|
200
|
+
* FromArn: "",
|
|
201
|
+
* RawMessage: {
|
|
202
|
+
* Data: `From: sender@example.com\nTo: recipient@example.com\nSubject: Test email (contains an attachment)\nMIME-Version: 1.0\nContent-type: Multipart/Mixed; boundary="NextPart"\n\n--NextPart\nContent-Type: text/plain\n\nThis is the message body.\n\n--NextPart\nContent-Type: text/plain;\nContent-Disposition: attachment; filename="attachment.txt"\n\nThis is the text in the attachment.\n\n--NextPart--`
|
|
203
203
|
* },
|
|
204
|
-
*
|
|
205
|
-
*
|
|
206
|
-
*
|
|
204
|
+
* ReturnPathArn: "",
|
|
205
|
+
* Source: "",
|
|
206
|
+
* SourceArn: ""
|
|
207
207
|
* };
|
|
208
208
|
* const command = new SendRawEmailCommand(input);
|
|
209
209
|
* const response = await client.send(command);
|
|
210
|
-
* /* response
|
|
210
|
+
* /* response is
|
|
211
211
|
* {
|
|
212
|
-
*
|
|
212
|
+
* MessageId: "EXAMPLEf3f73d99b-c63fb06f-d263-41f8-a0fb-d0dc67d56c07-000000"
|
|
213
213
|
* }
|
|
214
214
|
* *\/
|
|
215
|
-
* // example id: sendrawemail-1469118548649
|
|
216
215
|
* ```
|
|
217
216
|
*
|
|
217
|
+
* @public
|
|
218
218
|
*/
|
|
219
219
|
export declare class SendRawEmailCommand extends SendRawEmailCommand_base {
|
|
220
220
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -154,6 +154,7 @@ declare const SendTemplatedEmailCommand_base: {
|
|
|
154
154
|
* @throws {@link SESServiceException}
|
|
155
155
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
156
156
|
*
|
|
157
|
+
*
|
|
157
158
|
* @public
|
|
158
159
|
*/
|
|
159
160
|
export declare class SendTemplatedEmailCommand extends SendTemplatedEmailCommand_base {
|
|
@@ -62,18 +62,21 @@ declare const SetActiveReceiptRuleSetCommand_base: {
|
|
|
62
62
|
* @throws {@link SESServiceException}
|
|
63
63
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
64
64
|
*
|
|
65
|
-
*
|
|
65
|
+
*
|
|
66
66
|
* @example SetActiveReceiptRuleSet
|
|
67
67
|
* ```javascript
|
|
68
68
|
* // The following example sets the active receipt rule set:
|
|
69
69
|
* const input = {
|
|
70
|
-
*
|
|
70
|
+
* RuleSetName: "RuleSetToActivate"
|
|
71
71
|
* };
|
|
72
72
|
* const command = new SetActiveReceiptRuleSetCommand(input);
|
|
73
|
-
* await client.send(command);
|
|
74
|
-
*
|
|
73
|
+
* const response = await client.send(command);
|
|
74
|
+
* /* response is
|
|
75
|
+
* { /* metadata only *\/ }
|
|
76
|
+
* *\/
|
|
75
77
|
* ```
|
|
76
78
|
*
|
|
79
|
+
* @public
|
|
77
80
|
*/
|
|
78
81
|
export declare class SetActiveReceiptRuleSetCommand extends SetActiveReceiptRuleSetCommand_base {
|
|
79
82
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -66,19 +66,22 @@ declare const SetIdentityDkimEnabledCommand_base: {
|
|
|
66
66
|
* @throws {@link SESServiceException}
|
|
67
67
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
68
68
|
*
|
|
69
|
-
*
|
|
69
|
+
*
|
|
70
70
|
* @example SetIdentityDkimEnabled
|
|
71
71
|
* ```javascript
|
|
72
72
|
* // The following example configures Amazon SES to Easy DKIM-sign the email sent from an identity:
|
|
73
73
|
* const input = {
|
|
74
|
-
*
|
|
75
|
-
*
|
|
74
|
+
* DkimEnabled: true,
|
|
75
|
+
* Identity: "user@example.com"
|
|
76
76
|
* };
|
|
77
77
|
* const command = new SetIdentityDkimEnabledCommand(input);
|
|
78
|
-
* await client.send(command);
|
|
79
|
-
*
|
|
78
|
+
* const response = await client.send(command);
|
|
79
|
+
* /* response is
|
|
80
|
+
* { /* metadata only *\/ }
|
|
81
|
+
* *\/
|
|
80
82
|
* ```
|
|
81
83
|
*
|
|
84
|
+
* @public
|
|
82
85
|
*/
|
|
83
86
|
export declare class SetIdentityDkimEnabledCommand extends SetIdentityDkimEnabledCommand_base {
|
|
84
87
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -63,19 +63,22 @@ declare const SetIdentityFeedbackForwardingEnabledCommand_base: {
|
|
|
63
63
|
* @throws {@link SESServiceException}
|
|
64
64
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
65
65
|
*
|
|
66
|
-
*
|
|
66
|
+
*
|
|
67
67
|
* @example SetIdentityFeedbackForwardingEnabled
|
|
68
68
|
* ```javascript
|
|
69
69
|
* // The following example configures Amazon SES to forward an identity's bounces and complaints via email:
|
|
70
70
|
* const input = {
|
|
71
|
-
*
|
|
72
|
-
*
|
|
71
|
+
* ForwardingEnabled: true,
|
|
72
|
+
* Identity: "user@example.com"
|
|
73
73
|
* };
|
|
74
74
|
* const command = new SetIdentityFeedbackForwardingEnabledCommand(input);
|
|
75
|
-
* await client.send(command);
|
|
76
|
-
*
|
|
75
|
+
* const response = await client.send(command);
|
|
76
|
+
* /* response is
|
|
77
|
+
* { /* metadata only *\/ }
|
|
78
|
+
* *\/
|
|
77
79
|
* ```
|
|
78
80
|
*
|
|
81
|
+
* @public
|
|
79
82
|
*/
|
|
80
83
|
export declare class SetIdentityFeedbackForwardingEnabledCommand extends SetIdentityFeedbackForwardingEnabledCommand_base {
|
|
81
84
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -59,20 +59,23 @@ declare const SetIdentityHeadersInNotificationsEnabledCommand_base: {
|
|
|
59
59
|
* @throws {@link SESServiceException}
|
|
60
60
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
61
61
|
*
|
|
62
|
-
*
|
|
62
|
+
*
|
|
63
63
|
* @example SetIdentityHeadersInNotificationsEnabled
|
|
64
64
|
* ```javascript
|
|
65
65
|
* // The following example configures Amazon SES to include the original email headers in the Amazon SNS bounce notifications for an identity:
|
|
66
66
|
* const input = {
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
67
|
+
* Enabled: true,
|
|
68
|
+
* Identity: "user@example.com",
|
|
69
|
+
* NotificationType: "Bounce"
|
|
70
70
|
* };
|
|
71
71
|
* const command = new SetIdentityHeadersInNotificationsEnabledCommand(input);
|
|
72
|
-
* await client.send(command);
|
|
73
|
-
*
|
|
72
|
+
* const response = await client.send(command);
|
|
73
|
+
* /* response is
|
|
74
|
+
* { /* metadata only *\/ }
|
|
75
|
+
* *\/
|
|
74
76
|
* ```
|
|
75
77
|
*
|
|
78
|
+
* @public
|
|
76
79
|
*/
|
|
77
80
|
export declare class SetIdentityHeadersInNotificationsEnabledCommand extends SetIdentityHeadersInNotificationsEnabledCommand_base {
|
|
78
81
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -62,20 +62,23 @@ declare const SetIdentityMailFromDomainCommand_base: {
|
|
|
62
62
|
* @throws {@link SESServiceException}
|
|
63
63
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
64
64
|
*
|
|
65
|
-
*
|
|
65
|
+
*
|
|
66
66
|
* @example SetIdentityMailFromDomain
|
|
67
67
|
* ```javascript
|
|
68
68
|
* // The following example configures Amazon SES to use a custom MAIL FROM domain for an identity:
|
|
69
69
|
* const input = {
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
70
|
+
* BehaviorOnMXFailure: "UseDefaultValue",
|
|
71
|
+
* Identity: "user@example.com",
|
|
72
|
+
* MailFromDomain: "bounces.example.com"
|
|
73
73
|
* };
|
|
74
74
|
* const command = new SetIdentityMailFromDomainCommand(input);
|
|
75
|
-
* await client.send(command);
|
|
76
|
-
*
|
|
75
|
+
* const response = await client.send(command);
|
|
76
|
+
* /* response is
|
|
77
|
+
* { /* metadata only *\/ }
|
|
78
|
+
* *\/
|
|
77
79
|
* ```
|
|
78
80
|
*
|
|
81
|
+
* @public
|
|
79
82
|
*/
|
|
80
83
|
export declare class SetIdentityMailFromDomainCommand extends SetIdentityMailFromDomainCommand_base {
|
|
81
84
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -62,20 +62,23 @@ declare const SetIdentityNotificationTopicCommand_base: {
|
|
|
62
62
|
* @throws {@link SESServiceException}
|
|
63
63
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
64
64
|
*
|
|
65
|
-
*
|
|
65
|
+
*
|
|
66
66
|
* @example SetIdentityNotificationTopic
|
|
67
67
|
* ```javascript
|
|
68
68
|
* // The following example sets the Amazon SNS topic to which Amazon SES will publish bounce, complaint, and/or delivery notifications for emails sent with the specified identity as the Source:
|
|
69
69
|
* const input = {
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
70
|
+
* Identity: "user@example.com",
|
|
71
|
+
* NotificationType: "Bounce",
|
|
72
|
+
* SnsTopic: "arn:aws:sns:us-west-2:111122223333:MyTopic"
|
|
73
73
|
* };
|
|
74
74
|
* const command = new SetIdentityNotificationTopicCommand(input);
|
|
75
|
-
* await client.send(command);
|
|
76
|
-
*
|
|
75
|
+
* const response = await client.send(command);
|
|
76
|
+
* /* response is
|
|
77
|
+
* { /* metadata only *\/ }
|
|
78
|
+
* *\/
|
|
77
79
|
* ```
|
|
78
80
|
*
|
|
81
|
+
* @public
|
|
79
82
|
*/
|
|
80
83
|
export declare class SetIdentityNotificationTopicCommand extends SetIdentityNotificationTopicCommand_base {
|
|
81
84
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -63,20 +63,23 @@ declare const SetReceiptRulePositionCommand_base: {
|
|
|
63
63
|
* @throws {@link SESServiceException}
|
|
64
64
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
65
65
|
*
|
|
66
|
-
*
|
|
66
|
+
*
|
|
67
67
|
* @example SetReceiptRulePosition
|
|
68
68
|
* ```javascript
|
|
69
69
|
* // The following example sets the position of a receipt rule in a receipt rule set:
|
|
70
70
|
* const input = {
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
71
|
+
* After: "PutRuleAfterThisRule",
|
|
72
|
+
* RuleName: "RuleToReposition",
|
|
73
|
+
* RuleSetName: "MyRuleSet"
|
|
74
74
|
* };
|
|
75
75
|
* const command = new SetReceiptRulePositionCommand(input);
|
|
76
|
-
* await client.send(command);
|
|
77
|
-
*
|
|
76
|
+
* const response = await client.send(command);
|
|
77
|
+
* /* response is
|
|
78
|
+
* { /* metadata only *\/ }
|
|
79
|
+
* *\/
|
|
78
80
|
* ```
|
|
79
81
|
*
|
|
82
|
+
* @public
|
|
80
83
|
*/
|
|
81
84
|
export declare class SetReceiptRulePositionCommand extends SetReceiptRulePositionCommand_base {
|
|
82
85
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -70,6 +70,7 @@ declare const TestRenderTemplateCommand_base: {
|
|
|
70
70
|
* @throws {@link SESServiceException}
|
|
71
71
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
72
72
|
*
|
|
73
|
+
*
|
|
73
74
|
* @public
|
|
74
75
|
*/
|
|
75
76
|
export declare class TestRenderTemplateCommand extends TestRenderTemplateCommand_base {
|
|
@@ -57,18 +57,21 @@ declare const UpdateAccountSendingEnabledCommand_base: {
|
|
|
57
57
|
* @throws {@link SESServiceException}
|
|
58
58
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
59
59
|
*
|
|
60
|
-
*
|
|
60
|
+
*
|
|
61
61
|
* @example UpdateAccountSendingEnabled
|
|
62
62
|
* ```javascript
|
|
63
63
|
* // The following example updated the sending status for this account.
|
|
64
64
|
* const input = {
|
|
65
|
-
*
|
|
65
|
+
* Enabled: true
|
|
66
66
|
* };
|
|
67
67
|
* const command = new UpdateAccountSendingEnabledCommand(input);
|
|
68
|
-
* await client.send(command);
|
|
69
|
-
*
|
|
68
|
+
* const response = await client.send(command);
|
|
69
|
+
* /* response is
|
|
70
|
+
* { /* metadata only *\/ }
|
|
71
|
+
* *\/
|
|
70
72
|
* ```
|
|
71
73
|
*
|
|
74
|
+
* @public
|
|
72
75
|
*/
|
|
73
76
|
export declare class UpdateAccountSendingEnabledCommand extends UpdateAccountSendingEnabledCommand_base {
|
|
74
77
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -104,6 +104,7 @@ declare const UpdateConfigurationSetEventDestinationCommand_base: {
|
|
|
104
104
|
* @throws {@link SESServiceException}
|
|
105
105
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
106
106
|
*
|
|
107
|
+
*
|
|
107
108
|
* @public
|
|
108
109
|
*/
|
|
109
110
|
export declare class UpdateConfigurationSetEventDestinationCommand extends UpdateConfigurationSetEventDestinationCommand_base {
|
|
@@ -60,19 +60,22 @@ declare const UpdateConfigurationSetReputationMetricsEnabledCommand_base: {
|
|
|
60
60
|
* @throws {@link SESServiceException}
|
|
61
61
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
62
62
|
*
|
|
63
|
-
*
|
|
63
|
+
*
|
|
64
64
|
* @example UpdateConfigurationSetReputationMetricsEnabled
|
|
65
65
|
* ```javascript
|
|
66
66
|
* // Set the reputationMetricsEnabled flag for a specific configuration set.
|
|
67
67
|
* const input = {
|
|
68
|
-
*
|
|
69
|
-
*
|
|
68
|
+
* ConfigurationSetName: "foo",
|
|
69
|
+
* Enabled: true
|
|
70
70
|
* };
|
|
71
71
|
* const command = new UpdateConfigurationSetReputationMetricsEnabledCommand(input);
|
|
72
|
-
* await client.send(command);
|
|
73
|
-
*
|
|
72
|
+
* const response = await client.send(command);
|
|
73
|
+
* /* response is
|
|
74
|
+
* { /* metadata only *\/ }
|
|
75
|
+
* *\/
|
|
74
76
|
* ```
|
|
75
77
|
*
|
|
78
|
+
* @public
|
|
76
79
|
*/
|
|
77
80
|
export declare class UpdateConfigurationSetReputationMetricsEnabledCommand extends UpdateConfigurationSetReputationMetricsEnabledCommand_base {
|
|
78
81
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -61,19 +61,22 @@ declare const UpdateConfigurationSetSendingEnabledCommand_base: {
|
|
|
61
61
|
* @throws {@link SESServiceException}
|
|
62
62
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
63
63
|
*
|
|
64
|
-
*
|
|
64
|
+
*
|
|
65
65
|
* @example UpdateConfigurationSetReputationMetricsEnabled
|
|
66
66
|
* ```javascript
|
|
67
67
|
* // Set the sending enabled flag for a specific configuration set.
|
|
68
68
|
* const input = {
|
|
69
|
-
*
|
|
70
|
-
*
|
|
69
|
+
* ConfigurationSetName: "foo",
|
|
70
|
+
* Enabled: true
|
|
71
71
|
* };
|
|
72
72
|
* const command = new UpdateConfigurationSetSendingEnabledCommand(input);
|
|
73
|
-
* await client.send(command);
|
|
74
|
-
*
|
|
73
|
+
* const response = await client.send(command);
|
|
74
|
+
* /* response is
|
|
75
|
+
* { /* metadata only *\/ }
|
|
76
|
+
* *\/
|
|
75
77
|
* ```
|
|
76
78
|
*
|
|
79
|
+
* @public
|
|
77
80
|
*/
|
|
78
81
|
export declare class UpdateConfigurationSetSendingEnabledCommand extends UpdateConfigurationSetSendingEnabledCommand_base {
|
|
79
82
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -78,6 +78,7 @@ declare const UpdateConfigurationSetTrackingOptionsCommand_base: {
|
|
|
78
78
|
* @throws {@link SESServiceException}
|
|
79
79
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
80
80
|
*
|
|
81
|
+
*
|
|
81
82
|
* @public
|
|
82
83
|
*/
|
|
83
84
|
export declare class UpdateConfigurationSetTrackingOptionsCommand extends UpdateConfigurationSetTrackingOptionsCommand_base {
|
|
@@ -72,6 +72,7 @@ declare const UpdateCustomVerificationEmailTemplateCommand_base: {
|
|
|
72
72
|
* @throws {@link SESServiceException}
|
|
73
73
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
74
74
|
*
|
|
75
|
+
*
|
|
75
76
|
* @public
|
|
76
77
|
*/
|
|
77
78
|
export declare class UpdateCustomVerificationEmailTemplateCommand extends UpdateCustomVerificationEmailTemplateCommand_base {
|
|
@@ -136,32 +136,35 @@ declare const UpdateReceiptRuleCommand_base: {
|
|
|
136
136
|
* @throws {@link SESServiceException}
|
|
137
137
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
138
138
|
*
|
|
139
|
-
*
|
|
139
|
+
*
|
|
140
140
|
* @example UpdateReceiptRule
|
|
141
141
|
* ```javascript
|
|
142
142
|
* // The following example updates a receipt rule to use an Amazon S3 action:
|
|
143
143
|
* const input = {
|
|
144
|
-
*
|
|
145
|
-
*
|
|
144
|
+
* Rule: {
|
|
145
|
+
* Actions: [
|
|
146
146
|
* {
|
|
147
|
-
*
|
|
148
|
-
*
|
|
149
|
-
*
|
|
147
|
+
* S3Action: {
|
|
148
|
+
* BucketName: "MyBucket",
|
|
149
|
+
* ObjectKeyPrefix: "email"
|
|
150
150
|
* }
|
|
151
151
|
* }
|
|
152
152
|
* ],
|
|
153
|
-
*
|
|
154
|
-
*
|
|
155
|
-
*
|
|
156
|
-
*
|
|
153
|
+
* Enabled: true,
|
|
154
|
+
* Name: "MyRule",
|
|
155
|
+
* ScanEnabled: true,
|
|
156
|
+
* TlsPolicy: "Optional"
|
|
157
157
|
* },
|
|
158
|
-
*
|
|
158
|
+
* RuleSetName: "MyRuleSet"
|
|
159
159
|
* };
|
|
160
160
|
* const command = new UpdateReceiptRuleCommand(input);
|
|
161
|
-
* await client.send(command);
|
|
162
|
-
*
|
|
161
|
+
* const response = await client.send(command);
|
|
162
|
+
* /* response is
|
|
163
|
+
* { /* metadata only *\/ }
|
|
164
|
+
* *\/
|
|
163
165
|
* ```
|
|
164
166
|
*
|
|
167
|
+
* @public
|
|
165
168
|
*/
|
|
166
169
|
export declare class UpdateReceiptRuleCommand extends UpdateReceiptRuleCommand_base {
|
|
167
170
|
/** @internal type navigation helper, not in runtime. */
|