@cdk8s/awscdk-resolver 0.0.44 → 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 (131) 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-cjs/protocols/Aws_query.js +2385 -2037
  20. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/DescribeAccountLimitsPaginator.js +2 -22
  21. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/DescribeStackEventsPaginator.js +2 -22
  22. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/DescribeStackResourceDriftsPaginator.js +2 -23
  23. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/DescribeStacksPaginator.js +2 -22
  24. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListChangeSetsPaginator.js +2 -22
  25. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListExportsPaginator.js +2 -22
  26. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListImportsPaginator.js +2 -22
  27. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListStackInstancesPaginator.js +2 -23
  28. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListStackResourcesPaginator.js +2 -22
  29. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListStackSetOperationResultsPaginator.js +2 -23
  30. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListStackSetOperationsPaginator.js +2 -23
  31. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListStackSetsPaginator.js +2 -23
  32. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListStacksPaginator.js +2 -22
  33. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListTypeRegistrationsPaginator.js +2 -23
  34. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListTypeVersionsPaginator.js +2 -23
  35. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListTypesPaginator.js +2 -23
  36. package/node_modules/@aws-sdk/client-cloudformation/dist-es/protocols/Aws_query.js +2385 -2037
  37. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/DescribeAccountLimitsPaginator.d.ts +1 -1
  38. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/DescribeStackEventsPaginator.d.ts +1 -1
  39. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/DescribeStackResourceDriftsPaginator.d.ts +1 -1
  40. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/DescribeStacksPaginator.d.ts +1 -1
  41. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListChangeSetsPaginator.d.ts +1 -1
  42. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListExportsPaginator.d.ts +1 -1
  43. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListImportsPaginator.d.ts +1 -1
  44. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListStackInstancesPaginator.d.ts +1 -1
  45. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListStackResourcesPaginator.d.ts +1 -1
  46. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListStackSetOperationResultsPaginator.d.ts +1 -1
  47. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListStackSetOperationsPaginator.d.ts +1 -1
  48. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListStackSetsPaginator.d.ts +1 -1
  49. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListStacksPaginator.d.ts +1 -1
  50. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListTypeRegistrationsPaginator.d.ts +1 -1
  51. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListTypeVersionsPaginator.d.ts +1 -1
  52. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListTypesPaginator.d.ts +1 -1
  53. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/DescribeAccountLimitsPaginator.d.ts +3 -3
  54. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/DescribeStackEventsPaginator.d.ts +3 -3
  55. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/DescribeStackResourceDriftsPaginator.d.ts +3 -3
  56. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/DescribeStacksPaginator.d.ts +3 -3
  57. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListChangeSetsPaginator.d.ts +3 -3
  58. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts +3 -3
  59. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts +3 -3
  60. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListStackInstancesPaginator.d.ts +3 -3
  61. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListStackResourcesPaginator.d.ts +3 -3
  62. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListStackSetOperationResultsPaginator.d.ts +3 -3
  63. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListStackSetOperationsPaginator.d.ts +3 -3
  64. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListStackSetsPaginator.d.ts +3 -3
  65. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListStacksPaginator.d.ts +3 -3
  66. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListTypeRegistrationsPaginator.d.ts +3 -3
  67. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListTypeVersionsPaginator.d.ts +3 -3
  68. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListTypesPaginator.d.ts +3 -3
  69. package/node_modules/@aws-sdk/client-cloudformation/package.json +7 -6
  70. package/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountRolesPaginator.js +2 -24
  71. package/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountsPaginator.js +2 -24
  72. package/node_modules/@aws-sdk/client-sso/dist-cjs/protocols/Aws_restJson1.js +38 -59
  73. package/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountRolesPaginator.js +2 -23
  74. package/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountsPaginator.js +2 -23
  75. package/node_modules/@aws-sdk/client-sso/dist-es/protocols/Aws_restJson1.js +38 -59
  76. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountRolesPaginator.d.ts +1 -1
  77. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountsPaginator.d.ts +1 -1
  78. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/ListAccountRolesPaginator.d.ts +3 -3
  79. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/ListAccountsPaginator.d.ts +3 -3
  80. package/node_modules/@aws-sdk/client-sso/package.json +5 -4
  81. package/node_modules/@aws-sdk/client-sts/dist-cjs/protocols/Aws_query.js +250 -194
  82. package/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +250 -194
  83. package/node_modules/@aws-sdk/client-sts/package.json +6 -6
  84. package/node_modules/@aws-sdk/core/CHANGELOG.md +11 -0
  85. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/index.js +1 -1
  86. package/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/index.js +1 -1
  87. package/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/index.d.ts +1 -1
  88. package/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/index.d.ts +1 -1
  89. package/node_modules/@aws-sdk/core/package.json +2 -2
  90. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/index.ts +1 -1
  91. package/node_modules/@aws-sdk/core/tsconfig.cjs.tsbuildinfo +1 -1
  92. package/node_modules/@aws-sdk/core/tsconfig.es.tsbuildinfo +1 -1
  93. package/node_modules/@aws-sdk/core/tsconfig.types.tsbuildinfo +1 -1
  94. package/node_modules/@aws-sdk/credential-provider-ini/package.json +2 -2
  95. package/node_modules/@aws-sdk/credential-provider-node/package.json +3 -3
  96. package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
  97. package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  98. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  99. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +3 -0
  100. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +3 -0
  101. package/node_modules/@aws-sdk/util-endpoints/package.json +1 -1
  102. package/node_modules/@smithy/core/package.json +3 -3
  103. package/node_modules/@smithy/middleware-retry/package.json +2 -2
  104. package/node_modules/@smithy/smithy-client/dist-cjs/command.js +108 -0
  105. package/node_modules/@smithy/smithy-client/dist-es/command.js +108 -0
  106. package/node_modules/@smithy/smithy-client/dist-types/command.d.ts +104 -1
  107. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts +104 -1
  108. package/node_modules/@smithy/smithy-client/package.json +3 -1
  109. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  110. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  111. package/package.json +3 -3
  112. /package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/{aws-sdk → aws_sdk}/AWSSDKSigV4Signer.js +0 -0
  113. /package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/{aws-sdk → aws_sdk}/index.js +0 -0
  114. /package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/{aws-sdk → aws_sdk}/resolveAWSSDKSigV4Config.js +0 -0
  115. /package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/{aws-sdk → aws_sdk}/throwAWSSDKSigningPropertyError.js +0 -0
  116. /package/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/{aws-sdk → aws_sdk}/AWSSDKSigV4Signer.js +0 -0
  117. /package/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/{aws-sdk → aws_sdk}/index.js +0 -0
  118. /package/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/{aws-sdk → aws_sdk}/resolveAWSSDKSigV4Config.js +0 -0
  119. /package/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/{aws-sdk → aws_sdk}/throwAWSSDKSigningPropertyError.js +0 -0
  120. /package/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/{aws-sdk → aws_sdk}/AWSSDKSigV4Signer.d.ts +0 -0
  121. /package/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/{aws-sdk → aws_sdk}/index.d.ts +0 -0
  122. /package/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/{aws-sdk → aws_sdk}/resolveAWSSDKSigV4Config.d.ts +0 -0
  123. /package/node_modules/@aws-sdk/core/dist-types/httpAuthSchemes/{aws-sdk → aws_sdk}/throwAWSSDKSigningPropertyError.d.ts +0 -0
  124. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/{aws-sdk → aws_sdk}/AWSSDKSigV4Signer.d.ts +0 -0
  125. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/{aws-sdk → aws_sdk}/index.d.ts +0 -0
  126. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/{aws-sdk → aws_sdk}/resolveAWSSDKSigV4Config.d.ts +0 -0
  127. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/httpAuthSchemes/{aws-sdk → aws_sdk}/throwAWSSDKSigningPropertyError.d.ts +0 -0
  128. /package/node_modules/@aws-sdk/core/src/httpAuthSchemes/{aws-sdk → aws_sdk}/AWSSDKSigV4Signer.ts +0 -0
  129. /package/node_modules/@aws-sdk/core/src/httpAuthSchemes/{aws-sdk → aws_sdk}/index.ts +0 -0
  130. /package/node_modules/@aws-sdk/core/src/httpAuthSchemes/{aws-sdk → aws_sdk}/resolveAWSSDKSigV4Config.ts +0 -0
  131. /package/node_modules/@aws-sdk/core/src/httpAuthSchemes/{aws-sdk → aws_sdk}/throwAWSSDKSigningPropertyError.ts +0 -0
