@aws-sdk/client-mailmanager 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/MailManagerClient.js +2 -1
- package/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-cjs/endpoint/EndpointParameters.js +2 -3
- package/dist-cjs/runtimeExtensions.js +2 -14
- package/dist-es/MailManagerClient.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/CreateAddonInstanceCommand.d.ts +1 -0
- package/dist-types/commands/CreateAddonSubscriptionCommand.d.ts +1 -0
- package/dist-types/commands/CreateAddressListCommand.d.ts +1 -0
- package/dist-types/commands/CreateAddressListImportJobCommand.d.ts +1 -0
- package/dist-types/commands/CreateArchiveCommand.d.ts +1 -0
- package/dist-types/commands/CreateIngressPointCommand.d.ts +79 -0
- package/dist-types/commands/CreateRelayCommand.d.ts +1 -0
- package/dist-types/commands/CreateRuleSetCommand.d.ts +1 -0
- package/dist-types/commands/CreateTrafficPolicyCommand.d.ts +35 -0
- package/dist-types/commands/DeleteAddonInstanceCommand.d.ts +1 -0
- package/dist-types/commands/DeleteAddonSubscriptionCommand.d.ts +1 -0
- package/dist-types/commands/DeleteAddressListCommand.d.ts +1 -0
- package/dist-types/commands/DeleteArchiveCommand.d.ts +1 -0
- package/dist-types/commands/DeleteIngressPointCommand.d.ts +14 -0
- package/dist-types/commands/DeleteRelayCommand.d.ts +1 -0
- package/dist-types/commands/DeleteRuleSetCommand.d.ts +1 -0
- package/dist-types/commands/DeleteTrafficPolicyCommand.d.ts +14 -0
- package/dist-types/commands/DeregisterMemberFromAddressListCommand.d.ts +1 -0
- package/dist-types/commands/GetAddonInstanceCommand.d.ts +1 -0
- package/dist-types/commands/GetAddonSubscriptionCommand.d.ts +1 -0
- package/dist-types/commands/GetAddressListCommand.d.ts +1 -0
- package/dist-types/commands/GetAddressListImportJobCommand.d.ts +1 -0
- package/dist-types/commands/GetArchiveCommand.d.ts +1 -0
- package/dist-types/commands/GetArchiveExportCommand.d.ts +1 -0
- package/dist-types/commands/GetArchiveMessageCommand.d.ts +1 -0
- package/dist-types/commands/GetArchiveMessageContentCommand.d.ts +1 -0
- package/dist-types/commands/GetArchiveSearchCommand.d.ts +1 -0
- package/dist-types/commands/GetArchiveSearchResultsCommand.d.ts +1 -0
- package/dist-types/commands/GetIngressPointCommand.d.ts +44 -0
- package/dist-types/commands/GetMemberOfAddressListCommand.d.ts +1 -0
- package/dist-types/commands/GetRelayCommand.d.ts +1 -0
- package/dist-types/commands/GetRuleSetCommand.d.ts +1 -0
- package/dist-types/commands/GetTrafficPolicyCommand.d.ts +39 -0
- package/dist-types/commands/ListAddonInstancesCommand.d.ts +1 -0
- package/dist-types/commands/ListAddonSubscriptionsCommand.d.ts +1 -0
- package/dist-types/commands/ListAddressListImportJobsCommand.d.ts +1 -0
- package/dist-types/commands/ListAddressListsCommand.d.ts +1 -0
- package/dist-types/commands/ListArchiveExportsCommand.d.ts +1 -0
- package/dist-types/commands/ListArchiveSearchesCommand.d.ts +1 -0
- package/dist-types/commands/ListArchivesCommand.d.ts +1 -0
- package/dist-types/commands/ListIngressPointsCommand.d.ts +68 -0
- package/dist-types/commands/ListMembersOfAddressListCommand.d.ts +1 -0
- package/dist-types/commands/ListRelaysCommand.d.ts +1 -0
- package/dist-types/commands/ListRuleSetsCommand.d.ts +1 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
- package/dist-types/commands/ListTrafficPoliciesCommand.d.ts +62 -0
- package/dist-types/commands/RegisterMemberToAddressListCommand.d.ts +1 -0
- package/dist-types/commands/StartAddressListImportJobCommand.d.ts +1 -0
- package/dist-types/commands/StartArchiveExportCommand.d.ts +1 -0
- package/dist-types/commands/StartArchiveSearchCommand.d.ts +1 -0
- package/dist-types/commands/StopAddressListImportJobCommand.d.ts +1 -0
- package/dist-types/commands/StopArchiveExportCommand.d.ts +1 -0
- package/dist-types/commands/StopArchiveSearchCommand.d.ts +1 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UpdateArchiveCommand.d.ts +1 -0
- package/dist-types/commands/UpdateIngressPointCommand.d.ts +62 -0
- package/dist-types/commands/UpdateRelayCommand.d.ts +1 -0
- package/dist-types/commands/UpdateRuleSetCommand.d.ts +1 -0
- package/dist-types/commands/UpdateTrafficPolicyCommand.d.ts +61 -0
- package/package.json +33 -33
|
@@ -20,6 +20,8 @@ class MailManagerClient extends smithy_client_1.Client {
|
|
|
20
20
|
config;
|
|
21
21
|
constructor(...[configuration]) {
|
|
22
22
|
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
|
|
23
|
+
super(_config_0);
|
|
24
|
+
this.initConfig = _config_0;
|
|
23
25
|
const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
|
|
24
26
|
const _config_2 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_1);
|
|
25
27
|
const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
|
|
@@ -28,7 +30,6 @@ class MailManagerClient extends smithy_client_1.Client {
|
|
|
28
30
|
const _config_6 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_5);
|
|
29
31
|
const _config_7 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_6);
|
|
30
32
|
const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);
|
|
31
|
-
super(_config_8);
|
|
32
33
|
this.config = _config_8;
|
|
33
34
|
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
34
35
|
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
@@ -40,8 +40,6 @@ const defaultMailManagerHttpAuthSchemeProvider = (authParameters) => {
|
|
|
40
40
|
exports.defaultMailManagerHttpAuthSchemeProvider = defaultMailManagerHttpAuthSchemeProvider;
|
|
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;
|
|
@@ -2,12 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
|
-
return {
|
|
6
|
-
...options,
|
|
5
|
+
return Object.assign(options, {
|
|
7
6
|
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
8
7
|
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
9
8
|
defaultSigningName: "ses",
|
|
10
|
-
};
|
|
9
|
+
});
|
|
11
10
|
};
|
|
12
11
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
12
|
exports.commonParams = {
|
|
@@ -5,21 +5,9 @@ const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
|
|
|
5
5
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
const httpAuthExtensionConfiguration_1 = require("./auth/httpAuthExtensionConfiguration");
|
|
8
|
-
const asPartial = (t) => t;
|
|
9
8
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
10
|
-
const extensionConfiguration =
|
|
11
|
-
...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
12
|
-
...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
13
|
-
...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
|
14
|
-
...asPartial((0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig)),
|
|
15
|
-
};
|
|
9
|
+
const extensionConfiguration = Object.assign((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig), (0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig), (0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig));
|
|
16
10
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
17
|
-
return
|
|
18
|
-
...runtimeConfig,
|
|
19
|
-
...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
20
|
-
...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
21
|
-
...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
22
|
-
...(0, httpAuthExtensionConfiguration_1.resolveHttpAuthRuntimeConfig)(extensionConfiguration),
|
|
23
|
-
};
|
|
11
|
+
return Object.assign(runtimeConfig, (0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), (0, httpAuthExtensionConfiguration_1.resolveHttpAuthRuntimeConfig)(extensionConfiguration));
|
|
24
12
|
};
|
|
25
13
|
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
|
@@ -17,6 +17,8 @@ export class MailManagerClient 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 MailManagerClient 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 defaultMailManagerHttpAuthSchemeProvider = (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
|
};
|
|
@@ -75,6 +75,7 @@ declare const CreateAddonInstanceCommand_base: {
|
|
|
75
75
|
* @throws {@link MailManagerServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
77
77
|
*
|
|
78
|
+
*
|
|
78
79
|
* @public
|
|
79
80
|
*/
|
|
80
81
|
export declare class CreateAddonInstanceCommand extends CreateAddonInstanceCommand_base {
|
|
@@ -72,6 +72,7 @@ declare const CreateAddonSubscriptionCommand_base: {
|
|
|
72
72
|
* @throws {@link MailManagerServiceException}
|
|
73
73
|
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
74
74
|
*
|
|
75
|
+
*
|
|
75
76
|
* @public
|
|
76
77
|
*/
|
|
77
78
|
export declare class CreateAddonSubscriptionCommand extends CreateAddonSubscriptionCommand_base {
|
|
@@ -76,6 +76,7 @@ declare const CreateAddressListCommand_base: {
|
|
|
76
76
|
* @throws {@link MailManagerServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
78
78
|
*
|
|
79
|
+
*
|
|
79
80
|
* @public
|
|
80
81
|
*/
|
|
81
82
|
export declare class CreateAddressListCommand extends CreateAddressListCommand_base {
|
|
@@ -72,6 +72,7 @@ declare const CreateAddressListImportJobCommand_base: {
|
|
|
72
72
|
* @throws {@link MailManagerServiceException}
|
|
73
73
|
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
74
74
|
*
|
|
75
|
+
*
|
|
75
76
|
* @public
|
|
76
77
|
*/
|
|
77
78
|
export declare class CreateAddressListImportJobCommand extends CreateAddressListImportJobCommand_base {
|
|
@@ -80,6 +80,7 @@ declare const CreateArchiveCommand_base: {
|
|
|
80
80
|
* @throws {@link MailManagerServiceException}
|
|
81
81
|
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
82
82
|
*
|
|
83
|
+
*
|
|
83
84
|
* @public
|
|
84
85
|
*/
|
|
85
86
|
export declare class CreateArchiveCommand extends CreateArchiveCommand_base {
|
|
@@ -77,6 +77,85 @@ declare const CreateIngressPointCommand_base: {
|
|
|
77
77
|
* @throws {@link MailManagerServiceException}
|
|
78
78
|
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
79
79
|
*
|
|
80
|
+
*
|
|
81
|
+
* @example Create Open IngressPoint
|
|
82
|
+
* ```javascript
|
|
83
|
+
* //
|
|
84
|
+
* const input = {
|
|
85
|
+
* IngressPointName: "ingressPointName",
|
|
86
|
+
* RuleSetId: "rs-12345",
|
|
87
|
+
* Tags: [
|
|
88
|
+
* {
|
|
89
|
+
* Key: "key",
|
|
90
|
+
* Value: "value"
|
|
91
|
+
* }
|
|
92
|
+
* ],
|
|
93
|
+
* TrafficPolicyId: "tp-12345",
|
|
94
|
+
* Type: "OPEN"
|
|
95
|
+
* };
|
|
96
|
+
* const command = new CreateIngressPointCommand(input);
|
|
97
|
+
* const response = await client.send(command);
|
|
98
|
+
* /* response is
|
|
99
|
+
* {
|
|
100
|
+
* IngressPointId: "inp-12345"
|
|
101
|
+
* }
|
|
102
|
+
* *\/
|
|
103
|
+
* ```
|
|
104
|
+
*
|
|
105
|
+
* @example Create Auth IngressPoint with Password
|
|
106
|
+
* ```javascript
|
|
107
|
+
* //
|
|
108
|
+
* const input = {
|
|
109
|
+
* IngressPointConfiguration: {
|
|
110
|
+
* SmtpPassword: "smtpPassword"
|
|
111
|
+
* },
|
|
112
|
+
* IngressPointName: "ingressPointName",
|
|
113
|
+
* RuleSetId: "rs-12345",
|
|
114
|
+
* Tags: [
|
|
115
|
+
* {
|
|
116
|
+
* Key: "key",
|
|
117
|
+
* Value: "value"
|
|
118
|
+
* }
|
|
119
|
+
* ],
|
|
120
|
+
* TrafficPolicyId: "tp-12345",
|
|
121
|
+
* Type: "AUTH"
|
|
122
|
+
* };
|
|
123
|
+
* const command = new CreateIngressPointCommand(input);
|
|
124
|
+
* const response = await client.send(command);
|
|
125
|
+
* /* response is
|
|
126
|
+
* {
|
|
127
|
+
* IngressPointId: "inp-12345"
|
|
128
|
+
* }
|
|
129
|
+
* *\/
|
|
130
|
+
* ```
|
|
131
|
+
*
|
|
132
|
+
* @example Create Auth IngressPoint with SecretsManager Secret
|
|
133
|
+
* ```javascript
|
|
134
|
+
* //
|
|
135
|
+
* const input = {
|
|
136
|
+
* IngressPointConfiguration: {
|
|
137
|
+
* SecretArn: "arn:aws:secretsmanager:us-west-2:123456789012:secret:abcde"
|
|
138
|
+
* },
|
|
139
|
+
* IngressPointName: "ingressPointName",
|
|
140
|
+
* RuleSetId: "rs-12345",
|
|
141
|
+
* Tags: [
|
|
142
|
+
* {
|
|
143
|
+
* Key: "key",
|
|
144
|
+
* Value: "value"
|
|
145
|
+
* }
|
|
146
|
+
* ],
|
|
147
|
+
* TrafficPolicyId: "tp-12345",
|
|
148
|
+
* Type: "AUTH"
|
|
149
|
+
* };
|
|
150
|
+
* const command = new CreateIngressPointCommand(input);
|
|
151
|
+
* const response = await client.send(command);
|
|
152
|
+
* /* response is
|
|
153
|
+
* {
|
|
154
|
+
* IngressPointId: "inp-12345"
|
|
155
|
+
* }
|
|
156
|
+
* *\/
|
|
157
|
+
* ```
|
|
158
|
+
*
|
|
80
159
|
* @public
|
|
81
160
|
*/
|
|
82
161
|
export declare class CreateIngressPointCommand extends CreateIngressPointCommand_base {
|
|
@@ -77,6 +77,7 @@ declare const CreateRelayCommand_base: {
|
|
|
77
77
|
* @throws {@link MailManagerServiceException}
|
|
78
78
|
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
79
79
|
*
|
|
80
|
+
*
|
|
80
81
|
* @public
|
|
81
82
|
*/
|
|
82
83
|
export declare class CreateRelayCommand extends CreateRelayCommand_base {
|
|
@@ -255,6 +255,7 @@ declare const CreateRuleSetCommand_base: {
|
|
|
255
255
|
* @throws {@link MailManagerServiceException}
|
|
256
256
|
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
257
257
|
*
|
|
258
|
+
*
|
|
258
259
|
* @public
|
|
259
260
|
*/
|
|
260
261
|
export declare class CreateRuleSetCommand extends CreateRuleSetCommand_base {
|
|
@@ -125,6 +125,41 @@ declare const CreateTrafficPolicyCommand_base: {
|
|
|
125
125
|
* @throws {@link MailManagerServiceException}
|
|
126
126
|
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
127
127
|
*
|
|
128
|
+
*
|
|
129
|
+
* @example Create TrafficPolicy
|
|
130
|
+
* ```javascript
|
|
131
|
+
* //
|
|
132
|
+
* const input = {
|
|
133
|
+
* DefaultAction: "DENY",
|
|
134
|
+
* PolicyStatements: [
|
|
135
|
+
* {
|
|
136
|
+
* Action: "ALLOW",
|
|
137
|
+
* Conditions: [
|
|
138
|
+
* {
|
|
139
|
+
* IpExpression: {
|
|
140
|
+
* Evaluate: {
|
|
141
|
+
* Attribute: "SENDER_IP"
|
|
142
|
+
* },
|
|
143
|
+
* Operator: "CIDR_MATCHES",
|
|
144
|
+
* Values: [
|
|
145
|
+
* "0.0.0.0/12"
|
|
146
|
+
* ]
|
|
147
|
+
* }
|
|
148
|
+
* }
|
|
149
|
+
* ]
|
|
150
|
+
* }
|
|
151
|
+
* ],
|
|
152
|
+
* TrafficPolicyName: "trafficPolicyName"
|
|
153
|
+
* };
|
|
154
|
+
* const command = new CreateTrafficPolicyCommand(input);
|
|
155
|
+
* const response = await client.send(command);
|
|
156
|
+
* /* response is
|
|
157
|
+
* {
|
|
158
|
+
* TrafficPolicyId: "tp-13245"
|
|
159
|
+
* }
|
|
160
|
+
* *\/
|
|
161
|
+
* ```
|
|
162
|
+
*
|
|
128
163
|
* @public
|
|
129
164
|
*/
|
|
130
165
|
export declare class CreateTrafficPolicyCommand extends CreateTrafficPolicyCommand_base {
|
|
@@ -58,6 +58,7 @@ declare const DeleteAddonInstanceCommand_base: {
|
|
|
58
58
|
* @throws {@link MailManagerServiceException}
|
|
59
59
|
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
60
60
|
*
|
|
61
|
+
*
|
|
61
62
|
* @public
|
|
62
63
|
*/
|
|
63
64
|
export declare class DeleteAddonInstanceCommand extends DeleteAddonInstanceCommand_base {
|
|
@@ -58,6 +58,7 @@ declare const DeleteAddonSubscriptionCommand_base: {
|
|
|
58
58
|
* @throws {@link MailManagerServiceException}
|
|
59
59
|
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
60
60
|
*
|
|
61
|
+
*
|
|
61
62
|
* @public
|
|
62
63
|
*/
|
|
63
64
|
export declare class DeleteAddonSubscriptionCommand extends DeleteAddonSubscriptionCommand_base {
|
|
@@ -61,6 +61,7 @@ declare const DeleteAddressListCommand_base: {
|
|
|
61
61
|
* @throws {@link MailManagerServiceException}
|
|
62
62
|
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
63
63
|
*
|
|
64
|
+
*
|
|
64
65
|
* @public
|
|
65
66
|
*/
|
|
66
67
|
export declare class DeleteAddressListCommand extends DeleteAddressListCommand_base {
|
|
@@ -68,6 +68,7 @@ declare const DeleteArchiveCommand_base: {
|
|
|
68
68
|
* @throws {@link MailManagerServiceException}
|
|
69
69
|
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
70
70
|
*
|
|
71
|
+
*
|
|
71
72
|
* @public
|
|
72
73
|
*/
|
|
73
74
|
export declare class DeleteArchiveCommand extends DeleteArchiveCommand_base {
|
|
@@ -61,6 +61,20 @@ declare const DeleteIngressPointCommand_base: {
|
|
|
61
61
|
* @throws {@link MailManagerServiceException}
|
|
62
62
|
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
63
63
|
*
|
|
64
|
+
*
|
|
65
|
+
* @example Delete IngressPoint
|
|
66
|
+
* ```javascript
|
|
67
|
+
* //
|
|
68
|
+
* const input = {
|
|
69
|
+
* IngressPointId: "inp-12345"
|
|
70
|
+
* };
|
|
71
|
+
* const command = new DeleteIngressPointCommand(input);
|
|
72
|
+
* const response = await client.send(command);
|
|
73
|
+
* /* response is
|
|
74
|
+
* { /* empty *\/ }
|
|
75
|
+
* *\/
|
|
76
|
+
* ```
|
|
77
|
+
*
|
|
64
78
|
* @public
|
|
65
79
|
*/
|
|
66
80
|
export declare class DeleteIngressPointCommand extends DeleteIngressPointCommand_base {
|
|
@@ -61,6 +61,7 @@ declare const DeleteRelayCommand_base: {
|
|
|
61
61
|
* @throws {@link MailManagerServiceException}
|
|
62
62
|
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
63
63
|
*
|
|
64
|
+
*
|
|
64
65
|
* @public
|
|
65
66
|
*/
|
|
66
67
|
export declare class DeleteRelayCommand extends DeleteRelayCommand_base {
|
|
@@ -58,6 +58,7 @@ declare const DeleteRuleSetCommand_base: {
|
|
|
58
58
|
* @throws {@link MailManagerServiceException}
|
|
59
59
|
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
60
60
|
*
|
|
61
|
+
*
|
|
61
62
|
* @public
|
|
62
63
|
*/
|
|
63
64
|
export declare class DeleteRuleSetCommand extends DeleteRuleSetCommand_base {
|
|
@@ -61,6 +61,20 @@ declare const DeleteTrafficPolicyCommand_base: {
|
|
|
61
61
|
* @throws {@link MailManagerServiceException}
|
|
62
62
|
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
63
63
|
*
|
|
64
|
+
*
|
|
65
|
+
* @example Delete TrafficPolicy
|
|
66
|
+
* ```javascript
|
|
67
|
+
* //
|
|
68
|
+
* const input = {
|
|
69
|
+
* TrafficPolicyId: "tp-12345"
|
|
70
|
+
* };
|
|
71
|
+
* const command = new DeleteTrafficPolicyCommand(input);
|
|
72
|
+
* const response = await client.send(command);
|
|
73
|
+
* /* response is
|
|
74
|
+
* { /* empty *\/ }
|
|
75
|
+
* *\/
|
|
76
|
+
* ```
|
|
77
|
+
*
|
|
64
78
|
* @public
|
|
65
79
|
*/
|
|
66
80
|
export declare class DeleteTrafficPolicyCommand extends DeleteTrafficPolicyCommand_base {
|
|
@@ -65,6 +65,7 @@ declare const DeregisterMemberFromAddressListCommand_base: {
|
|
|
65
65
|
* @throws {@link MailManagerServiceException}
|
|
66
66
|
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
67
67
|
*
|
|
68
|
+
*
|
|
68
69
|
* @public
|
|
69
70
|
*/
|
|
70
71
|
export declare class DeregisterMemberFromAddressListCommand extends DeregisterMemberFromAddressListCommand_base {
|
|
@@ -63,6 +63,7 @@ declare const GetAddonInstanceCommand_base: {
|
|
|
63
63
|
* @throws {@link MailManagerServiceException}
|
|
64
64
|
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
65
65
|
*
|
|
66
|
+
*
|
|
66
67
|
* @public
|
|
67
68
|
*/
|
|
68
69
|
export declare class GetAddonInstanceCommand extends GetAddonInstanceCommand_base {
|
|
@@ -62,6 +62,7 @@ declare const GetAddonSubscriptionCommand_base: {
|
|
|
62
62
|
* @throws {@link MailManagerServiceException}
|
|
63
63
|
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
64
64
|
*
|
|
65
|
+
*
|
|
65
66
|
* @public
|
|
66
67
|
*/
|
|
67
68
|
export declare class GetAddonSubscriptionCommand extends GetAddonSubscriptionCommand_base {
|
|
@@ -70,6 +70,7 @@ declare const GetAddressListCommand_base: {
|
|
|
70
70
|
* @throws {@link MailManagerServiceException}
|
|
71
71
|
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
72
72
|
*
|
|
73
|
+
*
|
|
73
74
|
* @public
|
|
74
75
|
*/
|
|
75
76
|
export declare class GetAddressListCommand extends GetAddressListCommand_base {
|
|
@@ -79,6 +79,7 @@ declare const GetAddressListImportJobCommand_base: {
|
|
|
79
79
|
* @throws {@link MailManagerServiceException}
|
|
80
80
|
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
81
81
|
*
|
|
82
|
+
*
|
|
82
83
|
* @public
|
|
83
84
|
*/
|
|
84
85
|
export declare class GetAddressListImportJobCommand extends GetAddressListImportJobCommand_base {
|
|
@@ -75,6 +75,7 @@ declare const GetArchiveCommand_base: {
|
|
|
75
75
|
* @throws {@link MailManagerServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
77
77
|
*
|
|
78
|
+
*
|
|
78
79
|
* @public
|
|
79
80
|
*/
|
|
80
81
|
export declare class GetArchiveCommand extends GetArchiveCommand_base {
|
|
@@ -117,6 +117,7 @@ declare const GetArchiveExportCommand_base: {
|
|
|
117
117
|
* @throws {@link MailManagerServiceException}
|
|
118
118
|
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
119
119
|
*
|
|
120
|
+
*
|
|
120
121
|
* @public
|
|
121
122
|
*/
|
|
122
123
|
export declare class GetArchiveExportCommand extends GetArchiveExportCommand_base {
|
|
@@ -87,6 +87,7 @@ declare const GetArchiveMessageCommand_base: {
|
|
|
87
87
|
* @throws {@link MailManagerServiceException}
|
|
88
88
|
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
89
89
|
*
|
|
90
|
+
*
|
|
90
91
|
* @public
|
|
91
92
|
*/
|
|
92
93
|
export declare class GetArchiveMessageCommand extends GetArchiveMessageCommand_base {
|
|
@@ -69,6 +69,7 @@ declare const GetArchiveMessageContentCommand_base: {
|
|
|
69
69
|
* @throws {@link MailManagerServiceException}
|
|
70
70
|
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
71
71
|
*
|
|
72
|
+
*
|
|
72
73
|
* @public
|
|
73
74
|
*/
|
|
74
75
|
export declare class GetArchiveMessageContentCommand extends GetArchiveMessageContentCommand_base {
|
|
@@ -112,6 +112,7 @@ declare const GetArchiveSearchCommand_base: {
|
|
|
112
112
|
* @throws {@link MailManagerServiceException}
|
|
113
113
|
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
114
114
|
*
|
|
115
|
+
*
|
|
115
116
|
* @public
|
|
116
117
|
*/
|
|
117
118
|
export declare class GetArchiveSearchCommand extends GetArchiveSearchCommand_base {
|
|
@@ -96,6 +96,7 @@ declare const GetArchiveSearchResultsCommand_base: {
|
|
|
96
96
|
* @throws {@link MailManagerServiceException}
|
|
97
97
|
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
98
98
|
*
|
|
99
|
+
*
|
|
99
100
|
* @public
|
|
100
101
|
*/
|
|
101
102
|
export declare class GetArchiveSearchResultsCommand extends GetArchiveSearchResultsCommand_base {
|
|
@@ -77,6 +77,50 @@ declare const GetIngressPointCommand_base: {
|
|
|
77
77
|
* @throws {@link MailManagerServiceException}
|
|
78
78
|
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
79
79
|
*
|
|
80
|
+
*
|
|
81
|
+
* @example Get Open IngressPoint
|
|
82
|
+
* ```javascript
|
|
83
|
+
* //
|
|
84
|
+
* const input = {
|
|
85
|
+
* IngressPointId: "inp-12345"
|
|
86
|
+
* };
|
|
87
|
+
* const command = new GetIngressPointCommand(input);
|
|
88
|
+
* const response = await client.send(command);
|
|
89
|
+
* /* response is
|
|
90
|
+
* {
|
|
91
|
+
* ARecord: "abcde123.prod.us-east-1.email-border.ses.aws.a2z.com",
|
|
92
|
+
* IngressPointArn: "arn:aws:ses:us-east-1:123456789012:mailmanager-ingress-point/inp-12345",
|
|
93
|
+
* IngressPointId: "inp-12345",
|
|
94
|
+
* IngressPointName: "ingressPointName",
|
|
95
|
+
* Status: "ACTIVE",
|
|
96
|
+
* Type: "OPEN"
|
|
97
|
+
* }
|
|
98
|
+
* *\/
|
|
99
|
+
* ```
|
|
100
|
+
*
|
|
101
|
+
* @example Get Auth IngressPoint
|
|
102
|
+
* ```javascript
|
|
103
|
+
* //
|
|
104
|
+
* const input = {
|
|
105
|
+
* IngressPointId: "inp-12345"
|
|
106
|
+
* };
|
|
107
|
+
* const command = new GetIngressPointCommand(input);
|
|
108
|
+
* const response = await client.send(command);
|
|
109
|
+
* /* response is
|
|
110
|
+
* {
|
|
111
|
+
* ARecord: "abcde123.prod.us-east-1.email-border.ses.aws.a2z.com",
|
|
112
|
+
* IngressPointArn: "arn:aws:ses:us-east-1:123456789012:mailmanager-ingress-point/inp-12345",
|
|
113
|
+
* IngressPointAuthConfiguration: {
|
|
114
|
+
* SecretArn: "arn:aws:secretsmanager:us-west-2:123456789012:secret:abcde"
|
|
115
|
+
* },
|
|
116
|
+
* IngressPointId: "inp-12345",
|
|
117
|
+
* IngressPointName: "ingressPointName",
|
|
118
|
+
* Status: "ACTIVE",
|
|
119
|
+
* Type: "AUTH"
|
|
120
|
+
* }
|
|
121
|
+
* *\/
|
|
122
|
+
* ```
|
|
123
|
+
*
|
|
80
124
|
* @public
|
|
81
125
|
*/
|
|
82
126
|
export declare class GetIngressPointCommand extends GetIngressPointCommand_base {
|
|
@@ -68,6 +68,7 @@ declare const GetMemberOfAddressListCommand_base: {
|
|
|
68
68
|
* @throws {@link MailManagerServiceException}
|
|
69
69
|
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
70
70
|
*
|
|
71
|
+
*
|
|
71
72
|
* @public
|
|
72
73
|
*/
|
|
73
74
|
export declare class GetMemberOfAddressListCommand extends GetMemberOfAddressListCommand_base {
|
|
@@ -70,6 +70,7 @@ declare const GetRelayCommand_base: {
|
|
|
70
70
|
* @throws {@link MailManagerServiceException}
|
|
71
71
|
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
72
72
|
*
|
|
73
|
+
*
|
|
73
74
|
* @public
|
|
74
75
|
*/
|
|
75
76
|
export declare class GetRelayCommand extends GetRelayCommand_base {
|
|
@@ -249,6 +249,7 @@ declare const GetRuleSetCommand_base: {
|
|
|
249
249
|
* @throws {@link MailManagerServiceException}
|
|
250
250
|
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
251
251
|
*
|
|
252
|
+
*
|
|
252
253
|
* @public
|
|
253
254
|
*/
|
|
254
255
|
export declare class GetRuleSetCommand extends GetRuleSetCommand_base {
|
|
@@ -119,6 +119,45 @@ declare const GetTrafficPolicyCommand_base: {
|
|
|
119
119
|
* @throws {@link MailManagerServiceException}
|
|
120
120
|
* <p>Base exception class for all service exceptions from MailManager service.</p>
|
|
121
121
|
*
|
|
122
|
+
*
|
|
123
|
+
* @example Get TrafficPolicy
|
|
124
|
+
* ```javascript
|
|
125
|
+
* //
|
|
126
|
+
* const input = {
|
|
127
|
+
* TrafficPolicyId: "tp-12345"
|
|
128
|
+
* };
|
|
129
|
+
* const command = new GetTrafficPolicyCommand(input);
|
|
130
|
+
* const response = await client.send(command);
|
|
131
|
+
* /* response is
|
|
132
|
+
* {
|
|
133
|
+
* DefaultAction: "DENY",
|
|
134
|
+
* MaxMessageSizeBytes: 1000,
|
|
135
|
+
* PolicyStatements: [
|
|
136
|
+
* {
|
|
137
|
+
* Action: "ALLOW",
|
|
138
|
+
* Conditions: [
|
|
139
|
+
* {
|
|
140
|
+
* StringExpression: {
|
|
141
|
+
* Evaluate: {
|
|
142
|
+
* Attribute: "RECIPIENT"
|
|
143
|
+
* },
|
|
144
|
+
* Operator: "EQUALS",
|
|
145
|
+
* Values: [
|
|
146
|
+
* "example@amazon.com",
|
|
147
|
+
* "example@gmail.com"
|
|
148
|
+
* ]
|
|
149
|
+
* }
|
|
150
|
+
* }
|
|
151
|
+
* ]
|
|
152
|
+
* }
|
|
153
|
+
* ],
|
|
154
|
+
* TrafficPolicyArn: "arn:aws:ses:us-east-1:123456789012:mailmanager-traffic-policy/tp-12345",
|
|
155
|
+
* TrafficPolicyId: "tp-12345",
|
|
156
|
+
* TrafficPolicyName: "trafficPolicyName"
|
|
157
|
+
* }
|
|
158
|
+
* *\/
|
|
159
|
+
* ```
|
|
160
|
+
*
|
|
122
161
|
* @public
|
|
123
162
|
*/
|
|
124
163
|
export declare class GetTrafficPolicyCommand extends GetTrafficPolicyCommand_base {
|