@cdklabs/cdk-construct-connect-datalake 0.0.6 → 0.0.8

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 (392) hide show
  1. package/.jsii +8 -8
  2. package/.jsii.tabl.json +1 -1
  3. package/lib/index.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/bdd.js +52 -0
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/endpointResolver.js +2 -2
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +9 -9
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-es/endpoint/bdd.js +49 -0
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-es/endpoint/endpointResolver.js +3 -3
  9. package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForChangeSetCreateComplete.js +2 -2
  10. package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForStackCreateComplete.js +2 -2
  11. package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForStackDeleteComplete.js +2 -2
  12. package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForStackExists.js +2 -2
  13. package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForStackImportComplete.js +2 -2
  14. package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForStackRefactorCreateComplete.js +1 -1
  15. package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForStackRefactorExecuteComplete.js +1 -1
  16. package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForStackRollbackComplete.js +2 -2
  17. package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForStackUpdateComplete.js +2 -2
  18. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +11 -10
  19. package/node_modules/@aws-sdk/client-cloudformation/dist-types/endpoint/bdd.d.ts +2 -0
  20. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormation.d.ts +13 -10
  21. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  22. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForChangeSetCreateComplete.d.ts +9 -3
  23. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForStackCreateComplete.d.ts +9 -3
  24. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForStackDeleteComplete.d.ts +11 -3
  25. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForStackExists.d.ts +9 -3
  26. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForStackImportComplete.d.ts +9 -3
  27. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForStackRefactorCreateComplete.d.ts +11 -3
  28. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForStackRefactorExecuteComplete.d.ts +11 -3
  29. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForStackRollbackComplete.d.ts +9 -3
  30. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForStackUpdateComplete.d.ts +9 -3
  31. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForTypeRegistrationComplete.d.ts +11 -3
  32. package/node_modules/@aws-sdk/client-cloudformation/dist-types/waiters/waitForChangeSetCreateComplete.d.ts +4 -3
  33. package/node_modules/@aws-sdk/client-cloudformation/dist-types/waiters/waitForStackCreateComplete.d.ts +4 -3
  34. package/node_modules/@aws-sdk/client-cloudformation/dist-types/waiters/waitForStackDeleteComplete.d.ts +4 -3
  35. package/node_modules/@aws-sdk/client-cloudformation/dist-types/waiters/waitForStackExists.d.ts +4 -3
  36. package/node_modules/@aws-sdk/client-cloudformation/dist-types/waiters/waitForStackImportComplete.d.ts +4 -3
  37. package/node_modules/@aws-sdk/client-cloudformation/dist-types/waiters/waitForStackRefactorCreateComplete.d.ts +4 -3
  38. package/node_modules/@aws-sdk/client-cloudformation/dist-types/waiters/waitForStackRefactorExecuteComplete.d.ts +4 -3
  39. package/node_modules/@aws-sdk/client-cloudformation/dist-types/waiters/waitForStackRollbackComplete.d.ts +4 -3
  40. package/node_modules/@aws-sdk/client-cloudformation/dist-types/waiters/waitForStackUpdateComplete.d.ts +4 -3
  41. package/node_modules/@aws-sdk/client-cloudformation/dist-types/waiters/waitForTypeRegistrationComplete.d.ts +4 -3
  42. package/node_modules/@aws-sdk/client-cloudformation/package.json +19 -19
  43. package/node_modules/@aws-sdk/client-connect/README.md +21 -0
  44. package/node_modules/@aws-sdk/client-connect/dist-cjs/endpoint/bdd.js +52 -0
  45. package/node_modules/@aws-sdk/client-connect/dist-cjs/endpoint/endpointResolver.js +2 -2
  46. package/node_modules/@aws-sdk/client-connect/dist-cjs/index.js +53 -0
  47. package/node_modules/@aws-sdk/client-connect/dist-cjs/schemas/schemas_0.js +130 -45
  48. package/node_modules/@aws-sdk/client-connect/dist-es/Connect.js +8 -0
  49. package/node_modules/@aws-sdk/client-connect/dist-es/commands/DescribeAttachedFilesConfigurationCommand.js +16 -0
  50. package/node_modules/@aws-sdk/client-connect/dist-es/commands/ListAttachedFilesConfigurationsCommand.js +16 -0
  51. package/node_modules/@aws-sdk/client-connect/dist-es/commands/UpdateAttachedFilesConfigurationCommand.js +16 -0
  52. package/node_modules/@aws-sdk/client-connect/dist-es/commands/index.js +3 -0
  53. package/node_modules/@aws-sdk/client-connect/dist-es/endpoint/bdd.js +49 -0
  54. package/node_modules/@aws-sdk/client-connect/dist-es/endpoint/endpointResolver.js +3 -3
  55. package/node_modules/@aws-sdk/client-connect/dist-es/models/enums.js +6 -0
  56. package/node_modules/@aws-sdk/client-connect/dist-es/pagination/ListAttachedFilesConfigurationsPaginator.js +4 -0
  57. package/node_modules/@aws-sdk/client-connect/dist-es/pagination/index.js +1 -0
  58. package/node_modules/@aws-sdk/client-connect/dist-es/schemas/schemas_0.js +99 -14
  59. package/node_modules/@aws-sdk/client-connect/dist-types/Connect.d.ts +28 -0
  60. package/node_modules/@aws-sdk/client-connect/dist-types/ConnectClient.d.ts +5 -2
  61. package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeAttachedFilesConfigurationCommand.d.ts +103 -0
  62. package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetPromptFileCommand.d.ts +1 -1
  63. package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetTaskTemplateCommand.d.ts +1 -1
  64. package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetTestCaseExecutionSummaryCommand.d.ts +1 -2
  65. package/node_modules/@aws-sdk/client-connect/dist-types/commands/ListAttachedFilesConfigurationsCommand.d.ts +106 -0
  66. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchQuickConnectsCommand.d.ts +1 -2
  67. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchResourceTagsCommand.d.ts +1 -1
  68. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateAttachedFilesConfigurationCommand.d.ts +109 -0
  69. package/node_modules/@aws-sdk/client-connect/dist-types/commands/index.d.ts +3 -0
  70. package/node_modules/@aws-sdk/client-connect/dist-types/endpoint/bdd.d.ts +2 -0
  71. package/node_modules/@aws-sdk/client-connect/dist-types/models/enums.d.ts +14 -0
  72. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_0.d.ts +11 -11
  73. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_1.d.ts +80 -155
  74. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_2.d.ts +218 -199
  75. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_3.d.ts +254 -3
  76. package/node_modules/@aws-sdk/client-connect/dist-types/pagination/ListAttachedFilesConfigurationsPaginator.d.ts +7 -0
  77. package/node_modules/@aws-sdk/client-connect/dist-types/pagination/index.d.ts +1 -0
  78. package/node_modules/@aws-sdk/client-connect/dist-types/schemas/schemas_0.d.ts +13 -0
  79. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/Connect.d.ts +64 -0
  80. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/ConnectClient.d.ts +18 -0
  81. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/DescribeAttachedFilesConfigurationCommand.d.ts +51 -0
  82. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetPromptFileCommand.d.ts +1 -1
  83. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetTaskTemplateCommand.d.ts +1 -1
  84. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetTestCaseExecutionSummaryCommand.d.ts +4 -2
  85. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/ListAttachedFilesConfigurationsCommand.d.ts +51 -0
  86. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchQuickConnectsCommand.d.ts +4 -2
  87. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchResourceTagsCommand.d.ts +1 -1
  88. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateAttachedFilesConfigurationCommand.d.ts +51 -0
  89. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/index.d.ts +3 -0
  90. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  91. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/enums.d.ts +8 -0
  92. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_0.d.ts +3 -3
  93. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_1.d.ts +23 -40
  94. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_2.d.ts +55 -37
  95. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_3.d.ts +52 -2
  96. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/pagination/ListAttachedFilesConfigurationsPaginator.d.ts +11 -0
  97. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/pagination/index.d.ts +1 -0
  98. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/schemas/schemas_0.d.ts +13 -0
  99. package/node_modules/@aws-sdk/client-connect/package.json +18 -18
  100. package/node_modules/@aws-sdk/client-glue/dist-cjs/endpoint/bdd.js +49 -0
  101. package/node_modules/@aws-sdk/client-glue/dist-cjs/endpoint/endpointResolver.js +2 -2
  102. package/node_modules/@aws-sdk/client-glue/dist-cjs/schemas/schemas_0.js +8 -8
  103. package/node_modules/@aws-sdk/client-glue/dist-es/endpoint/bdd.js +46 -0
  104. package/node_modules/@aws-sdk/client-glue/dist-es/endpoint/endpointResolver.js +3 -3
  105. package/node_modules/@aws-sdk/client-glue/dist-es/schemas/schemas_0.js +8 -8
  106. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetPartitionCommand.d.ts +7 -0
  107. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetPartitionsCommand.d.ts +7 -0
  108. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetTableVersionCommand.d.ts +7 -0
  109. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetTableVersionsCommand.d.ts +7 -0
  110. package/node_modules/@aws-sdk/client-glue/dist-types/endpoint/bdd.d.ts +2 -0
  111. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_2.d.ts +20 -0
  112. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  113. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_2.d.ts +4 -0
  114. package/node_modules/@aws-sdk/client-glue/package.json +18 -18
  115. package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/endpoint/bdd.js +49 -0
  116. package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/endpoint/endpointResolver.js +2 -2
  117. package/node_modules/@aws-sdk/client-lakeformation/dist-es/endpoint/bdd.js +46 -0
  118. package/node_modules/@aws-sdk/client-lakeformation/dist-es/endpoint/endpointResolver.js +3 -3
  119. package/node_modules/@aws-sdk/client-lakeformation/dist-types/endpoint/bdd.d.ts +2 -0
  120. package/node_modules/@aws-sdk/client-lakeformation/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  121. package/node_modules/@aws-sdk/client-lakeformation/package.json +19 -19
  122. package/node_modules/@aws-sdk/client-ram/dist-cjs/endpoint/bdd.js +52 -0
  123. package/node_modules/@aws-sdk/client-ram/dist-cjs/endpoint/endpointResolver.js +2 -2
  124. package/node_modules/@aws-sdk/client-ram/dist-es/endpoint/bdd.js +49 -0
  125. package/node_modules/@aws-sdk/client-ram/dist-es/endpoint/endpointResolver.js +3 -3
  126. package/node_modules/@aws-sdk/client-ram/dist-types/endpoint/bdd.d.ts +2 -0
  127. package/node_modules/@aws-sdk/client-ram/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  128. package/node_modules/@aws-sdk/client-ram/package.json +18 -18
  129. package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/bdd.js +88 -0
  130. package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js +2 -2
  131. package/node_modules/@aws-sdk/client-sts/dist-cjs/models/errors.js +1 -0
  132. package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/bdd.js +85 -0
  133. package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/endpointResolver.js +3 -3
  134. package/node_modules/@aws-sdk/client-sts/dist-es/models/errors.js +1 -0
  135. package/node_modules/@aws-sdk/client-sts/dist-types/endpoint/bdd.d.ts +2 -0
  136. package/node_modules/@aws-sdk/client-sts/dist-types/models/errors.d.ts +1 -0
  137. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  138. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/errors.d.ts +1 -0
  139. package/node_modules/@aws-sdk/client-sts/package.json +20 -20
  140. package/node_modules/@aws-sdk/core/dist-cjs/index.js +35 -17
  141. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +18 -6
  142. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +18 -11
  143. package/node_modules/@aws-sdk/core/dist-es/submodules/client/emitWarningIfUnsupportedVersion.js +15 -6
  144. package/node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js +2 -0
  145. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +6 -4
  146. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +6 -3
  147. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +2 -1
  148. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +2 -1
  149. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +0 -1
  150. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +4 -2
  151. package/node_modules/@aws-sdk/core/dist-types/submodules/client/emitWarningIfUnsupportedVersion.d.ts +1 -2
  152. package/node_modules/@aws-sdk/core/dist-types/submodules/client/setFeature.d.ts +1 -1
  153. package/node_modules/@aws-sdk/core/package.json +7 -5
  154. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  155. package/node_modules/@aws-sdk/credential-provider-http/package.json +5 -5
  156. package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  157. package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
  158. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  159. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  160. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  161. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  162. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +9 -25
  163. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/toStream.browser.js +11 -0
  164. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/toStream.js +7 -0
  165. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/throw-200-exceptions.js +9 -25
  166. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/toStream.browser.js +8 -0
  167. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/toStream.js +4 -0
  168. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/throw-200-exceptions.d.ts +2 -1
  169. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/toStream.browser.d.ts +4 -0
  170. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/toStream.d.ts +5 -0
  171. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/throw-200-exceptions.d.ts +2 -0
  172. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/toStream.browser.d.ts +1 -0
  173. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/toStream.d.ts +2 -0
  174. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +15 -8
  175. package/node_modules/@aws-sdk/middleware-user-agent/package.json +5 -5
  176. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/bdd.js +100 -0
  177. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/endpointResolver.js +2 -2
  178. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/bdd.js +90 -0
  179. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js +2 -2
  180. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/bdd.js +80 -0
  181. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js +2 -2
  182. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/bdd.js +80 -0
  183. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js +2 -2
  184. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +1 -0
  185. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +87 -5
  186. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/bdd.js +150 -0
  187. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js +2 -2
  188. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js +1 -0
  189. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +6 -0
  190. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +7 -0
  191. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/bdd.js +97 -0
  192. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/endpointResolver.js +3 -3
  193. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +87 -0
  194. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js +3 -3
  195. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js +77 -0
  196. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js +3 -3
  197. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js +77 -0
  198. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js +3 -3
  199. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +1 -0
  200. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +88 -4
  201. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js +147 -0
  202. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/endpointResolver.js +3 -3
  203. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js +1 -0
  204. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +7 -1
  205. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +8 -1
  206. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/bdd.d.ts +2 -0
  207. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/bdd.d.ts +2 -0
  208. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/bdd.d.ts +2 -0
  209. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/bdd.d.ts +2 -0
  210. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +15 -7
  211. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/bdd.d.ts +2 -0
  212. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +1 -0
  213. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +3 -2
  214. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +10 -4
  215. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +3 -2
  216. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +3 -1
  217. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/bdd.d.ts +2 -0
  218. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/bdd.d.ts +2 -0
  219. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/bdd.d.ts +2 -0
  220. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/bdd.d.ts +2 -0
  221. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +20 -9
  222. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/bdd.d.ts +2 -0
  223. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/errors.d.ts +1 -0
  224. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +11 -5
  225. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +35 -16
  226. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +11 -5
  227. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +8 -1
  228. package/node_modules/@aws-sdk/nested-clients/package.json +18 -17
  229. package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
  230. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
  231. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  232. package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
  233. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  234. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-external/nodable_entities.js +336 -0
  235. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +26 -2
  236. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-external/nodable_entities.js +332 -0
  237. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +26 -2
  238. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-external/nodable_entities.d.ts +66 -0
  239. package/node_modules/@aws-sdk/xml-builder/dist-types/xml-external/nodable_entities.d.ts +65 -0
  240. package/node_modules/@aws-sdk/xml-builder/package.json +3 -2
  241. package/node_modules/@nodable/entities/README.md +41 -0
  242. package/node_modules/@nodable/entities/package.json +54 -0
  243. package/node_modules/@nodable/entities/src/EntityDecoder.js +543 -0
  244. package/node_modules/@nodable/entities/src/EntityEncoder.js +194 -0
  245. package/node_modules/@nodable/entities/src/entities.js +1177 -0
  246. package/node_modules/@nodable/entities/src/entityTries.js +49 -0
  247. package/node_modules/@nodable/entities/src/index.d.ts +264 -0
  248. package/node_modules/@nodable/entities/src/index.js +29 -0
  249. package/node_modules/@smithy/core/package.json +2 -2
  250. package/node_modules/@smithy/middleware-endpoint/package.json +3 -3
  251. package/node_modules/@smithy/middleware-retry/package.json +5 -5
  252. package/node_modules/@smithy/middleware-serde/package.json +2 -2
  253. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +27 -16
  254. package/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +5 -0
  255. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +22 -16
  256. package/node_modules/@smithy/node-http-handler/dist-types/http2/ClientHttp2SessionRef.d.ts +4 -0
  257. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +2 -4
  258. package/node_modules/@smithy/node-http-handler/package.json +1 -1
  259. package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +1 -0
  260. package/node_modules/@smithy/service-error-classification/dist-es/index.js +1 -0
  261. package/node_modules/@smithy/service-error-classification/package.json +1 -1
  262. package/node_modules/@smithy/smithy-client/package.json +4 -4
  263. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  264. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  265. package/node_modules/@smithy/util-retry/dist-cjs/index.js +27 -13
  266. package/node_modules/@smithy/util-retry/dist-es/AdaptiveRetryStrategy.js +5 -2
  267. package/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js +2 -1
  268. package/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js +20 -10
  269. package/node_modules/@smithy/util-retry/dist-types/StandardRetryStrategy.d.ts +12 -4
  270. package/node_modules/@smithy/util-retry/package.json +3 -3
  271. package/node_modules/@smithy/util-stream/package.json +2 -2
  272. package/node_modules/@smithy/util-waiter/dist-cjs/index.js +59 -34
  273. package/node_modules/@smithy/util-waiter/dist-es/poller.js +61 -34
  274. package/node_modules/@smithy/util-waiter/dist-types/createWaiter.d.ts +1 -1
  275. package/node_modules/@smithy/util-waiter/dist-types/poller.d.ts +2 -1
  276. package/node_modules/@smithy/util-waiter/dist-types/waiter.d.ts +13 -13
  277. package/node_modules/@smithy/util-waiter/package.json +1 -1
  278. package/node_modules/fast-xml-builder/CHANGELOG.md +13 -0
  279. package/node_modules/fast-xml-builder/lib/fxb.cjs +1 -1
  280. package/node_modules/fast-xml-builder/lib/fxb.min.js +1 -1
  281. package/node_modules/fast-xml-builder/lib/fxb.min.js.map +1 -1
  282. package/node_modules/fast-xml-builder/package.json +1 -1
  283. package/node_modules/fast-xml-builder/src/fxb.js +7 -8
  284. package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +6 -7
  285. package/node_modules/fast-xml-builder/src/util.js +16 -0
  286. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/CHANGELOG.md +61 -0
  287. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/README.md +8 -28
  288. package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +2 -0
  289. package/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -0
  290. package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -0
  291. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxp.d.cts +172 -6
  292. package/node_modules/fast-xml-parser/lib/fxp.min.js +2 -0
  293. package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -0
  294. package/node_modules/fast-xml-parser/lib/fxparser.min.js +2 -0
  295. package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -0
  296. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/package.json +5 -4
  297. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/fxp.d.ts +162 -3
  298. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/DocTypeReader.js +2 -5
  299. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/OptionsBuilder.js +15 -11
  300. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/OrderedObjParser.js +174 -245
  301. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/XMLParser.js +2 -2
  302. package/package.json +9 -9
  303. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/ruleset.js +0 -7
  304. package/node_modules/@aws-sdk/client-cloudformation/dist-es/endpoint/ruleset.js +0 -4
  305. package/node_modules/@aws-sdk/client-cloudformation/dist-types/endpoint/ruleset.d.ts +0 -2
  306. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
  307. package/node_modules/@aws-sdk/client-connect/dist-cjs/endpoint/ruleset.js +0 -7
  308. package/node_modules/@aws-sdk/client-connect/dist-es/endpoint/ruleset.js +0 -4
  309. package/node_modules/@aws-sdk/client-connect/dist-types/endpoint/ruleset.d.ts +0 -2
  310. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
  311. package/node_modules/@aws-sdk/client-glue/dist-cjs/endpoint/ruleset.js +0 -7
  312. package/node_modules/@aws-sdk/client-glue/dist-es/endpoint/ruleset.js +0 -4
  313. package/node_modules/@aws-sdk/client-glue/dist-types/endpoint/ruleset.d.ts +0 -2
  314. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
  315. package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/endpoint/ruleset.js +0 -7
  316. package/node_modules/@aws-sdk/client-lakeformation/dist-es/endpoint/ruleset.js +0 -4
  317. package/node_modules/@aws-sdk/client-lakeformation/dist-types/endpoint/ruleset.d.ts +0 -2
  318. package/node_modules/@aws-sdk/client-lakeformation/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
  319. package/node_modules/@aws-sdk/client-ram/dist-cjs/endpoint/ruleset.js +0 -7
  320. package/node_modules/@aws-sdk/client-ram/dist-es/endpoint/ruleset.js +0 -4
  321. package/node_modules/@aws-sdk/client-ram/dist-types/endpoint/ruleset.d.ts +0 -2
  322. package/node_modules/@aws-sdk/client-ram/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
  323. package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js +0 -7
  324. package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/ruleset.js +0 -4
  325. package/node_modules/@aws-sdk/client-sts/dist-types/endpoint/ruleset.d.ts +0 -2
  326. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
  327. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/ruleset.js +0 -146
  328. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js +0 -133
  329. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js +0 -106
  330. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +0 -106
  331. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +0 -145
  332. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/ruleset.js +0 -143
  333. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/ruleset.js +0 -130
  334. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/ruleset.js +0 -103
  335. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js +0 -103
  336. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js +0 -142
  337. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/ruleset.d.ts +0 -2
  338. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/ruleset.d.ts +0 -2
  339. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/ruleset.d.ts +0 -2
  340. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/ruleset.d.ts +0 -2
  341. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/ruleset.d.ts +0 -2
  342. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/ruleset.d.ts +0 -2
  343. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/ruleset.d.ts +0 -2
  344. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/ruleset.d.ts +0 -2
  345. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/ruleset.d.ts +0 -2
  346. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/ruleset.d.ts +0 -2
  347. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js +0 -2
  348. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +0 -1
  349. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +0 -1
  350. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +0 -2
  351. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +0 -1
  352. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +0 -2
  353. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +0 -1
  354. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/pem.d.cts +0 -148
  355. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/pem.d.ts +0 -135
  356. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/LICENSE +0 -0
  357. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxvalidator.min.js +0 -0
  358. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxvalidator.min.js.map +0 -0
  359. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/cli/cli.js +0 -0
  360. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/cli/man.js +0 -0
  361. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/cli/read.js +0 -0
  362. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/fxp.js +0 -0
  363. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/ignoreAttributes.js +0 -0
  364. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/util.js +0 -0
  365. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/CharsSymbol.js +0 -0
  366. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/EntitiesParser.js +0 -0
  367. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OptionsBuilder.js +0 -0
  368. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/BaseOutputBuilder.js +0 -0
  369. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/JsArrBuilder.js +0 -0
  370. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/JsMinArrBuilder.js +0 -0
  371. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/JsObjBuilder.js +0 -0
  372. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/ParserOptionsBuilder.js +0 -0
  373. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/Report.js +0 -0
  374. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/TagPath.js +0 -0
  375. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/TagPathMatcher.js +0 -0
  376. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/XMLParser.js +0 -0
  377. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/Xml2JsParser.js +0 -0
  378. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/XmlPartReader.js +0 -0
  379. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/XmlSpecialTagsReader.js +0 -0
  380. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/inputSource/BufferSource.js +0 -0
  381. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/inputSource/StringSource.js +0 -0
  382. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/EntitiesParser.js +0 -0
  383. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/booleanParser.js +0 -0
  384. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/booleanParserExt.js +0 -0
  385. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/currency.js +0 -0
  386. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/join.js +0 -0
  387. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/number.js +0 -0
  388. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/trim.js +0 -0
  389. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/validator.js +0 -0
  390. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlbuilder/json2xml.js +0 -0
  391. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/node2json.js +0 -0
  392. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/xmlNode.js +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-sso",
