@cdk8s/awscdk-resolver 0.0.1 → 0.0.3

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 (449) hide show
  1. package/.jsii +69 -4
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/README.md +7 -7
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/CloudFormationClient.js +4 -2
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ActivateOrganizationsAccessCommand.js +5 -0
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ActivateTypeCommand.js +5 -0
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/BatchDescribeTypeConfigurationsCommand.js +5 -0
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/CancelUpdateStackCommand.js +5 -0
  9. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ContinueUpdateRollbackCommand.js +5 -0
  10. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/CreateChangeSetCommand.js +5 -0
  11. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/CreateStackCommand.js +5 -0
  12. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/CreateStackInstancesCommand.js +5 -0
  13. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/CreateStackSetCommand.js +5 -0
  14. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeactivateOrganizationsAccessCommand.js +5 -0
  15. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeactivateTypeCommand.js +5 -0
  16. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeleteChangeSetCommand.js +5 -0
  17. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeleteStackCommand.js +5 -0
  18. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeleteStackInstancesCommand.js +5 -0
  19. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeleteStackSetCommand.js +5 -0
  20. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeregisterTypeCommand.js +5 -0
  21. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeAccountLimitsCommand.js +5 -0
  22. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeChangeSetCommand.js +5 -0
  23. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeChangeSetHooksCommand.js +5 -0
  24. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeOrganizationsAccessCommand.js +5 -0
  25. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribePublisherCommand.js +5 -0
  26. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackDriftDetectionStatusCommand.js +5 -0
  27. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackEventsCommand.js +5 -0
  28. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackInstanceCommand.js +5 -0
  29. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackResourceCommand.js +5 -0
  30. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackResourceDriftsCommand.js +5 -0
  31. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackResourcesCommand.js +5 -0
  32. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackSetCommand.js +5 -0
  33. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackSetOperationCommand.js +5 -0
  34. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStacksCommand.js +5 -0
  35. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeTypeCommand.js +5 -0
  36. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeTypeRegistrationCommand.js +5 -0
  37. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DetectStackDriftCommand.js +5 -0
  38. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DetectStackResourceDriftCommand.js +5 -0
  39. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DetectStackSetDriftCommand.js +5 -0
  40. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/EstimateTemplateCostCommand.js +5 -0
  41. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ExecuteChangeSetCommand.js +5 -0
  42. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/GetStackPolicyCommand.js +5 -0
  43. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/GetTemplateCommand.js +5 -0
  44. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/GetTemplateSummaryCommand.js +5 -0
  45. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ImportStacksToStackSetCommand.js +5 -0
  46. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListChangeSetsCommand.js +5 -0
  47. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListExportsCommand.js +5 -0
  48. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListImportsCommand.js +5 -0
  49. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStackInstanceResourceDriftsCommand.js +5 -0
  50. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStackInstancesCommand.js +5 -0
  51. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStackResourcesCommand.js +5 -0
  52. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStackSetOperationResultsCommand.js +5 -0
  53. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStackSetOperationsCommand.js +5 -0
  54. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStackSetsCommand.js +5 -0
  55. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStacksCommand.js +5 -0
  56. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListTypeRegistrationsCommand.js +5 -0
  57. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListTypeVersionsCommand.js +5 -0
  58. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListTypesCommand.js +5 -0
  59. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/PublishTypeCommand.js +5 -0
  60. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/RecordHandlerProgressCommand.js +5 -0
  61. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/RegisterPublisherCommand.js +5 -0
  62. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/RegisterTypeCommand.js +5 -0
  63. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/RollbackStackCommand.js +5 -0
  64. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/SetStackPolicyCommand.js +5 -0
  65. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/SetTypeConfigurationCommand.js +5 -0
  66. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/SetTypeDefaultVersionCommand.js +5 -0
  67. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/SignalResourceCommand.js +5 -0
  68. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/StopStackSetOperationCommand.js +5 -0
  69. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/TestTypeCommand.js +5 -0
  70. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/UpdateStackCommand.js +5 -0
  71. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/UpdateStackInstancesCommand.js +5 -0
  72. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/UpdateStackSetCommand.js +5 -0
  73. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/UpdateTerminationProtectionCommand.js +5 -0
  74. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ValidateTemplateCommand.js +5 -0
  75. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/extensionConfiguration.js +2 -0
  76. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.shared.js +1 -0
  77. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeExtensions.js +22 -0
  78. package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormationClient.js +4 -2
  79. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ActivateOrganizationsAccessCommand.js +5 -0
  80. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ActivateTypeCommand.js +5 -0
  81. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/BatchDescribeTypeConfigurationsCommand.js +5 -0
  82. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CancelUpdateStackCommand.js +5 -0
  83. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ContinueUpdateRollbackCommand.js +5 -0
  84. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateChangeSetCommand.js +5 -0
  85. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateStackCommand.js +5 -0
  86. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateStackInstancesCommand.js +5 -0
  87. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateStackSetCommand.js +5 -0
  88. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeactivateOrganizationsAccessCommand.js +5 -0
  89. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeactivateTypeCommand.js +5 -0
  90. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteChangeSetCommand.js +5 -0
  91. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteStackCommand.js +5 -0
  92. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteStackInstancesCommand.js +5 -0
  93. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteStackSetCommand.js +5 -0
  94. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeregisterTypeCommand.js +5 -0
  95. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeAccountLimitsCommand.js +5 -0
  96. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeChangeSetCommand.js +5 -0
  97. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeChangeSetHooksCommand.js +5 -0
  98. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeOrganizationsAccessCommand.js +5 -0
  99. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribePublisherCommand.js +5 -0
  100. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackDriftDetectionStatusCommand.js +5 -0
  101. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackEventsCommand.js +5 -0
  102. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackInstanceCommand.js +5 -0
  103. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackResourceCommand.js +5 -0
  104. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackResourceDriftsCommand.js +5 -0
  105. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackResourcesCommand.js +5 -0
  106. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackSetCommand.js +5 -0
  107. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackSetOperationCommand.js +5 -0
  108. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStacksCommand.js +5 -0
  109. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeTypeCommand.js +5 -0
  110. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeTypeRegistrationCommand.js +5 -0
  111. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DetectStackDriftCommand.js +5 -0
  112. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DetectStackResourceDriftCommand.js +5 -0
  113. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DetectStackSetDriftCommand.js +5 -0
  114. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/EstimateTemplateCostCommand.js +5 -0
  115. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ExecuteChangeSetCommand.js +5 -0
  116. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetStackPolicyCommand.js +5 -0
  117. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetTemplateCommand.js +5 -0
  118. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetTemplateSummaryCommand.js +5 -0
  119. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ImportStacksToStackSetCommand.js +5 -0
  120. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListChangeSetsCommand.js +5 -0
  121. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListExportsCommand.js +5 -0
  122. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListImportsCommand.js +5 -0
  123. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackInstanceResourceDriftsCommand.js +5 -0
  124. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackInstancesCommand.js +5 -0
  125. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackResourcesCommand.js +5 -0
  126. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackSetOperationResultsCommand.js +5 -0
  127. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackSetOperationsCommand.js +5 -0
  128. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackSetsCommand.js +5 -0
  129. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStacksCommand.js +5 -0
  130. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListTypeRegistrationsCommand.js +5 -0
  131. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListTypeVersionsCommand.js +5 -0
  132. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListTypesCommand.js +5 -0
  133. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/PublishTypeCommand.js +5 -0
  134. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/RecordHandlerProgressCommand.js +5 -0
  135. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/RegisterPublisherCommand.js +5 -0
  136. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/RegisterTypeCommand.js +5 -0
  137. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/RollbackStackCommand.js +5 -0
  138. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/SetStackPolicyCommand.js +5 -0
  139. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/SetTypeConfigurationCommand.js +5 -0
  140. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/SetTypeDefaultVersionCommand.js +5 -0
  141. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/SignalResourceCommand.js +5 -0
  142. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/StopStackSetOperationCommand.js +5 -0
  143. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/TestTypeCommand.js +5 -0
  144. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateStackCommand.js +5 -0
  145. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateStackInstancesCommand.js +5 -0
  146. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateStackSetCommand.js +5 -0
  147. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateTerminationProtectionCommand.js +5 -0
  148. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ValidateTemplateCommand.js +5 -0
  149. package/node_modules/@aws-sdk/client-cloudformation/dist-es/extensionConfiguration.js +1 -0
  150. package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeConfig.shared.js +1 -0
  151. package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeExtensions.js +18 -0
  152. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +6 -1
  153. package/node_modules/@aws-sdk/client-cloudformation/dist-types/extensionConfiguration.d.ts +8 -0
  154. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +32 -36
  155. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +5 -1
  156. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +5 -1
  157. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +5 -1
  158. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.shared.d.ts +1 -0
  159. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeExtensions.d.ts +17 -0
  160. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormationClient.d.ts +3 -0
  161. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
  162. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -1
  163. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +9 -1
  164. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -1
  165. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  166. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  167. package/node_modules/@aws-sdk/client-cloudformation/package.json +33 -32
  168. package/node_modules/@aws-sdk/client-sso/README.md +7 -10
  169. package/node_modules/@aws-sdk/client-sso/dist-cjs/SSOClient.js +4 -2
  170. package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/GetRoleCredentialsCommand.js +5 -0
  171. package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountRolesCommand.js +5 -0
  172. package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountsCommand.js +5 -0
  173. package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/LogoutCommand.js +5 -0
  174. package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js +3 -3
  175. package/node_modules/@aws-sdk/client-sso/dist-cjs/extensionConfiguration.js +2 -0
  176. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js +1 -0
  177. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeExtensions.js +22 -0
  178. package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +4 -2
  179. package/node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js +5 -0
  180. package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +5 -0
  181. package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountsCommand.js +5 -0
  182. package/node_modules/@aws-sdk/client-sso/dist-es/commands/LogoutCommand.js +5 -0
  183. package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/ruleset.js +3 -3
  184. package/node_modules/@aws-sdk/client-sso/dist-es/extensionConfiguration.js +1 -0
  185. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js +1 -0
  186. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeExtensions.js +18 -0
  187. package/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +0 -3
  188. package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +6 -4
  189. package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +0 -2
  190. package/node_modules/@aws-sdk/client-sso/dist-types/extensionConfiguration.d.ts +8 -0
  191. package/node_modules/@aws-sdk/client-sso/dist-types/index.d.ts +0 -3
  192. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +5 -1
  193. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +5 -1
  194. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +5 -1
  195. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.shared.d.ts +1 -0
  196. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeExtensions.d.ts +17 -0
  197. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +3 -0
  198. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
  199. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -1
  200. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +9 -1
  201. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -1
  202. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  203. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  204. package/node_modules/@aws-sdk/client-sso/package.json +29 -28
  205. package/node_modules/@aws-sdk/client-sts/README.md +7 -7
  206. package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +4 -2
  207. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleCommand.js +5 -0
  208. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithSAMLCommand.js +5 -0
  209. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithWebIdentityCommand.js +5 -0
  210. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/DecodeAuthorizationMessageCommand.js +5 -0
  211. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetAccessKeyInfoCommand.js +5 -0
  212. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetCallerIdentityCommand.js +5 -0
  213. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetFederationTokenCommand.js +5 -0
  214. package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetSessionTokenCommand.js +5 -0
  215. package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js +1 -1
  216. package/node_modules/@aws-sdk/client-sts/dist-cjs/extensionConfiguration.js +2 -0
  217. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js +1 -0
  218. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeExtensions.js +22 -0
  219. package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +4 -2
  220. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js +5 -0
  221. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js +5 -0
  222. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +5 -0
  223. package/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js +5 -0
  224. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js +5 -0
  225. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js +5 -0
  226. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js +5 -0
  227. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js +5 -0
  228. package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/ruleset.js +1 -1
  229. package/node_modules/@aws-sdk/client-sts/dist-es/extensionConfiguration.js +1 -0
  230. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.shared.js +1 -0
  231. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeExtensions.js +18 -0
  232. package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +6 -1
  233. package/node_modules/@aws-sdk/client-sts/dist-types/extensionConfiguration.d.ts +8 -0
  234. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +5 -1
  235. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +5 -1
  236. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +5 -1
  237. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.shared.d.ts +1 -0
  238. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeExtensions.d.ts +17 -0
  239. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +3 -0
  240. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
  241. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -1
  242. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +9 -1
  243. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -1
  244. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  245. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  246. package/node_modules/@aws-sdk/client-sts/package.json +32 -31
  247. package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
  248. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveAssumeRoleCredentials.js +1 -0
  249. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +1 -0
  250. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +4 -0
  251. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +1 -0
  252. package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
  253. package/node_modules/@aws-sdk/credential-provider-node/README.md +6 -3
  254. package/node_modules/@aws-sdk/credential-provider-node/package.json +9 -9
  255. package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -4
  256. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/resolveSSOCredentials.js +1 -2
  257. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +1 -2
  258. package/node_modules/@aws-sdk/credential-provider-sso/package.json +6 -6
  259. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  260. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  261. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  262. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  263. package/node_modules/@aws-sdk/middleware-sdk-sts/package.json +4 -4
  264. package/node_modules/@aws-sdk/middleware-signing/package.json +5 -5
  265. package/node_modules/@aws-sdk/middleware-user-agent/package.json +5 -5
  266. package/node_modules/@aws-sdk/region-config-resolver/LICENSE +201 -0
  267. package/node_modules/@aws-sdk/region-config-resolver/README.md +12 -0
  268. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/extensions/index.js +30 -0
  269. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +5 -0
  270. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/config.js +15 -0
  271. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/getRealRegion.js +10 -0
  272. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/index.js +5 -0
  273. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/isFipsRegion.js +5 -0
  274. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/resolveRegionConfig.js +29 -0
  275. package/node_modules/@aws-sdk/region-config-resolver/dist-es/extensions/index.js +25 -0
  276. package/node_modules/@aws-sdk/region-config-resolver/dist-es/index.js +2 -0
  277. package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/config.js +12 -0
  278. package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/getRealRegion.js +6 -0
  279. package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/index.js +2 -0
  280. package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/isFipsRegion.js +1 -0
  281. package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/resolveRegionConfig.js +25 -0
  282. package/node_modules/@aws-sdk/region-config-resolver/dist-types/extensions/index.d.ts +16 -0
  283. package/node_modules/@aws-sdk/region-config-resolver/dist-types/index.d.ts +2 -0
  284. package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/config.d.ts +17 -0
  285. package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/getRealRegion.d.ts +4 -0
  286. package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/index.d.ts +8 -0
  287. package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/isFipsRegion.d.ts +4 -0
  288. package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/resolveRegionConfig.d.ts +37 -0
  289. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/extensions/index.d.ts +14 -0
  290. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/index.d.ts +2 -0
  291. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/config.d.ts +8 -0
  292. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/getRealRegion.d.ts +1 -0
  293. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/index.d.ts +2 -0
  294. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/isFipsRegion.d.ts +1 -0
  295. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/resolveRegionConfig.d.ts +14 -0
  296. package/node_modules/@aws-sdk/region-config-resolver/package.json +61 -0
  297. package/node_modules/@aws-sdk/token-providers/package.json +29 -29
  298. package/node_modules/@aws-sdk/types/dist-cjs/extensions/index.js +2 -0
  299. package/node_modules/@aws-sdk/types/dist-cjs/index.js +1 -0
  300. package/node_modules/@aws-sdk/types/dist-es/extensions/index.js +1 -0
  301. package/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
  302. package/node_modules/@aws-sdk/types/dist-types/extensions/index.d.ts +8 -0
  303. package/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
  304. package/node_modules/@aws-sdk/types/dist-types/ts3.4/extensions/index.d.ts +5 -0
  305. package/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
  306. package/node_modules/@aws-sdk/types/package.json +2 -2
  307. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +7 -0
  308. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +7 -0
  309. package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
  310. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  311. package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
  312. package/node_modules/@smithy/abort-controller/package.json +7 -9
  313. package/node_modules/@smithy/config-resolver/package.json +9 -11
  314. package/node_modules/@smithy/credential-provider-imds/package.json +10 -12
  315. package/node_modules/@smithy/eventstream-codec/package.json +7 -9
  316. package/node_modules/@smithy/fetch-http-handler/dist-cjs/fetch-http-handler.js +23 -9
  317. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +18 -5
  318. package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +22 -2
  319. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +22 -2
  320. package/node_modules/@smithy/fetch-http-handler/package.json +9 -11
  321. package/node_modules/@smithy/hash-node/package.json +7 -9
  322. package/node_modules/@smithy/invalid-dependency/package.json +7 -9
  323. package/node_modules/@smithy/middleware-content-length/package.json +10 -10
  324. package/node_modules/@smithy/middleware-endpoint/package.json +10 -12
  325. package/node_modules/@smithy/middleware-retry/README.md +7 -0
  326. package/node_modules/@smithy/middleware-retry/package.json +14 -14
  327. package/node_modules/@smithy/middleware-serde/package.json +9 -9
  328. package/node_modules/@smithy/middleware-stack/dist-cjs/MiddlewareStack.js +97 -35
  329. package/node_modules/@smithy/middleware-stack/dist-es/MiddlewareStack.js +95 -35
  330. package/node_modules/@smithy/middleware-stack/package.json +7 -9
  331. package/node_modules/@smithy/node-config-provider/package.json +9 -11
  332. package/node_modules/@smithy/node-http-handler/dist-cjs/node-http-handler.js +13 -0
  333. package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-handler.js +13 -0
  334. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +12 -0
  335. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +12 -0
  336. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +4 -2
  337. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +4 -2
  338. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -2
  339. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +4 -2
  340. package/node_modules/@smithy/node-http-handler/package.json +10 -12
  341. package/node_modules/@smithy/property-provider/dist-cjs/chain.js +19 -13
  342. package/node_modules/@smithy/property-provider/dist-es/chain.js +19 -13
  343. package/node_modules/@smithy/property-provider/dist-types/chain.d.ts +1 -1
  344. package/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +1 -1
  345. package/node_modules/@smithy/property-provider/package.json +7 -9
  346. package/node_modules/@smithy/protocol-http/dist-cjs/extensions/httpExtensionConfiguration.js +27 -0
  347. package/node_modules/@smithy/protocol-http/dist-cjs/extensions/index.js +4 -0
  348. package/node_modules/@smithy/protocol-http/dist-cjs/index.js +1 -0
  349. package/node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js +22 -0
  350. package/node_modules/@smithy/protocol-http/dist-es/extensions/index.js +1 -0
  351. package/node_modules/@smithy/protocol-http/dist-es/index.js +1 -0
  352. package/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +37 -0
  353. package/node_modules/@smithy/protocol-http/dist-types/extensions/index.d.ts +1 -0
  354. package/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts +15 -1
  355. package/node_modules/@smithy/protocol-http/dist-types/index.d.ts +1 -0
  356. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +37 -0
  357. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/index.d.ts +1 -0
  358. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +15 -1
  359. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/index.d.ts +1 -0
  360. package/node_modules/@smithy/protocol-http/package.json +7 -9
  361. package/node_modules/@smithy/querystring-builder/package.json +6 -8
  362. package/node_modules/@smithy/querystring-parser/package.json +7 -9
  363. package/node_modules/@smithy/service-error-classification/package.json +9 -9
  364. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +11 -1
  365. package/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +11 -1
  366. package/node_modules/@smithy/shared-ini-file-loader/package.json +7 -9
  367. package/node_modules/@smithy/signature-v4/package.json +10 -12
  368. package/node_modules/@smithy/smithy-client/dist-cjs/extensions/checksum.js +36 -0
  369. package/node_modules/@smithy/smithy-client/dist-cjs/extensions/defaultExtensionConfiguration.js +20 -0
  370. package/node_modules/@smithy/smithy-client/dist-cjs/extensions/index.js +4 -0
  371. package/node_modules/@smithy/smithy-client/dist-cjs/extensions/retry.js +21 -0
  372. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1 -0
  373. package/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js +31 -0
  374. package/node_modules/@smithy/smithy-client/dist-es/extensions/defaultExtensionConfiguration.js +15 -0
  375. package/node_modules/@smithy/smithy-client/dist-es/extensions/index.js +1 -0
  376. package/node_modules/@smithy/smithy-client/dist-es/extensions/retry.js +16 -0
  377. package/node_modules/@smithy/smithy-client/dist-es/index.js +1 -0
  378. package/node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts +25 -0
  379. package/node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts +38 -0
  380. package/node_modules/@smithy/smithy-client/dist-types/extensions/index.d.ts +1 -0
  381. package/node_modules/@smithy/smithy-client/dist-types/extensions/retry.d.ts +15 -0
  382. package/node_modules/@smithy/smithy-client/dist-types/index.d.ts +1 -0
  383. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts +25 -0
  384. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +38 -0
  385. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/index.d.ts +1 -0
  386. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/retry.d.ts +15 -0
  387. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/index.d.ts +1 -0
  388. package/node_modules/@smithy/smithy-client/package.json +9 -11
  389. package/node_modules/@smithy/types/dist-cjs/extensions/defaultExtensionConfiguration.js +2 -0
  390. package/node_modules/@smithy/types/dist-cjs/extensions/index.js +4 -0
  391. package/node_modules/@smithy/types/dist-cjs/extensions/retry.js +2 -0
  392. package/node_modules/@smithy/types/dist-cjs/externals-check/browser-externals-check.js +2 -0
  393. package/node_modules/@smithy/types/dist-cjs/middleware.js +2 -0
  394. package/node_modules/@smithy/types/dist-cjs/transform/exact.js +2 -0
  395. package/node_modules/@smithy/types/dist-es/extensions/defaultExtensionConfiguration.js +1 -0
  396. package/node_modules/@smithy/types/dist-es/extensions/index.js +2 -0
  397. package/node_modules/@smithy/types/dist-es/extensions/retry.js +1 -0
  398. package/node_modules/@smithy/types/dist-es/externals-check/browser-externals-check.js +1 -0
  399. package/node_modules/@smithy/types/dist-es/middleware.js +1 -1
  400. package/node_modules/@smithy/types/dist-es/transform/exact.js +1 -0
  401. package/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +2 -1
  402. package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +19 -2
  403. package/node_modules/@smithy/types/dist-types/extensions/defaultClientConfiguration.d.ts +10 -0
  404. package/node_modules/@smithy/types/dist-types/extensions/defaultExtensionConfiguration.d.ts +9 -0
  405. package/node_modules/@smithy/types/dist-types/extensions/index.d.ts +3 -0
  406. package/node_modules/@smithy/types/dist-types/extensions/retry.d.ts +18 -0
  407. package/node_modules/@smithy/types/dist-types/externals-check/browser-externals-check.d.ts +35 -0
  408. package/node_modules/@smithy/types/dist-types/middleware.d.ts +35 -0
  409. package/node_modules/@smithy/types/dist-types/pagination.d.ts +1 -1
  410. package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-common-types.d.ts +2 -1
  411. package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +2 -1
  412. package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts +2 -1
  413. package/node_modules/@smithy/types/dist-types/transform/exact.d.ts +6 -0
  414. package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +2 -1
  415. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +19 -2
  416. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +10 -0
  417. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +9 -0
  418. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/index.d.ts +3 -0
  419. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/retry.d.ts +18 -0
  420. package/node_modules/@smithy/types/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +35 -0
  421. package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +35 -0
  422. package/node_modules/@smithy/types/dist-types/ts3.4/pagination.d.ts +1 -1
  423. package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +2 -1
  424. package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +2 -1
  425. package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +2 -1
  426. package/node_modules/@smithy/types/dist-types/ts3.4/transform/exact.d.ts +14 -0
  427. package/node_modules/@smithy/types/package.json +7 -9
  428. package/node_modules/@smithy/url-parser/package.json +8 -10
  429. package/node_modules/@smithy/util-body-length-node/dist-cjs/calculateBodyLength.js +3 -0
  430. package/node_modules/@smithy/util-body-length-node/dist-es/calculateBodyLength.js +3 -0
  431. package/node_modules/@smithy/util-body-length-node/package.json +1 -1
  432. package/node_modules/@smithy/util-defaults-mode-browser/package.json +9 -11
  433. package/node_modules/@smithy/util-defaults-mode-node/package.json +12 -14
  434. package/node_modules/@smithy/util-middleware/dist-cjs/getSmithyContext.js +6 -0
  435. package/node_modules/@smithy/util-middleware/dist-cjs/index.js +1 -0
  436. package/node_modules/@smithy/util-middleware/dist-es/getSmithyContext.js +2 -0
  437. package/node_modules/@smithy/util-middleware/dist-es/index.js +1 -0
  438. package/node_modules/@smithy/util-middleware/dist-types/getSmithyContext.d.ts +5 -0
  439. package/node_modules/@smithy/util-middleware/dist-types/index.d.ts +4 -0
  440. package/node_modules/@smithy/util-middleware/dist-types/ts3.4/getSmithyContext.d.ts +5 -0
  441. package/node_modules/@smithy/util-middleware/dist-types/ts3.4/index.d.ts +4 -0
  442. package/node_modules/@smithy/util-middleware/package.json +7 -9
  443. package/node_modules/@smithy/util-retry/README.md +2 -1
  444. package/node_modules/@smithy/util-retry/package.json +8 -10
  445. package/node_modules/@smithy/util-stream/README.md +0 -6
  446. package/node_modules/@smithy/util-stream/package.json +11 -10
  447. package/node_modules/@smithy/util-waiter/package.json +8 -10
  448. package/node_modules/tslib/package.json +2 -2
  449. package/package.json +12 -12
