@aws-sdk/client-mailmanager 3.927.0 → 3.928.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1801 -2505
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/MailManagerClient.js +2 -0
- package/dist-es/commands/CreateAddonInstanceCommand.js +3 -9
- package/dist-es/commands/CreateAddonSubscriptionCommand.js +3 -9
- package/dist-es/commands/CreateAddressListCommand.js +3 -9
- package/dist-es/commands/CreateAddressListImportJobCommand.js +3 -10
- package/dist-es/commands/CreateArchiveCommand.js +3 -9
- package/dist-es/commands/CreateIngressPointCommand.js +3 -10
- package/dist-es/commands/CreateRelayCommand.js +3 -9
- package/dist-es/commands/CreateRuleSetCommand.js +3 -10
- package/dist-es/commands/CreateTrafficPolicyCommand.js +3 -9
- package/dist-es/commands/DeleteAddonInstanceCommand.js +3 -9
- package/dist-es/commands/DeleteAddonSubscriptionCommand.js +3 -9
- package/dist-es/commands/DeleteAddressListCommand.js +3 -9
- package/dist-es/commands/DeleteArchiveCommand.js +3 -9
- package/dist-es/commands/DeleteIngressPointCommand.js +3 -9
- package/dist-es/commands/DeleteRelayCommand.js +3 -9
- package/dist-es/commands/DeleteRuleSetCommand.js +3 -9
- package/dist-es/commands/DeleteTrafficPolicyCommand.js +3 -9
- package/dist-es/commands/DeregisterMemberFromAddressListCommand.js +3 -10
- package/dist-es/commands/GetAddonInstanceCommand.js +3 -9
- package/dist-es/commands/GetAddonSubscriptionCommand.js +3 -9
- package/dist-es/commands/GetAddressListCommand.js +3 -9
- package/dist-es/commands/GetAddressListImportJobCommand.js +3 -10
- package/dist-es/commands/GetArchiveCommand.js +3 -9
- package/dist-es/commands/GetArchiveExportCommand.js +3 -9
- package/dist-es/commands/GetArchiveMessageCommand.js +3 -10
- package/dist-es/commands/GetArchiveMessageContentCommand.js +3 -9
- package/dist-es/commands/GetArchiveSearchCommand.js +3 -9
- package/dist-es/commands/GetArchiveSearchResultsCommand.js +3 -10
- package/dist-es/commands/GetIngressPointCommand.js +3 -9
- package/dist-es/commands/GetMemberOfAddressListCommand.js +3 -10
- package/dist-es/commands/GetRelayCommand.js +3 -9
- package/dist-es/commands/GetRuleSetCommand.js +3 -10
- package/dist-es/commands/GetTrafficPolicyCommand.js +3 -9
- package/dist-es/commands/ListAddonInstancesCommand.js +3 -9
- package/dist-es/commands/ListAddonSubscriptionsCommand.js +3 -9
- package/dist-es/commands/ListAddressListImportJobsCommand.js +3 -10
- package/dist-es/commands/ListAddressListsCommand.js +3 -9
- package/dist-es/commands/ListArchiveExportsCommand.js +3 -9
- package/dist-es/commands/ListArchiveSearchesCommand.js +3 -9
- package/dist-es/commands/ListArchivesCommand.js +3 -9
- package/dist-es/commands/ListIngressPointsCommand.js +3 -9
- package/dist-es/commands/ListMembersOfAddressListCommand.js +3 -10
- package/dist-es/commands/ListRelaysCommand.js +3 -9
- package/dist-es/commands/ListRuleSetsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListTrafficPoliciesCommand.js +3 -9
- package/dist-es/commands/RegisterMemberToAddressListCommand.js +3 -10
- package/dist-es/commands/StartAddressListImportJobCommand.js +3 -9
- package/dist-es/commands/StartArchiveExportCommand.js +3 -9
- package/dist-es/commands/StartArchiveSearchCommand.js +3 -9
- package/dist-es/commands/StopAddressListImportJobCommand.js +3 -9
- package/dist-es/commands/StopArchiveExportCommand.js +3 -9
- package/dist-es/commands/StopArchiveSearchCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateArchiveCommand.js +3 -9
- package/dist-es/commands/UpdateIngressPointCommand.js +3 -10
- package/dist-es/commands/UpdateRelayCommand.js +3 -9
- package/dist-es/commands/UpdateRuleSetCommand.js +3 -10
- package/dist-es/commands/UpdateTrafficPolicyCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -132
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +1674 -0
- package/dist-types/MailManagerClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -100
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +306 -0
- package/dist-types/ts3.4/MailManagerClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -63
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +312 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_json1_0.js +0 -1915
- package/dist-types/protocols/Aws_json1_0.d.ts +0 -542
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -725
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListTrafficPolicies } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListTrafficPoliciesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("MailManagerSvc", "ListTrafficPolicies", {})
|
|
17
13
|
.n("MailManagerClient", "ListTrafficPoliciesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListTrafficPoliciesCommand)
|
|
20
|
-
.de(de_ListTrafficPoliciesCommand)
|
|
14
|
+
.sc(ListTrafficPolicies)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_RegisterMemberToAddressListCommand, se_RegisterMemberToAddressListCommand } from "../protocols/Aws_json1_0";
|
|
4
|
+
import { RegisterMemberToAddressList } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class RegisterMemberToAddressListCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("MailManagerSvc", "RegisterMemberToAddressList", {})
|
|
18
13
|
.n("MailManagerClient", "RegisterMemberToAddressListCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_RegisterMemberToAddressListCommand)
|
|
21
|
-
.de(de_RegisterMemberToAddressListCommand)
|
|
14
|
+
.sc(RegisterMemberToAddressList)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StartAddressListImportJob } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StartAddressListImportJobCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("MailManagerSvc", "StartAddressListImportJob", {})
|
|
17
13
|
.n("MailManagerClient", "StartAddressListImportJobCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StartAddressListImportJobCommand)
|
|
20
|
-
.de(de_StartAddressListImportJobCommand)
|
|
14
|
+
.sc(StartAddressListImportJob)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StartArchiveExport } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StartArchiveExportCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("MailManagerSvc", "StartArchiveExport", {})
|
|
17
13
|
.n("MailManagerClient", "StartArchiveExportCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StartArchiveExportCommand)
|
|
20
|
-
.de(de_StartArchiveExportCommand)
|
|
14
|
+
.sc(StartArchiveExport)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StartArchiveSearch } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StartArchiveSearchCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("MailManagerSvc", "StartArchiveSearch", {})
|
|
17
13
|
.n("MailManagerClient", "StartArchiveSearchCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StartArchiveSearchCommand)
|
|
20
|
-
.de(de_StartArchiveSearchCommand)
|
|
14
|
+
.sc(StartArchiveSearch)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StopAddressListImportJob } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StopAddressListImportJobCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("MailManagerSvc", "StopAddressListImportJob", {})
|
|
17
13
|
.n("MailManagerClient", "StopAddressListImportJobCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StopAddressListImportJobCommand)
|
|
20
|
-
.de(de_StopAddressListImportJobCommand)
|
|
14
|
+
.sc(StopAddressListImportJob)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StopArchiveExport } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StopArchiveExportCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("MailManagerSvc", "StopArchiveExport", {})
|
|
17
13
|
.n("MailManagerClient", "StopArchiveExportCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StopArchiveExportCommand)
|
|
20
|
-
.de(de_StopArchiveExportCommand)
|
|
14
|
+
.sc(StopArchiveExport)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StopArchiveSearch } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StopArchiveSearchCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("MailManagerSvc", "StopArchiveSearch", {})
|
|
17
13
|
.n("MailManagerClient", "StopArchiveSearchCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StopArchiveSearchCommand)
|
|
20
|
-
.de(de_StopArchiveSearchCommand)
|
|
14
|
+
.sc(StopArchiveSearch)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { TagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class TagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("MailManagerSvc", "TagResource", {})
|
|
17
13
|
.n("MailManagerClient", "TagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_TagResourceCommand)
|
|
20
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("MailManagerSvc", "UntagResource", {})
|
|
17
13
|
.n("MailManagerClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateArchive } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateArchiveCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("MailManagerSvc", "UpdateArchive", {})
|
|
17
13
|
.n("MailManagerClient", "UpdateArchiveCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateArchiveCommand)
|
|
20
|
-
.de(de_UpdateArchiveCommand)
|
|
14
|
+
.sc(UpdateArchive)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateIngressPointCommand, se_UpdateIngressPointCommand } from "../protocols/Aws_json1_0";
|
|
4
|
+
import { UpdateIngressPoint } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateIngressPointCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("MailManagerSvc", "UpdateIngressPoint", {})
|
|
18
13
|
.n("MailManagerClient", "UpdateIngressPointCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateIngressPointCommand)
|
|
21
|
-
.de(de_UpdateIngressPointCommand)
|
|
14
|
+
.sc(UpdateIngressPoint)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateRelay } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateRelayCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("MailManagerSvc", "UpdateRelay", {})
|
|
17
13
|
.n("MailManagerClient", "UpdateRelayCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateRelayCommand)
|
|
20
|
-
.de(de_UpdateRelayCommand)
|
|
14
|
+
.sc(UpdateRelay)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateRuleSetCommand, se_UpdateRuleSetCommand } from "../protocols/Aws_json1_0";
|
|
4
|
+
import { UpdateRuleSet } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateRuleSetCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("MailManagerSvc", "UpdateRuleSet", {})
|
|
18
13
|
.n("MailManagerClient", "UpdateRuleSetCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateRuleSetCommand)
|
|
21
|
-
.de(de_UpdateRuleSetCommand)
|
|
14
|
+
.sc(UpdateRuleSet)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateTrafficPolicy } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateTrafficPolicyCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("MailManagerSvc", "UpdateTrafficPolicy", {})
|
|
17
13
|
.n("MailManagerClient", "UpdateTrafficPolicyCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateTrafficPolicyCommand)
|
|
20
|
-
.de(de_UpdateTrafficPolicyCommand)
|
|
14
|
+
.sc(UpdateTrafficPolicy)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { MailManagerServiceException as __BaseException } from "./MailManagerServiceException";
|
|
3
2
|
export const AcceptAction = {
|
|
4
3
|
ALLOW: "ALLOW",
|
|
@@ -529,134 +528,3 @@ export const IngressPointStatusToUpdate = {
|
|
|
529
528
|
ACTIVE: "ACTIVE",
|
|
530
529
|
CLOSED: "CLOSED",
|
|
531
530
|
};
|
|
532
|
-
export const AddressFilterFilterSensitiveLog = (obj) => ({
|
|
533
|
-
...obj,
|
|
534
|
-
...(obj.AddressPrefix && { AddressPrefix: SENSITIVE_STRING }),
|
|
535
|
-
});
|
|
536
|
-
export const CreateAddressListImportJobResponseFilterSensitiveLog = (obj) => ({
|
|
537
|
-
...obj,
|
|
538
|
-
...(obj.PreSignedUrl && { PreSignedUrl: SENSITIVE_STRING }),
|
|
539
|
-
});
|
|
540
|
-
export const IngressPointConfigurationFilterSensitiveLog = (obj) => {
|
|
541
|
-
if (obj.SmtpPassword !== undefined)
|
|
542
|
-
return { SmtpPassword: SENSITIVE_STRING };
|
|
543
|
-
if (obj.SecretArn !== undefined)
|
|
544
|
-
return { SecretArn: obj.SecretArn };
|
|
545
|
-
if (obj.$unknown !== undefined)
|
|
546
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
547
|
-
};
|
|
548
|
-
export const CreateIngressPointRequestFilterSensitiveLog = (obj) => ({
|
|
549
|
-
...obj,
|
|
550
|
-
...(obj.IngressPointConfiguration && {
|
|
551
|
-
IngressPointConfiguration: IngressPointConfigurationFilterSensitiveLog(obj.IngressPointConfiguration),
|
|
552
|
-
}),
|
|
553
|
-
...(obj.NetworkConfiguration && { NetworkConfiguration: obj.NetworkConfiguration }),
|
|
554
|
-
});
|
|
555
|
-
export const ReplaceRecipientActionFilterSensitiveLog = (obj) => ({
|
|
556
|
-
...obj,
|
|
557
|
-
...(obj.ReplaceWith && { ReplaceWith: SENSITIVE_STRING }),
|
|
558
|
-
});
|
|
559
|
-
export const RuleActionFilterSensitiveLog = (obj) => {
|
|
560
|
-
if (obj.Drop !== undefined)
|
|
561
|
-
return { Drop: obj.Drop };
|
|
562
|
-
if (obj.Relay !== undefined)
|
|
563
|
-
return { Relay: obj.Relay };
|
|
564
|
-
if (obj.Archive !== undefined)
|
|
565
|
-
return { Archive: obj.Archive };
|
|
566
|
-
if (obj.WriteToS3 !== undefined)
|
|
567
|
-
return { WriteToS3: obj.WriteToS3 };
|
|
568
|
-
if (obj.Send !== undefined)
|
|
569
|
-
return { Send: obj.Send };
|
|
570
|
-
if (obj.AddHeader !== undefined)
|
|
571
|
-
return { AddHeader: obj.AddHeader };
|
|
572
|
-
if (obj.ReplaceRecipient !== undefined)
|
|
573
|
-
return { ReplaceRecipient: ReplaceRecipientActionFilterSensitiveLog(obj.ReplaceRecipient) };
|
|
574
|
-
if (obj.DeliverToMailbox !== undefined)
|
|
575
|
-
return { DeliverToMailbox: obj.DeliverToMailbox };
|
|
576
|
-
if (obj.DeliverToQBusiness !== undefined)
|
|
577
|
-
return { DeliverToQBusiness: obj.DeliverToQBusiness };
|
|
578
|
-
if (obj.PublishToSns !== undefined)
|
|
579
|
-
return { PublishToSns: obj.PublishToSns };
|
|
580
|
-
if (obj.$unknown !== undefined)
|
|
581
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
582
|
-
};
|
|
583
|
-
export const RuleFilterSensitiveLog = (obj) => ({
|
|
584
|
-
...obj,
|
|
585
|
-
...(obj.Conditions && { Conditions: obj.Conditions.map((item) => item) }),
|
|
586
|
-
...(obj.Unless && { Unless: obj.Unless.map((item) => item) }),
|
|
587
|
-
...(obj.Actions && { Actions: obj.Actions.map((item) => RuleActionFilterSensitiveLog(item)) }),
|
|
588
|
-
});
|
|
589
|
-
export const CreateRuleSetRequestFilterSensitiveLog = (obj) => ({
|
|
590
|
-
...obj,
|
|
591
|
-
...(obj.Rules && { Rules: obj.Rules.map((item) => RuleFilterSensitiveLog(item)) }),
|
|
592
|
-
});
|
|
593
|
-
export const DeregisterMemberFromAddressListRequestFilterSensitiveLog = (obj) => ({
|
|
594
|
-
...obj,
|
|
595
|
-
...(obj.Address && { Address: SENSITIVE_STRING }),
|
|
596
|
-
});
|
|
597
|
-
export const GetAddressListImportJobResponseFilterSensitiveLog = (obj) => ({
|
|
598
|
-
...obj,
|
|
599
|
-
...(obj.PreSignedUrl && { PreSignedUrl: SENSITIVE_STRING }),
|
|
600
|
-
});
|
|
601
|
-
export const MetadataFilterSensitiveLog = (obj) => ({
|
|
602
|
-
...obj,
|
|
603
|
-
...(obj.SenderIpAddress && { SenderIpAddress: SENSITIVE_STRING }),
|
|
604
|
-
});
|
|
605
|
-
export const GetArchiveMessageResponseFilterSensitiveLog = (obj) => ({
|
|
606
|
-
...obj,
|
|
607
|
-
...(obj.Metadata && { Metadata: MetadataFilterSensitiveLog(obj.Metadata) }),
|
|
608
|
-
});
|
|
609
|
-
export const RowFilterSensitiveLog = (obj) => ({
|
|
610
|
-
...obj,
|
|
611
|
-
...(obj.SenderIpAddress && { SenderIpAddress: SENSITIVE_STRING }),
|
|
612
|
-
});
|
|
613
|
-
export const GetArchiveSearchResultsResponseFilterSensitiveLog = (obj) => ({
|
|
614
|
-
...obj,
|
|
615
|
-
...(obj.Rows && { Rows: obj.Rows.map((item) => RowFilterSensitiveLog(item)) }),
|
|
616
|
-
});
|
|
617
|
-
export const GetMemberOfAddressListRequestFilterSensitiveLog = (obj) => ({
|
|
618
|
-
...obj,
|
|
619
|
-
...(obj.Address && { Address: SENSITIVE_STRING }),
|
|
620
|
-
});
|
|
621
|
-
export const GetMemberOfAddressListResponseFilterSensitiveLog = (obj) => ({
|
|
622
|
-
...obj,
|
|
623
|
-
...(obj.Address && { Address: SENSITIVE_STRING }),
|
|
624
|
-
});
|
|
625
|
-
export const GetRuleSetResponseFilterSensitiveLog = (obj) => ({
|
|
626
|
-
...obj,
|
|
627
|
-
...(obj.Rules && { Rules: obj.Rules.map((item) => RuleFilterSensitiveLog(item)) }),
|
|
628
|
-
});
|
|
629
|
-
export const ImportJobFilterSensitiveLog = (obj) => ({
|
|
630
|
-
...obj,
|
|
631
|
-
...(obj.PreSignedUrl && { PreSignedUrl: SENSITIVE_STRING }),
|
|
632
|
-
});
|
|
633
|
-
export const UpdateIngressPointRequestFilterSensitiveLog = (obj) => ({
|
|
634
|
-
...obj,
|
|
635
|
-
...(obj.IngressPointConfiguration && {
|
|
636
|
-
IngressPointConfiguration: IngressPointConfigurationFilterSensitiveLog(obj.IngressPointConfiguration),
|
|
637
|
-
}),
|
|
638
|
-
});
|
|
639
|
-
export const ListAddressListImportJobsResponseFilterSensitiveLog = (obj) => ({
|
|
640
|
-
...obj,
|
|
641
|
-
...(obj.ImportJobs && { ImportJobs: obj.ImportJobs.map((item) => ImportJobFilterSensitiveLog(item)) }),
|
|
642
|
-
});
|
|
643
|
-
export const ListMembersOfAddressListRequestFilterSensitiveLog = (obj) => ({
|
|
644
|
-
...obj,
|
|
645
|
-
...(obj.Filter && { Filter: AddressFilterFilterSensitiveLog(obj.Filter) }),
|
|
646
|
-
});
|
|
647
|
-
export const SavedAddressFilterSensitiveLog = (obj) => ({
|
|
648
|
-
...obj,
|
|
649
|
-
...(obj.Address && { Address: SENSITIVE_STRING }),
|
|
650
|
-
});
|
|
651
|
-
export const ListMembersOfAddressListResponseFilterSensitiveLog = (obj) => ({
|
|
652
|
-
...obj,
|
|
653
|
-
...(obj.Addresses && { Addresses: obj.Addresses.map((item) => SavedAddressFilterSensitiveLog(item)) }),
|
|
654
|
-
});
|
|
655
|
-
export const RegisterMemberToAddressListRequestFilterSensitiveLog = (obj) => ({
|
|
656
|
-
...obj,
|
|
657
|
-
...(obj.Address && { Address: SENSITIVE_STRING }),
|
|
658
|
-
});
|
|
659
|
-
export const UpdateRuleSetRequestFilterSensitiveLog = (obj) => ({
|
|
660
|
-
...obj,
|
|
661
|
-
...(obj.Rules && { Rules: obj.Rules.map((item) => RuleFilterSensitiveLog(item)) }),
|
|
662
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ??
|
|
27
|
+
new AwsJson1_0Protocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.mailmanager",
|
|
29
|
+
serviceTarget: "MailManagerSvc",
|
|
30
|
+
awsQueryCompatible: false,
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "MailManager",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|