@cdk8s/awscdk-resolver 0.0.270 → 0.0.272

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 (176) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/README.md +10 -11
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +108 -18
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormationClient.js +2 -1
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-es/auth/httpAuthSchemeProvider.js +1 -3
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-es/endpoint/EndpointParameters.js +2 -3
  9. package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_0.js +4 -0
  10. package/node_modules/@aws-sdk/client-cloudformation/dist-es/protocols/Aws_query.js +91 -0
  11. package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeExtensions.js +2 -14
  12. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +10 -11
  13. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +10 -11
  14. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ActivateOrganizationsAccessCommand.d.ts +1 -0
  15. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ActivateTypeCommand.d.ts +1 -0
  16. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/BatchDescribeTypeConfigurationsCommand.d.ts +1 -0
  17. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CancelUpdateStackCommand.d.ts +1 -0
  18. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ContinueUpdateRollbackCommand.d.ts +4 -3
  19. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateChangeSetCommand.d.ts +1 -0
  20. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateGeneratedTemplateCommand.d.ts +12 -12
  21. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateStackCommand.d.ts +1 -0
  22. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateStackInstancesCommand.d.ts +1 -0
  23. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateStackRefactorCommand.d.ts +3 -1
  24. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateStackSetCommand.d.ts +1 -0
  25. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeactivateOrganizationsAccessCommand.d.ts +1 -0
  26. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeactivateTypeCommand.d.ts +1 -0
  27. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteChangeSetCommand.d.ts +1 -0
  28. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteGeneratedTemplateCommand.d.ts +7 -4
  29. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteStackCommand.d.ts +1 -0
  30. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteStackInstancesCommand.d.ts +1 -0
  31. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteStackSetCommand.d.ts +1 -0
  32. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeregisterTypeCommand.d.ts +1 -0
  33. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -0
  34. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeChangeSetCommand.d.ts +1 -0
  35. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeChangeSetHooksCommand.d.ts +1 -0
  36. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeGeneratedTemplateCommand.d.ts +1 -32
  37. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeOrganizationsAccessCommand.d.ts +1 -0
  38. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribePublisherCommand.d.ts +1 -0
  39. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeResourceScanCommand.d.ts +8 -97
  40. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackDriftDetectionStatusCommand.d.ts +1 -0
  41. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackEventsCommand.d.ts +1 -0
  42. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackInstanceCommand.d.ts +1 -0
  43. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackRefactorCommand.d.ts +1 -0
  44. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackResourceCommand.d.ts +1 -0
  45. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackResourceDriftsCommand.d.ts +1 -0
  46. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackResourcesCommand.d.ts +1 -0
  47. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackSetCommand.d.ts +1 -0
  48. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackSetOperationCommand.d.ts +1 -0
  49. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStacksCommand.d.ts +1 -0
  50. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeTypeCommand.d.ts +1 -0
  51. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeTypeRegistrationCommand.d.ts +1 -0
  52. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DetectStackDriftCommand.d.ts +1 -0
  53. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DetectStackResourceDriftCommand.d.ts +1 -0
  54. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DetectStackSetDriftCommand.d.ts +1 -0
  55. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/EstimateTemplateCostCommand.d.ts +1 -0
  56. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ExecuteChangeSetCommand.d.ts +1 -0
  57. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ExecuteStackRefactorCommand.d.ts +1 -0
  58. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetGeneratedTemplateCommand.d.ts +47 -12
  59. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetStackPolicyCommand.d.ts +1 -0
  60. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetTemplateCommand.d.ts +1 -0
  61. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetTemplateSummaryCommand.d.ts +1 -0
  62. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ImportStacksToStackSetCommand.d.ts +1 -0
  63. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListChangeSetsCommand.d.ts +1 -0
  64. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListExportsCommand.d.ts +3 -1
  65. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListGeneratedTemplatesCommand.d.ts +1 -42
  66. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListHookResultsCommand.d.ts +3 -1
  67. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListImportsCommand.d.ts +1 -0
  68. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListResourceScanRelatedResourcesCommand.d.ts +30 -30
  69. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListResourceScanResourcesCommand.d.ts +28 -29
  70. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListResourceScansCommand.d.ts +3 -28
  71. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackInstanceResourceDriftsCommand.d.ts +1 -0
  72. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackInstancesCommand.d.ts +1 -0
  73. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackRefactorActionsCommand.d.ts +1 -0
  74. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackRefactorsCommand.d.ts +1 -0
  75. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackResourcesCommand.d.ts +1 -0
  76. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetAutoDeploymentTargetsCommand.d.ts +1 -0
  77. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetOperationResultsCommand.d.ts +1 -0
  78. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetOperationsCommand.d.ts +1 -0
  79. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetsCommand.d.ts +2 -2
  80. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStacksCommand.d.ts +5 -3
  81. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListTypeRegistrationsCommand.d.ts +1 -0
  82. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListTypeVersionsCommand.d.ts +1 -0
  83. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListTypesCommand.d.ts +1 -0
  84. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/PublishTypeCommand.d.ts +1 -0
  85. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RecordHandlerProgressCommand.d.ts +1 -0
  86. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RegisterPublisherCommand.d.ts +1 -0
  87. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RegisterTypeCommand.d.ts +1 -0
  88. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RollbackStackCommand.d.ts +1 -0
  89. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/SetStackPolicyCommand.d.ts +1 -0
  90. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/SetTypeConfigurationCommand.d.ts +1 -0
  91. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/SetTypeDefaultVersionCommand.d.ts +1 -0
  92. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/SignalResourceCommand.d.ts +1 -0
  93. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/StartResourceScanCommand.d.ts +12 -5
  94. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/StopStackSetOperationCommand.d.ts +1 -0
  95. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/TestTypeCommand.d.ts +1 -0
  96. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateGeneratedTemplateCommand.d.ts +36 -38
  97. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackCommand.d.ts +1 -0
  98. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackInstancesCommand.d.ts +1 -0
  99. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackSetCommand.d.ts +2 -1
  100. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateTerminationProtectionCommand.d.ts +1 -0
  101. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ValidateTemplateCommand.d.ts +1 -0
  102. package/node_modules/@aws-sdk/client-cloudformation/dist-types/index.d.ts +10 -11
  103. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +141 -219
  104. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_1.d.ts +165 -16
  105. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackSetsCommand.d.ts +1 -2
  106. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_0.d.ts +11 -17
  107. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_1.d.ts +21 -1
  108. package/node_modules/@aws-sdk/client-cloudformation/package.json +34 -34
  109. package/node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
  110. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +17 -18
  111. package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +2 -1
  112. package/node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthSchemeProvider.js +1 -3
  113. package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/EndpointParameters.js +2 -3
  114. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeExtensions.js +2 -14
  115. package/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +1 -0
  116. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +1 -0
  117. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +1 -0
  118. package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +1 -0
  119. package/node_modules/@aws-sdk/client-sso/package.json +32 -32
  120. package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +4 -6
  121. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +79 -30
  122. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +4 -4
  123. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +70 -27
  124. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +20 -2
  125. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +11 -1
  126. package/node_modules/@aws-sdk/core/package.json +10 -10
  127. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  128. package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
  129. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  130. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  131. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  132. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  133. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
  134. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  135. package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +5 -5
  136. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  137. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  138. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +4 -4
  139. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js +4 -4
  140. package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
  141. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -3
  142. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +17 -18
  143. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +2 -1
  144. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +2 -5
  145. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js +2 -3
  146. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js +2 -14
  147. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +2 -1
  148. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -3
  149. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js +2 -3
  150. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js +2 -14
  151. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +2 -1
  152. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +2 -5
  153. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/EndpointParameters.js +2 -3
  154. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeExtensions.js +2 -14
  155. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +46 -0
  156. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +47 -0
  157. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +34 -0
  158. package/node_modules/@aws-sdk/nested-clients/package.json +36 -36
  159. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +15 -26
  160. package/node_modules/@aws-sdk/region-config-resolver/dist-es/extensions/index.js +2 -12
  161. package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/resolveRegionConfig.js +2 -3
  162. package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
  163. package/node_modules/@aws-sdk/token-providers/package.json +6 -6
  164. package/node_modules/@aws-sdk/types/dist-cjs/index.js +3 -3
  165. package/node_modules/@aws-sdk/types/dist-es/function.js +1 -0
  166. package/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
  167. package/node_modules/@aws-sdk/types/dist-types/function.d.ts +7 -0
  168. package/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
  169. package/node_modules/@aws-sdk/types/dist-types/ts3.4/function.d.ts +7 -0
  170. package/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
  171. package/node_modules/@aws-sdk/types/package.json +2 -2
  172. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +5 -7
  173. package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
  174. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  175. package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
  176. package/package.json +5 -5
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-process",
3
- "version": "3.774.0",
3
+ "version": "3.775.0",
4
4
  "description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -25,11 +25,11 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@aws-sdk/core": "3.774.0",