@@ -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.391.0",
4
+ "version": "3.423.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",
@@ -21,35 +21,36 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/middleware-host-header": "3.391.0",
25
- "@aws-sdk/middleware-logger": "3.391.0",
26
- "@aws-sdk/middleware-recursion-detection": "3.391.0",
27
- "@aws-sdk/middleware-user-agent": "3.391.0",
28
- "@aws-sdk/types": "3.391.0",
29
- "@aws-sdk/util-endpoints": "3.391.0",
30
- "@aws-sdk/util-user-agent-browser": "3.391.0",
31
- "@aws-sdk/util-user-agent-node": "3.391.0",
32
- "@smithy/config-resolver": "^2.0.3",
33
- "@smithy/fetch-http-handler": "^2.0.3",
34
- "@smithy/hash-node": "^2.0.3",
35
- "@smithy/invalid-dependency": "^2.0.3",
36
- "@smithy/middleware-content-length": "^2.0.3",
37
- "@smithy/middleware-endpoint": "^2.0.3",
38
- "@smithy/middleware-retry": "^2.0.3",
39
- "@smithy/middleware-serde": "^2.0.3",
40
- "@smithy/middleware-stack": "^2.0.0",
41
- "@smithy/node-config-provider": "^2.0.3",
42
- "@smithy/node-http-handler": "^2.0.3",
43
- "@smithy/protocol-http": "^2.0.3",
44
- "@smithy/smithy-client": "^2.0.3",
45
- "@smithy/types": "^2.2.0",
46
- "@smithy/url-parser": "^2.0.3",
24
+ "@aws-sdk/middleware-host-header": "3.418.0",
25
+ "@aws-sdk/middleware-logger": "3.418.0",
26
+ "@aws-sdk/middleware-recursion-detection": "3.418.0",
27
+ "@aws-sdk/middleware-user-agent": "3.418.0",
28
+ "@aws-sdk/region-config-resolver": "3.418.0",
29
+ "@aws-sdk/types": "3.418.0",
30
+ "@aws-sdk/util-endpoints": "3.418.0",
31
+ "@aws-sdk/util-user-agent-browser": "3.418.0",
32
+ "@aws-sdk/util-user-agent-node": "3.418.0",
33
+ "@smithy/config-resolver": "^2.0.10",
34
+ "@smithy/fetch-http-handler": "^2.1.5",
35
+ "@smithy/hash-node": "^2.0.9",
36
+ "@smithy/invalid-dependency": "^2.0.9",
37
+ "@smithy/middleware-content-length": "^2.0.11",
38
+ "@smithy/middleware-endpoint": "^2.0.9",
39
+ "@smithy/middleware-retry": "^2.0.12",
40
+ "@smithy/middleware-serde": "^2.0.9",
41
+ "@smithy/middleware-stack": "^2.0.2",
42
+ "@smithy/node-config-provider": "^2.0.12",
43
+ "@smithy/node-http-handler": "^2.1.5",
44
+ "@smithy/protocol-http": "^3.0.5",
45
+ "@smithy/smithy-client": "^2.1.6",
46
+ "@smithy/types": "^2.3.3",
47
+ "@smithy/url-parser": "^2.0.9",
47
48
  "@smithy/util-base64": "^2.0.0",
