@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
|
@@ -40,8 +40,6 @@ const defaultSESHttpAuthSchemeProvider = (authParameters) => {
|
|
|
40
40
|
exports.defaultSESHttpAuthSchemeProvider = defaultSESHttpAuthSchemeProvider;
|
|
41
41
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
42
42
|
const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
|
|
43
|
-
return {
|
|
44
|
-
...config_0,
|
|
45
|
-
};
|
|
43
|
+
return Object.assign(config_0, {});
|
|
46
44
|
};
|
|
47
45
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
package/dist-cjs/index.js
CHANGED
|
@@ -168,12 +168,11 @@ var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
|
168
168
|
|
|
169
169
|
// src/endpoint/EndpointParameters.ts
|
|
170
170
|
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
171
|
-
return {
|
|
172
|
-
...options,
|
|
171
|
+
return Object.assign(options, {
|
|
173
172
|
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
174
173
|
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
175
174
|
defaultSigningName: "ses"
|
|
176
|
-
};
|
|
175
|
+
});
|
|
177
176
|
}, "resolveClientEndpointParameters");
|
|
178
177
|
var commonParams = {
|
|
179
178
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -230,22 +229,21 @@ var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
|
230
229
|
}, "resolveHttpAuthRuntimeConfig");
|
|
231
230
|
|
|
232
231
|
// src/runtimeExtensions.ts
|
|
233
|
-
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
234
232
|
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
235
|
-
const extensionConfiguration =
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
233
|
+
const extensionConfiguration = Object.assign(
|
|
234
|
+
(0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
235
|
+
(0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
236
|
+
(0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
237
|
+
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
238
|
+
);
|
|
241
239
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
242
|
-
return
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
240
|
+
return Object.assign(
|
|
241
|
+
runtimeConfig,
|
|
242
|
+
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
243
|
+
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
244
|
+
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
245
|
+
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
246
|
+
);
|
|
249
247
|
}, "resolveRuntimeExtensions");
|
|
250
248
|
|
|
251
249
|
// src/SESClient.ts
|
|
@@ -259,6 +257,8 @@ var SESClient = class extends import_smithy_client.Client {
|
|
|
259
257
|
config;
|
|
260
258
|
constructor(...[configuration]) {
|
|
261
259
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
260
|
+
super(_config_0);
|
|
261
|
+
this.initConfig = _config_0;
|
|
262
262
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
263
263
|
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
264
264
|
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
@@ -267,7 +267,6 @@ var SESClient = class extends import_smithy_client.Client {
|
|
|
267
267
|
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
268
268
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
269
269
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
270
|
-
super(_config_8);
|
|
271
270
|
this.config = _config_8;
|
|
272
271
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
273
272
|
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
package/dist-es/SESClient.js
CHANGED
|
@@ -17,6 +17,8 @@ export class SESClient extends __Client {
|
|
|
17
17
|
config;
|
|
18
18
|
constructor(...[configuration]) {
|
|
19
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
20
|
+
super(_config_0);
|
|
21
|
+
this.initConfig = _config_0;
|
|
20
22
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
21
23
|
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
22
24
|
const _config_3 = resolveRetryConfig(_config_2);
|
|
@@ -25,7 +27,6 @@ export class SESClient extends __Client {
|
|
|
25
27
|
const _config_6 = resolveEndpointConfig(_config_5);
|
|
26
28
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
27
29
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
28
|
-
super(_config_8);
|
|
29
30
|
this.config = _config_8;
|
|
30
31
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
31
32
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
@@ -35,7 +35,5 @@ export const defaultSESHttpAuthSchemeProvider = (authParameters) => {
|
|
|
35
35
|
};
|
|
36
36
|
export const resolveHttpAuthSchemeConfig = (config) => {
|
|
37
37
|
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
38
|
-
return {
|
|
39
|
-
...config_0,
|
|
40
|
-
};
|
|
38
|
+
return Object.assign(config_0, {});
|
|
41
39
|
};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
export const resolveClientEndpointParameters = (options) => {
|
|
2
|
-
return {
|
|
3
|
-
...options,
|
|
2
|
+
return Object.assign(options, {
|
|
4
3
|
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
5
4
|
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
6
5
|
defaultSigningName: "ses",
|
|
7
|
-
};
|
|
6
|
+
});
|
|
8
7
|
};
|
|
9
8
|
export const commonParams = {
|
|
10
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -2,20 +2,8 @@ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfigurat
|
|
|
2
2
|
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
|
|
3
3
|
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
4
4
|
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
-
const asPartial = (t) => t;
|
|
6
5
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
7
|
-
const extensionConfiguration =
|
|
8
|
-
...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
|
|
9
|
-
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
10
|
-
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
|
|
11
|
-
...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
|
|
12
|
-
};
|
|
6
|
+
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
13
7
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
14
|
-
return
|
|
15
|
-
...runtimeConfig,
|
|
16
|
-
...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
|
17
|
-
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
18
|
-
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
|
|
19
|
-
...resolveHttpAuthRuntimeConfig(extensionConfiguration),
|
|
20
|
-
};
|
|
8
|
+
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
21
9
|
};
|
|
@@ -68,19 +68,22 @@ declare const CloneReceiptRuleSetCommand_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 CloneReceiptRuleSet
|
|
73
73
|
* ```javascript
|
|
74
74
|
* // The following example creates a receipt rule set by cloning an existing one:
|
|
75
75
|
* const input = {
|
|
76
|
-
*
|
|
77
|
-
*
|
|
76
|
+
* OriginalRuleSetName: "RuleSetToClone",
|
|
77
|
+
* RuleSetName: "RuleSetToCreate"
|
|
78
78
|
* };
|
|
79
79
|
* const command = new CloneReceiptRuleSetCommand(input);
|
|
80
|
-
* await client.send(command);
|
|
81
|
-
*
|
|
80
|
+
* const response = await client.send(command);
|
|
81
|
+
* /* response is
|
|
82
|
+
* { /* metadata only *\/ }
|
|
83
|
+
* *\/
|
|
82
84
|
* ```
|
|
83
85
|
*
|
|
86
|
+
* @public
|
|
84
87
|
*/
|
|
85
88
|
export declare class CloneReceiptRuleSetCommand extends CloneReceiptRuleSetCommand_base {
|
|
86
89
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -71,6 +71,7 @@ declare const CreateConfigurationSetCommand_base: {
|
|
|
71
71
|
* @throws {@link SESServiceException}
|
|
72
72
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
73
73
|
*
|
|
74
|
+
*
|
|
74
75
|
* @public
|
|
75
76
|
*/
|
|
76
77
|
export declare class CreateConfigurationSetCommand extends CreateConfigurationSetCommand_base {
|
|
@@ -108,6 +108,7 @@ declare const CreateConfigurationSetEventDestinationCommand_base: {
|
|
|
108
108
|
* @throws {@link SESServiceException}
|
|
109
109
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
110
110
|
*
|
|
111
|
+
*
|
|
111
112
|
* @public
|
|
112
113
|
*/
|
|
113
114
|
export declare class CreateConfigurationSetEventDestinationCommand extends CreateConfigurationSetEventDestinationCommand_base {
|
|
@@ -79,6 +79,7 @@ declare const CreateConfigurationSetTrackingOptionsCommand_base: {
|
|
|
79
79
|
* @throws {@link SESServiceException}
|
|
80
80
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
81
81
|
*
|
|
82
|
+
*
|
|
82
83
|
* @public
|
|
83
84
|
*/
|
|
84
85
|
export declare class CreateConfigurationSetTrackingOptionsCommand extends CreateConfigurationSetTrackingOptionsCommand_base {
|
|
@@ -77,6 +77,7 @@ declare const CreateCustomVerificationEmailTemplateCommand_base: {
|
|
|
77
77
|
* @throws {@link SESServiceException}
|
|
78
78
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
79
79
|
*
|
|
80
|
+
*
|
|
80
81
|
* @public
|
|
81
82
|
*/
|
|
82
83
|
export declare class CreateCustomVerificationEmailTemplateCommand extends CreateCustomVerificationEmailTemplateCommand_base {
|
|
@@ -69,24 +69,27 @@ declare const CreateReceiptFilterCommand_base: {
|
|
|
69
69
|
* @throws {@link SESServiceException}
|
|
70
70
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
71
71
|
*
|
|
72
|
-
*
|
|
72
|
+
*
|
|
73
73
|
* @example CreateReceiptFilter
|
|
74
74
|
* ```javascript
|
|
75
75
|
* // The following example creates a new IP address filter:
|
|
76
76
|
* const input = {
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
77
|
+
* Filter: {
|
|
78
|
+
* IpFilter: {
|
|
79
|
+
* Cidr: "1.2.3.4/24",
|
|
80
|
+
* Policy: "Allow"
|
|
81
81
|
* },
|
|
82
|
-
*
|
|
82
|
+
* Name: "MyFilter"
|
|
83
83
|
* }
|
|
84
84
|
* };
|
|
85
85
|
* const command = new CreateReceiptFilterCommand(input);
|
|
86
|
-
* await client.send(command);
|
|
87
|
-
*
|
|
86
|
+
* const response = await client.send(command);
|
|
87
|
+
* /* response is
|
|
88
|
+
* { /* metadata only *\/ }
|
|
89
|
+
* *\/
|
|
88
90
|
* ```
|
|
89
91
|
*
|
|
92
|
+
* @public
|
|
90
93
|
*/
|
|
91
94
|
export declare class CreateReceiptFilterCommand extends CreateReceiptFilterCommand_base {
|
|
92
95
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -140,33 +140,36 @@ declare const CreateReceiptRuleCommand_base: {
|
|
|
140
140
|
* @throws {@link SESServiceException}
|
|
141
141
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
142
142
|
*
|
|
143
|
-
*
|
|
143
|
+
*
|
|
144
144
|
* @example CreateReceiptRule
|
|
145
145
|
* ```javascript
|
|
146
146
|
* // The following example creates a new receipt rule:
|
|
147
147
|
* const input = {
|
|
148
|
-
*
|
|
149
|
-
*
|
|
150
|
-
*
|
|
148
|
+
* After: "",
|
|
149
|
+
* Rule: {
|
|
150
|
+
* Actions: [
|
|
151
151
|
* {
|
|
152
|
-
*
|
|
153
|
-
*
|
|
154
|
-
*
|
|
152
|
+
* S3Action: {
|
|
153
|
+
* BucketName: "MyBucket",
|
|
154
|
+
* ObjectKeyPrefix: "email"
|
|
155
155
|
* }
|
|
156
156
|
* }
|
|
157
157
|
* ],
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
*
|
|
161
|
-
*
|
|
158
|
+
* Enabled: true,
|
|
159
|
+
* Name: "MyRule",
|
|
160
|
+
* ScanEnabled: true,
|
|
161
|
+
* TlsPolicy: "Optional"
|
|
162
162
|
* },
|
|
163
|
-
*
|
|
163
|
+
* RuleSetName: "MyRuleSet"
|
|
164
164
|
* };
|
|
165
165
|
* const command = new CreateReceiptRuleCommand(input);
|
|
166
|
-
* await client.send(command);
|
|
167
|
-
*
|
|
166
|
+
* const response = await client.send(command);
|
|
167
|
+
* /* response is
|
|
168
|
+
* { /* metadata only *\/ }
|
|
169
|
+
* *\/
|
|
168
170
|
* ```
|
|
169
171
|
*
|
|
172
|
+
* @public
|
|
170
173
|
*/
|
|
171
174
|
export declare class CreateReceiptRuleCommand extends CreateReceiptRuleCommand_base {
|
|
172
175
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -62,18 +62,21 @@ declare const CreateReceiptRuleSetCommand_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 CreateReceiptRuleSet
|
|
67
67
|
* ```javascript
|
|
68
68
|
* // The following example creates an empty receipt rule set:
|
|
69
69
|
* const input = {
|
|
70
|
-
*
|
|
70
|
+
* RuleSetName: "MyRuleSet"
|
|
71
71
|
* };
|
|
72
72
|
* const command = new CreateReceiptRuleSetCommand(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 CreateReceiptRuleSetCommand extends CreateReceiptRuleSetCommand_base {
|
|
79
82
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -72,6 +72,7 @@ declare const CreateTemplateCommand_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 CreateTemplateCommand extends CreateTemplateCommand_base {
|
|
@@ -58,6 +58,7 @@ declare const DeleteConfigurationSetCommand_base: {
|
|
|
58
58
|
* @throws {@link SESServiceException}
|
|
59
59
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
60
60
|
*
|
|
61
|
+
*
|
|
61
62
|
* @public
|
|
62
63
|
*/
|
|
63
64
|
export declare class DeleteConfigurationSetCommand extends DeleteConfigurationSetCommand_base {
|
|
@@ -63,6 +63,7 @@ declare const DeleteConfigurationSetEventDestinationCommand_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
|
* @public
|
|
67
68
|
*/
|
|
68
69
|
export declare class DeleteConfigurationSetEventDestinationCommand extends DeleteConfigurationSetEventDestinationCommand_base {
|
|
@@ -67,6 +67,7 @@ declare const DeleteConfigurationSetTrackingOptionsCommand_base: {
|
|
|
67
67
|
* @throws {@link SESServiceException}
|
|
68
68
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
69
69
|
*
|
|
70
|
+
*
|
|
70
71
|
* @public
|
|
71
72
|
*/
|
|
72
73
|
export declare class DeleteConfigurationSetTrackingOptionsCommand extends DeleteConfigurationSetTrackingOptionsCommand_base {
|
|
@@ -56,6 +56,7 @@ declare const DeleteCustomVerificationEmailTemplateCommand_base: {
|
|
|
56
56
|
* @throws {@link SESServiceException}
|
|
57
57
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
58
58
|
*
|
|
59
|
+
*
|
|
59
60
|
* @public
|
|
60
61
|
*/
|
|
61
62
|
export declare class DeleteCustomVerificationEmailTemplateCommand extends DeleteCustomVerificationEmailTemplateCommand_base {
|
|
@@ -54,18 +54,21 @@ declare const DeleteIdentityCommand_base: {
|
|
|
54
54
|
* @throws {@link SESServiceException}
|
|
55
55
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
56
56
|
*
|
|
57
|
-
*
|
|
57
|
+
*
|
|
58
58
|
* @example DeleteIdentity
|
|
59
59
|
* ```javascript
|
|
60
60
|
* // The following example deletes an identity from the list of identities that have been submitted for verification with Amazon SES:
|
|
61
61
|
* const input = {
|
|
62
|
-
*
|
|
62
|
+
* Identity: "user@example.com"
|
|
63
63
|
* };
|
|
64
64
|
* const command = new DeleteIdentityCommand(input);
|
|
65
|
-
* await client.send(command);
|
|
66
|
-
*
|
|
65
|
+
* const response = await client.send(command);
|
|
66
|
+
* /* response is
|
|
67
|
+
* { /* metadata only *\/ }
|
|
68
|
+
* *\/
|
|
67
69
|
* ```
|
|
68
70
|
*
|
|
71
|
+
* @public
|
|
69
72
|
*/
|
|
70
73
|
export declare class DeleteIdentityCommand extends DeleteIdentityCommand_base {
|
|
71
74
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -64,19 +64,22 @@ declare const DeleteIdentityPolicyCommand_base: {
|
|
|
64
64
|
* @throws {@link SESServiceException}
|
|
65
65
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
66
66
|
*
|
|
67
|
-
*
|
|
67
|
+
*
|
|
68
68
|
* @example DeleteIdentityPolicy
|
|
69
69
|
* ```javascript
|
|
70
70
|
* // The following example deletes a sending authorization policy for an identity:
|
|
71
71
|
* const input = {
|
|
72
|
-
*
|
|
73
|
-
*
|
|
72
|
+
* Identity: "user@example.com",
|
|
73
|
+
* PolicyName: "MyPolicy"
|
|
74
74
|
* };
|
|
75
75
|
* const command = new DeleteIdentityPolicyCommand(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 DeleteIdentityPolicyCommand extends DeleteIdentityPolicyCommand_base {
|
|
82
85
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -55,18 +55,21 @@ declare const DeleteReceiptFilterCommand_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 DeleteReceiptFilter
|
|
60
60
|
* ```javascript
|
|
61
61
|
* // The following example deletes an IP address filter:
|
|
62
62
|
* const input = {
|
|
63
|
-
*
|
|
63
|
+
* FilterName: "MyFilter"
|
|
64
64
|
* };
|
|
65
65
|
* const command = new DeleteReceiptFilterCommand(input);
|
|
66
|
-
* await client.send(command);
|
|
67
|
-
*
|
|
66
|
+
* const response = await client.send(command);
|
|
67
|
+
* /* response is
|
|
68
|
+
* { /* metadata only *\/ }
|
|
69
|
+
* *\/
|
|
68
70
|
* ```
|
|
69
71
|
*
|
|
72
|
+
* @public
|
|
70
73
|
*/
|
|
71
74
|
export declare class DeleteReceiptFilterCommand extends DeleteReceiptFilterCommand_base {
|
|
72
75
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -59,19 +59,22 @@ declare const DeleteReceiptRuleCommand_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 DeleteReceiptRule
|
|
64
64
|
* ```javascript
|
|
65
65
|
* // The following example deletes a receipt rule:
|
|
66
66
|
* const input = {
|
|
67
|
-
*
|
|
68
|
-
*
|
|
67
|
+
* RuleName: "MyRule",
|
|
68
|
+
* RuleSetName: "MyRuleSet"
|
|
69
69
|
* };
|
|
70
70
|
* const command = new DeleteReceiptRuleCommand(input);
|
|
71
|
-
* await client.send(command);
|
|
72
|
-
*
|
|
71
|
+
* const response = await client.send(command);
|
|
72
|
+
* /* response is
|
|
73
|
+
* { /* metadata only *\/ }
|
|
74
|
+
* *\/
|
|
73
75
|
* ```
|
|
74
76
|
*
|
|
77
|
+
* @public
|
|
75
78
|
*/
|
|
76
79
|
export declare class DeleteReceiptRuleCommand extends DeleteReceiptRuleCommand_base {
|
|
77
80
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -62,18 +62,21 @@ declare const DeleteReceiptRuleSetCommand_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 DeleteReceiptRuleSet
|
|
67
67
|
* ```javascript
|
|
68
68
|
* // The following example deletes a receipt rule set:
|
|
69
69
|
* const input = {
|
|
70
|
-
*
|
|
70
|
+
* RuleSetName: "MyRuleSet"
|
|
71
71
|
* };
|
|
72
72
|
* const command = new DeleteReceiptRuleSetCommand(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 DeleteReceiptRuleSetCommand extends DeleteReceiptRuleSetCommand_base {
|
|
79
82
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -53,6 +53,7 @@ declare const DeleteTemplateCommand_base: {
|
|
|
53
53
|
* @throws {@link SESServiceException}
|
|
54
54
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
55
55
|
*
|
|
56
|
+
*
|
|
56
57
|
* @public
|
|
57
58
|
*/
|
|
58
59
|
export declare class DeleteTemplateCommand extends DeleteTemplateCommand_base {
|
|
@@ -53,18 +53,21 @@ declare const DeleteVerifiedEmailAddressCommand_base: {
|
|
|
53
53
|
* @throws {@link SESServiceException}
|
|
54
54
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
55
55
|
*
|
|
56
|
-
*
|
|
56
|
+
*
|
|
57
57
|
* @example DeleteVerifiedEmailAddress
|
|
58
58
|
* ```javascript
|
|
59
59
|
* // The following example deletes an email address from the list of identities that have been submitted for verification with Amazon SES:
|
|
60
60
|
* const input = {
|
|
61
|
-
*
|
|
61
|
+
* EmailAddress: "user@example.com"
|
|
62
62
|
* };
|
|
63
63
|
* const command = new DeleteVerifiedEmailAddressCommand(input);
|
|
64
|
-
* await client.send(command);
|
|
65
|
-
*
|
|
64
|
+
* const response = await client.send(command);
|
|
65
|
+
* /* response is
|
|
66
|
+
* { /* metadata only *\/ }
|
|
67
|
+
* *\/
|
|
66
68
|
* ```
|
|
67
69
|
*
|
|
70
|
+
* @public
|
|
68
71
|
*/
|
|
69
72
|
export declare class DeleteVerifiedEmailAddressCommand extends DeleteVerifiedEmailAddressCommand_base {
|
|
70
73
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -112,40 +112,40 @@ declare const DescribeActiveReceiptRuleSetCommand_base: {
|
|
|
112
112
|
* @throws {@link SESServiceException}
|
|
113
113
|
* <p>Base exception class for all service exceptions from SES service.</p>
|
|
114
114
|
*
|
|
115
|
-
*
|
|
115
|
+
*
|
|
116
116
|
* @example DescribeActiveReceiptRuleSet
|
|
117
117
|
* ```javascript
|
|
118
118
|
* // The following example returns the metadata and receipt rules for the receipt rule set that is currently active:
|
|
119
|
-
* const input = {};
|
|
119
|
+
* const input = { /* empty *\/ };
|
|
120
120
|
* const command = new DescribeActiveReceiptRuleSetCommand(input);
|
|
121
121
|
* const response = await client.send(command);
|
|
122
|
-
* /* response
|
|
122
|
+
* /* response is
|
|
123
123
|
* {
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
124
|
+
* Metadata: {
|
|
125
|
+
* CreatedTimestamp: "2016-07-15T16:25:59.607Z",
|
|
126
|
+
* Name: "default-rule-set"
|
|
127
127
|
* },
|
|
128
|
-
*
|
|
128
|
+
* Rules: [
|
|
129
129
|
* {
|
|
130
|
-
*
|
|
130
|
+
* Actions: [
|
|
131
131
|
* {
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
*
|
|
132
|
+
* S3Action: {
|
|
133
|
+
* BucketName: "MyBucket",
|
|
134
|
+
* ObjectKeyPrefix: "email"
|
|
135
135
|
* }
|
|
136
136
|
* }
|
|
137
137
|
* ],
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
-
*
|
|
138
|
+
* Enabled: true,
|
|
139
|
+
* Name: "MyRule",
|
|
140
|
+
* ScanEnabled: true,
|
|
141
|
+
* TlsPolicy: "Optional"
|
|
142
142
|
* }
|
|
143
143
|
* ]
|
|
144
144
|
* }
|
|
145
145
|
* *\/
|
|
146
|
-
* // example id: describeactivereceiptruleset-1469121611502
|
|
147
146
|
* ```
|
|
148
147
|
*
|
|
148
|
+
* @public
|
|
149
149
|
*/
|
|
150
150
|
export declare class DescribeActiveReceiptRuleSetCommand extends DescribeActiveReceiptRuleSetCommand_base {
|
|
151
151
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -101,6 +101,7 @@ declare const DescribeConfigurationSetCommand_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 DescribeConfigurationSetCommand extends DescribeConfigurationSetCommand_base {
|