29
- "@aws-sdk/types": "3.734.0",
30
- "@smithy/property-provider": "^4.0.1",
31
- "@smithy/shared-ini-file-loader": "^4.0.1",
32
- "@smithy/types": "^4.1.0",
28
+ "@aws-sdk/core": "3.775.0",
29
+ "@aws-sdk/types": "3.775.0",
30
+ "@smithy/property-provider": "^4.0.2",
31
+ "@smithy/shared-ini-file-loader": "^4.0.2",
32
+ "@smithy/types": "^4.2.0",
33
33
  "tslib": "^2.6.2"
34
34
  },
35
35
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-sso",
3
- "version": "3.774.0",
3
+ "version": "3.777.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",
@@ -25,13 +25,13 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@aws-sdk/client-sso": "3.774.0",
29
- "@aws-sdk/core": "3.774.0",
30
- "@aws-sdk/token-providers": "3.774.0",
31
- "@aws-sdk/types": "3.734.0",
32
- "@smithy/property-provider": "^4.0.1",
33
- "@smithy/shared-ini-file-loader": "^4.0.1",
34
- "@smithy/types": "^4.1.0",
28
+ "@aws-sdk/client-sso": "3.777.0",
29
+ "@aws-sdk/core": "3.775.0",
30
+ "@aws-sdk/token-providers": "3.777.0",
31
+ "@aws-sdk/types": "3.775.0",
32
+ "@smithy/property-provider": "^4.0.2",
33
+ "@smithy/shared-ini-file-loader": "^4.0.2",
34
+ "@smithy/types": "^4.2.0",
35
35
  "tslib": "^2.6.2"
