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