@cdk8s/awscdk-resolver 0.0.45 → 0.0.46

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 (95) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/DescribeAccountLimitsPaginator.js +2 -23
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/DescribeStackEventsPaginator.js +2 -23
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/DescribeStackResourceDriftsPaginator.js +2 -24
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/DescribeStacksPaginator.js +2 -23
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListChangeSetsPaginator.js +2 -23
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListExportsPaginator.js +2 -23
  9. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListImportsPaginator.js +2 -23
  10. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListStackInstancesPaginator.js +2 -24
  11. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListStackResourcesPaginator.js +2 -23
  12. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListStackSetOperationResultsPaginator.js +2 -24
  13. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListStackSetOperationsPaginator.js +2 -24
  14. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListStackSetsPaginator.js +2 -24
  15. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListStacksPaginator.js +2 -23
  16. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListTypeRegistrationsPaginator.js +2 -24
  17. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListTypeVersionsPaginator.js +2 -24
  18. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListTypesPaginator.js +2 -24
  19. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/DescribeAccountLimitsPaginator.js +2 -22
  20. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/DescribeStackEventsPaginator.js +2 -22
  21. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/DescribeStackResourceDriftsPaginator.js +2 -23
  22. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/DescribeStacksPaginator.js +2 -22
  23. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListChangeSetsPaginator.js +2 -22
  24. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListExportsPaginator.js +2 -22
  25. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListImportsPaginator.js +2 -22
  26. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListStackInstancesPaginator.js +2 -23
  27. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListStackResourcesPaginator.js +2 -22
  28. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListStackSetOperationResultsPaginator.js +2 -23
  29. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListStackSetOperationsPaginator.js +2 -23
  30. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListStackSetsPaginator.js +2 -23
  31. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListStacksPaginator.js +2 -22
  32. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListTypeRegistrationsPaginator.js +2 -23
  33. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListTypeVersionsPaginator.js +2 -23
  34. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListTypesPaginator.js +2 -23
  35. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/DescribeAccountLimitsPaginator.d.ts +1 -1
  36. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/DescribeStackEventsPaginator.d.ts +1 -1
  37. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/DescribeStackResourceDriftsPaginator.d.ts +1 -1
  38. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/DescribeStacksPaginator.d.ts +1 -1
  39. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListChangeSetsPaginator.d.ts +1 -1
  40. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListExportsPaginator.d.ts +1 -1
  41. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListImportsPaginator.d.ts +1 -1
  42. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListStackInstancesPaginator.d.ts +1 -1
  43. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListStackResourcesPaginator.d.ts +1 -1
  44. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListStackSetOperationResultsPaginator.d.ts +1 -1
  45. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListStackSetOperationsPaginator.d.ts +1 -1
  46. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListStackSetsPaginator.d.ts +1 -1
  47. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListStacksPaginator.d.ts +1 -1
  48. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListTypeRegistrationsPaginator.d.ts +1 -1
  49. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListTypeVersionsPaginator.d.ts +1 -1
  50. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListTypesPaginator.d.ts +1 -1
  51. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/DescribeAccountLimitsPaginator.d.ts +3 -3
  52. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/DescribeStackEventsPaginator.d.ts +3 -3
  53. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/DescribeStackResourceDriftsPaginator.d.ts +3 -3
  54. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/DescribeStacksPaginator.d.ts +3 -3
  55. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListChangeSetsPaginator.d.ts +3 -3
  56. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts +3 -3
  57. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts +3 -3
  58. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListStackInstancesPaginator.d.ts +3 -3
  59. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListStackResourcesPaginator.d.ts +3 -3
  60. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListStackSetOperationResultsPaginator.d.ts +3 -3
  61. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListStackSetOperationsPaginator.d.ts +3 -3
  62. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListStackSetsPaginator.d.ts +3 -3
  63. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListStacksPaginator.d.ts +3 -3
  64. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListTypeRegistrationsPaginator.d.ts +3 -3
  65. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListTypeVersionsPaginator.d.ts +3 -3
  66. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListTypesPaginator.d.ts +3 -3
  67. package/node_modules/@aws-sdk/client-cloudformation/package.json +6 -5
  68. package/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountRolesPaginator.js +2 -24
  69. package/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountsPaginator.js +2 -24
  70. package/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountRolesPaginator.js +2 -23
  71. package/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountsPaginator.js +2 -23
  72. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountRolesPaginator.d.ts +1 -1
  73. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountsPaginator.d.ts +1 -1
  74. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/ListAccountRolesPaginator.d.ts +3 -3
  75. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/ListAccountsPaginator.d.ts +3 -3
  76. package/node_modules/@aws-sdk/client-sso/package.json +3 -3
  77. package/node_modules/@aws-sdk/client-sts/package.json +4 -4
  78. package/node_modules/@aws-sdk/credential-provider-ini/package.json +2 -2
  79. package/node_modules/@aws-sdk/credential-provider-node/package.json +3 -3
  80. package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
  81. package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  82. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  83. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +3 -0
  84. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +3 -0
  85. package/node_modules/@aws-sdk/util-endpoints/package.json +1 -1
  86. package/node_modules/@smithy/core/package.json +3 -3
  87. package/node_modules/@smithy/middleware-retry/package.json +2 -2
  88. package/node_modules/@smithy/smithy-client/dist-cjs/command.js +108 -0
  89. package/node_modules/@smithy/smithy-client/dist-es/command.js +108 -0
  90. package/node_modules/@smithy/smithy-client/dist-types/command.d.ts +104 -1
  91. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts +104 -1
  92. package/node_modules/@smithy/smithy-client/package.json +3 -1
  93. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  94. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  95. package/package.json +3 -3