36
36
  },
37
37
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-web-identity",
3
- "version": "3.774.0",
3
+ "version": "3.777.0",
4
4
  "description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -33,11 +33,11 @@
33
33
  },
34
34
  "license": "Apache-2.0",
35
35
  "dependencies": {
36
- "@aws-sdk/core": "3.774.0",
37
- "@aws-sdk/nested-clients": "3.774.0",
38
- "@aws-sdk/types": "3.734.0",
39
- "@smithy/property-provider": "^4.0.1",
40
- "@smithy/types": "^4.1.0",
36
+ "@aws-sdk/core": "3.775.0",
37
+ "@aws-sdk/nested-clients": "3.777.0",
38
+ "@aws-sdk/types": "3.775.0",
39
+ "@smithy/property-provider": "^4.0.2",
40
+ "@smithy/types": "^4.2.0",
41
41
  "tslib": "^2.6.2"
42
42
  },
43
43
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-host-header",
3
- "version": "3.774.0",
3
+ "version": "3.775.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-host-header",
@@ -24,9 +24,9 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/types": "3.734.0",
28
- "@smithy/protocol-http": "^5.0.1",
29
- "@smithy/types": "^4.1.0",
27
+ "@aws-sdk/types": "3.775.0",
28
+ "@smithy/protocol-http": "^5.1.0",
29
+ "@smithy/types": "^4.2.0",
30
30
  "tslib": "^2.6.2"
31
31
  },
32
32
  "engines": {
@@ -19,13 +19,13 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  getLoggerPlugin: () => getLoggerPlugin,
25
25
  loggerMiddleware: () => loggerMiddleware,
26
26
  loggerMiddlewareOptions: () => loggerMiddlewareOptions
27
27
  });
28
- module.exports = __toCommonJS(src_exports);
28
+ module.exports = __toCommonJS(index_exports);
29
29
 
30
30
  // src/loggerMiddleware.ts