48
49
  "@smithy/util-body-length-browser": "^2.0.0",
49
- "@smithy/util-body-length-node": "^2.0.0",
50
- "@smithy/util-defaults-mode-browser": "^2.0.3",
51
- "@smithy/util-defaults-mode-node": "^2.0.3",
52
- "@smithy/util-retry": "^2.0.0",
50
+ "@smithy/util-body-length-node": "^2.1.0",
51
+ "@smithy/util-defaults-mode-browser": "^2.0.10",
52
+ "@smithy/util-defaults-mode-node": "^2.0.12",
53
+ "@smithy/util-retry": "^2.0.2",
53
54
  "@smithy/util-utf8": "^2.0.0",
54
55
  "tslib": "^2.5.0"
55
56
  },
@@ -27,16 +27,16 @@ using your favorite package manager:
27
27
 
28
28
  The AWS SDK is modulized by clients and commands.
29
29
  To send a request, you only need to import the `STSClient` and
30
- the commands you need, for example `AssumeRoleCommand`:
30
+ the commands you need, for example `GetCallerIdentityCommand`:
31
31
 
32
32
  ```js
33
33
  // ES5 example
34
- const { STSClient, AssumeRoleCommand } = require("@aws-sdk/client-sts");
34
+ const { STSClient, GetCallerIdentityCommand } = require("@aws-sdk/client-sts");
35
35
  ```