package/.jsii CHANGED
@@ -3585,7 +3585,7 @@
3585
3585
  "stability": "stable"
3586
3586
  },
3587
3587
  "homepage": "https://github.com/cdk8s-team/cdk8s-awscdk-resolver.git",
3588
- "jsiiVersion": "5.3.0 (build 57201b3)",
3588
+ "jsiiVersion": "5.3.1 (build e6b5c85)",
3589
3589
  "license": "Apache-2.0",
3590
3590
  "metadata": {
3591
3591
  "jsii": {
@@ -3674,6 +3674,6 @@
3674
3674
  "symbolId": "src/resolve:AwsCdkResolver"
3675
3675
  }
3676
3676
  },
3677
- "version": "0.0.45",
3678
- "fingerprint": "VF2fXX0qvydqt2R1cnyOXlKlJsf8LWRmZ8tMHRaVPRE="
3677
+ "version": "0.0.46",
3678
+ "fingerprint": "wmSJK3iCahTKihLCw5LOgKnhNwxLhi+8muxQXyAuGho="
3679
3679
  }
package/lib/resolve.js CHANGED
@@ -61,5 +61,5 @@ class AwsCdkResolver {
61
61
  }
62
62
  exports.AwsCdkResolver = AwsCdkResolver;
63
63
  _a = JSII_RTTI_SYMBOL_1;
64
- AwsCdkResolver[_a] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.45" };
64
+ AwsCdkResolver[_a] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.46" };
65
65
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9yZXNvbHZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsaURBQTZDO0FBQzdDLDZCQUE2QjtBQUM3Qiw2Q0FBK0U7QUFJL0UsTUFBYSxjQUFjO0lBRWxCLE9BQU8sQ0FBQyxPQUEwQjtRQUV2QyxJQUFJLENBQUMsbUJBQUssQ0FBQyxZQUFZLENBQUMsT0FBTyxDQUFDLEtBQUssQ0FBQyxFQUFFLENBQUM7WUFDdkMsT0FBTztRQUNULENBQUM7UUFFRCxJQUFJLE9BQU8sT0FBTyxDQ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RhY2tzLm1hcChzID0+IHMuc3RhY2tOYW1lKS5qb2luKCcsJyl9KWApO1xuXG4gIH1cblxuICBwcml2YXRlIGZldGNoT3V0cHV0VmFsdWUob3V0cHV0OiBDZm5PdXRwdXQpIHtcblxuICAgIGNvbnN0IHNjcmlwdCA9IHBhdGguam9pbihfX2Rpcm5hbWUsICcuLicsICdsaWInLCAnZmV0Y2gtb3V0cHV0LXZhbHVlLmpzJyk7XG4gICAgcmV0dXJuIEpTT04ucGFyc2UoZXhlY0ZpbGVTeW5jKHByb2Nlc3MuZXhlY1BhdGgsIFtcbiAgICAgIHNjcmlwdCxcbiAgICAgIFN0YWNrLm9mKG91dHB1dCkuc3RhY2tOYW1lLFxuICAgICAgb3V0cHV0Lm5vZGUuaWQsXG4gICAgXSwgeyBlbmNvZGluZzogJ3V0Zi04Jywgc3RkaW86IFsncGlwZSddIH0pLnRvU3RyaW5nKCkudHJpbSgpKTtcblxuICB9XG5cbn1cbiJdfQ==
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeAccountLimits = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CloudFormationClient_1 = require("../CloudFormationClient");
5
6
  const DescribeAccountLimitsCommand_1 = require("../commands/DescribeAccountLimitsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeAccountLimitsCommand_1.DescribeAccountLimitsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeAccountLimits(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- if (config.client instanceof CloudFormationClient_1.CloudFormationClient) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected CloudFormation | CloudFormationClient");
