@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
@@ -4,8 +4,8 @@ import {
4
4
  ListStackSetOperationsCommandOutput,
5
5
  } from "../commands/ListStackSetOperationsCommand";
6
6
  import { CloudFormationPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListStackSetOperations(
7
+ export declare const paginateListStackSetOperations: (
8
8
  config: CloudFormationPaginationConfiguration,
9
9
  input: ListStackSetOperationsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListStackSetOperationsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListStackSetOperationsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListStackSetsCommandOutput,
5
5
  } from "../commands/ListStackSetsCommand";
6
6
  import { CloudFormationPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListStackSets(
7
+ export declare const paginateListStackSets: (
8
8
  config: CloudFormationPaginationConfiguration,
9
9
  input: ListStackSetsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListStackSetsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListStackSetsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListStacksCommandOutput,
5
5
  } from "../commands/ListStacksCommand";
6
6
  import { CloudFormationPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListStacks(
7
+ export declare const paginateListStacks: (
8
8
  config: CloudFormationPaginationConfiguration,
9
9
  input: ListStacksCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListStacksCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListStacksCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListTypeRegistrationsCommandOutput,
5
5
  } from "../commands/ListTypeRegistrationsCommand";
6
6
  import { CloudFormationPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListTypeRegistrations(
7
+ export declare const paginateListTypeRegistrations: (
8
8
  config: CloudFormationPaginationConfiguration,
9
9
  input: ListTypeRegistrationsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListTypeRegistrationsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListTypeRegistrationsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListTypeVersionsCommandOutput,
5
5
  } from "../commands/ListTypeVersionsCommand";
6
6
  import { CloudFormationPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListTypeVersions(
7
+ export declare const paginateListTypeVersions: (
8
8
  config: CloudFormationPaginationConfiguration,
9
9
  input: ListTypeVersionsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListTypeVersionsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListTypeVersionsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListTypesCommandOutput,
5
5
  } from "../commands/ListTypesCommand";
6
6
  import { CloudFormationPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListTypes(
7
+ export declare const paginateListTypes: (
8
8
  config: CloudFormationPaginationConfiguration,
9
9
  input: ListTypesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListTypesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListTypesCommandOutput>;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudformation",
3
3
  "description": "AWS SDK for JavaScript Cloudformation Client for Node.js, Browser and React Native",
4
- "version": "3.477.0",
4
+ "version": "3.478.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,20 +20,21 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.477.0",
23
+ "@aws-sdk/client-sts": "3.478.0",
24
24
  "@aws-sdk/core": "3.477.0",
25
- "@aws-sdk/credential-provider-node": "3.477.0",
25
+ "@aws-sdk/credential-provider-node": "3.478.0",
26
26
  "@aws-sdk/middleware-host-header": "3.468.0",
27
27
  "@aws-sdk/middleware-logger": "3.468.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.468.0",
29
29
  "@aws-sdk/middleware-signing": "3.468.0",
30
- "@aws-sdk/middleware-user-agent": "3.470.0",
30
+ "@aws-sdk/middleware-user-agent": "3.478.0",
31
31
  "@aws-sdk/region-config-resolver": "3.470.0",
32
32
  "@aws-sdk/types": "3.468.0",
33
- "@aws-sdk/util-endpoints": "3.470.0",
33
+ "@aws-sdk/util-endpoints": "3.478.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.468.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.470.0",
36
36
  "@smithy/config-resolver": "^2.0.21",
37
+ "@smithy/core": "^1.2.0",
37
38
  "@smithy/fetch-http-handler": "^2.3.1",
38
39
  "@smithy/hash-node": "^2.0.17",
39
40
  "@smithy/invalid-dependency": "^2.0.15",
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListAccountRoles = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListAccountRolesCommand_1 = require("../commands/ListAccountRolesCommand");
5
6
  const SSOClient_1 = require("../SSOClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListAccountRolesCommand_1.ListAccountRolesCommand(input), ...args);
8
- };
9
- async function* paginateListAccountRoles(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 SSOClient_1.SSOClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected SSO | SSOClient");
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.paginateListAccountRoles = paginateListAccountRoles;
7
+ exports.paginateListAccountRoles = (0, core_1.createPaginator)(SSOClient_1.SSOClient, ListAccountRolesCommand_1.ListAccountRolesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListAccounts = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListAccountsCommand_1 = require("../commands/ListAccountsCommand");
5
6
  const SSOClient_1 = require("../SSOClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListAccountsCommand_1.ListAccountsCommand(input), ...args);
8
- };
9
- async function* paginateListAccounts(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 SSOClient_1.SSOClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected SSO | SSOClient");
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.paginateListAccounts = paginateListAccounts;
7
+ exports.paginateListAccounts = (0, core_1.createPaginator)(SSOClient_1.SSOClient, ListAccountsCommand_1.ListAccountsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListAccountRolesCommand, } from "../commands/ListAccountRolesCommand";
2
3
  import { SSOClient } from "../SSOClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListAccountRolesCommand(input), ...args);
5
- };
6
- export async function* paginateListAccountRoles(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 SSOClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected SSO | SSOClient");
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 paginateListAccountRoles = createPaginator(SSOClient, ListAccountRolesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListAccountsCommand, } from "../commands/ListAccountsCommand";
2
3
  import { SSOClient } from "../SSOClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListAccountsCommand(input), ...args);
5
- };
6
- export async function* paginateListAccounts(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 SSOClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected SSO | SSOClient");
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 paginateListAccounts = createPaginator(SSOClient, ListAccountsCommand, "nextToken", "nextToken", "maxResults");
@@ -4,4 +4,4 @@ import { SSOPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListAccountRoles(config: SSOPaginationConfiguration, input: ListAccountRolesCommandInput, ...additionalArguments: any): Paginator<ListAccountRolesCommandOutput>;
7
+ export declare const paginateListAccountRoles: (config: SSOPaginationConfiguration, input: ListAccountRolesCommandInput, ...rest: any[]) => Paginator<ListAccountRolesCommandOutput>;
@@ -4,4 +4,4 @@ import { SSOPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListAccounts(config: SSOPaginationConfiguration, input: ListAccountsCommandInput, ...additionalArguments: any): Paginator<ListAccountsCommandOutput>;
7
+ export declare const paginateListAccounts: (config: SSOPaginationConfiguration, input: ListAccountsCommandInput, ...rest: any[]) => Paginator<ListAccountsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListAccountRolesCommandOutput,
5
5
  } from "../commands/ListAccountRolesCommand";
6
6
  import { SSOPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListAccountRoles(
7
+ export declare const paginateListAccountRoles: (
8
8
  config: SSOPaginationConfiguration,
9
9
  input: ListAccountRolesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListAccountRolesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListAccountRolesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListAccountsCommandOutput,
5
5
  } from "../commands/ListAccountsCommand";
6
6
  import { SSOPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListAccounts(
7
+ export declare const paginateListAccounts: (
8
8
  config: SSOPaginationConfiguration,
9
9
  input: ListAccountsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListAccountsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListAccountsCommandOutput>;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso",
3
3
  "description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
4
- "version": "3.477.0",
4
+ "version": "3.478.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -24,10 +24,10 @@
24
24
  "@aws-sdk/middleware-host-header": "3.468.0",
25
25
  "@aws-sdk/middleware-logger": "3.468.0",
26
26
  "@aws-sdk/middleware-recursion-detection": "3.468.0",
27
- "@aws-sdk/middleware-user-agent": "3.470.0",
27
+ "@aws-sdk/middleware-user-agent": "3.478.0",
28
28
  "@aws-sdk/region-config-resolver": "3.470.0",
29
29
  "@aws-sdk/types": "3.468.0",
30
- "@aws-sdk/util-endpoints": "3.470.0",
30
+ "@aws-sdk/util-endpoints": "3.478.0",
31
31
  "@aws-sdk/util-user-agent-browser": "3.468.0",
32
32
  "@aws-sdk/util-user-agent-node": "3.470.0",
33
33
  "@smithy/config-resolver": "^2.0.21",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sts",
3
3
  "description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
4
- "version": "3.477.0",
4
+ "version": "3.478.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -23,14 +23,14 @@
23
23
  "@aws-crypto/sha256-browser": "3.0.0",
24
24
  "@aws-crypto/sha256-js": "3.0.0",
25
25
  "@aws-sdk/core": "3.477.0",
26
- "@aws-sdk/credential-provider-node": "3.477.0",
26
+ "@aws-sdk/credential-provider-node": "3.478.0",
27
27
  "@aws-sdk/middleware-host-header": "3.468.0",
28
28
  "@aws-sdk/middleware-logger": "3.468.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.468.0",
30
- "@aws-sdk/middleware-user-agent": "3.470.0",
30
+ "@aws-sdk/middleware-user-agent": "3.478.0",
31
31
  "@aws-sdk/region-config-resolver": "3.470.0",
32
32
  "@aws-sdk/types": "3.468.0",
33
- "@aws-sdk/util-endpoints": "3.470.0",
33
+ "@aws-sdk/util-endpoints": "3.478.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.468.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.470.0",
36
36
  "@smithy/config-resolver": "^2.0.21",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.477.0",
3
+ "version": "3.478.0",
4
4
  "description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,7 +26,7 @@
26
26
  "dependencies": {
27
27
  "@aws-sdk/credential-provider-env": "3.468.0",
28
28
  "@aws-sdk/credential-provider-process": "3.468.0",
29
- "@aws-sdk/credential-provider-sso": "3.477.0",
29
+ "@aws-sdk/credential-provider-sso": "3.478.0",
30
30
  "@aws-sdk/credential-provider-web-identity": "3.468.0",
31
31
  "@aws-sdk/types": "3.468.0",
32
32
  "@smithy/credential-provider-imds": "^2.0.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.477.0",
3
+ "version": "3.478.0",
4
4
  "description": "AWS credential provider that sources credentials from a Node.JS environment. ",
5
5
  "engines": {
6
6
  "node": ">=14.0.0"
@@ -28,9 +28,9 @@
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
30
  "@aws-sdk/credential-provider-env": "3.468.0",
31
- "@aws-sdk/credential-provider-ini": "3.477.0",
31
+ "@aws-sdk/credential-provider-ini": "3.478.0",
32
32
  "@aws-sdk/credential-provider-process": "3.468.0",
33
- "@aws-sdk/credential-provider-sso": "3.477.0",
33
+ "@aws-sdk/credential-provider-sso": "3.478.0",
34
34
  "@aws-sdk/credential-provider-web-identity": "3.468.0",
35
35
  "@aws-sdk/types": "3.468.0",
36
36
  "@smithy/credential-provider-imds": "^2.0.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-sso",
3
- "version": "3.477.0",
3
+ "version": "3.478.0",
4
4
  "description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -24,8 +24,8 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/client-sso": "3.477.0",
28
- "@aws-sdk/token-providers": "3.470.0",
27
+ "@aws-sdk/client-sso": "3.478.0",
28
+ "@aws-sdk/token-providers": "3.478.0",
29
29
  "@aws-sdk/types": "3.468.0",
30
30
  "@smithy/property-provider": "^2.0.0",
31
31
  "@smithy/shared-ini-file-loader": "^2.0.6",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-user-agent",
3
- "version": "3.470.0",
3
+ "version": "3.478.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -23,7 +23,7 @@
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
25
  "@aws-sdk/types": "3.468.0",
26
- "@aws-sdk/util-endpoints": "3.470.0",
26
+ "@aws-sdk/util-endpoints": "3.478.0",
27
27
  "@smithy/protocol-http": "^3.0.11",
28
28
  "@smithy/types": "^2.7.0",
29
29
  "tslib": "^2.5.0"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.470.0",
3
+ "version": "3.478.0",
4
4
  "description": "A collection of token providers",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -32,10 +32,10 @@
32
32
  "@aws-sdk/middleware-host-header": "3.468.0",
33
33
  "@aws-sdk/middleware-logger": "3.468.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.468.0",
35
- "@aws-sdk/middleware-user-agent": "3.470.0",
35
+ "@aws-sdk/middleware-user-agent": "3.478.0",
36
36
  "@aws-sdk/region-config-resolver": "3.470.0",
37
37
  "@aws-sdk/types": "3.468.0",
38
- "@aws-sdk/util-endpoints": "3.470.0",
38
+ "@aws-sdk/util-endpoints": "3.478.0",
39
39
  "@aws-sdk/util-user-agent-browser": "3.468.0",
40
40
  "@aws-sdk/util-user-agent-node": "3.470.0",
41
41
  "@smithy/config-resolver": "^2.0.21",
@@ -50,6 +50,9 @@
50
50
  "ca-central-1": {
51
51
  "description": "Canada (Central)"
52
52
  },
53
+ "ca-west-1": {
54
+ "description": "Canada West (Calgary)"
55
+ },
53
56
  "eu-central-1": {
54
57
  "description": "Europe (Frankfurt)"
55
58
  },
@@ -50,6 +50,9 @@
50
50
  "ca-central-1": {
51
51
  "description": "Canada (Central)"
52
52
  },
53
+ "ca-west-1": {
54
+ "description": "Canada West (Calgary)"
55
+ },
53
56
  "eu-central-1": {
54
57
  "description": "Europe (Frankfurt)"
55
58
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-endpoints",
3
- "version": "3.470.0",
3
+ "version": "3.478.0",
4
4
  "description": "Utilities to help with endpoint resolution",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/core",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
@@ -24,10 +24,10 @@
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
26
  "@smithy/middleware-endpoint": "^2.2.3",
27
- "@smithy/middleware-retry": "^2.0.24",
27
+ "@smithy/middleware-retry": "^2.0.25",
28
28
  "@smithy/middleware-serde": "^2.0.15",
29
29
  "@smithy/protocol-http": "^3.0.11",
30
- "@smithy/smithy-client": "^2.1.18",
30
+ "@smithy/smithy-client": "^2.2.0",
31
31
  "@smithy/types": "^2.7.0",
32
32
  "@smithy/util-middleware": "^2.0.8",
33
33
  "tslib": "^2.5.0"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-retry",
3
- "version": "2.0.24",
3
+ "version": "2.0.25",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
@@ -34,7 +34,7 @@
34
34
  "@smithy/node-config-provider": "^2.1.8",
35
35
  "@smithy/protocol-http": "^3.0.11",
36
36
  "@smithy/service-error-classification": "^2.0.8",
37
- "@smithy/smithy-client": "^2.1.18",
37
+ "@smithy/smithy-client": "^2.2.0",
38
38
  "@smithy/types": "^2.7.0",
39
39
  "@smithy/util-middleware": "^2.0.8",
40
40
  "@smithy/util-retry": "^2.0.8",
@@ -2,9 +2,117 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Command = void 0;
4
4
  const middleware_stack_1 = require("@smithy/middleware-stack");
5
+ const types_1 = require("@smithy/types");
5
6
  class Command {
6
7
  constructor() {
7
8
  this.middlewareStack = (0, middleware_stack_1.constructStack)();
8
9
  }
10
+ static classBuilder() {
11
+ return new ClassBuilder();
12
+ }
13
+ resolveMiddlewareWithContext(clientStack, configuration, options, { middlewareFn, clientName, commandName, inputFilterSensitiveLog, outputFilterSensitiveLog, smithyContext, additionalContext, CommandCtor, }) {
14
+ for (const mw of middlewareFn.bind(this)(CommandCtor, clientStack, configuration, options)) {
15
+ this.middlewareStack.use(mw);
16
+ }
17
+ const stack = clientStack.concat(this.middlewareStack);
18
+ const { logger } = configuration;
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog,
24
+ outputFilterSensitiveLog,
25
+ [types_1.SMITHY_CONTEXT_KEY]: {
26
+ ...smithyContext,
27
+ },
28
+ ...additionalContext,
29
+ };
30
+ const { requestHandler } = configuration;
31
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
32
+ }
9
33
  }
10
34
  exports.Command = Command;
35
+ class ClassBuilder {
36
+ constructor() {
37
+ this._init = () => { };
38
+ this._ep = {};
39
+ this._middlewareFn = () => [];
40
+ this._commandName = "";
41
+ this._clientName = "";
42
+ this._additionalContext = {};
43
+ this._smithyContext = {};
44
+ this._inputFilterSensitiveLog = (_) => _;
45
+ this._outputFilterSensitiveLog = (_) => _;
46
+ this._serializer = null;
47
+ this._deserializer = null;
48
+ }
49
+ init(cb) {
50
+ this._init = cb;
51
+ }
52
+ ep(endpointParameterInstructions) {
53
+ this._ep = endpointParameterInstructions;
54
+ return this;
55
+ }
56
+ m(middlewareSupplier) {
57
+ this._middlewareFn = middlewareSupplier;
58
+ return this;
59
+ }
60
+ s(service, operation, smithyContext = {}) {
61
+ this._smithyContext = {
62
+ service,
63
+ operation,
64
+ ...smithyContext,
65
+ };
66
+ return this;
67
+ }
68
+ c(additionalContext = {}) {
69
+ this._additionalContext = additionalContext;
70
+ return this;
71
+ }
72
+ n(clientName, commandName) {
73
+ this._clientName = clientName;
74
+ this._commandName = commandName;
75
+ return this;
76
+ }
77
+ f(inputFilter = (_) => _, outputFilter = (_) => _) {
78
+ this._inputFilterSensitiveLog = inputFilter;
79
+ this._outputFilterSensitiveLog = outputFilter;
80
+ return this;
81
+ }
82
+ ser(serializer) {
83
+ this._serializer = serializer;
84
+ return this;
85
+ }
86
+ de(deserializer) {
87
+ this._deserializer = deserializer;
88
+ return this;
89
+ }
90
+ build() {
91
+ const closure = this;
92
+ let CommandRef;
93
+ return (CommandRef = class extends Command {
94
+ static getEndpointParameterInstructions() {
95
+ return closure._ep;
96
+ }
97
+ constructor(input) {
98
+ super();
99
+ this.input = input;
100
+ this.serialize = closure._serializer;
101
+ this.deserialize = closure._deserializer;
102
+ closure._init(this);
103
+ }
104
+ resolveMiddleware(stack, configuration, options) {
105
+ return this.resolveMiddlewareWithContext(stack, configuration, options, {
106
+ CommandCtor: CommandRef,
107
+ middlewareFn: closure._middlewareFn,
108
+ clientName: closure._clientName,
109
+ commandName: closure._commandName,
110
+ inputFilterSensitiveLog: closure._inputFilterSensitiveLog,
111
+ outputFilterSensitiveLog: closure._outputFilterSensitiveLog,
112
+ smithyContext: closure._smithyContext,
113
+ additionalContext: closure._additionalContext,
114
+ });
115
+ }
116
+ });
117
+ }
118
+ }