31
31
  var loggerMiddleware = /* @__PURE__ */ __name(() => (next, context) => async (args) => {
@@ -65,9 +65,9 @@ var loggerMiddlewareOptions = {
65
65
  override: true
66
66
  };
67
67
  var getLoggerPlugin = /* @__PURE__ */ __name((options) => ({
68
- applyToStack: (clientStack) => {
68
+ applyToStack: /* @__PURE__ */ __name((clientStack) => {
69
69
  clientStack.add(loggerMiddleware(), loggerMiddlewareOptions);
70
- }
70
+ }, "applyToStack")
71
71
  }), "getLoggerPlugin");
72
72
  // Annotate the CommonJS export names for ESM import in node:
73
73
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-logger",
3
- "version": "3.734.0",
3
+ "version": "3.775.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-logger",
@@ -24,8 +24,8 @@
24
24
  "module": "./dist-es/index.js",
25
25
  "types": "./dist-types/index.d.ts",
26
26
  "dependencies": {
27
- "@aws-sdk/types": "3.734.0",
28
- "@smithy/types": "^4.1.0",
27
+ "@aws-sdk/types": "3.775.0",
28
+ "@smithy/types": "^4.2.0",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-recursion-detection",
3
- "version": "3.772.0",
3
+ "version": "3.775.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-recursion-detection",
@@ -23,9 +23,9 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@aws-sdk/types": "3.734.0",
27
- "@smithy/protocol-http": "^5.0.1",
28
- "@smithy/types": "^4.1.0",
26
+ "@aws-sdk/types": "3.775.0",
27
+ "@smithy/protocol-http": "^5.1.0",
28
+ "@smithy/types": "^4.2.0",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "engines": {
@@ -41,9 +41,9 @@ function isValidUserAgentAppId(appId) {
41
41
  __name(isValidUserAgentAppId, "isValidUserAgentAppId");
42
42
  function resolveUserAgentConfig(input) {
43
43
  const normalizedAppIdProvider = (0, import_core.normalizeProvider)(input.userAgentAppId ?? DEFAULT_UA_APP_ID);
44
- return {
45
- ...input,
46
- customUserAgent: typeof input.customUserAgent === "string" ? [[input.customUserAgent]] : input.customUserAgent,
44
+ const { customUserAgent } = input;
45
+ return Object.assign(input, {
46
+ customUserAgent: typeof customUserAgent === "string" ? [[customUserAgent]] : customUserAgent,
47
47
  userAgentAppId: /* @__PURE__ */ __name(async () => {
48
48
  const appId = await normalizedAppIdProvider();
49
49
  if (!isValidUserAgentAppId(appId)) {
@@ -56,7 +56,7 @@ function resolveUserAgentConfig(input) {
56
56
  }
57
57
  return appId;
58
58
  }, "userAgentAppId")
59
- };
59
+ });
60
60
  }
61
61
  __name(resolveUserAgentConfig, "resolveUserAgentConfig");
62
62
 
@@ -8,9 +8,9 @@ function isValidUserAgentAppId(appId) {
8
8
  }
9
9
  export function resolveUserAgentConfig(input) {
10
10
  const normalizedAppIdProvider = normalizeProvider(input.userAgentAppId ?? DEFAULT_UA_APP_ID);
11
- return {
12
- ...input,
13
- customUserAgent: typeof input.customUserAgent === "string" ? [[input.customUserAgent]] : input.customUserAgent,
11
+ const { customUserAgent } = input;
12
+ return Object.assign(input, {
13
+ customUserAgent: typeof customUserAgent === "string" ? [[customUserAgent]] : customUserAgent,
14
14
  userAgentAppId: async () => {
15
15
  const appId = await normalizedAppIdProvider();
16
16
  if (!isValidUserAgentAppId(appId)) {
@@ -24,5 +24,5 @@ export function resolveUserAgentConfig(input) {
24
24
  }
25
25
  return appId;
26
26
  },
27
- };
27
+ });
28
28
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-user-agent",
3
- "version": "3.774.0",
3
+ "version": "3.775.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-user-agent",
@@ -24,12 +24,12 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/core": "3.774.0",
28
- "@aws-sdk/types": "3.734.0",
29
- "@aws-sdk/util-endpoints": "3.743.0",
30
- "@smithy/core": "^3.1.5",
31
- "@smithy/protocol-http": "^5.0.1",
32
- "@smithy/types": "^4.1.0",
27
+ "@aws-sdk/core": "3.775.0",
28
+ "@aws-sdk/types": "3.775.0",
29
+ "@aws-sdk/util-endpoints": "3.775.0",
30
+ "@smithy/core": "^3.2.0",
31
+ "@smithy/protocol-http": "^5.1.0",
32
+ "@smithy/types": "^4.2.0",
33
33
  "tslib": "^2.6.2"
34
34
  },
35
35
  "devDependencies": {
@@ -49,8 +49,6 @@ const defaultSSOOIDCHttpAuthSchemeProvider = (authParameters) => {
49
49
  exports.defaultSSOOIDCHttpAuthSchemeProvider = defaultSSOOIDCHttpAuthSchemeProvider;
50
50
  const resolveHttpAuthSchemeConfig = (config) => {
51
51
  const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
52
- return {
53
- ...config_0,
54
- };
52
+ return Object.assign(config_0, {});
55
53
  };
56
54
  exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
@@ -58,12 +58,11 @@ var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
58
58
 
59
59
  // src/submodules/sso-oidc/endpoint/EndpointParameters.ts
60
60
  var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
61
- return {
62
- ...options,
61
+ return Object.assign(options, {
63
62
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
64
63
  useFipsEndpoint: options.useFipsEndpoint ?? false,
65
64
  defaultSigningName: "sso-oauth"
66
- };
65
+ });
67
66
  }, "resolveClientEndpointParameters");
68
67
  var commonParams = {
69
68
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -120,22 +119,21 @@ var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
120
119
  }, "resolveHttpAuthRuntimeConfig");
121
120
 
122
121
  // src/submodules/sso-oidc/runtimeExtensions.ts
123
- var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
124
122
  var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
125
- const extensionConfiguration = {
126
- ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
127
- ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
128
- ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
129
- ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig))
130
- };
123
+ const extensionConfiguration = Object.assign(
124
+ (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
125
+ (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
126
+ (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
127
+ getHttpAuthExtensionConfiguration(runtimeConfig)
128
+ );
131
129
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
132
- return {
133
- ...runtimeConfig,
134
- ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
135
- ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
136
- ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
137
- ...resolveHttpAuthRuntimeConfig(extensionConfiguration)
138
- };
130
+ return Object.assign(
131
+ runtimeConfig,
132
+ (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
133
+ (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
134
+ (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
135
+ resolveHttpAuthRuntimeConfig(extensionConfiguration)
136
+ );
139
137
  }, "resolveRuntimeExtensions");
140
138
 
141
139
  // src/submodules/sso-oidc/SSOOIDCClient.ts
@@ -149,6 +147,8 @@ var SSOOIDCClient = class extends import_smithy_client2.Client {
149
147
  config;
150
148
  constructor(...[configuration]) {
151
149
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
150
+ super(_config_0);
151
+ this.initConfig = _config_0;
152
152
  const _config_1 = resolveClientEndpointParameters(_config_0);
153
153
  const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
154
154
  const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
@@ -157,7 +157,6 @@ var SSOOIDCClient = class extends import_smithy_client2.Client {
157
157
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
158
158
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
159
159
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
160
- super(_config_8);
161
160
  this.config = _config_8;
162
161
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
163
162
  this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
@@ -20,6 +20,8 @@ class STSClient extends smithy_client_1.Client {
20
20
  config;
21
21
  constructor(...[configuration]) {
22
22
  const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
23
+ super(_config_0);
24
+ this.initConfig = _config_0;
23
25
  const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
24
26
  const _config_2 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_1);
25
27
  const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
@@ -28,7 +30,6 @@ class STSClient extends smithy_client_1.Client {
28
30
  const _config_6 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_5);
29
31
  const _config_7 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_6);
30
32
  const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);
31
- super(_config_8);
32
33
  this.config = _config_8;
33
34
  this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
34
35
  this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
@@ -48,16 +48,13 @@ const defaultSTSHttpAuthSchemeProvider = (authParameters) => {
48
48
  return options;
49
49
  };
50
50
  exports.defaultSTSHttpAuthSchemeProvider = defaultSTSHttpAuthSchemeProvider;
51
- const resolveStsAuthConfig = (input) => ({
52
- ...input,
51
+ const resolveStsAuthConfig = (input) => Object.assign(input, {
53
52
  stsClientCtor: STSClient_1.STSClient,
54
53
  });
55
54
  exports.resolveStsAuthConfig = resolveStsAuthConfig;
56
55
  const resolveHttpAuthSchemeConfig = (config) => {
57
56
  const config_0 = (0, exports.resolveStsAuthConfig)(config);
58
57
  const config_1 = (0, core_1.resolveAwsSdkSigV4Config)(config_0);
59
- return {
60
- ...config_1,
61
- };
58
+ return Object.assign(config_1, {});
62
59
  };
63
60
  exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
@@ -2,13 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
4
  const resolveClientEndpointParameters = (options) => {
5
- return {
6
- ...options,
5
+ return Object.assign(options, {
7
6
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
8
7
  useFipsEndpoint: options.useFipsEndpoint ?? false,
9
8
  useGlobalEndpoint: options.useGlobalEndpoint ?? false,
10
9
  defaultSigningName: "sts",
11
- };
10
+ });
12
11
  };
13
12
  exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
14
13
  exports.commonParams = {
@@ -5,21 +5,9 @@ const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
5
5
  const protocol_http_1 = require("@smithy/protocol-http");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  const httpAuthExtensionConfiguration_1 = require("./auth/httpAuthExtensionConfiguration");
8
- const asPartial = (t) => t;
9
8
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
10
- const extensionConfiguration = {
11
- ...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
12
- ...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
13
- ...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
14
- ...asPartial((0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig)),
15
- };
9
+ const extensionConfiguration = Object.assign((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig), (0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig), (0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig));
16
10
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
17
- return {
18
- ...runtimeConfig,
19
- ...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
20
- ...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
21
- ...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
22
- ...(0, httpAuthExtensionConfiguration_1.resolveHttpAuthRuntimeConfig)(extensionConfiguration),
23
- };
11
+ return Object.assign(runtimeConfig, (0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), (0, httpAuthExtensionConfiguration_1.resolveHttpAuthRuntimeConfig)(extensionConfiguration));
24
12
  };
25
13
  exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
@@ -17,6 +17,8 @@ export class SSOOIDCClient extends __Client {
17
17
  config;
18
18
  constructor(...[configuration]) {
19
19
  const _config_0 = __getRuntimeConfig(configuration || {});
20
+ super(_config_0);
21
+ this.initConfig = _config_0;
20
22
  const _config_1 = resolveClientEndpointParameters(_config_0);
21
23
  const _config_2 = resolveUserAgentConfig(_config_1);
22
24
  const _config_3 = resolveRetryConfig(_config_2);
@@ -25,7 +27,6 @@ export class SSOOIDCClient extends __Client {
25
27
  const _config_6 = resolveEndpointConfig(_config_5);
26
28
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
27
29
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
28
- super(_config_8);
29
30
  this.config = _config_8;
30
31
  this.middlewareStack.use(getUserAgentPlugin(this.config));
31
32
  this.middlewareStack.use(getRetryPlugin(this.config));
@@ -44,7 +44,5 @@ export const defaultSSOOIDCHttpAuthSchemeProvider = (authParameters) => {
44
44
  };
45
45
  export const resolveHttpAuthSchemeConfig = (config) => {
46
46
  const config_0 = resolveAwsSdkSigV4Config(config);
47
- return {
48
- ...config_0,
49
- };
47
+ return Object.assign(config_0, {});
50
48
  };
@@ -1,10 +1,9 @@
1
1
  export const resolveClientEndpointParameters = (options) => {
2
- return {
3
- ...options,
2
+ return Object.assign(options, {
4
3
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
5
4
  useFipsEndpoint: options.useFipsEndpoint ?? false,
6
5
  defaultSigningName: "sso-oauth",
7
- };
6
+ });
8
7
  };
9
8
  export const commonParams = {
10
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -2,20 +2,8 @@ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfigurat
2
2
  import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
3
3
  import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
4
4
  import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
5
- const asPartial = (t) => t;
6
5
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
7
- const extensionConfiguration = {
8
- ...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
9
- ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
10
- ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
11
- ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
12
- };
6
+ const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
13
7
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
14
- return {
15
- ...runtimeConfig,
16
- ...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
17
- ...resolveDefaultRuntimeConfig(extensionConfiguration),
18
- ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
19
- ...resolveHttpAuthRuntimeConfig(extensionConfiguration),
20
- };
8
+ return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
21
9
  };
@@ -17,6 +17,8 @@ export class STSClient extends __Client {
17
17
  config;
18
18
  constructor(...[configuration]) {
19
19
  const _config_0 = __getRuntimeConfig(configuration || {});
20
+ super(_config_0);
21
+ this.initConfig = _config_0;
20
22
  const _config_1 = resolveClientEndpointParameters(_config_0);
21
23
  const _config_2 = resolveUserAgentConfig(_config_1);
22
24
  const _config_3 = resolveRetryConfig(_config_2);
@@ -25,7 +27,6 @@ export class STSClient extends __Client {
25
27
  const _config_6 = resolveEndpointConfig(_config_5);
26
28
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
27
29
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
28
- super(_config_8);
29
30
  this.config = _config_8;
30
31
  this.middlewareStack.use(getUserAgentPlugin(this.config));
31
32
  this.middlewareStack.use(getRetryPlugin(this.config));
@@ -43,14 +43,11 @@ export const defaultSTSHttpAuthSchemeProvider = (authParameters) => {
43
43
  }
44
44
  return options;
45
45
  };
46
- export const resolveStsAuthConfig = (input) => ({
47
- ...input,
46
+ export const resolveStsAuthConfig = (input) => Object.assign(input, {
48
47
  stsClientCtor: STSClient,
49
48
  });
50
49
  export const resolveHttpAuthSchemeConfig = (config) => {
51
50
  const config_0 = resolveStsAuthConfig(config);
52
51
  const config_1 = resolveAwsSdkSigV4Config(config_0);
53
- return {
54
- ...config_1,
55
- };
52
+ return Object.assign(config_1, {});
56
53
  };
@@ -1,11 +1,10 @@
1
1
  export const resolveClientEndpointParameters = (options) => {
2
- return {
3
- ...options,
2
+ return Object.assign(options, {
4
3
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
5
4
  useFipsEndpoint: options.useFipsEndpoint ?? false,
6
5
  useGlobalEndpoint: options.useGlobalEndpoint ?? false,
7
6
  defaultSigningName: "sts",
8
- };
7
+ });
9
8
  };
10
9
  export const commonParams = {
11
10
  UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
@@ -2,20 +2,8 @@ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfigurat
2
2
  import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
3
3
  import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
4
4
  import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
5
- const asPartial = (t) => t;
6
5
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
7
- const extensionConfiguration = {
8
- ...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
9
- ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
10
- ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
11
- ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
12
- };
6
+ const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
13
7
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
14
- return {
15
- ...runtimeConfig,
16
- ...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
17
- ...resolveDefaultRuntimeConfig(extensionConfiguration),
18
- ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
19
- ...resolveHttpAuthRuntimeConfig(extensionConfiguration),
20
- };
8
+ return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
21
9
  };
@@ -111,6 +111,52 @@ declare const CreateTokenCommand_base: {
111
111
  * @throws {@link SSOOIDCServiceException}
112
112
  * <p>Base exception class for all service exceptions from SSOOIDC service.</p>
113
113
  *
114
+ *
115
+ * @example Call OAuth/OIDC /token endpoint for Device Code grant with Secret authentication
116
+ * ```javascript
117
+ * //
118
+ * const input = {
119
+ * clientId: "_yzkThXVzLWVhc3QtMQEXAMPLECLIENTID",
120
+ * clientSecret: "VERYLONGSECRETeyJraWQiOiJrZXktMTU2NDAyODA5OSIsImFsZyI6IkhTMzg0In0",
121
+ * deviceCode: "yJraWQiOiJrZXktMTU2Njk2ODA4OCIsImFsZyI6IkhTMzIn0EXAMPLEDEVICECODE",
122
+ * grantType: "urn:ietf:params:oauth:grant-type:device-code"
123
+ * };
124
+ * const command = new CreateTokenCommand(input);
125
+ * const response = await client.send(command);
126
+ * /* response is
127
+ * {
128
+ * accessToken: "aoal-YigITUDiNX1xZwOMXM5MxOWDL0E0jg9P6_C_jKQPxS_SKCP6f0kh1Up4g7TtvQqkMnD-GJiU_S1gvug6SrggAkc0:MGYCMQD3IatVjV7jAJU91kK3PkS/SfA2wtgWzOgZWDOR7sDGN9t0phCZz5It/aes/3C1Zj0CMQCKWOgRaiz6AIhza3DSXQNMLjRKXC8F8ceCsHlgYLMZ7hZidEXAMPLEACCESSTOKEN",
129
+ * expiresIn: 1579729529,
130
+ * refreshToken: "aorvJYubGpU6i91YnH7Mfo-AT2fIVa1zCfA_Rvq9yjVKIP3onFmmykuQ7E93y2I-9Nyj-A_sVvMufaLNL0bqnDRtgAkc0:MGUCMFrRsktMRVlWaOR70XGMFGLL0SlcCw4DiYveIiOVx1uK9BbD0gvAddsW3UTLozXKMgIxAJ3qxUvjpnlLIOaaKOoa/FuNgqJVvr9GMwDtnAtlh9iZzAkEXAMPLEREFRESHTOKEN",
131
+ * tokenType: "Bearer"
132
+ * }
133
+ * *\/
134
+ * ```
135
+ *
136
+ * @example Call OAuth/OIDC /token endpoint for Refresh Token grant with Secret authentication
137
+ * ```javascript
138
+ * //
139
+ * const input = {
140
+ * clientId: "_yzkThXVzLWVhc3QtMQEXAMPLECLIENTID",
141
+ * clientSecret: "VERYLONGSECRETeyJraWQiOiJrZXktMTU2NDAyODA5OSIsImFsZyI6IkhTMzg0In0",
142
+ * grantType: "refresh_token",
143
+ * refreshToken: "aorvJYubGpU6i91YnH7Mfo-AT2fIVa1zCfA_Rvq9yjVKIP3onFmmykuQ7E93y2I-9Nyj-A_sVvMufaLNL0bqnDRtgAkc0:MGUCMFrRsktMRVlWaOR70XGMFGLL0SlcCw4DiYveIiOVx1uK9BbD0gvAddsW3UTLozXKMgIxAJ3qxUvjpnlLIOaaKOoa/FuNgqJVvr9GMwDtnAtlh9iZzAkEXAMPLEREFRESHTOKEN",
144
+ * scope: [
145
+ * "codewhisperer:completions"
146
+ * ]
147
+ * };
148
+ * const command = new CreateTokenCommand(input);
149
+ * const response = await client.send(command);
150
+ * /* response is
151
+ * {
152
+ * accessToken: "aoal-YigITUDiNX1xZwOMXM5MxOWDL0E0jg9P6_C_jKQPxS_SKCP6f0kh1Up4g7TtvQqkMnD-GJiU_S1gvug6SrggAkc0:MGYCMQD3IatVjV7jAJU91kK3PkS/SfA2wtgWzOgZWDOR7sDGN9t0phCZz5It/aes/3C1Zj0CMQCKWOgRaiz6AIhza3DSXQNMLjRKXC8F8ceCsHlgYLMZ7hZidEXAMPLEACCESSTOKEN",
153
+ * expiresIn: 1579729529,
154
+ * refreshToken: "aorvJYubGpU6i91YnH7Mfo-AT2fIVa1zCfA_Rvq9yjVKIP3onFmmykuQ7E93y2I-9Nyj-A_sVvMufaLNL0bqnDRtgAkc0:MGUCMFrRsktMRVlWaOR70XGMFGLL0SlcCw4DiYveIiOVx1uK9BbD0gvAddsW3UTLozXKMgIxAJ3qxUvjpnlLIOaaKOoa/FuNgqJVvr9GMwDtnAtlh9iZzAkEXAMPLEREFRESHTOKEN",
155
+ * tokenType: "Bearer"
156
+ * }
157
+ * *\/
158
+ * ```
159
+ *
114
160
  * @public
115
161
  */
116
162
  export declare class CreateTokenCommand extends CreateTokenCommand_base {