20
- }
21
- yield page;
22
- const prevToken = token;
23
- token = page.NextToken;
24
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
25
- }
26
- return undefined;
27
- }
28
- exports.paginateDescribeAccountLimits = paginateDescribeAccountLimits;
7
+ exports.paginateDescribeAccountLimits = (0, core_1.createPaginator)(CloudFormationClient_1.CloudFormationClient, DescribeAccountLimitsCommand_1.DescribeAccountLimitsCommand, "NextToken", "NextToken", "");
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeStackEvents = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CloudFormationClient_1 = require("../CloudFormationClient");
5
6
  const DescribeStackEventsCommand_1 = require("../commands/DescribeStackEventsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeStackEventsCommand_1.DescribeStackEventsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeStackEvents(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- if (config.client instanceof CloudFormationClient_1.CloudFormationClient) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected CloudFormation | CloudFormationClient");
20
- }
21
- yield page;
22
- const prevToken = token;
23
- token = page.NextToken;
24
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
25
- }
26
- return undefined;
27
- }
28
- exports.paginateDescribeStackEvents = paginateDescribeStackEvents;
7
+ exports.paginateDescribeStackEvents = (0, core_1.createPaginator)(CloudFormationClient_1.CloudFormationClient, DescribeStackEventsCommand_1.DescribeStackEventsCommand, "NextToken", "NextToken", "");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeStackResourceDrifts = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CloudFormationClient_1 = require("../CloudFormationClient");
5
6
  const DescribeStackResourceDriftsCommand_1 = require("../commands/DescribeStackResourceDriftsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeStackResourceDriftsCommand_1.DescribeStackResourceDriftsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeStackResourceDrifts(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof CloudFormationClient_1.CloudFormationClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected CloudFormation | CloudFormationClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeStackResourceDrifts = paginateDescribeStackResourceDrifts;
7
+ exports.paginateDescribeStackResourceDrifts = (0, core_1.createPaginator)(CloudFormationClient_1.CloudFormationClient, DescribeStackResourceDriftsCommand_1.DescribeStackResourceDriftsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeStacks = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CloudFormationClient_1 = require("../CloudFormationClient");
5
6
  const DescribeStacksCommand_1 = require("../commands/DescribeStacksCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeStacksCommand_1.DescribeStacksCommand(input), ...args);
8
- };
9
- async function* paginateDescribeStacks(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- if (config.client instanceof CloudFormationClient_1.CloudFormationClient) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected CloudFormation | CloudFormationClient");
20
- }
21
- yield page;
22
- const prevToken = token;
23
- token = page.NextToken;
24
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
25
- }
26
- return undefined;
27
- }
28
- exports.paginateDescribeStacks = paginateDescribeStacks;
7
+ exports.paginateDescribeStacks = (0, core_1.createPaginator)(CloudFormationClient_1.CloudFormationClient, DescribeStacksCommand_1.DescribeStacksCommand, "NextToken", "NextToken", "");
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListChangeSets = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CloudFormationClient_1 = require("../CloudFormationClient");
5
6
  const ListChangeSetsCommand_1 = require("../commands/ListChangeSetsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListChangeSetsCommand_1.ListChangeSetsCommand(input), ...args);
8
- };
9
- async function* paginateListChangeSets(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- if (config.client instanceof CloudFormationClient_1.CloudFormationClient) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected CloudFormation | CloudFormationClient");
20
- }
21
- yield page;
22
- const prevToken = token;
23
- token = page.NextToken;
24
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
25
- }
26
- return undefined;
27
- }
28
- exports.paginateListChangeSets = paginateListChangeSets;
7
+ exports.paginateListChangeSets = (0, core_1.createPaginator)(CloudFormationClient_1.CloudFormationClient, ListChangeSetsCommand_1.ListChangeSetsCommand, "NextToken", "NextToken", "");
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListExports = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CloudFormationClient_1 = require("../CloudFormationClient");
5
6
  const ListExportsCommand_1 = require("../commands/ListExportsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListExportsCommand_1.ListExportsCommand(input), ...args);
8
- };
9
- async function* paginateListExports(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- if (config.client instanceof CloudFormationClient_1.CloudFormationClient) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected CloudFormation | CloudFormationClient");
20
- }
21
- yield page;
22
- const prevToken = token;
23
- token = page.NextToken;
24
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
25
- }
26
- return undefined;
27
- }
28
- exports.paginateListExports = paginateListExports;
7
+ exports.paginateListExports = (0, core_1.createPaginator)(CloudFormationClient_1.CloudFormationClient, ListExportsCommand_1.ListExportsCommand, "NextToken", "NextToken", "");
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListImports = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CloudFormationClient_1 = require("../CloudFormationClient");
5
6
  const ListImportsCommand_1 = require("../commands/ListImportsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListImportsCommand_1.ListImportsCommand(input), ...args);
8
- };
9
- async function* paginateListImports(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- if (config.client instanceof CloudFormationClient_1.CloudFormationClient) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected CloudFormation | CloudFormationClient");
20
- }
21
- yield page;
22
- const prevToken = token;
23
- token = page.NextToken;
24
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
25
- }
26
- return undefined;
27
- }
28
- exports.paginateListImports = paginateListImports;
7
+ exports.paginateListImports = (0, core_1.createPaginator)(CloudFormationClient_1.CloudFormationClient, ListImportsCommand_1.ListImportsCommand, "NextToken", "NextToken", "");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListStackInstances = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CloudFormationClient_1 = require("../CloudFormationClient");
5
6
  const ListStackInstancesCommand_1 = require("../commands/ListStackInstancesCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListStackInstancesCommand_1.ListStackInstancesCommand(input), ...args);
8
- };
9
- async function* paginateListStackInstances(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof CloudFormationClient_1.CloudFormationClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected CloudFormation | CloudFormationClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListStackInstances = paginateListStackInstances;
7
+ exports.paginateListStackInstances = (0, core_1.createPaginator)(CloudFormationClient_1.CloudFormationClient, ListStackInstancesCommand_1.ListStackInstancesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListStackResources = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CloudFormationClient_1 = require("../CloudFormationClient");
5
6
  const ListStackResourcesCommand_1 = require("../commands/ListStackResourcesCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListStackResourcesCommand_1.ListStackResourcesCommand(input), ...args);
8
- };
9
- async function* paginateListStackResources(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- if (config.client instanceof CloudFormationClient_1.CloudFormationClient) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected CloudFormation | CloudFormationClient");
20
- }
21
- yield page;
22
- const prevToken = token;
23
- token = page.NextToken;
24
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
25
- }
26
- return undefined;
27
- }
28
- exports.paginateListStackResources = paginateListStackResources;
7
+ exports.paginateListStackResources = (0, core_1.createPaginator)(CloudFormationClient_1.CloudFormationClient, ListStackResourcesCommand_1.ListStackResourcesCommand, "NextToken", "NextToken", "");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListStackSetOperationResults = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CloudFormationClient_1 = require("../CloudFormationClient");
5
6
  const ListStackSetOperationResultsCommand_1 = require("../commands/ListStackSetOperationResultsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListStackSetOperationResultsCommand_1.ListStackSetOperationResultsCommand(input), ...args);
8
- };
9
- async function* paginateListStackSetOperationResults(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof CloudFormationClient_1.CloudFormationClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected CloudFormation | CloudFormationClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListStackSetOperationResults = paginateListStackSetOperationResults;
7
+ exports.paginateListStackSetOperationResults = (0, core_1.createPaginator)(CloudFormationClient_1.CloudFormationClient, ListStackSetOperationResultsCommand_1.ListStackSetOperationResultsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListStackSetOperations = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CloudFormationClient_1 = require("../CloudFormationClient");
5
6
  const ListStackSetOperationsCommand_1 = require("../commands/ListStackSetOperationsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListStackSetOperationsCommand_1.ListStackSetOperationsCommand(input), ...args);
8
- };
9
- async function* paginateListStackSetOperations(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof CloudFormationClient_1.CloudFormationClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected CloudFormation | CloudFormationClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListStackSetOperations = paginateListStackSetOperations;
7
+ exports.paginateListStackSetOperations = (0, core_1.createPaginator)(CloudFormationClient_1.CloudFormationClient, ListStackSetOperationsCommand_1.ListStackSetOperationsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListStackSets = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CloudFormationClient_1 = require("../CloudFormationClient");
5
6
  const ListStackSetsCommand_1 = require("../commands/ListStackSetsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListStackSetsCommand_1.ListStackSetsCommand(input), ...args);
8
- };
9
- async function* paginateListStackSets(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof CloudFormationClient_1.CloudFormationClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected CloudFormation | CloudFormationClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListStackSets = paginateListStackSets;
7
+ exports.paginateListStackSets = (0, core_1.createPaginator)(CloudFormationClient_1.CloudFormationClient, ListStackSetsCommand_1.ListStackSetsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListStacks = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CloudFormationClient_1 = require("../CloudFormationClient");
5
6
  const ListStacksCommand_1 = require("../commands/ListStacksCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListStacksCommand_1.ListStacksCommand(input), ...args);
8
- };
9
- async function* paginateListStacks(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- if (config.client instanceof CloudFormationClient_1.CloudFormationClient) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected CloudFormation | CloudFormationClient");
20
- }
21
- yield page;
22
- const prevToken = token;
23
- token = page.NextToken;
24
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
25
- }
26
- return undefined;
27
- }
28
- exports.paginateListStacks = paginateListStacks;
7
+ exports.paginateListStacks = (0, core_1.createPaginator)(CloudFormationClient_1.CloudFormationClient, ListStacksCommand_1.ListStacksCommand, "NextToken", "NextToken", "");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListTypeRegistrations = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CloudFormationClient_1 = require("../CloudFormationClient");
5
6
  const ListTypeRegistrationsCommand_1 = require("../commands/ListTypeRegistrationsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListTypeRegistrationsCommand_1.ListTypeRegistrationsCommand(input), ...args);
8
- };
9
- async function* paginateListTypeRegistrations(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof CloudFormationClient_1.CloudFormationClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected CloudFormation | CloudFormationClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListTypeRegistrations = paginateListTypeRegistrations;
7
+ exports.paginateListTypeRegistrations = (0, core_1.createPaginator)(CloudFormationClient_1.CloudFormationClient, ListTypeRegistrationsCommand_1.ListTypeRegistrationsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListTypeVersions = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CloudFormationClient_1 = require("../CloudFormationClient");
5
6
  const ListTypeVersionsCommand_1 = require("../commands/ListTypeVersionsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListTypeVersionsCommand_1.ListTypeVersionsCommand(input), ...args);
8
- };
9
- async function* paginateListTypeVersions(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof CloudFormationClient_1.CloudFormationClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected CloudFormation | CloudFormationClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListTypeVersions = paginateListTypeVersions;
7
+ exports.paginateListTypeVersions = (0, core_1.createPaginator)(CloudFormationClient_1.CloudFormationClient, ListTypeVersionsCommand_1.ListTypeVersionsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListTypes = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const CloudFormationClient_1 = require("../CloudFormationClient");
5
6
  const ListTypesCommand_1 = require("../commands/ListTypesCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListTypesCommand_1.ListTypesCommand(input), ...args);
8
- };
9
- async function* paginateListTypes(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof CloudFormationClient_1.CloudFormationClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected CloudFormation | CloudFormationClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListTypes = paginateListTypes;
7
+ exports.paginateListTypes = (0, core_1.createPaginator)(CloudFormationClient_1.CloudFormationClient, ListTypesCommand_1.ListTypesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CloudFormationClient } from "../CloudFormationClient";
2
3
  import { DescribeAccountLimitsCommand, } from "../commands/DescribeAccountLimitsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeAccountLimitsCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeAccountLimits(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- if (config.client instanceof CloudFormationClient) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected CloudFormation | CloudFormationClient");
17
- }
18
- yield page;
19
- const prevToken = token;
20
- token = page.NextToken;
21
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
22
- }
23
- return undefined;
24
- }
4
+ export const paginateDescribeAccountLimits = createPaginator(CloudFormationClient, DescribeAccountLimitsCommand, "NextToken", "NextToken", "");
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CloudFormationClient } from "../CloudFormationClient";
2
3
  import { DescribeStackEventsCommand, } from "../commands/DescribeStackEventsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeStackEventsCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeStackEvents(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- if (config.client instanceof CloudFormationClient) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected CloudFormation | CloudFormationClient");
17
- }
18
- yield page;
19
- const prevToken = token;
20
- token = page.NextToken;
21
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
22
- }
23
- return undefined;
24
- }
4
+ export const paginateDescribeStackEvents = createPaginator(CloudFormationClient, DescribeStackEventsCommand, "NextToken", "NextToken", "");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CloudFormationClient } from "../CloudFormationClient";
2
3
  import { DescribeStackResourceDriftsCommand, } from "../commands/DescribeStackResourceDriftsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeStackResourceDriftsCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeStackResourceDrifts(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof CloudFormationClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CloudFormation | CloudFormationClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeStackResourceDrifts = createPaginator(CloudFormationClient, DescribeStackResourceDriftsCommand, "NextToken", "NextToken", "MaxResults");