36
36
 
37
37
  ```ts
38
38
  // ES6+ example
39
- import { STSClient, AssumeRoleCommand } from "@aws-sdk/client-sts";
39
+ import { STSClient, GetCallerIdentityCommand } from "@aws-sdk/client-sts";
40
40
  ```
41
41
 
42
42
  ### Usage
@@ -55,7 +55,7 @@ const client = new STSClient({ region: "REGION" });
55
55
  const params = {
56
56
  /** input parameters */
57
57
  };
58
- const command = new AssumeRoleCommand(params);
58
+ const command = new GetCallerIdentityCommand(params);
59
59
  ```
60
60
 
61
61
  #### Async/await
@@ -134,7 +134,7 @@ const client = new AWS.STS({ region: "REGION" });
134
134
 
135
135
  // async/await.
136
136
  try {
137
- const data = await client.assumeRole(params);
137
+ const data = await client.getCallerIdentity(params);
138
138
  // process data.
139
139
  } catch (error) {
140
140
  // error handling.
@@ -142,7 +142,7 @@ try {
142
142
 
143
143
  // Promises.
144
144
  client
145
- .assumeRole(params)
145
+ .getCallerIdentity(params)
146
146
  .then((data) => {
147
147
  // process data.
148
148
  })
@@ -151,7 +151,7 @@ client
151
151
  });
152
152
 
153
153
  // callbacks.
154
- client.assumeRole(params, (err, data) => {
154
+ client.getCallerIdentity(params, (err, data) => {
155
155
  // process err and data.
156
156
  });
157
157
  ```