3
- "version": "3.972.31",
3
+ "version": "3.972.38",
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",
@@ -26,9 +26,9 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/core": "^3.974.1",
30
- "@aws-sdk/nested-clients": "^3.996.21",
31
- "@aws-sdk/token-providers": "3.1032.0",
29
+ "@aws-sdk/core": "^3.974.8",
30
+ "@aws-sdk/nested-clients": "^3.997.6",
31
+ "@aws-sdk/token-providers": "3.1041.0",
32
32
  "@aws-sdk/types": "^3.973.8",
33
33
  "@smithy/property-provider": "^4.2.14",
34
34
  "@smithy/shared-ini-file-loader": "^4.4.9",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-web-identity",
3
- "version": "3.972.31",
3
+ "version": "3.972.38",
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",
@@ -34,8 +34,8 @@
34
34
  },
35
35
  "license": "Apache-2.0",
36
36
  "dependencies": {
37
- "@aws-sdk/core": "^3.974.1",
38
- "@aws-sdk/nested-clients": "^3.996.21",
37
+ "@aws-sdk/core": "^3.974.8",
38
+ "@aws-sdk/nested-clients": "^3.997.6",
39
39
  "@aws-sdk/types": "^3.973.8",
40
40
  "@smithy/property-provider": "^4.2.14",
41
41
  "@smithy/shared-ini-file-loader": "^4.4.9",
@@ -2,7 +2,7 @@
2
2
 
3
3
  var protocolHttp = require('@smithy/protocol-http');
4
4
  var smithyClient = require('@smithy/smithy-client');
5
- var utilStream = require('@smithy/util-stream');
5
+ var toStream = require('./toStream');
6
6
  var utilArnParser = require('@aws-sdk/util-arn-parser');
7
7
  var protocols = require('@aws-sdk/core/protocols');
8
8
  var schema = require('@smithy/core/schema');
@@ -419,45 +419,29 @@ const THROW_IF_EMPTY_BODY = {
419
419
  UploadPartCopyCommand: true,
420
420
  CompleteMultipartUploadCommand: true,
421
421
  };
422
- const MAX_BYTES_TO_INSPECT = 3000;
423
422
  const throw200ExceptionsMiddleware = (config) => (next, context) => async (args) => {
424
423
  const result = await next(args);
425
424
  const { response } = result;
426
425
  if (!protocolHttp.HttpResponse.isInstance(response)) {
427
426
  return result;
428
427
  }
429
- const { statusCode, body: sourceBody } = response;
428
+ const { statusCode, body } = response;
430
429
  if (statusCode < 200 || statusCode >= 300) {
431
430
  return result;
432
431
  }
433
- const isSplittableStream = typeof sourceBody?.stream === "function" ||
434
- typeof sourceBody?.pipe === "function" ||
435
- typeof sourceBody?.tee === "function";
436
- if (!isSplittableStream) {
437
- return result;
438
- }
439
- let bodyCopy = sourceBody;
440
- let body = sourceBody;
441
- if (sourceBody && typeof sourceBody === "object" && !(sourceBody instanceof Uint8Array)) {
442
- [bodyCopy, body] = await utilStream.splitStream(sourceBody);
443
- }
444
- response.body = body;
445
- const bodyBytes = await collectBody(bodyCopy, {
446
- streamCollector: async (stream) => {
447
- return utilStream.headStream(stream, MAX_BYTES_TO_INSPECT);
448
- },
449
- });
450
- if (typeof bodyCopy?.destroy === "function") {
451
- bodyCopy.destroy();
452
- }
453
- const bodyStringTail = config.utf8Encoder(bodyBytes.subarray(bodyBytes.length - 16));
432
+ const bodyBytes = await collectBody(body, config);
433
+ response.body = toStream.toStream(bodyBytes);
454
434
  if (bodyBytes.length === 0 && THROW_IF_EMPTY_BODY[context.commandName]) {
455
435
  const err = new Error("S3 aborted request");
436
+ err.$metadata = {
437
+ httpStatusCode: 503,
438
+ };
456
439
  err.name = "InternalError";
457
440
  throw err;
458
441
  }
442
+ const bodyStringTail = config.utf8Encoder(bodyBytes.subarray(bodyBytes.length - 16));
459
443
  if (bodyStringTail && bodyStringTail.endsWith("</Error>")) {
460
- response.statusCode = 400;
444
+ response.statusCode = 503;
461
445
  }
462
446
  return result;
463
447
  };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toStream = toStream;
4
+ function toStream(bytes) {
5
+ return new ReadableStream({
6
+ start(controller) {
7
+ controller.enqueue(bytes);
8
+ controller.close();
9
+ },
10
+ });
11
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toStream = toStream;
4
+ const node_stream_1 = require("node:stream");
5
+ function toStream(bytes) {
6
+ return node_stream_1.Readable.from(Buffer.from(bytes));
7
+ }
@@ -1,49 +1,33 @@
1
1
  import { HttpResponse } from "@smithy/protocol-http";
2
- import { headStream, splitStream } from "@smithy/util-stream";
2
+ import { toStream } from "./toStream";
3
3
  const THROW_IF_EMPTY_BODY = {
4
4
  CopyObjectCommand: true,
5
5
  UploadPartCopyCommand: true,
6
6
  CompleteMultipartUploadCommand: true,
7
7
  };
8
- const MAX_BYTES_TO_INSPECT = 3000;
9
8
  export const throw200ExceptionsMiddleware = (config) => (next, context) => async (args) => {
10
9
  const result = await next(args);
11
10
  const { response } = result;
12
11
  if (!HttpResponse.isInstance(response)) {
13
12
  return result;
14
13
  }
15
- const { statusCode, body: sourceBody } = response;
14
+ const { statusCode, body } = response;
16
15
  if (statusCode < 200 || statusCode >= 300) {
17
16
  return result;
18
17
  }
19
- const isSplittableStream = typeof sourceBody?.stream === "function" ||
20
- typeof sourceBody?.pipe === "function" ||
21
- typeof sourceBody?.tee === "function";
22
- if (!isSplittableStream) {
23
- return result;
24
- }
25
- let bodyCopy = sourceBody;
26
- let body = sourceBody;
27
- if (sourceBody && typeof sourceBody === "object" && !(sourceBody instanceof Uint8Array)) {
28
- [bodyCopy, body] = await splitStream(sourceBody);
29
- }
30
- response.body = body;
31
- const bodyBytes = await collectBody(bodyCopy, {
32
- streamCollector: async (stream) => {
33
- return headStream(stream, MAX_BYTES_TO_INSPECT);
34
- },
35
- });
36
- if (typeof bodyCopy?.destroy === "function") {
37
- bodyCopy.destroy();
38
- }
39
- const bodyStringTail = config.utf8Encoder(bodyBytes.subarray(bodyBytes.length - 16));
18
+ const bodyBytes = await collectBody(body, config);
19
+ response.body = toStream(bodyBytes);
40
20
  if (bodyBytes.length === 0 && THROW_IF_EMPTY_BODY[context.commandName]) {
41
21
  const err = new Error("S3 aborted request");
22
+ err.$metadata = {
23
+ httpStatusCode: 503,
24
+ };
42
25
  err.name = "InternalError";
43
26
  throw err;
44
27
  }
28
+ const bodyStringTail = config.utf8Encoder(bodyBytes.subarray(bodyBytes.length - 16));
45
29
  if (bodyStringTail && bodyStringTail.endsWith("</Error>")) {
46
- response.statusCode = 400;
30
+ response.statusCode = 503;
47
31
  }
48
32
  return result;
49
33
  };
@@ -0,0 +1,8 @@
1
+ export function toStream(bytes) {
2
+ return new ReadableStream({
3
+ start(controller) {
4
+ controller.enqueue(bytes);
5
+ controller.close();
6
+ },
7
+ });
8
+ }
@@ -0,0 +1,4 @@
1
+ import { Readable } from "node:stream";
2
+ export function toStream(bytes) {
3
+ return Readable.from(Buffer.from(bytes));
4
+ }
@@ -1,5 +1,6 @@
1
- import type { DeserializeMiddleware, Encoder, Pluggable, RelativeMiddlewareOptions } from "@smithy/types";
1
+ import type { DeserializeMiddleware, Encoder, Pluggable, RelativeMiddlewareOptions, StreamCollector } from "@smithy/types";
2
2
  type PreviouslyResolved = {
3
+ streamCollector: StreamCollector;
3
4
  utf8Encoder: Encoder;
4
5
  };
5
6
  /**
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @internal
3
+ */
4
+ export declare function toStream(bytes: Uint8Array): ReadableStream;
@@ -0,0 +1,5 @@
1
+ import { Readable } from "node:stream";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare function toStream(bytes: Uint8Array): Readable;
@@ -3,8 +3,10 @@ import {
3
3
  Encoder,
4
4
  Pluggable,
5
5
  RelativeMiddlewareOptions,
6
+ StreamCollector,
6
7
  } from "@smithy/types";
7
8
  type PreviouslyResolved = {
9
+ streamCollector: StreamCollector;
8
10
  utf8Encoder: Encoder;
9
11
  };
10
12
  export declare const throw200ExceptionsMiddleware: (
@@ -0,0 +1 @@
1
+ export declare function toStream(bytes: Uint8Array): ReadableStream;
@@ -0,0 +1,2 @@
1
+ import { Readable } from "node:stream";
2
+ export declare function toStream(bytes: Uint8Array): Readable;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-sdk-s3",
3
- "version": "3.972.30",
3
+ "version": "3.972.37",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-sdk-s3",
@@ -9,13 +9,13 @@
9
9
  "build:types": "tsc -p tsconfig.types.json",
10
10
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
11
11
  "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
12
- "test": "yarn g:vitest run",
13
12
  "test:types": "tsc -p tsconfig.test.json",
14
- "test:integration": "yarn g:vitest run -c vitest.config.integ.mts && yarn test:types",
15
- "test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts --mode development",
16
13
  "extract:docs": "api-extractor run --local",
14
+ "test": "yarn g:vitest run",
17
15
  "test:watch": "yarn g:vitest watch",
16
+ "test:integration": "yarn g:vitest run -c vitest.config.integ.mts && yarn test:types",
18
17
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts",
18
+ "test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts --mode development",
19
19
  "test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts"
20
20
  },
21
21
  "main": "./dist-cjs/index.js",
@@ -28,18 +28,18 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "^3.974.1",
31
+ "@aws-sdk/core": "^3.974.8",
32
32
  "@aws-sdk/types": "^3.973.8",
33
33
  "@aws-sdk/util-arn-parser": "^3.972.3",
34
- "@smithy/core": "^3.23.15",
34
+ "@smithy/core": "^3.23.17",
35
35
  "@smithy/node-config-provider": "^4.3.14",
36
36
  "@smithy/protocol-http": "^5.3.14",
37
37
  "@smithy/signature-v4": "^5.3.14",
38
- "@smithy/smithy-client": "^4.12.11",
38
+ "@smithy/smithy-client": "^4.12.13",
39
39
  "@smithy/types": "^4.14.1",
40
40
  "@smithy/util-config-provider": "^4.2.2",
41
41
  "@smithy/util-middleware": "^4.2.14",
42
- "@smithy/util-stream": "^4.5.23",
42
+ "@smithy/util-stream": "^4.5.25",
43
43
  "@smithy/util-utf8": "^4.2.2",
44
44
  "tslib": "^2.6.2"
45
45
  },
@@ -63,6 +63,13 @@
63
63
  "files": [
64
64
  "dist-*/**"
65
65
  ],
66
+ "browser": {
67
+ "./dist-es/toStream": "./dist-es/toStream.browser"
68
+ },
69
+ "react-native": {
70
+ "./dist-es/toStream": "./dist-es/toStream.browser",
71
+ "./dist-cjs/toStream": "./dist-cjs/toStream.browser"
72
+ },
66
73
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/middleware-sdk-s3",
67
74
  "repository": {
68
75
  "type": "git",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-user-agent",
3
- "version": "3.972.31",
3
+ "version": "3.972.38",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-user-agent",
@@ -25,13 +25,13 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@aws-sdk/core": "^3.974.1",
28
+ "@aws-sdk/core": "^3.974.8",
29
29
  "@aws-sdk/types": "^3.973.8",
30
- "@aws-sdk/util-endpoints": "^3.996.7",
31
- "@smithy/core": "^3.23.15",
30
+ "@aws-sdk/util-endpoints": "^3.996.8",
31
+ "@smithy/core": "^3.23.17",
32
32
  "@smithy/protocol-http": "^5.3.14",
33
33
  "@smithy/types": "^4.14.1",
34
- "@smithy/util-retry": "^4.3.2",
34
+ "@smithy/util-retry": "^4.3.6",
35
35
  "tslib": "^2.6.2"
36
36
  },
37
37
  "devDependencies": {
@@ -0,0 +1,100 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.bdd = void 0;
4
+ const util_endpoints_1 = require("@smithy/util-endpoints");
5
+ const m = "ref";
6
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = "stringEquals", h = { [m]: "Endpoint" }, i = { [m]: d }, j = { [m]: "Region" }, k = {}, l = [j];
7
+ const _data = {
8
+ conditions: [
9
+ [c, [h]],
10
+ [c, l],
11
+ ["aws.partition", l, d],
12
+ [e, [{ [m]: "UseFIPS" }, b]],
13
+ [e, [{ fn: f, argv: [i, "supportsFIPS"] }, b]],
14
+ [e, [{ [m]: "UseDualStack" }, b]],
15
+ [e, [{ fn: f, argv: [i, "supportsDualStack"] }, b]],
16
+ [g, [{ fn: f, argv: [i, "name"] }, "aws"]],
17
+ [g, [j, "us-east-1"]],
18
+ [g, [j, "us-east-2"]],
19
+ [g, [j, "us-west-1"]],
20
+ [g, [j, "us-west-2"]],
21
+ ],
22
+ results: [
23
+ [a],
24
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
25
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
26
+ [h, k],
27
+ ["https://cognito-identity-fips.us-east-1.amazonaws.com", k],
28
+ ["https://cognito-identity-fips.us-east-2.amazonaws.com", k],
29
+ ["https://cognito-identity-fips.us-west-1.amazonaws.com", k],
30
+ ["https://cognito-identity-fips.us-west-2.amazonaws.com", k],
31
+ ["https://cognito-identity-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
32
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
33
+ ["https://cognito-identity-fips.{Region}.{PartitionResult#dnsSuffix}", k],
34
+ [a, "FIPS is enabled but this partition does not support FIPS"],
35
+ ["https://cognito-identity.{Region}.amazonaws.com", k],
36
+ ["https://cognito-identity.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
37
+ [a, "DualStack is enabled but this partition does not support DualStack"],
38
+ ["https://cognito-identity.{Region}.{PartitionResult#dnsSuffix}", k],
39
+ [a, "Invalid Configuration: Missing Region"],
40
+ ],
41
+ };
42
+ const root = 2;
43
+ const r = 100_000_000;
44
+ const nodes = new Int32Array([
45
+ -1,
46
+ 1,
47
+ -1,
48
+ 0,
49
+ 17,
50
+ 3,
51
+ 1,
52
+ 4,
53
+ r + 16,
54
+ 2,
55
+ 5,
56
+ r + 16,
57
+ 3,
58
+ 9,
59
+ 6,
60
+ 5,
61
+ 7,
62
+ r + 15,
63
+ 6,
64
+ 8,
65
+ r + 14,
66
+ 7,
67
+ r + 12,
68
+ r + 13,
69
+ 4,
70
+ 11,
71
+ 10,
72
+ 5,
73
+ r + 9,
74
+ r + 11,
75
+ 5,
76
+ 12,
77
+ r + 10,
78
+ 6,
79
+ 13,
80
+ r + 9,
81
+ 8,
82
+ r + 4,
83
+ 14,
84
+ 9,
85
+ r + 5,
86
+ 15,
87
+ 10,
88
+ r + 6,
89
+ 16,
90
+ 11,
91
+ r + 7,
92
+ r + 8,
93
+ 3,
94
+ r + 1,
95
+ 18,
96
+ 5,
97
+ r + 2,
98
+ r + 3,
99
+ ]);
100
+ exports.bdd = util_endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
@@ -3,13 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultEndpointResolver = void 0;
4
4
  const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
5
  const util_endpoints_2 = require("@smithy/util-endpoints");
6
- const ruleset_1 = require("./ruleset");
6
+ const bdd_1 = require("./bdd");
7
7
  const cache = new util_endpoints_2.EndpointCache({
8
8
  size: 50,
9
9
  params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
10
10
  });
11
11
  const defaultEndpointResolver = (endpointParams, context = {}) => {
12
- return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
12
+ return cache.get(endpointParams, () => (0, util_endpoints_2.decideEndpoint)(bdd_1.bdd, {
13
13
  endpointParams: endpointParams,
14
14
  logger: context.logger,
15
15
  }));
@@ -0,0 +1,90 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.bdd = void 0;
4
+ const util_endpoints_1 = require("@smithy/util-endpoints");
5
+ const m = "ref";
6
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = "stringEquals", h = { [m]: "Endpoint" }, i = { [m]: d }, j = { fn: f, argv: [i, "name"] }, k = {}, l = [{ [m]: "Region" }];
7
+ const _data = {
8
+ conditions: [
9
+ [c, [h]],
10
+ [c, l],
11
+ ["aws.partition", l, d],
12
+ [e, [{ [m]: "UseFIPS" }, b]],
13
+ [e, [{ [m]: "UseDualStack" }, b]],
14
+ [e, [{ fn: f, argv: [i, "supportsDualStack"] }, b]],
15
+ [e, [{ fn: f, argv: [i, "supportsFIPS"] }, b]],
16
+ [g, [j, "aws"]],
17
+ [g, [j, "aws-cn"]],
18
+ [g, [j, "aws-us-gov"]],
19
+ ],
20
+ results: [
21
+ [a],
22
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
23
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
24
+ [h, k],
25
+ ["https://{Region}.signin.aws.amazon.com", k],
26
+ ["https://{Region}.signin.amazonaws.cn", k],
27
+ ["https://{Region}.signin.amazonaws-us-gov.com", k],
28
+ ["https://signin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
29
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
30
+ ["https://signin-fips.{Region}.{PartitionResult#dnsSuffix}", k],
31
+ [a, "FIPS is enabled but this partition does not support FIPS"],
32
+ ["https://signin.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
33
+ [a, "DualStack is enabled but this partition does not support DualStack"],
34
+ ["https://signin.{Region}.{PartitionResult#dnsSuffix}", k],
35
+ [a, "Invalid Configuration: Missing Region"],
36
+ ],
37
+ };
38
+ const root = 2;
39
+ const r = 100_000_000;
40
+ const nodes = new Int32Array([
41
+ -1,
42
+ 1,
43
+ -1,
44
+ 0,
45
+ 15,
46
+ 3,
47
+ 1,
48
+ 4,
49
+ r + 14,
50
+ 2,
51
+ 5,
52
+ r + 14,
53
+ 3,
54
+ 11,
55
+ 6,
56
+ 4,
57
+ 10,
58
+ 7,
59
+ 7,
60
+ r + 4,
61
+ 8,
62
+ 8,
63
+ r + 5,
64
+ 9,
65
+ 9,
66
+ r + 6,
67
+ r + 13,
68
+ 5,
69
+ r + 11,
70
+ r + 12,
71
+ 4,
72
+ 13,
73
+ 12,
74
+ 6,
75
+ r + 9,
76
+ r + 10,
77
+ 5,
78
+ 14,
79
+ r + 8,
80
+ 6,
81
+ r + 7,
82
+ r + 8,
83
+ 3,
84
+ r + 1,
85
+ 16,
86
+ 4,
87
+ r + 2,
88
+ r + 3,
89
+ ]);
90
+ exports.bdd = util_endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
@@ -3,13 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultEndpointResolver = void 0;
4
4
  const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
5
  const util_endpoints_2 = require("@smithy/util-endpoints");
6
- const ruleset_1 = require("./ruleset");
6
+ const bdd_1 = require("./bdd");
7
7
  const cache = new util_endpoints_2.EndpointCache({
8
8
  size: 50,
9
9
  params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
10
10
  });
11
11
  const defaultEndpointResolver = (endpointParams, context = {}) => {
12
- return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
12
+ return cache.get(endpointParams, () => (0, util_endpoints_2.decideEndpoint)(bdd_1.bdd, {
13
13
  endpointParams: endpointParams,
14
14
  logger: context.logger,
15
15
  }));
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.bdd = void 0;
4
+ const util_endpoints_1 = require("@smithy/util-endpoints");
5
+ const k = "ref";
6
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
7
+ const _data = {
8
+ conditions: [
9
+ [c, [g]],
10
+ [c, j],
11
+ ["aws.partition", j, d],
12
+ [e, [{ [k]: "UseFIPS" }, b]],
13
+ [e, [{ [k]: "UseDualStack" }, b]],
14
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
15
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]],
16
+ ["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws-us-gov"]],
17
+ ],
18
+ results: [
19
+ [a],
20
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
21
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
22
+ [g, i],
23
+ ["https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
24
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
25
+ ["https://portal.sso.{Region}.amazonaws.com", i],
26
+ ["https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}", i],
27
+ [a, "FIPS is enabled but this partition does not support FIPS"],
28
+ ["https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
29
+ [a, "DualStack is enabled but this partition does not support DualStack"],
30
+ ["https://portal.sso.{Region}.{PartitionResult#dnsSuffix}", i],
31
+ [a, "Invalid Configuration: Missing Region"],
32
+ ],
33
+ };
34
+ const root = 2;
35
+ const r = 100_000_000;
36
+ const nodes = new Int32Array([
37
+ -1,
38
+ 1,
39
+ -1,
40
+ 0,
41
+ 13,
42
+ 3,
43
+ 1,
44
+ 4,
45
+ r + 12,
46
+ 2,
47
+ 5,
48
+ r + 12,
49
+ 3,
50
+ 8,
51
+ 6,
52
+ 4,
53
+ 7,
54
+ r + 11,
55
+ 5,
56
+ r + 9,
57
+ r + 10,
58
+ 4,
59
+ 11,
60
+ 9,
61
+ 6,
62
+ 10,
63
+ r + 8,
64
+ 7,
65
+ r + 6,
66
+ r + 7,
67
+ 5,
68
+ 12,
69
+ r + 5,
70
+ 6,
71
+ r + 4,
72
+ r + 5,
73
+ 3,
74
+ r + 1,
75
+ 14,
76
+ 4,
77
+ r + 2,
78
+ r + 3,
79
+ ]);
80
+ exports.bdd = util_endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
@@ -3,13 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultEndpointResolver = void 0;
4
4
  const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
5
  const util_endpoints_2 = require("@smithy/util-endpoints");
6
- const ruleset_1 = require("./ruleset");
6
+ const bdd_1 = require("./bdd");
7
7
  const cache = new util_endpoints_2.EndpointCache({
8
8
  size: 50,
9
9
  params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
10
10
  });
11
11
  const defaultEndpointResolver = (endpointParams, context = {}) => {
12
- return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
12
+ return cache.get(endpointParams, () => (0, util_endpoints_2.decideEndpoint)(bdd_1.bdd, {
13
13
  endpointParams: endpointParams,
14
14
  logger: context.logger,
15
15
  }));