@@ -4,4 +4,4 @@ import { CloudFormationPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateDescribeAccountLimits(config: CloudFormationPaginationConfiguration, input: DescribeAccountLimitsCommandInput, ...additionalArguments: any): Paginator<DescribeAccountLimitsCommandOutput>;
7
+ export declare const paginateDescribeAccountLimits: (config: CloudFormationPaginationConfiguration, input: DescribeAccountLimitsCommandInput, ...rest: any[]) => Paginator<DescribeAccountLimitsCommandOutput>;
@@ -4,4 +4,4 @@ import { CloudFormationPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateDescribeStackEvents(config: CloudFormationPaginationConfiguration, input: DescribeStackEventsCommandInput, ...additionalArguments: any): Paginator<DescribeStackEventsCommandOutput>;
7
+ export declare const paginateDescribeStackEvents: (config: CloudFormationPaginationConfiguration, input: DescribeStackEventsCommandInput, ...rest: any[]) => Paginator<DescribeStackEventsCommandOutput>;
@@ -4,4 +4,4 @@ import { CloudFormationPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateDescribeStackResourceDrifts(config: CloudFormationPaginationConfiguration, input: DescribeStackResourceDriftsCommandInput, ...additionalArguments: any): Paginator<DescribeStackResourceDriftsCommandOutput>;
7
+ export declare const paginateDescribeStackResourceDrifts: (config: CloudFormationPaginationConfiguration, input: DescribeStackResourceDriftsCommandInput, ...rest: any[]) => Paginator<DescribeStackResourceDriftsCommandOutput>;
@@ -4,4 +4,4 @@ import { CloudFormationPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateDescribeStacks(config: CloudFormationPaginationConfiguration, input: DescribeStacksCommandInput, ...additionalArguments: any): Paginator<DescribeStacksCommandOutput>;
7
+ export declare const paginateDescribeStacks: (config: CloudFormationPaginationConfiguration, input: DescribeStacksCommandInput, ...rest: any[]) => Paginator<DescribeStacksCommandOutput>;
@@ -4,4 +4,4 @@ import { CloudFormationPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListChangeSets(config: CloudFormationPaginationConfiguration, input: ListChangeSetsCommandInput, ...additionalArguments: any): Paginator<ListChangeSetsCommandOutput>;
7
+ export declare const paginateListChangeSets: (config: CloudFormationPaginationConfiguration, input: ListChangeSetsCommandInput, ...rest: any[]) => Paginator<ListChangeSetsCommandOutput>;
@@ -4,4 +4,4 @@ import { CloudFormationPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListExports(config: CloudFormationPaginationConfiguration, input: ListExportsCommandInput, ...additionalArguments: any): Paginator<ListExportsCommandOutput>;
7
+ export declare const paginateListExports: (config: CloudFormationPaginationConfiguration, input: ListExportsCommandInput, ...rest: any[]) => Paginator<ListExportsCommandOutput>;
@@ -4,4 +4,4 @@ import { CloudFormationPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListImports(config: CloudFormationPaginationConfiguration, input: ListImportsCommandInput, ...additionalArguments: any): Paginator<ListImportsCommandOutput>;
7
+ export declare const paginateListImports: (config: CloudFormationPaginationConfiguration, input: ListImportsCommandInput, ...rest: any[]) => Paginator<ListImportsCommandOutput>;
@@ -4,4 +4,4 @@ import { CloudFormationPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListStackInstances(config: CloudFormationPaginationConfiguration, input: ListStackInstancesCommandInput, ...additionalArguments: any): Paginator<ListStackInstancesCommandOutput>;
7
+ export declare const paginateListStackInstances: (config: CloudFormationPaginationConfiguration, input: ListStackInstancesCommandInput, ...rest: any[]) => Paginator<ListStackInstancesCommandOutput>;
@@ -4,4 +4,4 @@ import { CloudFormationPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListStackResources(config: CloudFormationPaginationConfiguration, input: ListStackResourcesCommandInput, ...additionalArguments: any): Paginator<ListStackResourcesCommandOutput>;
7
+ export declare const paginateListStackResources: (config: CloudFormationPaginationConfiguration, input: ListStackResourcesCommandInput, ...rest: any[]) => Paginator<ListStackResourcesCommandOutput>;
@@ -4,4 +4,4 @@ import { CloudFormationPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListStackSetOperationResults(config: CloudFormationPaginationConfiguration, input: ListStackSetOperationResultsCommandInput, ...additionalArguments: any): Paginator<ListStackSetOperationResultsCommandOutput>;
7
+ export declare const paginateListStackSetOperationResults: (config: CloudFormationPaginationConfiguration, input: ListStackSetOperationResultsCommandInput, ...rest: any[]) => Paginator<ListStackSetOperationResultsCommandOutput>;
@@ -4,4 +4,4 @@ import { CloudFormationPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListStackSetOperations(config: CloudFormationPaginationConfiguration, input: ListStackSetOperationsCommandInput, ...additionalArguments: any): Paginator<ListStackSetOperationsCommandOutput>;
7
+ export declare const paginateListStackSetOperations: (config: CloudFormationPaginationConfiguration, input: ListStackSetOperationsCommandInput, ...rest: any[]) => Paginator<ListStackSetOperationsCommandOutput>;
@@ -4,4 +4,4 @@ import { CloudFormationPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListStackSets(config: CloudFormationPaginationConfiguration, input: ListStackSetsCommandInput, ...additionalArguments: any): Paginator<ListStackSetsCommandOutput>;
7
+ export declare const paginateListStackSets: (config: CloudFormationPaginationConfiguration, input: ListStackSetsCommandInput, ...rest: any[]) => Paginator<ListStackSetsCommandOutput>;
@@ -4,4 +4,4 @@ import { CloudFormationPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListStacks(config: CloudFormationPaginationConfiguration, input: ListStacksCommandInput, ...additionalArguments: any): Paginator<ListStacksCommandOutput>;
7
+ export declare const paginateListStacks: (config: CloudFormationPaginationConfiguration, input: ListStacksCommandInput, ...rest: any[]) => Paginator<ListStacksCommandOutput>;
@@ -4,4 +4,4 @@ import { CloudFormationPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListTypeRegistrations(config: CloudFormationPaginationConfiguration, input: ListTypeRegistrationsCommandInput, ...additionalArguments: any): Paginator<ListTypeRegistrationsCommandOutput>;
7
+ export declare const paginateListTypeRegistrations: (config: CloudFormationPaginationConfiguration, input: ListTypeRegistrationsCommandInput, ...rest: any[]) => Paginator<ListTypeRegistrationsCommandOutput>;
@@ -4,4 +4,4 @@ import { CloudFormationPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListTypeVersions(config: CloudFormationPaginationConfiguration, input: ListTypeVersionsCommandInput, ...additionalArguments: any): Paginator<ListTypeVersionsCommandOutput>;
7
+ export declare const paginateListTypeVersions: (config: CloudFormationPaginationConfiguration, input: ListTypeVersionsCommandInput, ...rest: any[]) => Paginator<ListTypeVersionsCommandOutput>;
@@ -4,4 +4,4 @@ import { CloudFormationPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListTypes(config: CloudFormationPaginationConfiguration, input: ListTypesCommandInput, ...additionalArguments: any): Paginator<ListTypesCommandOutput>;
7
+ export declare const paginateListTypes: (config: CloudFormationPaginationConfiguration, input: ListTypesCommandInput, ...rest: any[]) => Paginator<ListTypesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  DescribeAccountLimitsCommandOutput,
5
5
  } from "../commands/DescribeAccountLimitsCommand";
6
6
  import { CloudFormationPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateDescribeAccountLimits(
7
+ export declare const paginateDescribeAccountLimits: (
8
8
  config: CloudFormationPaginationConfiguration,
9
9
  input: DescribeAccountLimitsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<DescribeAccountLimitsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<DescribeAccountLimitsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  DescribeStackEventsCommandOutput,
5
5
  } from "../commands/DescribeStackEventsCommand";
6
6
  import { CloudFormationPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateDescribeStackEvents(
7
+ export declare const paginateDescribeStackEvents: (
8
8
  config: CloudFormationPaginationConfiguration,
9
9
  input: DescribeStackEventsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<DescribeStackEventsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<DescribeStackEventsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  DescribeStackResourceDriftsCommandOutput,
5
5
  } from "../commands/DescribeStackResourceDriftsCommand";
6
6
  import { CloudFormationPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateDescribeStackResourceDrifts(
7
+ export declare const paginateDescribeStackResourceDrifts: (
8
8
  config: CloudFormationPaginationConfiguration,
9
9
  input: DescribeStackResourceDriftsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<DescribeStackResourceDriftsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<DescribeStackResourceDriftsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  DescribeStacksCommandOutput,
5
5
  } from "../commands/DescribeStacksCommand";
6
6
  import { CloudFormationPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateDescribeStacks(
7
+ export declare const paginateDescribeStacks: (
8
8
  config: CloudFormationPaginationConfiguration,
9
9
  input: DescribeStacksCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<DescribeStacksCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<DescribeStacksCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListChangeSetsCommandOutput,
5
5
  } from "../commands/ListChangeSetsCommand";
6
6
  import { CloudFormationPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListChangeSets(
7
+ export declare const paginateListChangeSets: (
8
8
  config: CloudFormationPaginationConfiguration,
9
9
  input: ListChangeSetsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListChangeSetsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListChangeSetsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListExportsCommandOutput,
5
5
  } from "../commands/ListExportsCommand";
6
6
  import { CloudFormationPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListExports(
7
+ export declare const paginateListExports: (
8
8
  config: CloudFormationPaginationConfiguration,
9
9
  input: ListExportsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListExportsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListExportsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListImportsCommandOutput,
5
5
  } from "../commands/ListImportsCommand";
6
6
  import { CloudFormationPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListImports(
7
+ export declare const paginateListImports: (
8
8
  config: CloudFormationPaginationConfiguration,
9
9
  input: ListImportsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListImportsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListImportsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListStackInstancesCommandOutput,
5
5
  } from "../commands/ListStackInstancesCommand";
6
6
  import { CloudFormationPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListStackInstances(
7
+ export declare const paginateListStackInstances: (
8
8
  config: CloudFormationPaginationConfiguration,
9
9
  input: ListStackInstancesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListStackInstancesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListStackInstancesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListStackResourcesCommandOutput,
5
5
  } from "../commands/ListStackResourcesCommand";
6
6
  import { CloudFormationPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListStackResources(
7
+ export declare const paginateListStackResources: (
8
8
  config: CloudFormationPaginationConfiguration,
9
9
  input: ListStackResourcesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListStackResourcesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListStackResourcesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListStackSetOperationResultsCommandOutput,
5
5
  } from "../commands/ListStackSetOperationResultsCommand";
6
6
  import { CloudFormationPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListStackSetOperationResults(
7
+ export declare const paginateListStackSetOperationResults: (
8
8
  config: CloudFormationPaginationConfiguration,
9
9
  input: ListStackSetOperationResultsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListStackSetOperationResultsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListStackSetOperationResultsCommandOutput>;
@@ -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.476.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.476.0",
24
- "@aws-sdk/core": "3.476.0",
25
- "@aws-sdk/credential-provider-node": "3.476.0",
23
+ "@aws-sdk/client-sts": "3.478.0",
24
+ "@aws-sdk/core": "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,96 +1,65 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.de_LogoutCommand = exports.de_ListAccountsCommand = exports.de_ListAccountRolesCommand = exports.de_GetRoleCredentialsCommand = exports.se_LogoutCommand = exports.se_ListAccountsCommand = exports.se_ListAccountRolesCommand = exports.se_GetRoleCredentialsCommand = void 0;
4
- const protocol_http_1 = require("@smithy/protocol-http");
4
+ const core_1 = require("@smithy/core");
5
5
  const smithy_client_1 = require("@smithy/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const SSOServiceException_1 = require("../models/SSOServiceException");
8
8
  const se_GetRoleCredentialsCommand = async (input, context) => {
9
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
9
+ const b = (0, core_1.requestBuilder)(input, context);
10
10
  const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
11
- "x-amz-sso_bearer_token": input.accessToken,
11
+ [_xasbt]: input[_aT],
12
12
  });
13
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/federation/credentials";
13
+ b.bp("/federation/credentials");
14
14
  const query = (0, smithy_client_1.map)({
15
- role_name: [, (0, smithy_client_1.expectNonNull)(input.roleName, `roleName`)],
16
- account_id: [, (0, smithy_client_1.expectNonNull)(input.accountId, `accountId`)],
15
+ [_rn]: [, (0, smithy_client_1.expectNonNull)(input[_rN], `roleName`)],
16
+ [_ai]: [, (0, smithy_client_1.expectNonNull)(input[_aI], `accountId`)],
17
17
  });
18
18
  let body;
19
- return new protocol_http_1.HttpRequest({
20
- protocol,
21
- hostname,
22
- port,
23
- method: "GET",
24
- headers,
25
- path: resolvedPath,
26
- query,
27
- body,
28
- });
19
+ b.m("GET").h(headers).q(query).b(body);
20
+ return b.build();
29
21
  };
30
22
  exports.se_GetRoleCredentialsCommand = se_GetRoleCredentialsCommand;
31
23
  const se_ListAccountRolesCommand = async (input, context) => {
32
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
24
+ const b = (0, core_1.requestBuilder)(input, context);
33
25
  const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
34
- "x-amz-sso_bearer_token": input.accessToken,
26
+ [_xasbt]: input[_aT],
35
27
  });
36
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/assignment/roles";
28
+ b.bp("/assignment/roles");
37
29
  const query = (0, smithy_client_1.map)({
38
- next_token: [, input.nextToken],
39
- max_result: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
40
- account_id: [, (0, smithy_client_1.expectNonNull)(input.accountId, `accountId`)],
30
+ [_nt]: [, input[_nT]],
31
+ [_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
32
+ [_ai]: [, (0, smithy_client_1.expectNonNull)(input[_aI], `accountId`)],
41
33
  });
42
34
  let body;
43
- return new protocol_http_1.HttpRequest({
44
- protocol,
45
- hostname,
46
- port,
47
- method: "GET",
48
- headers,
49
- path: resolvedPath,
50
- query,
51
- body,
52
- });
35
+ b.m("GET").h(headers).q(query).b(body);
36
+ return b.build();
53
37
  };
54
38
  exports.se_ListAccountRolesCommand = se_ListAccountRolesCommand;
55
39
  const se_ListAccountsCommand = async (input, context) => {
56
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
40
+ const b = (0, core_1.requestBuilder)(input, context);
57
41
  const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
58
- "x-amz-sso_bearer_token": input.accessToken,
42
+ [_xasbt]: input[_aT],
59
43
  });
60
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/assignment/accounts";
44
+ b.bp("/assignment/accounts");
61
45
  const query = (0, smithy_client_1.map)({
62
- next_token: [, input.nextToken],
63
- max_result: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
46
+ [_nt]: [, input[_nT]],
47
+ [_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
64
48
  });
65
49
  let body;
66
- return new protocol_http_1.HttpRequest({
67
- protocol,
68
- hostname,
69
- port,
70
- method: "GET",
71
- headers,
72
- path: resolvedPath,
73
- query,
74
- body,
75
- });
50
+ b.m("GET").h(headers).q(query).b(body);
51
+ return b.build();
76
52
  };
77
53
  exports.se_ListAccountsCommand = se_ListAccountsCommand;
78
54
  const se_LogoutCommand = async (input, context) => {
79
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
55
+ const b = (0, core_1.requestBuilder)(input, context);
80
56
  const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
81
- "x-amz-sso_bearer_token": input.accessToken,
57
+ [_xasbt]: input[_aT],
82
58
  });
83
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/logout";
59
+ b.bp("/logout");
84
60
  let body;
85
- return new protocol_http_1.HttpRequest({
86
- protocol,
87
- hostname,
88
- port,
89
- method: "POST",
90
- headers,
91
- path: resolvedPath,
92
- body,
93
- });
61
+ b.m("POST").h(headers).b(body);
62
+ return b.build();
94
63
  };
95
64
  exports.se_LogoutCommand = se_LogoutCommand;
96
65
  const de_GetRoleCredentialsCommand = async (output, context) => {
@@ -325,6 +294,16 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
325
294
  value !== "" &&
326
295
  (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
327
296
  (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
297
+ const _aI = "accountId";
298
+ const _aT = "accessToken";
299
+ const _ai = "account_id";
300
+ const _mR = "maxResults";
301
+ const _mr = "max_result";
302
+ const _nT = "nextToken";
303
+ const _nt = "next_token";
304
+ const _rN = "roleName";
305
+ const _rn = "role_name";
306
+ const _xasbt = "x-amz-sso_bearer_token";
328
307
  const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
329
308
  if (encoded.length) {
330
309
  return JSON.parse(encoded);
@@ -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");