@@ -14,6 +14,7 @@ const smithy_client_1 = require("@smithy/smithy-client");
14
14
  Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
15
15
  const EndpointParameters_1 = require("./endpoint/EndpointParameters");
16
16
  const runtimeConfig_1 = require("./runtimeConfig");
17
+ const runtimeExtensions_1 = require("./runtimeExtensions");
17
18
  class STSClient extends smithy_client_1.Client {
18
19
  constructor(...[configuration]) {
19
20
  const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
@@ -24,8 +25,9 @@ class STSClient extends smithy_client_1.Client {
24
25
  const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
25
26
  const _config_6 = (0, middleware_sdk_sts_1.resolveStsAuthConfig)(_config_5, { stsClientCtor: STSClient });
26
27
  const _config_7 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_6);
27
- super(_config_7);
28
- this.config = _config_7;
28
+ const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);
29
+ super(_config_8);
30
+ this.config = _config_8;
29
31
  this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
30
32
  this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
31
33
  this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
@@ -6,6 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
6
  const middleware_serde_1 = require("@smithy/middleware-serde");
7
7
  const smithy_client_1 = require("@smithy/smithy-client");
8
8
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
+ const types_1 = require("@smithy/types");
9
10
  const models_0_1 = require("../models/models_0");
10
11
  const Aws_query_1 = require("../protocols/Aws_query");
11
12
  class AssumeRoleCommand extends smithy_client_1.Command {
@@ -36,6 +37,10 @@ class AssumeRoleCommand extends smithy_client_1.Command {
36
37
  commandName,
37
38
  inputFilterSensitiveLog: (_) => _,
38
39
  outputFilterSensitiveLog: models_0_1.AssumeRoleResponseFilterSensitiveLog,
40
+ [types_1.SMITHY_CONTEXT_KEY]: {
41
+ service: "AWSSecurityTokenServiceV20110615",
42
+ operation: "AssumeRole",
43
+ },
39
44
  };
40
45
  const { requestHandler } = configuration;
41
46
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const models_0_1 = require("../models/models_0");
9
10
  const Aws_query_1 = require("../protocols/Aws_query");
10
11
  class AssumeRoleWithSAMLCommand extends smithy_client_1.Command {
@@ -34,6 +35,10 @@ class AssumeRoleWithSAMLCommand extends smithy_client_1.Command {
34
35
  commandName,
35
36
  inputFilterSensitiveLog: models_0_1.AssumeRoleWithSAMLRequestFilterSensitiveLog,
36
37
  outputFilterSensitiveLog: models_0_1.AssumeRoleWithSAMLResponseFilterSensitiveLog,
38
+ [types_1.SMITHY_CONTEXT_KEY]: {
39
+ service: "AWSSecurityTokenServiceV20110615",
40
+ operation: "AssumeRoleWithSAML",
41
+ },
37
42
  };
38
43
  const { requestHandler } = configuration;
39
44
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
8
9
  const models_0_1 = require("../models/models_0");
9
10
  const Aws_query_1 = require("../protocols/Aws_query");
10
11
  class AssumeRoleWithWebIdentityCommand extends smithy_client_1.Command {
@@ -34,6 +35,10 @@ class AssumeRoleWithWebIdentityCommand extends smithy_client_1.Command {
34
35
  commandName,
35
36
  inputFilterSensitiveLog: models_0_1.AssumeRoleWithWebIdentityRequestFilterSensitiveLog,
36
37
  outputFilterSensitiveLog: models_0_1.AssumeRoleWithWebIdentityResponseFilterSensitiveLog,
38
+ [types_1.SMITHY_CONTEXT_KEY]: {
39
+ service: "AWSSecurityTokenServiceV20110615",
40
+ operation: "AssumeRoleWithWebIdentity",
41
+ },
37
42
  };
38
43
  const { requestHandler } = configuration;
39
44
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -6,6 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
6
  const middleware_serde_1 = require("@smithy/middleware-serde");
7
7
  const smithy_client_1 = require("@smithy/smithy-client");
8
8
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
+ const types_1 = require("@smithy/types");
9
10
  const Aws_query_1 = require("../protocols/Aws_query");
10
11
  class DecodeAuthorizationMessageCommand extends smithy_client_1.Command {
11
12
  static getEndpointParameterInstructions() {
@@ -35,6 +36,10 @@ class DecodeAuthorizationMessageCommand extends smithy_client_1.Command {
35
36
  commandName,
36
37
  inputFilterSensitiveLog: (_) => _,
37
38
  outputFilterSensitiveLog: (_) => _,
39
+ [types_1.SMITHY_CONTEXT_KEY]: {
40
+ service: "AWSSecurityTokenServiceV20110615",
41
+ operation: "DecodeAuthorizationMessage",
42
+ },
38
43
  };
39
44
  const { requestHandler } = configuration;
40
45
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -6,6 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
6
  const middleware_serde_1 = require("@smithy/middleware-serde");
7
7
  const smithy_client_1 = require("@smithy/smithy-client");
8
8
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
+ const types_1 = require("@smithy/types");
9
10
  const Aws_query_1 = require("../protocols/Aws_query");
10
11
  class GetAccessKeyInfoCommand extends smithy_client_1.Command {
11
12
  static getEndpointParameterInstructions() {
@@ -35,6 +36,10 @@ class GetAccessKeyInfoCommand extends smithy_client_1.Command {
35
36
  commandName,
36
37
  inputFilterSensitiveLog: (_) => _,
37
38
  outputFilterSensitiveLog: (_) => _,
39
+ [types_1.SMITHY_CONTEXT_KEY]: {
40
+ service: "AWSSecurityTokenServiceV20110615",
41
+ operation: "GetAccessKeyInfo",
42
+ },
38
43
  };
39
44
  const { requestHandler } = configuration;
40
45
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -6,6 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
6
  const middleware_serde_1 = require("@smithy/middleware-serde");
7
7
  const smithy_client_1 = require("@smithy/smithy-client");
8
8
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
+ const types_1 = require("@smithy/types");
9
10
  const Aws_query_1 = require("../protocols/Aws_query");
10
11
  class GetCallerIdentityCommand extends smithy_client_1.Command {
11
12
  static getEndpointParameterInstructions() {
@@ -35,6 +36,10 @@ class GetCallerIdentityCommand extends smithy_client_1.Command {
35
36
  commandName,
36
37
  inputFilterSensitiveLog: (_) => _,
37
38
  outputFilterSensitiveLog: (_) => _,
39
+ [types_1.SMITHY_CONTEXT_KEY]: {
40
+ service: "AWSSecurityTokenServiceV20110615",
41
+ operation: "GetCallerIdentity",
42
+ },
38
43
  };
39
44
  const { requestHandler } = configuration;
40
45
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -6,6 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
6
  const middleware_serde_1 = require("@smithy/middleware-serde");
7
7
  const smithy_client_1 = require("@smithy/smithy-client");
8
8
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
+ const types_1 = require("@smithy/types");
9
10
  const models_0_1 = require("../models/models_0");
10
11
  const Aws_query_1 = require("../protocols/Aws_query");
11
12
  class GetFederationTokenCommand extends smithy_client_1.Command {
@@ -36,6 +37,10 @@ class GetFederationTokenCommand extends smithy_client_1.Command {
36
37
  commandName,
37
38
  inputFilterSensitiveLog: (_) => _,
38
39
  outputFilterSensitiveLog: models_0_1.GetFederationTokenResponseFilterSensitiveLog,
40
+ [types_1.SMITHY_CONTEXT_KEY]: {
41
+ service: "AWSSecurityTokenServiceV20110615",
42
+ operation: "GetFederationToken",
43
+ },
39
44
  };
40
45
  const { requestHandler } = configuration;
41
46
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -6,6 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
6
  const middleware_serde_1 = require("@smithy/middleware-serde");
7
7
  const smithy_client_1 = require("@smithy/smithy-client");
8
8
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
+ const types_1 = require("@smithy/types");
9
10
  const models_0_1 = require("../models/models_0");
10
11
  const Aws_query_1 = require("../protocols/Aws_query");
11
12
  class GetSessionTokenCommand extends smithy_client_1.Command {
@@ -36,6 +37,10 @@ class GetSessionTokenCommand extends smithy_client_1.Command {
36
37
  commandName,
37
38
  inputFilterSensitiveLog: (_) => _,
38
39
  outputFilterSensitiveLog: models_0_1.GetSessionTokenResponseFilterSensitiveLog,
40
+ [types_1.SMITHY_CONTEXT_KEY]: {
41
+ service: "AWSSecurityTokenServiceV20110615",
42
+ operation: "GetSessionToken",
43
+ },
39
44
  };
40
45
  const { requestHandler } = configuration;
41
46
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
4
  const F = "required", G = "type", H = "fn", I = "argv", J = "ref";
5
5
  const a = false, b = true, c = "booleanEquals", d = "tree", e = "stringEquals", f = "sigv4", g = "sts", h = "us-east-1", i = "endpoint", j = "https://sts.{Region}.{PartitionResult#dnsSuffix}", k = "error", l = "getAttr", m = { [F]: false, [G]: "String" }, n = { [F]: true, "default": false, [G]: "Boolean" }, o = { [J]: "Endpoint" }, p = { [H]: "isSet", [I]: [{ [J]: "Region" }] }, q = { [J]: "Region" }, r = { [H]: "aws.partition", [I]: [q], "assign": "PartitionResult" }, s = { [J]: "UseFIPS" }, t = { [J]: "UseDualStack" }, u = { "url": "https://sts.amazonaws.com", "properties": { "authSchemes": [{ "name": f, "signingName": g, "signingRegion": h }] }, "headers": {} }, v = {}, w = { "conditions": [{ [H]: e, [I]: [q, "aws-global"] }], [i]: u, [G]: i }, x = { [H]: c, [I]: [s, true] }, y = { [H]: c, [I]: [t, true] }, z = { [H]: c, [I]: [true, { [H]: l, [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] }] }, A = { [J]: "PartitionResult" }, B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, "supportsDualStack"] }] }, C = [{ [H]: "isSet", [I]: [o] }], D = [x], E = [y];
6
- const _data = { version: "1.0", parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n }, rules: [{ conditions: [{ [H]: c, [I]: [{ [J]: "UseGlobalEndpoint" }, b] }, { [H]: "not", [I]: C }, p, r, { [H]: c, [I]: [s, a] }, { [H]: c, [I]: [t, a] }], [G]: d, rules: [{ conditions: [{ [H]: e, [I]: [q, "ap-northeast-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "ap-south-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "ap-southeast-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "ap-southeast-2"] }], endpoint: u, [G]: i }, w, { conditions: [{ [H]: e, [I]: [q, "ca-central-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-central-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-north-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-west-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-west-2"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-west-3"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "sa-east-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, h] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "us-east-2"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "us-west-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "us-west-2"] }], endpoint: u, [G]: i }, { endpoint: { url: j, properties: { authSchemes: [{ name: f, signingName: g, signingRegion: "{Region}" }] }, headers: v }, [G]: i }] }, { conditions: C, [G]: d, rules: [{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: k }, { [G]: d, rules: [{ conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: k }, { endpoint: { url: o, properties: v, headers: v }, [G]: i }] }] }, { [G]: d, rules: [{ conditions: [p], [G]: d, rules: [{ conditions: [r], [G]: d, rules: [{ conditions: [x, y], [G]: d, rules: [{ conditions: [z, B], [G]: d, rules: [{ [G]: d, rules: [{ endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: i }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: k }] }, { conditions: D, [G]: d, rules: [{ conditions: [z], [G]: d, rules: [{ [G]: d, rules: [{ conditions: [{ [H]: e, [I]: ["aws-us-gov", { [H]: l, [I]: [A, "name"] }] }], endpoint: { url: "https://sts.{Region}.amazonaws.com", properties: v, headers: v }, [G]: i }, { endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", properties: v, headers: v }, [G]: i }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", [G]: k }] }, { conditions: E, [G]: d, rules: [{ conditions: [B], [G]: d, rules: [{ [G]: d, rules: [{ endpoint: { url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: i }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", [G]: k }] }, { [G]: d, rules: [w, { endpoint: { url: j, properties: v, headers: v }, [G]: i }] }] }] }, { error: "Invalid Configuration: Missing Region", [G]: k }] }] };
6
+ const _data = { version: "1.0", parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n }, rules: [{ conditions: [{ [H]: c, [I]: [{ [J]: "UseGlobalEndpoint" }, b] }, { [H]: "not", [I]: C }, p, r, { [H]: c, [I]: [s, a] }, { [H]: c, [I]: [t, a] }], [G]: d, rules: [{ conditions: [{ [H]: e, [I]: [q, "ap-northeast-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "ap-south-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "ap-southeast-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "ap-southeast-2"] }], endpoint: u, [G]: i }, w, { conditions: [{ [H]: e, [I]: [q, "ca-central-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-central-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-north-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-west-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-west-2"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-west-3"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "sa-east-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, h] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "us-east-2"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "us-west-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "us-west-2"] }], endpoint: u, [G]: i }, { endpoint: { url: j, properties: { authSchemes: [{ name: f, signingName: g, signingRegion: "{Region}" }] }, headers: v }, [G]: i }] }, { conditions: C, [G]: d, rules: [{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: k }, { conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: k }, { endpoint: { url: o, properties: v, headers: v }, [G]: i }] }, { conditions: [p], [G]: d, rules: [{ conditions: [r], [G]: d, rules: [{ conditions: [x, y], [G]: d, rules: [{ conditions: [z, B], [G]: d, rules: [{ endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: i }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: k }] }, { conditions: D, [G]: d, rules: [{ conditions: [z], [G]: d, rules: [{ conditions: [{ [H]: e, [I]: ["aws-us-gov", { [H]: l, [I]: [A, "name"] }] }], endpoint: { url: "https://sts.{Region}.amazonaws.com", properties: v, headers: v }, [G]: i }, { endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", properties: v, headers: v }, [G]: i }] }, { error: "FIPS is enabled but this partition does not support FIPS", [G]: k }] }, { conditions: E, [G]: d, rules: [{ conditions: [B], [G]: d, rules: [{ endpoint: { url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: i }] }, { error: "DualStack is enabled but this partition does not support DualStack", [G]: k }] }, w, { endpoint: { url: j, properties: v, headers: v }, [G]: i }] }] }, { error: "Invalid Configuration: Missing Region", [G]: k }] };
7
7
  exports.ruleSet = _data;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -12,6 +12,7 @@ const getRuntimeConfig = (config) => ({
12
12
  base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
13
13
  disableHostPrefix: config?.disableHostPrefix ?? false,
14
14
  endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
15
+ extensions: config?.extensions ?? [],
15
16
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
16
17
  serviceId: config?.serviceId ?? "STS",
17
18
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.resolveRuntimeExtensions = void 0;
4
+ const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
5
+ const protocol_http_1 = require("@smithy/protocol-http");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ const asPartial = (t) => t;
8
+ const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
9
+ const extensionConfiguration = {
10
+ ...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
11
+ ...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
12
+ ...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
13
+ };
14
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
15
+ return {
16
+ ...runtimeConfig,
17
+ ...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
18
+ ...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
19
+ ...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
20
+ };
21
+ };
22
+ exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
@@ -10,6 +10,7 @@ import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
10
10
  import { Client as __Client, } from "@smithy/smithy-client";
11
11
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
12
12
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
13
+ import { resolveRuntimeExtensions } from "./runtimeExtensions";
13
14
  export { __Client };
14
15
  export class STSClient extends __Client {
15
16
  constructor(...[configuration]) {
@@ -21,8 +22,9 @@ export class STSClient extends __Client {
21
22
  const _config_5 = resolveHostHeaderConfig(_config_4);
22
23
  const _config_6 = resolveStsAuthConfig(_config_5, { stsClientCtor: STSClient });
23
24
  const _config_7 = resolveUserAgentConfig(_config_6);
24
- super(_config_7);
25
- this.config = _config_7;
25
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
26
+ super(_config_8);
27
+ this.config = _config_8;
26
28
  this.middlewareStack.use(getRetryPlugin(this.config));
27
29
  this.middlewareStack.use(getContentLengthPlugin(this.config));
28
30
  this.middlewareStack.use(getHostHeaderPlugin(this.config));
@@ -2,6 +2,7 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { AssumeRoleResponseFilterSensitiveLog } from "../models/models_0";
6
7
  import { de_AssumeRoleCommand, se_AssumeRoleCommand } from "../protocols/Aws_query";
7
8
  export { $Command };
@@ -33,6 +34,10 @@ export class AssumeRoleCommand extends $Command {
33
34
  commandName,
34
35
  inputFilterSensitiveLog: (_) => _,
35
36
  outputFilterSensitiveLog: AssumeRoleResponseFilterSensitiveLog,
37
+ [SMITHY_CONTEXT_KEY]: {
38
+ service: "AWSSecurityTokenServiceV20110615",
39
+ operation: "AssumeRole",
40
+ },
36
41
  };
37
42
  const { requestHandler } = configuration;
38
43
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { AssumeRoleWithSAMLRequestFilterSensitiveLog, AssumeRoleWithSAMLResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_AssumeRoleWithSAMLCommand, se_AssumeRoleWithSAMLCommand } from "../protocols/Aws_query";
6
7
  export { $Command };
@@ -31,6 +32,10 @@ export class AssumeRoleWithSAMLCommand extends $Command {
31
32
  commandName,
32
33
  inputFilterSensitiveLog: AssumeRoleWithSAMLRequestFilterSensitiveLog,
33
34
  outputFilterSensitiveLog: AssumeRoleWithSAMLResponseFilterSensitiveLog,
35
+ [SMITHY_CONTEXT_KEY]: {
36
+ service: "AWSSecurityTokenServiceV20110615",
37
+ operation: "AssumeRoleWithSAML",
38
+ },
34
39
  };
35
40
  const { requestHandler } = configuration;
36
41
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { AssumeRoleWithWebIdentityRequestFilterSensitiveLog, AssumeRoleWithWebIdentityResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_AssumeRoleWithWebIdentityCommand, se_AssumeRoleWithWebIdentityCommand } from "../protocols/Aws_query";
6
7
  export { $Command };
@@ -31,6 +32,10 @@ export class AssumeRoleWithWebIdentityCommand extends $Command {
31
32
  commandName,
32
33
  inputFilterSensitiveLog: AssumeRoleWithWebIdentityRequestFilterSensitiveLog,
33
34
  outputFilterSensitiveLog: AssumeRoleWithWebIdentityResponseFilterSensitiveLog,
35
+ [SMITHY_CONTEXT_KEY]: {
36
+ service: "AWSSecurityTokenServiceV20110615",
37
+ operation: "AssumeRoleWithWebIdentity",
38
+ },
34
39
  };
35
40
  const { requestHandler } = configuration;
36
41
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_DecodeAuthorizationMessageCommand, se_DecodeAuthorizationMessageCommand } from "../protocols/Aws_query";
6
7
  export { $Command };
7
8
  export class DecodeAuthorizationMessageCommand extends $Command {
@@ -32,6 +33,10 @@ export class DecodeAuthorizationMessageCommand extends $Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSSecurityTokenServiceV20110615",
38
+ operation: "DecodeAuthorizationMessage",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_GetAccessKeyInfoCommand, se_GetAccessKeyInfoCommand } from "../protocols/Aws_query";
6
7
  export { $Command };
7
8
  export class GetAccessKeyInfoCommand extends $Command {
@@ -32,6 +33,10 @@ export class GetAccessKeyInfoCommand extends $Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSSecurityTokenServiceV20110615",
38
+ operation: "GetAccessKeyInfo",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_GetCallerIdentityCommand, se_GetCallerIdentityCommand } from "../protocols/Aws_query";
6
7
  export { $Command };
7
8
  export class GetCallerIdentityCommand extends $Command {
@@ -32,6 +33,10 @@ export class GetCallerIdentityCommand extends $Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: (_) => _,
34
35
  outputFilterSensitiveLog: (_) => _,
36
+ [SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSSecurityTokenServiceV20110615",
38
+ operation: "GetCallerIdentity",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { GetFederationTokenResponseFilterSensitiveLog, } from "../models/models_0";
6
7
  import { de_GetFederationTokenCommand, se_GetFederationTokenCommand } from "../protocols/Aws_query";
7
8
  export { $Command };
@@ -33,6 +34,10 @@ export class GetFederationTokenCommand extends $Command {
33
34
  commandName,
34
35
  inputFilterSensitiveLog: (_) => _,
35
36
  outputFilterSensitiveLog: GetFederationTokenResponseFilterSensitiveLog,
37
+ [SMITHY_CONTEXT_KEY]: {
38
+ service: "AWSSecurityTokenServiceV20110615",
39
+ operation: "GetFederationToken",
40
+ },
36
41
  };
37
42
  const { requestHandler } = configuration;
38
43
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { GetSessionTokenResponseFilterSensitiveLog, } from "../models/models_0";
6
7
  import { de_GetSessionTokenCommand, se_GetSessionTokenCommand } from "../protocols/Aws_query";
7
8
  export { $Command };
@@ -33,6 +34,10 @@ export class GetSessionTokenCommand extends $Command {
33
34
  commandName,
34
35
  inputFilterSensitiveLog: (_) => _,
35
36
  outputFilterSensitiveLog: GetSessionTokenResponseFilterSensitiveLog,
37
+ [SMITHY_CONTEXT_KEY]: {
38
+ service: "AWSSecurityTokenServiceV20110615",
39
+ operation: "GetSessionToken",
40
+ },
36
41
  };
37
42
  const { requestHandler } = configuration;
38
43
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,4 +1,4 @@
1
1
  const F = "required", G = "type", H = "fn", I = "argv", J = "ref";
2
2
  const a = false, b = true, c = "booleanEquals", d = "tree", e = "stringEquals", f = "sigv4", g = "sts", h = "us-east-1", i = "endpoint", j = "https://sts.{Region}.{PartitionResult#dnsSuffix}", k = "error", l = "getAttr", m = { [F]: false, [G]: "String" }, n = { [F]: true, "default": false, [G]: "Boolean" }, o = { [J]: "Endpoint" }, p = { [H]: "isSet", [I]: [{ [J]: "Region" }] }, q = { [J]: "Region" }, r = { [H]: "aws.partition", [I]: [q], "assign": "PartitionResult" }, s = { [J]: "UseFIPS" }, t = { [J]: "UseDualStack" }, u = { "url": "https://sts.amazonaws.com", "properties": { "authSchemes": [{ "name": f, "signingName": g, "signingRegion": h }] }, "headers": {} }, v = {}, w = { "conditions": [{ [H]: e, [I]: [q, "aws-global"] }], [i]: u, [G]: i }, x = { [H]: c, [I]: [s, true] }, y = { [H]: c, [I]: [t, true] }, z = { [H]: c, [I]: [true, { [H]: l, [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] }] }, A = { [J]: "PartitionResult" }, B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, "supportsDualStack"] }] }, C = [{ [H]: "isSet", [I]: [o] }], D = [x], E = [y];
3
- const _data = { version: "1.0", parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n }, rules: [{ conditions: [{ [H]: c, [I]: [{ [J]: "UseGlobalEndpoint" }, b] }, { [H]: "not", [I]: C }, p, r, { [H]: c, [I]: [s, a] }, { [H]: c, [I]: [t, a] }], [G]: d, rules: [{ conditions: [{ [H]: e, [I]: [q, "ap-northeast-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "ap-south-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "ap-southeast-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "ap-southeast-2"] }], endpoint: u, [G]: i }, w, { conditions: [{ [H]: e, [I]: [q, "ca-central-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-central-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-north-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-west-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-west-2"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-west-3"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "sa-east-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, h] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "us-east-2"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "us-west-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "us-west-2"] }], endpoint: u, [G]: i }, { endpoint: { url: j, properties: { authSchemes: [{ name: f, signingName: g, signingRegion: "{Region}" }] }, headers: v }, [G]: i }] }, { conditions: C, [G]: d, rules: [{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: k }, { [G]: d, rules: [{ conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: k }, { endpoint: { url: o, properties: v, headers: v }, [G]: i }] }] }, { [G]: d, rules: [{ conditions: [p], [G]: d, rules: [{ conditions: [r], [G]: d, rules: [{ conditions: [x, y], [G]: d, rules: [{ conditions: [z, B], [G]: d, rules: [{ [G]: d, rules: [{ endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: i }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: k }] }, { conditions: D, [G]: d, rules: [{ conditions: [z], [G]: d, rules: [{ [G]: d, rules: [{ conditions: [{ [H]: e, [I]: ["aws-us-gov", { [H]: l, [I]: [A, "name"] }] }], endpoint: { url: "https://sts.{Region}.amazonaws.com", properties: v, headers: v }, [G]: i }, { endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", properties: v, headers: v }, [G]: i }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", [G]: k }] }, { conditions: E, [G]: d, rules: [{ conditions: [B], [G]: d, rules: [{ [G]: d, rules: [{ endpoint: { url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: i }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", [G]: k }] }, { [G]: d, rules: [w, { endpoint: { url: j, properties: v, headers: v }, [G]: i }] }] }] }, { error: "Invalid Configuration: Missing Region", [G]: k }] }] };
3
+ const _data = { version: "1.0", parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n }, rules: [{ conditions: [{ [H]: c, [I]: [{ [J]: "UseGlobalEndpoint" }, b] }, { [H]: "not", [I]: C }, p, r, { [H]: c, [I]: [s, a] }, { [H]: c, [I]: [t, a] }], [G]: d, rules: [{ conditions: [{ [H]: e, [I]: [q, "ap-northeast-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "ap-south-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "ap-southeast-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "ap-southeast-2"] }], endpoint: u, [G]: i }, w, { conditions: [{ [H]: e, [I]: [q, "ca-central-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-central-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-north-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-west-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-west-2"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "eu-west-3"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "sa-east-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, h] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "us-east-2"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "us-west-1"] }], endpoint: u, [G]: i }, { conditions: [{ [H]: e, [I]: [q, "us-west-2"] }], endpoint: u, [G]: i }, { endpoint: { url: j, properties: { authSchemes: [{ name: f, signingName: g, signingRegion: "{Region}" }] }, headers: v }, [G]: i }] }, { conditions: C, [G]: d, rules: [{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: k }, { conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: k }, { endpoint: { url: o, properties: v, headers: v }, [G]: i }] }, { conditions: [p], [G]: d, rules: [{ conditions: [r], [G]: d, rules: [{ conditions: [x, y], [G]: d, rules: [{ conditions: [z, B], [G]: d, rules: [{ endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: i }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: k }] }, { conditions: D, [G]: d, rules: [{ conditions: [z], [G]: d, rules: [{ conditions: [{ [H]: e, [I]: ["aws-us-gov", { [H]: l, [I]: [A, "name"] }] }], endpoint: { url: "https://sts.{Region}.amazonaws.com", properties: v, headers: v }, [G]: i }, { endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", properties: v, headers: v }, [G]: i }] }, { error: "FIPS is enabled but this partition does not support FIPS", [G]: k }] }, { conditions: E, [G]: d, rules: [{ conditions: [B], [G]: d, rules: [{ endpoint: { url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: i }] }, { error: "DualStack is enabled but this partition does not support DualStack", [G]: k }] }, w, { endpoint: { url: j, properties: v, headers: v }, [G]: i }] }] }, { error: "Invalid Configuration: Missing Region", [G]: k }] };
4
4
  export const ruleSet = _data;
@@ -9,6 +9,7 @@ export const getRuntimeConfig = (config) => ({
9
9
  base64Encoder: config?.base64Encoder ?? toBase64,
10
10
  disableHostPrefix: config?.disableHostPrefix ?? false,
11
11
  endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
12
+ extensions: config?.extensions ?? [],
12
13
  logger: config?.logger ?? new NoOpLogger(),
13
14
  serviceId: config?.serviceId ?? "STS",
14
15
  urlParser: config?.urlParser ?? parseUrl,
@@ -0,0 +1,18 @@
1
+ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
2
+ import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
3
+ import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
4
+ const asPartial = (t) => t;
5
+ export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
6
+ const extensionConfiguration = {
7
+ ...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
8
+ ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
9
+ ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
10
+ };
11
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
12
+ return {
13
+ ...runtimeConfig,
14
+ ...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
15
+ ...resolveDefaultRuntimeConfig(extensionConfiguration),
16
+ ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
17
+ };
18
+ };