@aws-sdk/client-mpa 3.831.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/LICENSE +201 -0
- package/README.md +373 -0
- package/dist-cjs/MPA.js +53 -0
- package/dist-cjs/MPAClient.js +52 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/CancelSessionCommand.js +26 -0
- package/dist-cjs/commands/CreateApprovalTeamCommand.js +27 -0
- package/dist-cjs/commands/CreateIdentitySourceCommand.js +27 -0
- package/dist-cjs/commands/DeleteIdentitySourceCommand.js +26 -0
- package/dist-cjs/commands/DeleteInactiveApprovalTeamVersionCommand.js +26 -0
- package/dist-cjs/commands/GetApprovalTeamCommand.js +27 -0
- package/dist-cjs/commands/GetIdentitySourceCommand.js +26 -0
- package/dist-cjs/commands/GetPolicyVersionCommand.js +27 -0
- package/dist-cjs/commands/GetResourcePolicyCommand.js +27 -0
- package/dist-cjs/commands/GetSessionCommand.js +27 -0
- package/dist-cjs/commands/ListApprovalTeamsCommand.js +27 -0
- package/dist-cjs/commands/ListIdentitySourcesCommand.js +26 -0
- package/dist-cjs/commands/ListPoliciesCommand.js +26 -0
- package/dist-cjs/commands/ListPolicyVersionsCommand.js +26 -0
- package/dist-cjs/commands/ListResourcePoliciesCommand.js +26 -0
- package/dist-cjs/commands/ListSessionsCommand.js +27 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +27 -0
- package/dist-cjs/commands/StartActiveApprovalTeamDeletionCommand.js +26 -0
- package/dist-cjs/commands/TagResourceCommand.js +27 -0
- package/dist-cjs/commands/UntagResourceCommand.js +27 -0
- package/dist-cjs/commands/UpdateApprovalTeamCommand.js +27 -0
- package/dist-cjs/commands/index.js +24 -0
- package/dist-cjs/endpoint/EndpointParameters.js +15 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/MPAServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +354 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListApprovalTeamsPaginator.js +7 -0
- package/dist-cjs/pagination/ListIdentitySourcesPaginator.js +7 -0
- package/dist-cjs/pagination/ListPoliciesPaginator.js +7 -0
- package/dist-cjs/pagination/ListPolicyVersionsPaginator.js +7 -0
- package/dist-cjs/pagination/ListResourcePoliciesPaginator.js +7 -0
- package/dist-cjs/pagination/ListSessionsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +10 -0
- package/dist-cjs/protocols/Aws_restJson1.js +976 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +56 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +13 -0
- package/dist-es/MPA.js +49 -0
- package/dist-es/MPAClient.js +48 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/CancelSessionCommand.js +22 -0
- package/dist-es/commands/CreateApprovalTeamCommand.js +23 -0
- package/dist-es/commands/CreateIdentitySourceCommand.js +23 -0
- package/dist-es/commands/DeleteIdentitySourceCommand.js +22 -0
- package/dist-es/commands/DeleteInactiveApprovalTeamVersionCommand.js +22 -0
- package/dist-es/commands/GetApprovalTeamCommand.js +23 -0
- package/dist-es/commands/GetIdentitySourceCommand.js +22 -0
- package/dist-es/commands/GetPolicyVersionCommand.js +23 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +23 -0
- package/dist-es/commands/GetSessionCommand.js +23 -0
- package/dist-es/commands/ListApprovalTeamsCommand.js +23 -0
- package/dist-es/commands/ListIdentitySourcesCommand.js +22 -0
- package/dist-es/commands/ListPoliciesCommand.js +22 -0
- package/dist-es/commands/ListPolicyVersionsCommand.js +22 -0
- package/dist-es/commands/ListResourcePoliciesCommand.js +22 -0
- package/dist-es/commands/ListSessionsCommand.js +23 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +23 -0
- package/dist-es/commands/StartActiveApprovalTeamDeletionCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +23 -0
- package/dist-es/commands/UntagResourceCommand.js +23 -0
- package/dist-es/commands/UpdateApprovalTeamCommand.js +23 -0
- package/dist-es/commands/index.js +21 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/MPAServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +327 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListApprovalTeamsPaginator.js +4 -0
- package/dist-es/pagination/ListIdentitySourcesPaginator.js +4 -0
- package/dist-es/pagination/ListPoliciesPaginator.js +4 -0
- package/dist-es/pagination/ListPolicyVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListResourcePoliciesPaginator.js +4 -0
- package/dist-es/pagination/ListSessionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +7 -0
- package/dist-es/protocols/Aws_restJson1.js +931 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +51 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-types/MPA.d.ts +160 -0
- package/dist-types/MPAClient.d.ts +208 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/CancelSessionCommand.d.ts +88 -0
- package/dist-types/commands/CreateApprovalTeamCommand.d.ts +114 -0
- package/dist-types/commands/CreateIdentitySourceCommand.d.ts +98 -0
- package/dist-types/commands/DeleteIdentitySourceCommand.d.ts +85 -0
- package/dist-types/commands/DeleteInactiveApprovalTeamVersionCommand.d.ts +89 -0
- package/dist-types/commands/GetApprovalTeamCommand.d.ts +139 -0
- package/dist-types/commands/GetIdentitySourceCommand.d.ts +99 -0
- package/dist-types/commands/GetPolicyVersionCommand.d.ts +98 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +93 -0
- package/dist-types/commands/GetSessionCommand.d.ts +123 -0
- package/dist-types/commands/ListApprovalTeamsCommand.d.ts +102 -0
- package/dist-types/commands/ListIdentitySourcesCommand.d.ts +102 -0
- package/dist-types/commands/ListPoliciesCommand.d.ts +93 -0
- package/dist-types/commands/ListPolicyVersionsCommand.d.ts +102 -0
- package/dist-types/commands/ListResourcePoliciesCommand.d.ts +96 -0
- package/dist-types/commands/ListSessionsCommand.d.ts +117 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +89 -0
- package/dist-types/commands/StartActiveApprovalTeamDeletionCommand.d.ts +92 -0
- package/dist-types/commands/TagResourceCommand.d.ts +91 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +88 -0
- package/dist-types/commands/UpdateApprovalTeamCommand.d.ts +105 -0
- package/dist-types/commands/index.d.ts +21 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +32 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +14 -0
- package/dist-types/models/MPAServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1947 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListApprovalTeamsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListIdentitySourcesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPoliciesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPolicyVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListResourcePoliciesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSessionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +7 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +191 -0
- package/dist-types/runtimeConfig.browser.d.ts +50 -0
- package/dist-types/runtimeConfig.d.ts +50 -0
- package/dist-types/runtimeConfig.native.d.ts +49 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/MPA.d.ts +371 -0
- package/dist-types/ts3.4/MPAClient.d.ts +242 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +46 -0
- package/dist-types/ts3.4/commands/CancelSessionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateApprovalTeamCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateIdentitySourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteIdentitySourceCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/DeleteInactiveApprovalTeamVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetApprovalTeamCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetIdentitySourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetPolicyVersionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListApprovalTeamsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListIdentitySourcesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListPolicyVersionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListResourcePoliciesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartActiveApprovalTeamDeletionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateApprovalTeamCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +21 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +42 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/MPAServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +645 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListApprovalTeamsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListIdentitySourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPolicyVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListResourcePoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSessionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +7 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +257 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +89 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +101 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListPoliciesCommand, se_ListPoliciesCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListPoliciesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSFluffyCoreService", "ListPolicies", {})
|
|
17
|
+
.n("MPAClient", "ListPoliciesCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListPoliciesCommand)
|
|
20
|
+
.de(de_ListPoliciesCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListPolicyVersionsCommand, se_ListPolicyVersionsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListPolicyVersionsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSFluffyCoreService", "ListPolicyVersions", {})
|
|
17
|
+
.n("MPAClient", "ListPolicyVersionsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListPolicyVersionsCommand)
|
|
20
|
+
.de(de_ListPolicyVersionsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListResourcePoliciesCommand, se_ListResourcePoliciesCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListResourcePoliciesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSFluffyCoreService", "ListResourcePolicies", {})
|
|
17
|
+
.n("MPAClient", "ListResourcePoliciesCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListResourcePoliciesCommand)
|
|
20
|
+
.de(de_ListResourcePoliciesCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { ListSessionsResponseFilterSensitiveLog } from "../models/models_0";
|
|
6
|
+
import { de_ListSessionsCommand, se_ListSessionsCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class ListSessionsCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("AWSFluffyCoreService", "ListSessions", {})
|
|
18
|
+
.n("MPAClient", "ListSessionsCommand")
|
|
19
|
+
.f(void 0, ListSessionsResponseFilterSensitiveLog)
|
|
20
|
+
.ser(se_ListSessionsCommand)
|
|
21
|
+
.de(de_ListSessionsCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class ListTagsForResourceCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("AWSFluffyCoreService", "ListTagsForResource", {})
|
|
18
|
+
.n("MPAClient", "ListTagsForResourceCommand")
|
|
19
|
+
.f(void 0, ListTagsForResourceResponseFilterSensitiveLog)
|
|
20
|
+
.ser(se_ListTagsForResourceCommand)
|
|
21
|
+
.de(de_ListTagsForResourceCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_StartActiveApprovalTeamDeletionCommand, se_StartActiveApprovalTeamDeletionCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class StartActiveApprovalTeamDeletionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSFluffyCoreService", "StartActiveApprovalTeamDeletion", {})
|
|
17
|
+
.n("MPAClient", "StartActiveApprovalTeamDeletionCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_StartActiveApprovalTeamDeletionCommand)
|
|
20
|
+
.de(de_StartActiveApprovalTeamDeletionCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { TagResourceRequestFilterSensitiveLog } from "../models/models_0";
|
|
6
|
+
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class TagResourceCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("AWSFluffyCoreService", "TagResource", {})
|
|
18
|
+
.n("MPAClient", "TagResourceCommand")
|
|
19
|
+
.f(TagResourceRequestFilterSensitiveLog, void 0)
|
|
20
|
+
.ser(se_TagResourceCommand)
|
|
21
|
+
.de(de_TagResourceCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { UntagResourceRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class UntagResourceCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("AWSFluffyCoreService", "UntagResource", {})
|
|
18
|
+
.n("MPAClient", "UntagResourceCommand")
|
|
19
|
+
.f(UntagResourceRequestFilterSensitiveLog, void 0)
|
|
20
|
+
.ser(se_UntagResourceCommand)
|
|
21
|
+
.de(de_UntagResourceCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { UpdateApprovalTeamRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_UpdateApprovalTeamCommand, se_UpdateApprovalTeamCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class UpdateApprovalTeamCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("AWSFluffyCoreService", "UpdateApprovalTeam", {})
|
|
18
|
+
.n("MPAClient", "UpdateApprovalTeamCommand")
|
|
19
|
+
.f(UpdateApprovalTeamRequestFilterSensitiveLog, void 0)
|
|
20
|
+
.ser(se_UpdateApprovalTeamCommand)
|
|
21
|
+
.de(de_UpdateApprovalTeamCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export * from "./CancelSessionCommand";
|
|
2
|
+
export * from "./CreateApprovalTeamCommand";
|
|
3
|
+
export * from "./CreateIdentitySourceCommand";
|
|
4
|
+
export * from "./DeleteIdentitySourceCommand";
|
|
5
|
+
export * from "./DeleteInactiveApprovalTeamVersionCommand";
|
|
6
|
+
export * from "./GetApprovalTeamCommand";
|
|
7
|
+
export * from "./GetIdentitySourceCommand";
|
|
8
|
+
export * from "./GetPolicyVersionCommand";
|
|
9
|
+
export * from "./GetResourcePolicyCommand";
|
|
10
|
+
export * from "./GetSessionCommand";
|
|
11
|
+
export * from "./ListApprovalTeamsCommand";
|
|
12
|
+
export * from "./ListIdentitySourcesCommand";
|
|
13
|
+
export * from "./ListPoliciesCommand";
|
|
14
|
+
export * from "./ListPolicyVersionsCommand";
|
|
15
|
+
export * from "./ListResourcePoliciesCommand";
|
|
16
|
+
export * from "./ListSessionsCommand";
|
|
17
|
+
export * from "./ListTagsForResourceCommand";
|
|
18
|
+
export * from "./StartActiveApprovalTeamDeletionCommand";
|
|
19
|
+
export * from "./TagResourceCommand";
|
|
20
|
+
export * from "./UntagResourceCommand";
|
|
21
|
+
export * from "./UpdateApprovalTeamCommand";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export const resolveClientEndpointParameters = (options) => {
|
|
2
|
+
return Object.assign(options, {
|
|
3
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
4
|
+
defaultSigningName: "mpa",
|
|
5
|
+
});
|
|
6
|
+
};
|
|
7
|
+
export const commonParams = {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
|
|
3
|
+
import { ruleSet } from "./ruleset";
|
|
4
|
+
const cache = new EndpointCache({
|
|
5
|
+
size: 50,
|
|
6
|
+
params: ["Endpoint", "Region", "UseFIPS"],
|
|
7
|
+
});
|
|
8
|
+
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
9
|
+
return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
|
|
10
|
+
endpointParams: endpointParams,
|
|
11
|
+
logger: context.logger,
|
|
12
|
+
}));
|
|
13
|
+
};
|
|
14
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const l = "ref";
|
|
2
|
+
const a = true, b = false, c = "isSet", d = "error", e = "endpoint", f = "tree", g = { "required": false, "type": "String" }, h = { [l]: "Endpoint" }, i = {}, j = [{ "fn": "booleanEquals", "argv": [{ [l]: "UseFIPS" }, true] }], k = [{ [l]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { UseFIPS: { required: a, default: b, type: "Boolean" }, Endpoint: g, Region: g }, rules: [{ conditions: [{ fn: c, argv: [h] }], rules: [{ conditions: j, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { endpoint: { url: h, properties: i, headers: i }, type: e }], type: f }, { rules: [{ conditions: [{ fn: c, argv: k }], rules: [{ conditions: [{ fn: "aws.partition", argv: k, assign: "PartitionResult" }], rules: [{ conditions: j, endpoint: { url: "https://mpa-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: i, headers: i }, type: e }, { endpoint: { url: "https://mpa.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: i, headers: i }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
|
|
4
|
+
export const ruleSet = _data;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist-es/index.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
|
|
2
|
+
export { __ServiceException };
|
|
3
|
+
export class MPAServiceException extends __ServiceException {
|
|
4
|
+
constructor(options) {
|
|
5
|
+
super(options);
|
|
6
|
+
Object.setPrototypeOf(this, MPAServiceException.prototype);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
|
+
import { MPAServiceException as __BaseException } from "./MPAServiceException";
|
|
3
|
+
export class AccessDeniedException extends __BaseException {
|
|
4
|
+
name = "AccessDeniedException";
|
|
5
|
+
$fault = "client";
|
|
6
|
+
Message;
|
|
7
|
+
constructor(opts) {
|
|
8
|
+
super({
|
|
9
|
+
name: "AccessDeniedException",
|
|
10
|
+
$fault: "client",
|
|
11
|
+
...opts,
|
|
12
|
+
});
|
|
13
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
14
|
+
this.Message = opts.Message;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
export const ActionCompletionStrategy = {
|
|
18
|
+
AUTO_COMPLETION_UPON_APPROVAL: "AUTO_COMPLETION_UPON_APPROVAL",
|
|
19
|
+
};
|
|
20
|
+
export var ApprovalStrategy;
|
|
21
|
+
(function (ApprovalStrategy) {
|
|
22
|
+
ApprovalStrategy.visit = (value, visitor) => {
|
|
23
|
+
if (value.MofN !== undefined)
|
|
24
|
+
return visitor.MofN(value.MofN);
|
|
25
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
26
|
+
};
|
|
27
|
+
})(ApprovalStrategy || (ApprovalStrategy = {}));
|
|
28
|
+
export var ApprovalStrategyResponse;
|
|
29
|
+
(function (ApprovalStrategyResponse) {
|
|
30
|
+
ApprovalStrategyResponse.visit = (value, visitor) => {
|
|
31
|
+
if (value.MofN !== undefined)
|
|
32
|
+
return visitor.MofN(value.MofN);
|
|
33
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
34
|
+
};
|
|
35
|
+
})(ApprovalStrategyResponse || (ApprovalStrategyResponse = {}));
|
|
36
|
+
export class ConflictException extends __BaseException {
|
|
37
|
+
name = "ConflictException";
|
|
38
|
+
$fault = "client";
|
|
39
|
+
Message;
|
|
40
|
+
constructor(opts) {
|
|
41
|
+
super({
|
|
42
|
+
name: "ConflictException",
|
|
43
|
+
$fault: "client",
|
|
44
|
+
...opts,
|
|
45
|
+
});
|
|
46
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
47
|
+
this.Message = opts.Message;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class InternalServerException extends __BaseException {
|
|
51
|
+
name = "InternalServerException";
|
|
52
|
+
$fault = "server";
|
|
53
|
+
$retryable = {};
|
|
54
|
+
Message;
|
|
55
|
+
constructor(opts) {
|
|
56
|
+
super({
|
|
57
|
+
name: "InternalServerException",
|
|
58
|
+
$fault: "server",
|
|
59
|
+
...opts,
|
|
60
|
+
});
|
|
61
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
62
|
+
this.Message = opts.Message;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
66
|
+
name = "ServiceQuotaExceededException";
|
|
67
|
+
$fault = "client";
|
|
68
|
+
Message;
|
|
69
|
+
constructor(opts) {
|
|
70
|
+
super({
|
|
71
|
+
name: "ServiceQuotaExceededException",
|
|
72
|
+
$fault: "client",
|
|
73
|
+
...opts,
|
|
74
|
+
});
|
|
75
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
76
|
+
this.Message = opts.Message;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
export class ThrottlingException extends __BaseException {
|
|
80
|
+
name = "ThrottlingException";
|
|
81
|
+
$fault = "client";
|
|
82
|
+
Message;
|
|
83
|
+
constructor(opts) {
|
|
84
|
+
super({
|
|
85
|
+
name: "ThrottlingException",
|
|
86
|
+
$fault: "client",
|
|
87
|
+
...opts,
|
|
88
|
+
});
|
|
89
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
90
|
+
this.Message = opts.Message;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
export class ValidationException extends __BaseException {
|
|
94
|
+
name = "ValidationException";
|
|
95
|
+
$fault = "client";
|
|
96
|
+
Message;
|
|
97
|
+
constructor(opts) {
|
|
98
|
+
super({
|
|
99
|
+
name: "ValidationException",
|
|
100
|
+
$fault: "client",
|
|
101
|
+
...opts,
|
|
102
|
+
});
|
|
103
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
104
|
+
this.Message = opts.Message;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
108
|
+
name = "ResourceNotFoundException";
|
|
109
|
+
$fault = "client";
|
|
110
|
+
Message;
|
|
111
|
+
constructor(opts) {
|
|
112
|
+
super({
|
|
113
|
+
name: "ResourceNotFoundException",
|
|
114
|
+
$fault: "client",
|
|
115
|
+
...opts,
|
|
116
|
+
});
|
|
117
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
118
|
+
this.Message = opts.Message;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
export const IdentityStatus = {
|
|
122
|
+
ACCEPTED: "ACCEPTED",
|
|
123
|
+
INVALID: "INVALID",
|
|
124
|
+
PENDING: "PENDING",
|
|
125
|
+
REJECTED: "REJECTED",
|
|
126
|
+
};
|
|
127
|
+
export const ApprovalTeamStatus = {
|
|
128
|
+
ACTIVE: "ACTIVE",
|
|
129
|
+
DELETING: "DELETING",
|
|
130
|
+
INACTIVE: "INACTIVE",
|
|
131
|
+
PENDING: "PENDING",
|
|
132
|
+
};
|
|
133
|
+
export const ApprovalTeamStatusCode = {
|
|
134
|
+
DELETE_FAILED_APPROVAL: "DELETE_FAILED_APPROVAL",
|
|
135
|
+
DELETE_FAILED_VALIDATION: "DELETE_FAILED_VALIDATION",
|
|
136
|
+
DELETE_PENDING_APPROVAL: "DELETE_PENDING_APPROVAL",
|
|
137
|
+
FAILED_ACTIVATION: "FAILED_ACTIVATION",
|
|
138
|
+
FAILED_VALIDATION: "FAILED_VALIDATION",
|
|
139
|
+
PENDING_ACTIVATION: "PENDING_ACTIVATION",
|
|
140
|
+
UPDATE_FAILED_ACTIVATION: "UPDATE_FAILED_ACTIVATION",
|
|
141
|
+
UPDATE_FAILED_APPROVAL: "UPDATE_FAILED_APPROVAL",
|
|
142
|
+
UPDATE_FAILED_VALIDATION: "UPDATE_FAILED_VALIDATION",
|
|
143
|
+
UPDATE_PENDING_ACTIVATION: "UPDATE_PENDING_ACTIVATION",
|
|
144
|
+
UPDATE_PENDING_APPROVAL: "UPDATE_PENDING_APPROVAL",
|
|
145
|
+
VALIDATING: "VALIDATING",
|
|
146
|
+
};
|
|
147
|
+
export const PolicyType = {
|
|
148
|
+
AWS_MANAGED: "AWS_MANAGED",
|
|
149
|
+
AWS_RAM: "AWS_RAM",
|
|
150
|
+
};
|
|
151
|
+
export const PolicyStatus = {
|
|
152
|
+
ATTACHABLE: "ATTACHABLE",
|
|
153
|
+
DEPRECATED: "DEPRECATED",
|
|
154
|
+
};
|
|
155
|
+
export class InvalidParameterException extends __BaseException {
|
|
156
|
+
name = "InvalidParameterException";
|
|
157
|
+
$fault = "client";
|
|
158
|
+
Message;
|
|
159
|
+
constructor(opts) {
|
|
160
|
+
super({
|
|
161
|
+
name: "InvalidParameterException",
|
|
162
|
+
$fault: "client",
|
|
163
|
+
...opts,
|
|
164
|
+
});
|
|
165
|
+
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
166
|
+
this.Message = opts.Message;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
export const IdentitySourceType = {
|
|
170
|
+
IAM_IDENTITY_CENTER: "IAM_IDENTITY_CENTER",
|
|
171
|
+
};
|
|
172
|
+
export var IdentitySourceParametersForGet;
|
|
173
|
+
(function (IdentitySourceParametersForGet) {
|
|
174
|
+
IdentitySourceParametersForGet.visit = (value, visitor) => {
|
|
175
|
+
if (value.IamIdentityCenter !== undefined)
|
|
176
|
+
return visitor.IamIdentityCenter(value.IamIdentityCenter);
|
|
177
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
178
|
+
};
|
|
179
|
+
})(IdentitySourceParametersForGet || (IdentitySourceParametersForGet = {}));
|
|
180
|
+
export const IdentitySourceStatus = {
|
|
181
|
+
ACTIVE: "ACTIVE",
|
|
182
|
+
CREATING: "CREATING",
|
|
183
|
+
DELETING: "DELETING",
|
|
184
|
+
ERROR: "ERROR",
|
|
185
|
+
};
|
|
186
|
+
export const IdentitySourceStatusCode = {
|
|
187
|
+
ACCESS_DENIED: "ACCESS_DENIED",
|
|
188
|
+
DELETION_FAILED: "DELETION_FAILED",
|
|
189
|
+
IDC_INSTANCE_NOT_FOUND: "IDC_INSTANCE_NOT_FOUND",
|
|
190
|
+
IDC_INSTANCE_NOT_VALID: "IDC_INSTANCE_NOT_VALID",
|
|
191
|
+
};
|
|
192
|
+
export var IdentitySourceParametersForList;
|
|
193
|
+
(function (IdentitySourceParametersForList) {
|
|
194
|
+
IdentitySourceParametersForList.visit = (value, visitor) => {
|
|
195
|
+
if (value.IamIdentityCenter !== undefined)
|
|
196
|
+
return visitor.IamIdentityCenter(value.IamIdentityCenter);
|
|
197
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
198
|
+
};
|
|
199
|
+
})(IdentitySourceParametersForList || (IdentitySourceParametersForList = {}));
|
|
200
|
+
export const SessionResponse = {
|
|
201
|
+
APPROVED: "APPROVED",
|
|
202
|
+
NO_RESPONSE: "NO_RESPONSE",
|
|
203
|
+
REJECTED: "REJECTED",
|
|
204
|
+
};
|
|
205
|
+
export const SessionExecutionStatus = {
|
|
206
|
+
EXECUTED: "EXECUTED",
|
|
207
|
+
FAILED: "FAILED",
|
|
208
|
+
PENDING: "PENDING",
|
|
209
|
+
};
|
|
210
|
+
export const SessionStatus = {
|
|
211
|
+
APPROVED: "APPROVED",
|
|
212
|
+
CANCELLED: "CANCELLED",
|
|
213
|
+
CREATING: "CREATING",
|
|
214
|
+
FAILED: "FAILED",
|
|
215
|
+
PENDING: "PENDING",
|
|
216
|
+
};
|
|
217
|
+
export const SessionStatusCode = {
|
|
218
|
+
CONFIGURATION_CHANGED: "CONFIGURATION_CHANGED",
|
|
219
|
+
EXPIRED: "EXPIRED",
|
|
220
|
+
REJECTED: "REJECTED",
|
|
221
|
+
};
|
|
222
|
+
export const FilterField = {
|
|
223
|
+
ACTION_NAME: "ActionName",
|
|
224
|
+
APPROVAL_TEAM_NAME: "ApprovalTeamName",
|
|
225
|
+
INITIATION_TIME: "InitiationTime",
|
|
226
|
+
SESSION_STATUS: "SessionStatus",
|
|
227
|
+
VOTE: "Vote",
|
|
228
|
+
VOTING_TIME: "VotingTime",
|
|
229
|
+
};
|
|
230
|
+
export const Operator = {
|
|
231
|
+
BETWEEN: "BETWEEN",
|
|
232
|
+
CONTAINS: "CONTAINS",
|
|
233
|
+
DOES_NOT_CONTAIN: "NOT_CONTAINS",
|
|
234
|
+
EQUALS: "EQ",
|
|
235
|
+
GREATER_THAN: "GT",
|
|
236
|
+
GREATER_THAN_OR_EQUAL_TO: "GTE",
|
|
237
|
+
LESS_THAN: "LT",
|
|
238
|
+
LESS_THAN_OR_EQUAL_TO: "LTE",
|
|
239
|
+
NOT_EQUALS: "NE",
|
|
240
|
+
};
|
|
241
|
+
export class TooManyTagsException extends __BaseException {
|
|
242
|
+
name = "TooManyTagsException";
|
|
243
|
+
$fault = "client";
|
|
244
|
+
Message;
|
|
245
|
+
ResourceName;
|
|
246
|
+
constructor(opts) {
|
|
247
|
+
super({
|
|
248
|
+
name: "TooManyTagsException",
|
|
249
|
+
$fault: "client",
|
|
250
|
+
...opts,
|
|
251
|
+
});
|
|
252
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
253
|
+
this.Message = opts.Message;
|
|
254
|
+
this.ResourceName = opts.ResourceName;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
export const CreateApprovalTeamRequestFilterSensitiveLog = (obj) => ({
|
|
258
|
+
...obj,
|
|
259
|
+
...(obj.ApprovalStrategy && { ApprovalStrategy: obj.ApprovalStrategy }),
|
|
260
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
261
|
+
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
262
|
+
});
|
|
263
|
+
export const GetApprovalTeamResponseFilterSensitiveLog = (obj) => ({
|
|
264
|
+
...obj,
|
|
265
|
+
...(obj.ApprovalStrategy && { ApprovalStrategy: obj.ApprovalStrategy }),
|
|
266
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
267
|
+
...(obj.PendingUpdate && { PendingUpdate: obj.PendingUpdate }),
|
|
268
|
+
});
|
|
269
|
+
export const ListApprovalTeamsResponseApprovalTeamFilterSensitiveLog = (obj) => ({
|
|
270
|
+
...obj,
|
|
271
|
+
...(obj.ApprovalStrategy && { ApprovalStrategy: obj.ApprovalStrategy }),
|
|
272
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
273
|
+
});
|
|
274
|
+
export const ListApprovalTeamsResponseFilterSensitiveLog = (obj) => ({
|
|
275
|
+
...obj,
|
|
276
|
+
...(obj.ApprovalTeams && {
|
|
277
|
+
ApprovalTeams: obj.ApprovalTeams.map((item) => ListApprovalTeamsResponseApprovalTeamFilterSensitiveLog(item)),
|
|
278
|
+
}),
|
|
279
|
+
});
|
|
280
|
+
export const UpdateApprovalTeamRequestFilterSensitiveLog = (obj) => ({
|
|
281
|
+
...obj,
|
|
282
|
+
...(obj.ApprovalStrategy && { ApprovalStrategy: obj.ApprovalStrategy }),
|
|
283
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
284
|
+
});
|
|
285
|
+
export const PolicyVersionFilterSensitiveLog = (obj) => ({
|
|
286
|
+
...obj,
|
|
287
|
+
...(obj.Document && { Document: SENSITIVE_STRING }),
|
|
288
|
+
});
|
|
289
|
+
export const GetPolicyVersionResponseFilterSensitiveLog = (obj) => ({
|
|
290
|
+
...obj,
|
|
291
|
+
...(obj.PolicyVersion && { PolicyVersion: PolicyVersionFilterSensitiveLog(obj.PolicyVersion) }),
|
|
292
|
+
});
|
|
293
|
+
export const GetResourcePolicyResponseFilterSensitiveLog = (obj) => ({
|
|
294
|
+
...obj,
|
|
295
|
+
...(obj.PolicyDocument && { PolicyDocument: SENSITIVE_STRING }),
|
|
296
|
+
});
|
|
297
|
+
export const CreateIdentitySourceRequestFilterSensitiveLog = (obj) => ({
|
|
298
|
+
...obj,
|
|
299
|
+
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
300
|
+
});
|
|
301
|
+
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
302
|
+
...obj,
|
|
303
|
+
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
304
|
+
});
|
|
305
|
+
export const GetSessionResponseFilterSensitiveLog = (obj) => ({
|
|
306
|
+
...obj,
|
|
307
|
+
...(obj.ApprovalStrategy && { ApprovalStrategy: obj.ApprovalStrategy }),
|
|
308
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
309
|
+
...(obj.Metadata && { Metadata: SENSITIVE_STRING }),
|
|
310
|
+
...(obj.RequesterComment && { RequesterComment: SENSITIVE_STRING }),
|
|
311
|
+
});
|
|
312
|
+
export const ListSessionsResponseSessionFilterSensitiveLog = (obj) => ({
|
|
313
|
+
...obj,
|
|
314
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
315
|
+
});
|
|
316
|
+
export const ListSessionsResponseFilterSensitiveLog = (obj) => ({
|
|
317
|
+
...obj,
|
|
318
|
+
...(obj.Sessions && { Sessions: obj.Sessions.map((item) => ListSessionsResponseSessionFilterSensitiveLog(item)) }),
|
|
319
|
+
});
|
|
320
|
+
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
321
|
+
...obj,
|
|
322
|
+
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
323
|
+
});
|
|
324
|
+
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
325
|
+
...obj,
|
|
326
|
+
...(obj.TagKeys && { TagKeys: SENSITIVE_STRING }),
|
|
327
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListApprovalTeamsCommand, } from "../commands/ListApprovalTeamsCommand";
|
|
3
|
+
import { MPAClient } from "../MPAClient";
|
|
4
|
+
export const paginateListApprovalTeams = createPaginator(MPAClient, ListApprovalTeamsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListIdentitySourcesCommand, } from "../commands/ListIdentitySourcesCommand";
|
|
3
|
+
import { MPAClient } from "../MPAClient";
|
|
4
|
+
export const paginateListIdentitySources = createPaginator(MPAClient, ListIdentitySourcesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListPoliciesCommand, } from "../commands/ListPoliciesCommand";
|
|
3
|
+
import { MPAClient } from "../MPAClient";
|
|
4
|
+
export const paginateListPolicies = createPaginator(MPAClient, ListPoliciesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListPolicyVersionsCommand, } from "../commands/ListPolicyVersionsCommand";
|
|
3
|
+
import { MPAClient } from "../MPAClient";
|
|
4
|
+
export const paginateListPolicyVersions = createPaginator(MPAClient, ListPolicyVersionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListResourcePoliciesCommand, } from "../commands/ListResourcePoliciesCommand";
|
|
3
|
+
import { MPAClient } from "../MPAClient";
|
|
4
|
+
export const paginateListResourcePolicies = createPaginator(MPAClient, ListResourcePoliciesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListSessionsCommand, } from "../commands/ListSessionsCommand";
|
|
3
|
+
import { MPAClient } from "../MPAClient";
|
|
4
|
+
export const paginateListSessions = createPaginator(MPAClient, ListSessionsCommand, "NextToken", "NextToken", "MaxResults");
|