@alliander-opensource/aws-jwt-sts 0.3.5 → 0.3.6

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 (2557) hide show
  1. package/.jsii +4664 -126
  2. package/dist/index.d.ts +6 -0
  3. package/dist/index.js +12 -5
  4. package/dist/index.sign.d.ts +1 -1
  5. package/dist/index.sign.js +2 -2
  6. package/dist/test/index.test.js +27 -5
  7. package/dist/tsconfig.tsbuildinfo +1 -1
  8. package/node_modules/@aws/lambda-invoke-store/LICENSE +175 -0
  9. package/node_modules/@aws/lambda-invoke-store/README.md +198 -0
  10. package/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +119 -0
  11. package/node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js +117 -0
  12. package/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.benchmark.d.ts +1 -0
  13. package/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.d.ts +49 -0
  14. package/node_modules/@aws/lambda-invoke-store/package.json +55 -0
  15. package/node_modules/@aws-lambda-powertools/commons/README.md +7 -15
  16. package/node_modules/@aws-lambda-powertools/commons/lib/cjs/LRUCache.d.ts.map +1 -1
  17. package/node_modules/@aws-lambda-powertools/commons/lib/cjs/LRUCache.js +3 -2
  18. package/node_modules/@aws-lambda-powertools/commons/lib/cjs/Utility.d.ts +3 -3
  19. package/node_modules/@aws-lambda-powertools/commons/lib/cjs/Utility.js +3 -3
  20. package/node_modules/@aws-lambda-powertools/commons/lib/cjs/awsSdkUtils.d.ts.map +1 -1
  21. package/node_modules/@aws-lambda-powertools/commons/lib/cjs/awsSdkUtils.js +1 -0
  22. package/node_modules/@aws-lambda-powertools/commons/lib/cjs/constants.d.ts +2 -1
  23. package/node_modules/@aws-lambda-powertools/commons/lib/cjs/constants.d.ts.map +1 -1
  24. package/node_modules/@aws-lambda-powertools/commons/lib/cjs/constants.js +3 -1
  25. package/node_modules/@aws-lambda-powertools/commons/lib/cjs/deepMerge.d.ts +23 -0
  26. package/node_modules/@aws-lambda-powertools/commons/lib/cjs/deepMerge.d.ts.map +1 -0
  27. package/node_modules/@aws-lambda-powertools/commons/lib/cjs/deepMerge.js +130 -0
  28. package/node_modules/@aws-lambda-powertools/commons/lib/cjs/envUtils.d.ts +14 -6
  29. package/node_modules/@aws-lambda-powertools/commons/lib/cjs/envUtils.d.ts.map +1 -1
  30. package/node_modules/@aws-lambda-powertools/commons/lib/cjs/envUtils.js +28 -12
  31. package/node_modules/@aws-lambda-powertools/commons/lib/cjs/index.d.ts +5 -5
  32. package/node_modules/@aws-lambda-powertools/commons/lib/cjs/index.d.ts.map +1 -1
  33. package/node_modules/@aws-lambda-powertools/commons/lib/cjs/index.js +27 -21
  34. package/node_modules/@aws-lambda-powertools/commons/lib/cjs/typeUtils.d.ts +43 -11
  35. package/node_modules/@aws-lambda-powertools/commons/lib/cjs/typeUtils.d.ts.map +1 -1
  36. package/node_modules/@aws-lambda-powertools/commons/lib/cjs/typeUtils.js +59 -15
  37. package/node_modules/@aws-lambda-powertools/commons/lib/cjs/types/index.d.ts +6 -6
  38. package/node_modules/@aws-lambda-powertools/commons/lib/cjs/types/index.d.ts.map +1 -1
  39. package/node_modules/@aws-lambda-powertools/commons/lib/cjs/types/middy.d.ts +1 -1
  40. package/node_modules/@aws-lambda-powertools/commons/lib/cjs/types/middy.d.ts.map +1 -1
  41. package/node_modules/@aws-lambda-powertools/commons/lib/cjs/unmarshallDynamoDB.js +2 -2
  42. package/node_modules/@aws-lambda-powertools/commons/lib/cjs/version.d.ts +1 -1
  43. package/node_modules/@aws-lambda-powertools/commons/lib/cjs/version.js +1 -1
  44. package/node_modules/@aws-lambda-powertools/commons/lib/esm/LRUCache.d.ts.map +1 -1
  45. package/node_modules/@aws-lambda-powertools/commons/lib/esm/LRUCache.js +3 -2
  46. package/node_modules/@aws-lambda-powertools/commons/lib/esm/Utility.d.ts +3 -3
  47. package/node_modules/@aws-lambda-powertools/commons/lib/esm/Utility.js +3 -3
  48. package/node_modules/@aws-lambda-powertools/commons/lib/esm/awsSdkUtils.d.ts.map +1 -1
  49. package/node_modules/@aws-lambda-powertools/commons/lib/esm/awsSdkUtils.js +1 -0
  50. package/node_modules/@aws-lambda-powertools/commons/lib/esm/constants.d.ts +2 -1
  51. package/node_modules/@aws-lambda-powertools/commons/lib/esm/constants.d.ts.map +1 -1
  52. package/node_modules/@aws-lambda-powertools/commons/lib/esm/constants.js +2 -1
  53. package/node_modules/@aws-lambda-powertools/commons/lib/esm/deepMerge.d.ts +23 -0
  54. package/node_modules/@aws-lambda-powertools/commons/lib/esm/deepMerge.d.ts.map +1 -0
  55. package/node_modules/@aws-lambda-powertools/commons/lib/esm/deepMerge.js +127 -0
  56. package/node_modules/@aws-lambda-powertools/commons/lib/esm/envUtils.d.ts +14 -6
  57. package/node_modules/@aws-lambda-powertools/commons/lib/esm/envUtils.d.ts.map +1 -1
  58. package/node_modules/@aws-lambda-powertools/commons/lib/esm/envUtils.js +28 -13
  59. package/node_modules/@aws-lambda-powertools/commons/lib/esm/index.d.ts +5 -5
  60. package/node_modules/@aws-lambda-powertools/commons/lib/esm/index.d.ts.map +1 -1
  61. package/node_modules/@aws-lambda-powertools/commons/lib/esm/index.js +11 -7
  62. package/node_modules/@aws-lambda-powertools/commons/lib/esm/typeUtils.d.ts +43 -11
  63. package/node_modules/@aws-lambda-powertools/commons/lib/esm/typeUtils.d.ts.map +1 -1
  64. package/node_modules/@aws-lambda-powertools/commons/lib/esm/typeUtils.js +57 -15
  65. package/node_modules/@aws-lambda-powertools/commons/lib/esm/types/index.d.ts +6 -6
  66. package/node_modules/@aws-lambda-powertools/commons/lib/esm/types/index.d.ts.map +1 -1
  67. package/node_modules/@aws-lambda-powertools/commons/lib/esm/types/middy.d.ts +1 -1
  68. package/node_modules/@aws-lambda-powertools/commons/lib/esm/types/middy.d.ts.map +1 -1
  69. package/node_modules/@aws-lambda-powertools/commons/lib/esm/unmarshallDynamoDB.js +2 -2
  70. package/node_modules/@aws-lambda-powertools/commons/lib/esm/version.d.ts +1 -1
  71. package/node_modules/@aws-lambda-powertools/commons/lib/esm/version.js +1 -1
  72. package/node_modules/@aws-lambda-powertools/commons/package.json +12 -1
  73. package/node_modules/@aws-lambda-powertools/logger/README.md +6 -3
  74. package/node_modules/@aws-lambda-powertools/logger/lib/cjs/LogAttributesStore.d.ts +23 -0
  75. package/node_modules/@aws-lambda-powertools/logger/lib/cjs/LogAttributesStore.d.ts.map +1 -0
  76. package/node_modules/@aws-lambda-powertools/logger/lib/cjs/LogAttributesStore.js +134 -0
  77. package/node_modules/@aws-lambda-powertools/logger/lib/cjs/Logger.d.ts +8 -27
  78. package/node_modules/@aws-lambda-powertools/logger/lib/cjs/Logger.d.ts.map +1 -1
  79. package/node_modules/@aws-lambda-powertools/logger/lib/cjs/Logger.js +113 -138
  80. package/node_modules/@aws-lambda-powertools/logger/lib/cjs/formatter/LogFormatter.d.ts +1 -10
  81. package/node_modules/@aws-lambda-powertools/logger/lib/cjs/formatter/LogFormatter.d.ts.map +1 -1
  82. package/node_modules/@aws-lambda-powertools/logger/lib/cjs/formatter/LogFormatter.js +11 -20
  83. package/node_modules/@aws-lambda-powertools/logger/lib/cjs/formatter/LogItem.js +2 -5
  84. package/node_modules/@aws-lambda-powertools/logger/lib/cjs/formatter/PowertoolsLogFormatter.d.ts.map +1 -1
  85. package/node_modules/@aws-lambda-powertools/logger/lib/cjs/formatter/PowertoolsLogFormatter.js +2 -1
  86. package/node_modules/@aws-lambda-powertools/logger/lib/cjs/logBuffer.d.ts.map +1 -1
  87. package/node_modules/@aws-lambda-powertools/logger/lib/cjs/logBuffer.js +6 -2
  88. package/node_modules/@aws-lambda-powertools/logger/lib/cjs/middleware/middy.d.ts.map +1 -1
  89. package/node_modules/@aws-lambda-powertools/logger/lib/cjs/middleware/middy.js +7 -4
  90. package/node_modules/@aws-lambda-powertools/logger/lib/cjs/types/ConfigServiceInterface.d.ts +1 -1
  91. package/node_modules/@aws-lambda-powertools/logger/lib/cjs/types/Logger.d.ts +4 -3
  92. package/node_modules/@aws-lambda-powertools/logger/lib/cjs/types/Logger.d.ts.map +1 -1
  93. package/node_modules/@aws-lambda-powertools/logger/lib/cjs/types/formatters.d.ts +2 -12
  94. package/node_modules/@aws-lambda-powertools/logger/lib/cjs/types/formatters.d.ts.map +1 -1
  95. package/node_modules/@aws-lambda-powertools/logger/lib/cjs/types/logKeys.d.ts +10 -4
  96. package/node_modules/@aws-lambda-powertools/logger/lib/cjs/types/logKeys.d.ts.map +1 -1
  97. package/node_modules/@aws-lambda-powertools/logger/lib/esm/LogAttributesStore.d.ts +23 -0
  98. package/node_modules/@aws-lambda-powertools/logger/lib/esm/LogAttributesStore.d.ts.map +1 -0
  99. package/node_modules/@aws-lambda-powertools/logger/lib/esm/LogAttributesStore.js +131 -0
  100. package/node_modules/@aws-lambda-powertools/logger/lib/esm/Logger.d.ts +8 -27
  101. package/node_modules/@aws-lambda-powertools/logger/lib/esm/Logger.d.ts.map +1 -1
  102. package/node_modules/@aws-lambda-powertools/logger/lib/esm/Logger.js +114 -136
  103. package/node_modules/@aws-lambda-powertools/logger/lib/esm/formatter/LogFormatter.d.ts +1 -10
  104. package/node_modules/@aws-lambda-powertools/logger/lib/esm/formatter/LogFormatter.d.ts.map +1 -1
  105. package/node_modules/@aws-lambda-powertools/logger/lib/esm/formatter/LogFormatter.js +11 -20
  106. package/node_modules/@aws-lambda-powertools/logger/lib/esm/formatter/LogItem.js +2 -2
  107. package/node_modules/@aws-lambda-powertools/logger/lib/esm/formatter/PowertoolsLogFormatter.d.ts.map +1 -1
  108. package/node_modules/@aws-lambda-powertools/logger/lib/esm/formatter/PowertoolsLogFormatter.js +2 -1
  109. package/node_modules/@aws-lambda-powertools/logger/lib/esm/logBuffer.d.ts.map +1 -1
  110. package/node_modules/@aws-lambda-powertools/logger/lib/esm/logBuffer.js +6 -2
  111. package/node_modules/@aws-lambda-powertools/logger/lib/esm/middleware/middy.d.ts.map +1 -1
  112. package/node_modules/@aws-lambda-powertools/logger/lib/esm/middleware/middy.js +7 -4
  113. package/node_modules/@aws-lambda-powertools/logger/lib/esm/types/ConfigServiceInterface.d.ts +1 -1
  114. package/node_modules/@aws-lambda-powertools/logger/lib/esm/types/Logger.d.ts +4 -3
  115. package/node_modules/@aws-lambda-powertools/logger/lib/esm/types/Logger.d.ts.map +1 -1
  116. package/node_modules/@aws-lambda-powertools/logger/lib/esm/types/formatters.d.ts +2 -12
  117. package/node_modules/@aws-lambda-powertools/logger/lib/esm/types/formatters.d.ts.map +1 -1
  118. package/node_modules/@aws-lambda-powertools/logger/lib/esm/types/logKeys.d.ts +10 -4
  119. package/node_modules/@aws-lambda-powertools/logger/lib/esm/types/logKeys.d.ts.map +1 -1
  120. package/node_modules/@aws-lambda-powertools/logger/package.json +5 -5
  121. package/node_modules/@aws-sdk/client-kms/README.md +3 -60
  122. package/node_modules/@aws-sdk/client-kms/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
  123. package/node_modules/@aws-sdk/client-kms/dist-cjs/endpoint/ruleset.js +1 -1
  124. package/node_modules/@aws-sdk/client-kms/dist-cjs/index.js +3294 -4498
  125. package/node_modules/@aws-sdk/client-kms/dist-cjs/runtimeConfig.browser.js +3 -4
  126. package/node_modules/@aws-sdk/client-kms/dist-cjs/runtimeConfig.js +5 -8
  127. package/node_modules/@aws-sdk/client-kms/dist-cjs/runtimeConfig.shared.js +8 -0
  128. package/node_modules/@aws-sdk/client-kms/dist-es/KMS.js +19 -1
  129. package/node_modules/@aws-sdk/client-kms/dist-es/KMSClient.js +4 -2
  130. package/node_modules/@aws-sdk/client-kms/dist-es/auth/httpAuthSchemeProvider.js +3 -4
  131. package/node_modules/@aws-sdk/client-kms/dist-es/commands/CancelKeyDeletionCommand.js +3 -9
  132. package/node_modules/@aws-sdk/client-kms/dist-es/commands/ConnectCustomKeyStoreCommand.js +3 -9
  133. package/node_modules/@aws-sdk/client-kms/dist-es/commands/CreateAliasCommand.js +3 -9
  134. package/node_modules/@aws-sdk/client-kms/dist-es/commands/CreateCustomKeyStoreCommand.js +3 -10
  135. package/node_modules/@aws-sdk/client-kms/dist-es/commands/CreateGrantCommand.js +3 -9
  136. package/node_modules/@aws-sdk/client-kms/dist-es/commands/CreateKeyCommand.js +3 -9
  137. package/node_modules/@aws-sdk/client-kms/dist-es/commands/DecryptCommand.js +3 -10
  138. package/node_modules/@aws-sdk/client-kms/dist-es/commands/DeleteAliasCommand.js +3 -9
  139. package/node_modules/@aws-sdk/client-kms/dist-es/commands/DeleteCustomKeyStoreCommand.js +3 -9
  140. package/node_modules/@aws-sdk/client-kms/dist-es/commands/DeleteImportedKeyMaterialCommand.js +3 -9
  141. package/node_modules/@aws-sdk/client-kms/dist-es/commands/DeriveSharedSecretCommand.js +3 -10
  142. package/node_modules/@aws-sdk/client-kms/dist-es/commands/DescribeCustomKeyStoresCommand.js +3 -10
  143. package/node_modules/@aws-sdk/client-kms/dist-es/commands/DescribeKeyCommand.js +3 -9
  144. package/node_modules/@aws-sdk/client-kms/dist-es/commands/DisableKeyCommand.js +3 -9
  145. package/node_modules/@aws-sdk/client-kms/dist-es/commands/DisableKeyRotationCommand.js +3 -9
  146. package/node_modules/@aws-sdk/client-kms/dist-es/commands/DisconnectCustomKeyStoreCommand.js +3 -9
  147. package/node_modules/@aws-sdk/client-kms/dist-es/commands/EnableKeyCommand.js +3 -9
  148. package/node_modules/@aws-sdk/client-kms/dist-es/commands/EnableKeyRotationCommand.js +3 -9
  149. package/node_modules/@aws-sdk/client-kms/dist-es/commands/EncryptCommand.js +3 -10
  150. package/node_modules/@aws-sdk/client-kms/dist-es/commands/GenerateDataKeyCommand.js +3 -10
  151. package/node_modules/@aws-sdk/client-kms/dist-es/commands/GenerateDataKeyPairCommand.js +3 -10
  152. package/node_modules/@aws-sdk/client-kms/dist-es/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +3 -9
  153. package/node_modules/@aws-sdk/client-kms/dist-es/commands/GenerateDataKeyWithoutPlaintextCommand.js +3 -9
  154. package/node_modules/@aws-sdk/client-kms/dist-es/commands/GenerateMacCommand.js +3 -10
  155. package/node_modules/@aws-sdk/client-kms/dist-es/commands/GenerateRandomCommand.js +3 -10
  156. package/node_modules/@aws-sdk/client-kms/dist-es/commands/GetKeyPolicyCommand.js +3 -9
  157. package/node_modules/@aws-sdk/client-kms/dist-es/commands/GetKeyRotationStatusCommand.js +3 -9
  158. package/node_modules/@aws-sdk/client-kms/dist-es/commands/GetParametersForImportCommand.js +3 -10
  159. package/node_modules/@aws-sdk/client-kms/dist-es/commands/GetPublicKeyCommand.js +3 -9
  160. package/node_modules/@aws-sdk/client-kms/dist-es/commands/ImportKeyMaterialCommand.js +3 -9
  161. package/node_modules/@aws-sdk/client-kms/dist-es/commands/ListAliasesCommand.js +3 -9
  162. package/node_modules/@aws-sdk/client-kms/dist-es/commands/ListGrantsCommand.js +3 -9
  163. package/node_modules/@aws-sdk/client-kms/dist-es/commands/ListKeyPoliciesCommand.js +3 -9
  164. package/node_modules/@aws-sdk/client-kms/dist-es/commands/ListKeyRotationsCommand.js +3 -9
  165. package/node_modules/@aws-sdk/client-kms/dist-es/commands/ListKeysCommand.js +3 -9
  166. package/node_modules/@aws-sdk/client-kms/dist-es/commands/ListResourceTagsCommand.js +3 -9
  167. package/node_modules/@aws-sdk/client-kms/dist-es/commands/ListRetirableGrantsCommand.js +3 -9
  168. package/node_modules/@aws-sdk/client-kms/dist-es/commands/PutKeyPolicyCommand.js +3 -9
  169. package/node_modules/@aws-sdk/client-kms/dist-es/commands/ReEncryptCommand.js +3 -9
  170. package/node_modules/@aws-sdk/client-kms/dist-es/commands/ReplicateKeyCommand.js +3 -9
  171. package/node_modules/@aws-sdk/client-kms/dist-es/commands/RetireGrantCommand.js +3 -9
  172. package/node_modules/@aws-sdk/client-kms/dist-es/commands/RevokeGrantCommand.js +3 -9
  173. package/node_modules/@aws-sdk/client-kms/dist-es/commands/RotateKeyOnDemandCommand.js +3 -9
  174. package/node_modules/@aws-sdk/client-kms/dist-es/commands/ScheduleKeyDeletionCommand.js +3 -9
  175. package/node_modules/@aws-sdk/client-kms/dist-es/commands/SignCommand.js +3 -10
  176. package/node_modules/@aws-sdk/client-kms/dist-es/commands/TagResourceCommand.js +3 -9
  177. package/node_modules/@aws-sdk/client-kms/dist-es/commands/UntagResourceCommand.js +3 -9
  178. package/node_modules/@aws-sdk/client-kms/dist-es/commands/UpdateAliasCommand.js +3 -9
  179. package/node_modules/@aws-sdk/client-kms/dist-es/commands/UpdateCustomKeyStoreCommand.js +3 -10
  180. package/node_modules/@aws-sdk/client-kms/dist-es/commands/UpdateKeyDescriptionCommand.js +3 -9
  181. package/node_modules/@aws-sdk/client-kms/dist-es/commands/UpdatePrimaryRegionCommand.js +3 -9
  182. package/node_modules/@aws-sdk/client-kms/dist-es/commands/VerifyCommand.js +3 -10
  183. package/node_modules/@aws-sdk/client-kms/dist-es/commands/VerifyMacCommand.js +3 -10
  184. package/node_modules/@aws-sdk/client-kms/dist-es/endpoint/ruleset.js +1 -1
  185. package/node_modules/@aws-sdk/client-kms/dist-es/index.js +4 -1
  186. package/node_modules/@aws-sdk/client-kms/dist-es/models/enums.js +211 -0
  187. package/node_modules/@aws-sdk/client-kms/dist-es/models/errors.js +577 -0
  188. package/node_modules/@aws-sdk/client-kms/dist-es/models/models_0.js +1 -863
  189. package/node_modules/@aws-sdk/client-kms/dist-es/pagination/index.js +1 -1
  190. package/node_modules/@aws-sdk/client-kms/dist-es/runtimeConfig.browser.js +3 -4
  191. package/node_modules/@aws-sdk/client-kms/dist-es/runtimeConfig.js +6 -9
  192. package/node_modules/@aws-sdk/client-kms/dist-es/runtimeConfig.shared.js +8 -0
  193. package/node_modules/@aws-sdk/client-kms/dist-es/schemas/schemas_0.js +1379 -0
  194. package/node_modules/@aws-sdk/client-kms/dist-types/KMS.d.ts +59 -2
  195. package/node_modules/@aws-sdk/client-kms/dist-types/KMSClient.d.ts +12 -11
  196. package/node_modules/@aws-sdk/client-kms/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  197. package/node_modules/@aws-sdk/client-kms/dist-types/auth/httpAuthSchemeProvider.d.ts +3 -3
  198. package/node_modules/@aws-sdk/client-kms/dist-types/commands/CancelKeyDeletionCommand.d.ts +5 -3
  199. package/node_modules/@aws-sdk/client-kms/dist-types/commands/ConnectCustomKeyStoreCommand.d.ts +5 -3
  200. package/node_modules/@aws-sdk/client-kms/dist-types/commands/CreateAliasCommand.d.ts +5 -3
  201. package/node_modules/@aws-sdk/client-kms/dist-types/commands/CreateCustomKeyStoreCommand.d.ts +6 -3
  202. package/node_modules/@aws-sdk/client-kms/dist-types/commands/CreateGrantCommand.d.ts +5 -3
  203. package/node_modules/@aws-sdk/client-kms/dist-types/commands/CreateKeyCommand.d.ts +11 -8
  204. package/node_modules/@aws-sdk/client-kms/dist-types/commands/DecryptCommand.d.ts +11 -9
  205. package/node_modules/@aws-sdk/client-kms/dist-types/commands/DeleteAliasCommand.d.ts +5 -3
  206. package/node_modules/@aws-sdk/client-kms/dist-types/commands/DeleteCustomKeyStoreCommand.d.ts +5 -3
  207. package/node_modules/@aws-sdk/client-kms/dist-types/commands/DeleteImportedKeyMaterialCommand.d.ts +19 -3
  208. package/node_modules/@aws-sdk/client-kms/dist-types/commands/DeriveSharedSecretCommand.d.ts +10 -8
  209. package/node_modules/@aws-sdk/client-kms/dist-types/commands/DescribeCustomKeyStoresCommand.d.ts +6 -3
  210. package/node_modules/@aws-sdk/client-kms/dist-types/commands/DescribeKeyCommand.d.ts +10 -8
  211. package/node_modules/@aws-sdk/client-kms/dist-types/commands/DisableKeyCommand.d.ts +5 -3
  212. package/node_modules/@aws-sdk/client-kms/dist-types/commands/DisableKeyRotationCommand.d.ts +7 -5
  213. package/node_modules/@aws-sdk/client-kms/dist-types/commands/DisconnectCustomKeyStoreCommand.d.ts +5 -3
  214. package/node_modules/@aws-sdk/client-kms/dist-types/commands/EnableKeyCommand.d.ts +5 -3
  215. package/node_modules/@aws-sdk/client-kms/dist-types/commands/EnableKeyRotationCommand.d.ts +8 -6
  216. package/node_modules/@aws-sdk/client-kms/dist-types/commands/EncryptCommand.d.ts +5 -3
  217. package/node_modules/@aws-sdk/client-kms/dist-types/commands/GenerateDataKeyCommand.d.ts +11 -9
  218. package/node_modules/@aws-sdk/client-kms/dist-types/commands/GenerateDataKeyPairCommand.d.ts +14 -12
  219. package/node_modules/@aws-sdk/client-kms/dist-types/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +7 -5
  220. package/node_modules/@aws-sdk/client-kms/dist-types/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +5 -3
  221. package/node_modules/@aws-sdk/client-kms/dist-types/commands/GenerateMacCommand.d.ts +5 -3
  222. package/node_modules/@aws-sdk/client-kms/dist-types/commands/GenerateRandomCommand.d.ts +10 -8
  223. package/node_modules/@aws-sdk/client-kms/dist-types/commands/GetKeyPolicyCommand.d.ts +5 -3
  224. package/node_modules/@aws-sdk/client-kms/dist-types/commands/GetKeyRotationStatusCommand.d.ts +6 -4
  225. package/node_modules/@aws-sdk/client-kms/dist-types/commands/GetParametersForImportCommand.d.ts +5 -3
  226. package/node_modules/@aws-sdk/client-kms/dist-types/commands/GetPublicKeyCommand.d.ts +7 -5
  227. package/node_modules/@aws-sdk/client-kms/dist-types/commands/ImportKeyMaterialCommand.d.ts +35 -15
  228. package/node_modules/@aws-sdk/client-kms/dist-types/commands/ListAliasesCommand.d.ts +5 -3
  229. package/node_modules/@aws-sdk/client-kms/dist-types/commands/ListGrantsCommand.d.ts +5 -3
  230. package/node_modules/@aws-sdk/client-kms/dist-types/commands/ListKeyPoliciesCommand.d.ts +5 -3
  231. package/node_modules/@aws-sdk/client-kms/dist-types/commands/ListKeyRotationsCommand.d.ts +6 -4
  232. package/node_modules/@aws-sdk/client-kms/dist-types/commands/ListKeysCommand.d.ts +5 -3
  233. package/node_modules/@aws-sdk/client-kms/dist-types/commands/ListResourceTagsCommand.d.ts +5 -3
  234. package/node_modules/@aws-sdk/client-kms/dist-types/commands/ListRetirableGrantsCommand.d.ts +5 -3
  235. package/node_modules/@aws-sdk/client-kms/dist-types/commands/PutKeyPolicyCommand.d.ts +5 -3
  236. package/node_modules/@aws-sdk/client-kms/dist-types/commands/ReEncryptCommand.d.ts +5 -3
  237. package/node_modules/@aws-sdk/client-kms/dist-types/commands/ReplicateKeyCommand.d.ts +7 -5
  238. package/node_modules/@aws-sdk/client-kms/dist-types/commands/RetireGrantCommand.d.ts +5 -3
  239. package/node_modules/@aws-sdk/client-kms/dist-types/commands/RevokeGrantCommand.d.ts +5 -3
  240. package/node_modules/@aws-sdk/client-kms/dist-types/commands/RotateKeyOnDemandCommand.d.ts +13 -12
  241. package/node_modules/@aws-sdk/client-kms/dist-types/commands/ScheduleKeyDeletionCommand.d.ts +5 -3
  242. package/node_modules/@aws-sdk/client-kms/dist-types/commands/SignCommand.d.ts +7 -5
  243. package/node_modules/@aws-sdk/client-kms/dist-types/commands/TagResourceCommand.d.ts +8 -7
  244. package/node_modules/@aws-sdk/client-kms/dist-types/commands/UntagResourceCommand.d.ts +7 -5
  245. package/node_modules/@aws-sdk/client-kms/dist-types/commands/UpdateAliasCommand.d.ts +5 -3
  246. package/node_modules/@aws-sdk/client-kms/dist-types/commands/UpdateCustomKeyStoreCommand.d.ts +6 -3
  247. package/node_modules/@aws-sdk/client-kms/dist-types/commands/UpdateKeyDescriptionCommand.d.ts +5 -3
  248. package/node_modules/@aws-sdk/client-kms/dist-types/commands/UpdatePrimaryRegionCommand.d.ts +5 -3
  249. package/node_modules/@aws-sdk/client-kms/dist-types/commands/VerifyCommand.d.ts +7 -5
  250. package/node_modules/@aws-sdk/client-kms/dist-types/commands/VerifyMacCommand.d.ts +5 -3
  251. package/node_modules/@aws-sdk/client-kms/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  252. package/node_modules/@aws-sdk/client-kms/dist-types/endpoint/endpointResolver.d.ts +5 -2
  253. package/node_modules/@aws-sdk/client-kms/dist-types/extensionConfiguration.d.ts +4 -4
  254. package/node_modules/@aws-sdk/client-kms/dist-types/index.d.ts +6 -2
  255. package/node_modules/@aws-sdk/client-kms/dist-types/models/KMSServiceException.d.ts +1 -1
  256. package/node_modules/@aws-sdk/client-kms/dist-types/models/enums.d.ts +435 -0
  257. package/node_modules/@aws-sdk/client-kms/dist-types/models/errors.d.ts +769 -0
  258. package/node_modules/@aws-sdk/client-kms/dist-types/models/models_0.d.ts +196 -1381
  259. package/node_modules/@aws-sdk/client-kms/dist-types/pagination/DescribeCustomKeyStoresPaginator.d.ts +1 -1
  260. package/node_modules/@aws-sdk/client-kms/dist-types/pagination/Interfaces.d.ts +1 -1
  261. package/node_modules/@aws-sdk/client-kms/dist-types/pagination/ListAliasesPaginator.d.ts +1 -1
  262. package/node_modules/@aws-sdk/client-kms/dist-types/pagination/ListGrantsPaginator.d.ts +1 -1
  263. package/node_modules/@aws-sdk/client-kms/dist-types/pagination/ListKeyPoliciesPaginator.d.ts +1 -1
  264. package/node_modules/@aws-sdk/client-kms/dist-types/pagination/ListKeyRotationsPaginator.d.ts +1 -1
  265. package/node_modules/@aws-sdk/client-kms/dist-types/pagination/ListKeysPaginator.d.ts +1 -1
  266. package/node_modules/@aws-sdk/client-kms/dist-types/pagination/ListResourceTagsPaginator.d.ts +1 -1
  267. package/node_modules/@aws-sdk/client-kms/dist-types/pagination/ListRetirableGrantsPaginator.d.ts +1 -1
  268. package/node_modules/@aws-sdk/client-kms/dist-types/pagination/index.d.ts +1 -1
  269. package/node_modules/@aws-sdk/client-kms/dist-types/runtimeConfig.browser.d.ts +7 -2
  270. package/node_modules/@aws-sdk/client-kms/dist-types/runtimeConfig.d.ts +8 -3
  271. package/node_modules/@aws-sdk/client-kms/dist-types/runtimeConfig.native.d.ts +7 -2
  272. package/node_modules/@aws-sdk/client-kms/dist-types/runtimeConfig.shared.d.ts +7 -1
  273. package/node_modules/@aws-sdk/client-kms/dist-types/runtimeExtensions.d.ts +1 -1
  274. package/node_modules/@aws-sdk/client-kms/dist-types/schemas/schemas_0.d.ts +208 -0
  275. package/node_modules/@aws-sdk/client-kms/dist-types/ts3.4/KMS.d.ts +61 -1
  276. package/node_modules/@aws-sdk/client-kms/dist-types/ts3.4/KMSClient.d.ts +3 -3
  277. package/node_modules/@aws-sdk/client-kms/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  278. package/node_modules/@aws-sdk/client-kms/dist-types/ts3.4/index.d.ts +4 -1
  279. package/node_modules/@aws-sdk/client-kms/dist-types/ts3.4/models/KMSServiceException.d.ts +1 -1
  280. package/node_modules/@aws-sdk/client-kms/dist-types/ts3.4/models/enums.d.ts +257 -0
  281. package/node_modules/@aws-sdk/client-kms/dist-types/ts3.4/models/errors.d.ts +381 -0
  282. package/node_modules/@aws-sdk/client-kms/dist-types/ts3.4/models/models_0.d.ts +33 -682
  283. package/node_modules/@aws-sdk/client-kms/dist-types/ts3.4/pagination/index.d.ts +1 -1
  284. package/node_modules/@aws-sdk/client-kms/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -1
  285. package/node_modules/@aws-sdk/client-kms/dist-types/ts3.4/runtimeConfig.d.ts +10 -4
  286. package/node_modules/@aws-sdk/client-kms/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -1
  287. package/node_modules/@aws-sdk/client-kms/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -0
  288. package/node_modules/@aws-sdk/client-kms/dist-types/ts3.4/schemas/schemas_0.d.ts +212 -0
  289. package/node_modules/@aws-sdk/client-kms/package.json +48 -45
  290. package/node_modules/@aws-sdk/client-s3/README.md +51 -98
  291. package/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +8 -9
  292. package/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +3 -3
  293. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +6893 -11519
  294. package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.browser.js +3 -4
  295. package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +7 -12
  296. package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +8 -0
  297. package/node_modules/@aws-sdk/client-s3/dist-es/S3.js +37 -1
  298. package/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js +4 -2
  299. package/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js +8 -9
  300. package/node_modules/@aws-sdk/client-s3/dist-es/commands/AbortMultipartUploadCommand.js +2 -6
  301. package/node_modules/@aws-sdk/client-s3/dist-es/commands/CompleteMultipartUploadCommand.js +2 -7
  302. package/node_modules/@aws-sdk/client-s3/dist-es/commands/CopyObjectCommand.js +2 -7
  303. package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketCommand.js +2 -6
  304. package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketMetadataConfigurationCommand.js +27 -0
  305. package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketMetadataTableConfigurationCommand.js +3 -7
  306. package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateMultipartUploadCommand.js +2 -7
  307. package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js +2 -7
  308. package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +3 -9
  309. package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCommand.js +3 -9
  310. package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCorsCommand.js +3 -9
  311. package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketEncryptionCommand.js +3 -9
  312. package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +3 -9
  313. package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +3 -9
  314. package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketLifecycleCommand.js +3 -9
  315. package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetadataConfigurationCommand.js +20 -0
  316. package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetadataTableConfigurationCommand.js +3 -9
  317. package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +3 -9
  318. package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +3 -9
  319. package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketPolicyCommand.js +3 -9
  320. package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketReplicationCommand.js +3 -9
  321. package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketTaggingCommand.js +3 -9
  322. package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketWebsiteCommand.js +3 -9
  323. package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js +2 -6
  324. package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectTaggingCommand.js +2 -6
  325. package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +3 -7
  326. package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeletePublicAccessBlockCommand.js +3 -9
  327. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAbacCommand.js +23 -0
  328. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +2 -6
  329. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAclCommand.js +2 -6
  330. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +2 -6
  331. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketCorsCommand.js +2 -6
  332. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketEncryptionCommand.js +2 -7
  333. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +2 -6
  334. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketInventoryConfigurationCommand.js +2 -7
  335. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +2 -6
  336. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLocationCommand.js +2 -6
  337. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLoggingCommand.js +2 -6
  338. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataConfigurationCommand.js +24 -0
  339. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataTableConfigurationCommand.js +2 -6
  340. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetricsConfigurationCommand.js +2 -6
  341. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketNotificationConfigurationCommand.js +2 -6
  342. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketOwnershipControlsCommand.js +2 -6
  343. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyCommand.js +2 -6
  344. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyStatusCommand.js +2 -6
  345. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketReplicationCommand.js +2 -6
  346. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketRequestPaymentCommand.js +2 -6
  347. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketTaggingCommand.js +2 -6
  348. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketVersioningCommand.js +2 -6
  349. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketWebsiteCommand.js +2 -6
  350. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAclCommand.js +2 -6
  351. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAttributesCommand.js +2 -7
  352. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +4 -9
  353. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLegalHoldCommand.js +2 -6
  354. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLockConfigurationCommand.js +2 -6
  355. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectRetentionCommand.js +2 -6
  356. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTaggingCommand.js +2 -6
  357. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTorrentCommand.js +3 -10
  358. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetPublicAccessBlockCommand.js +2 -6
  359. package/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadBucketCommand.js +2 -6
  360. package/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadObjectCommand.js +2 -7
  361. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +2 -6
  362. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +2 -6
  363. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +2 -7
  364. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +2 -6
  365. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketsCommand.js +2 -6
  366. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListDirectoryBucketsCommand.js +2 -6
  367. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListMultipartUploadsCommand.js +2 -6
  368. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectVersionsCommand.js +2 -6
  369. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsCommand.js +2 -6
  370. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsV2Command.js +2 -6
  371. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js +2 -7
  372. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAbacCommand.js +26 -0
  373. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +3 -7
  374. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js +3 -7
  375. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +3 -9
  376. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js +3 -7
  377. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js +3 -8
  378. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +3 -9
  379. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketInventoryConfigurationCommand.js +3 -10
  380. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +3 -7
  381. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js +3 -7
  382. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketMetricsConfigurationCommand.js +3 -9
  383. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketNotificationConfigurationCommand.js +3 -9
  384. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +3 -7
  385. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js +3 -7
  386. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js +3 -7
  387. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js +3 -7
  388. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js +3 -7
  389. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js +3 -7
  390. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js +3 -7
  391. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +3 -7
  392. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +3 -8
  393. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +3 -7
  394. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +3 -7
  395. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +3 -7
  396. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +3 -7
  397. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js +3 -7
  398. package/node_modules/@aws-sdk/client-s3/dist-es/commands/RenameObjectCommand.js +2 -6
  399. package/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +3 -8
  400. package/node_modules/@aws-sdk/client-s3/dist-es/commands/SelectObjectContentCommand.js +2 -7
  401. package/node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.js +27 -0
  402. package/node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateBucketMetadataJournalTableConfigurationCommand.js +27 -0
  403. package/node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateObjectEncryptionCommand.js +28 -0
  404. package/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +3 -8
  405. package/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCopyCommand.js +2 -7
  406. package/node_modules/@aws-sdk/client-s3/dist-es/commands/WriteGetObjectResponseCommand.js +3 -10
  407. package/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +8 -0
  408. package/node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js +2 -0
  409. package/node_modules/@aws-sdk/client-s3/dist-es/endpoint/ruleset.js +3 -3
  410. package/node_modules/@aws-sdk/client-s3/dist-es/index.js +5 -1
  411. package/node_modules/@aws-sdk/client-s3/dist-es/models/enums.js +399 -0
  412. package/node_modules/@aws-sdk/client-s3/dist-es/models/errors.js +185 -0
  413. package/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +1 -595
  414. package/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +1 -210
  415. package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.browser.js +3 -4
  416. package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +8 -13
  417. package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +8 -0
  418. package/node_modules/@aws-sdk/client-s3/dist-es/schemas/schemas_0.js +3238 -0
  419. package/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketExists.js +1 -1
  420. package/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketNotExists.js +1 -1
  421. package/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectExists.js +1 -1
  422. package/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectNotExists.js +1 -1
  423. package/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +110 -1
  424. package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +22 -14
  425. package/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  426. package/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
  427. package/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +25 -25
  428. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +54 -60
  429. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +111 -118
  430. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +86 -101
  431. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataConfigurationCommand.d.ts +187 -0
  432. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +33 -15
  433. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +100 -123
  434. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +53 -53
  435. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +15 -12
  436. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +18 -15
  437. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +12 -8
  438. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +24 -21
  439. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +8 -3
  440. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +12 -9
  441. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +31 -31
  442. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataConfigurationCommand.d.ts +119 -0
  443. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +34 -11
  444. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +17 -15
  445. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +13 -9
  446. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +28 -26
  447. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +13 -10
  448. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +12 -7
  449. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +17 -13
  450. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +53 -26
  451. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +15 -10
  452. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +50 -47
  453. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +16 -9
  454. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAbacCommand.d.ts +77 -0
  455. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +22 -20
  456. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +18 -22
  457. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +16 -14
  458. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +12 -9
  459. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +29 -22
  460. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +8 -3
  461. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +15 -12
  462. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +36 -40
  463. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +26 -11
  464. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +11 -13
  465. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataConfigurationCommand.d.ts +151 -0
  466. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +33 -11
  467. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +18 -14
  468. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +15 -11
  469. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +17 -11
  470. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +33 -33
  471. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +13 -9
  472. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +20 -16
  473. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +10 -6
  474. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +12 -7
  475. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +11 -6
  476. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +14 -10
  477. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +17 -14
  478. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +64 -74
  479. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +75 -85
  480. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +9 -5
  481. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +11 -6
  482. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +9 -5
  483. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +16 -13
  484. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +12 -8
  485. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +23 -15
  486. package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +45 -38
  487. package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +59 -66
  488. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +22 -20
  489. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +8 -3
  490. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +21 -19
  491. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +23 -21
  492. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +20 -20
  493. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +18 -12
  494. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +50 -60
  495. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +15 -19
  496. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +17 -18
  497. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +36 -34
  498. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +30 -35
  499. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAbacCommand.d.ts +78 -0
  500. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +21 -20
  501. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +61 -70
  502. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +30 -27
  503. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +31 -30
  504. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +53 -51
  505. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +19 -15
  506. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +42 -41
  507. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +61 -65
  508. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +37 -42
  509. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +20 -17
  510. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +37 -38
  511. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +12 -9
  512. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +32 -32
  513. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +40 -42
  514. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +12 -8
  515. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +30 -31
  516. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +28 -26
  517. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +27 -21
  518. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +67 -65
  519. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +87 -85
  520. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +9 -6
  521. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +18 -14
  522. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +12 -7
  523. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +26 -27
  524. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +20 -15
  525. package/node_modules/@aws-sdk/client-s3/dist-types/commands/RenameObjectCommand.d.ts +42 -43
  526. package/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +86 -89
  527. package/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +58 -62
  528. package/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +166 -0
  529. package/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +118 -0
  530. package/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateObjectEncryptionCommand.d.ts +259 -0
  531. package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +75 -77
  532. package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +91 -99
  533. package/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +37 -36
  534. package/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +8 -0
  535. package/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts +16 -1
  536. package/node_modules/@aws-sdk/client-s3/dist-types/endpoint/endpointResolver.d.ts +5 -2
  537. package/node_modules/@aws-sdk/client-s3/dist-types/extensionConfiguration.d.ts +4 -4
  538. package/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +5 -1
  539. package/node_modules/@aws-sdk/client-s3/dist-types/models/S3ServiceException.d.ts +1 -1
  540. package/node_modules/@aws-sdk/client-s3/dist-types/models/enums.d.ts +975 -0
  541. package/node_modules/@aws-sdk/client-s3/dist-types/models/errors.d.ts +208 -0
  542. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +5432 -3703
  543. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +611 -2914
  544. package/node_modules/@aws-sdk/client-s3/dist-types/pagination/Interfaces.d.ts +1 -1
  545. package/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListBucketsPaginator.d.ts +1 -1
  546. package/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListDirectoryBucketsPaginator.d.ts +1 -1
  547. package/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListObjectsV2Paginator.d.ts +1 -1
  548. package/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListPartsPaginator.d.ts +1 -1
  549. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +12 -3
  550. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +13 -4
  551. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +12 -3
  552. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +9 -2
  553. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeExtensions.d.ts +1 -1
  554. package/node_modules/@aws-sdk/client-s3/dist-types/schemas/schemas_0.d.ts +457 -0
  555. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +231 -1
  556. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +54 -6
  557. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  558. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -3
  559. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketMetadataConfigurationCommand.d.ts +47 -0
  560. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetadataConfigurationCommand.d.ts +47 -0
  561. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAbacCommand.d.ts +47 -0
  562. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetadataConfigurationCommand.d.ts +51 -0
  563. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectCommand.d.ts +1 -1
  564. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +1 -1
  565. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAbacCommand.d.ts +45 -0
  566. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +1 -1
  567. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +1 -1
  568. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
  569. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
  570. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +1 -1
  571. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +1 -1
  572. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +1 -1
  573. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +1 -1
  574. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +1 -1
  575. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +1 -1
  576. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +1 -1
  577. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +1 -1
  578. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +1 -1
  579. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +1 -1
  580. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +1 -1
  581. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +1 -1
  582. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectCommand.d.ts +1 -1
  583. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +1 -1
  584. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +1 -1
  585. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +1 -1
  586. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +1 -1
  587. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +1 -1
  588. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RenameObjectCommand.d.ts +1 -1
  589. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +2 -1
  590. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +47 -0
  591. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +47 -0
  592. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateObjectEncryptionCommand.d.ts +51 -0
  593. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +8 -0
  594. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +6 -0
  595. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/index.d.ts +5 -1
  596. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/S3ServiceException.d.ts +1 -1
  597. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/enums.d.ts +523 -0
  598. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/errors.d.ts +92 -0
  599. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +505 -574
  600. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +70 -495
  601. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +17 -4
  602. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +18 -7
  603. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +17 -4
  604. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -3
  605. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/schemas/schemas_0.d.ts +462 -0
  606. package/node_modules/@aws-sdk/client-s3/package.json +68 -70
  607. package/node_modules/@aws-sdk/client-sso/README.md +1 -9
  608. package/node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js +27 -20
  609. package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js +1 -1
  610. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +410 -611
  611. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.browser.js +3 -4
  612. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +5 -8
  613. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js +7 -0
  614. package/node_modules/@aws-sdk/client-sso/dist-es/SSO.js +7 -1
  615. package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +4 -2
  616. package/node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthSchemeProvider.js +27 -20
  617. package/node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js +3 -10
  618. package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +3 -10
  619. package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountsCommand.js +3 -10
  620. package/node_modules/@aws-sdk/client-sso/dist-es/commands/LogoutCommand.js +3 -10
  621. package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/ruleset.js +1 -1
  622. package/node_modules/@aws-sdk/client-sso/dist-es/index.js +3 -1
  623. package/node_modules/@aws-sdk/client-sso/dist-es/models/errors.js +49 -0
  624. package/node_modules/@aws-sdk/client-sso/dist-es/models/models_0.js +1 -75
  625. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.browser.js +3 -4
  626. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +6 -9
  627. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js +7 -0
  628. package/node_modules/@aws-sdk/client-sso/dist-es/schemas/schemas_0.js +152 -0
  629. package/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +15 -1
  630. package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +10 -10
  631. package/node_modules/@aws-sdk/client-sso/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  632. package/node_modules/@aws-sdk/client-sso/dist-types/auth/httpAuthSchemeProvider.d.ts +3 -3
  633. package/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +5 -3
  634. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +5 -3
  635. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +5 -3
  636. package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +5 -3
  637. package/node_modules/@aws-sdk/client-sso/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  638. package/node_modules/@aws-sdk/client-sso/dist-types/endpoint/endpointResolver.d.ts +5 -2
  639. package/node_modules/@aws-sdk/client-sso/dist-types/extensionConfiguration.d.ts +4 -4
  640. package/node_modules/@aws-sdk/client-sso/dist-types/index.d.ts +3 -1
  641. package/node_modules/@aws-sdk/client-sso/dist-types/models/SSOServiceException.d.ts +1 -1
  642. package/node_modules/@aws-sdk/client-sso/dist-types/models/errors.d.ts +53 -0
  643. package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +0 -77
  644. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/Interfaces.d.ts +1 -1
  645. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountRolesPaginator.d.ts +1 -1
  646. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountsPaginator.d.ts +1 -1
  647. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +7 -2
  648. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +7 -2
  649. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +7 -2
  650. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.shared.d.ts +8 -2
  651. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeExtensions.d.ts +1 -1
  652. package/node_modules/@aws-sdk/client-sso/dist-types/schemas/schemas_0.d.ts +20 -0
  653. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSO.d.ts +19 -1
  654. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +2 -2
  655. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  656. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/index.d.ts +3 -1
  657. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/SSOServiceException.d.ts +1 -1
  658. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/errors.d.ts +30 -0
  659. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/models_0.d.ts +0 -48
  660. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -1
  661. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +9 -1
  662. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -1
  663. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -0
  664. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/schemas/schemas_0.d.ts +24 -0
  665. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/LICENSE +201 -0
  666. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/README.md +6 -0
  667. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +415 -0
  668. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +267 -0
  669. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +10 -0
  670. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +6 -0
  671. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +3 -0
  672. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +25 -0
  673. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +18 -0
  674. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +41 -0
  675. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +267 -0
  676. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +1 -0
  677. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +21 -0
  678. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +1 -0
  679. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +1 -0
  680. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +1 -0
  681. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +1 -0
  682. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +1 -0
  683. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +1 -0
  684. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +6 -0
  685. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +1 -0
  686. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +2 -0
  687. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +6 -0
  688. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +3 -0
  689. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +5 -0
  690. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +7 -0
  691. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +38 -0
  692. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +1 -0
  693. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -0
  694. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +1 -0
  695. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +2 -0
  696. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +6 -0
  697. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +3 -0
  698. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +4 -0
  699. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +2 -0
  700. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +28 -0
  701. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +1 -0
  702. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +35 -0
  703. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +1 -0
  704. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +1 -0
  705. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +6 -0
  706. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +1 -0
  707. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +5 -0
  708. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +1 -0
  709. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +6 -0
  710. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +12 -0
  711. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +1 -0
  712. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -0
  713. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -0
  714. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -0
  715. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -0
  716. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +6 -0
  717. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +1 -0
  718. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/package.json +60 -0
  719. package/node_modules/@aws-sdk/client-sso/package.json +45 -44
  720. package/node_modules/@aws-sdk/core/LICENSE +201 -0
  721. package/node_modules/@aws-sdk/core/account-id-endpoint.js +0 -1
  722. package/node_modules/@aws-sdk/core/dist-cjs/index.js +2196 -6
  723. package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +48 -88
  724. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +39 -66
  725. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +281 -365
  726. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +1801 -1670
  727. package/node_modules/@aws-sdk/core/dist-es/submodules/client/emitWarningIfUnsupportedVersion.js +3 -3
  728. package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +1 -0
  729. package/node_modules/@aws-sdk/core/dist-es/submodules/client/setTokenFeature.js +7 -0
  730. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +9 -1
  731. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +122 -0
  732. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/UnionSerde.js +23 -0
  733. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.js +49 -0
  734. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/common.js +2 -1
  735. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +1 -0
  736. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_0Protocol.js +7 -1
  737. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_1Protocol.js +7 -1
  738. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +36 -44
  739. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +25 -61
  740. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +87 -37
  741. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +131 -61
  742. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +135 -0
  743. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReplacer.js +1 -1
  744. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +31 -42
  745. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +36 -7
  746. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +29 -73
  747. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +24 -23
  748. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +36 -20
  749. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/parseXmlBody.js +2 -13
  750. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +1 -1
  751. package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +1 -0
  752. package/node_modules/@aws-sdk/core/dist-types/submodules/client/setTokenFeature.d.ts +7 -0
  753. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +1 -1
  754. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +1 -1
  755. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +1 -1
  756. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +1 -1
  757. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ConfigurableSerdeContext.d.ts +1 -1
  758. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +61 -0
  759. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/UnionSerde.d.ts +24 -0
  760. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +23 -0
  761. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +1 -0
  762. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +10 -2
  763. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +10 -2
  764. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +13 -4
  765. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +17 -2
  766. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonCodec.d.ts +2 -2
  767. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeDeserializer.d.ts +3 -3
  768. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeSerializer.d.ts +19 -6
  769. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.d.ts +27 -0
  770. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/jsonReviver.d.ts +1 -1
  771. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +1 -1
  772. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsQueryProtocol.d.ts +10 -3
  773. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QuerySerializerSettings.d.ts +1 -1
  774. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QueryShapeSerializer.d.ts +1 -1
  775. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +11 -3
  776. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlCodec.d.ts +1 -1
  777. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeDeserializer.d.ts +3 -3
  778. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeSerializer.d.ts +1 -1
  779. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -0
  780. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setTokenFeature.d.ts +6 -0
  781. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +47 -0
  782. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/UnionSerde.d.ts +9 -0
  783. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +33 -0
  784. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +1 -0
  785. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +13 -1
  786. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +13 -1
  787. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +15 -2
  788. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +8 -0
  789. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeDeserializer.d.ts +1 -1
  790. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeSerializer.d.ts +10 -3
  791. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.d.ts +17 -0
  792. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +3 -1
  793. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +4 -1
  794. package/node_modules/@aws-sdk/core/package.json +24 -26
  795. package/node_modules/@aws-sdk/crc64-nvme/LICENSE +201 -0
  796. package/node_modules/@aws-sdk/crc64-nvme/README.md +61 -0
  797. package/node_modules/@aws-sdk/crc64-nvme/dist-cjs/index.js +101 -0
  798. package/node_modules/@aws-sdk/crc64-nvme/dist-es/Crc64Nvme.js +92 -0
  799. package/node_modules/@aws-sdk/crc64-nvme/dist-es/index.js +2 -0
  800. package/node_modules/@aws-sdk/crc64-nvme/dist-types/Crc64Nvme.d.ts +24 -0
  801. package/node_modules/@aws-sdk/crc64-nvme/dist-types/index.d.ts +2 -0
  802. package/node_modules/@aws-sdk/crc64-nvme/dist-types/ts3.4/Crc64Nvme.d.ts +9 -0
  803. package/node_modules/@aws-sdk/crc64-nvme/dist-types/ts3.4/index.d.ts +2 -0
  804. package/node_modules/@aws-sdk/crc64-nvme/package.json +50 -0
  805. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +38 -73
  806. package/node_modules/@aws-sdk/credential-provider-env/package.json +14 -13
  807. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +4 -2
  808. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +4 -2
  809. package/node_modules/@aws-sdk/credential-provider-http/package.json +19 -18
  810. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +207 -259
  811. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js +3 -10
  812. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +4 -4
  813. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveLoginCredentials.js +12 -0
  814. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +8 -4
  815. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js +4 -2
  816. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js +4 -2
  817. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts +6 -6
  818. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +4 -3
  819. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveLoginCredentials.d.ts +11 -0
  820. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProfileData.d.ts +6 -1
  821. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveSsoCredentials.d.ts +2 -1
  822. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveWebIdentityCredentials.d.ts +2 -1
  823. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/fromIni.d.ts +8 -4
  824. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +5 -1
  825. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveLoginCredentials.d.ts +9 -0
  826. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProfileData.d.ts +3 -0
  827. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveSsoCredentials.d.ts +3 -1
  828. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveWebIdentityCredentials.d.ts +3 -1
  829. package/node_modules/@aws-sdk/credential-provider-ini/package.json +25 -23
  830. package/node_modules/@aws-sdk/credential-provider-login/README.md +7 -0
  831. package/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +286 -0
  832. package/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js +262 -0
  833. package/node_modules/@aws-sdk/credential-provider-login/dist-es/fromLoginCredentials.js +21 -0
  834. package/node_modules/@aws-sdk/credential-provider-login/dist-es/index.js +2 -0
  835. package/node_modules/@aws-sdk/credential-provider-login/dist-es/types.js +1 -0
  836. package/node_modules/@aws-sdk/credential-provider-login/dist-types/LoginCredentialsFetcher.d.ts +42 -0
  837. package/node_modules/@aws-sdk/credential-provider-login/dist-types/fromLoginCredentials.d.ts +7 -0
  838. package/node_modules/@aws-sdk/credential-provider-login/dist-types/index.d.ts +8 -0
  839. package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/LoginCredentialsFetcher.d.ts +24 -0
  840. package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/fromLoginCredentials.d.ts +5 -0
  841. package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/index.d.ts +2 -0
  842. package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/types.d.ts +39 -0
  843. package/node_modules/@aws-sdk/credential-provider-login/dist-types/types.d.ts +59 -0
  844. package/node_modules/@aws-sdk/credential-provider-login/package.json +68 -0
  845. package/node_modules/@aws-sdk/credential-provider-node/README.md +3 -3
  846. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +133 -124
  847. package/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js +55 -44
  848. package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +60 -0
  849. package/node_modules/@aws-sdk/credential-provider-node/dist-types/defaultProvider.d.ts +3 -2
  850. package/node_modules/@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain.d.ts +18 -0
  851. package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/defaultProvider.d.ts +3 -2
  852. package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/runtime/memoize-chain.d.ts +19 -0
  853. package/node_modules/@aws-sdk/credential-provider-node/package.json +25 -23
  854. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +71 -106
  855. package/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js +2 -1
  856. package/node_modules/@aws-sdk/credential-provider-process/package.json +15 -14
  857. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +179 -233
  858. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-CVy8iqsZ.js +14 -0
  859. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js +10 -0
  860. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +9 -3
  861. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/fromSSO.d.ts +2 -1
  862. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/resolveSSOCredentials.d.ts +1 -1
  863. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/fromSSO.d.ts +2 -0
  864. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/resolveSSOCredentials.d.ts +4 -0
  865. package/node_modules/@aws-sdk/credential-provider-sso/package.json +17 -16
  866. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +5 -3
  867. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +16 -25
  868. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +5 -3
  869. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromTokenFile.d.ts +2 -3
  870. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromTokenFile.d.ts +5 -3
  871. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +16 -14
  872. package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js +334 -450
  873. package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +15 -14
  874. package/node_modules/@aws-sdk/middleware-expect-continue/dist-cjs/index.js +42 -60
  875. package/node_modules/@aws-sdk/middleware-expect-continue/dist-es/index.js +18 -6
  876. package/node_modules/@aws-sdk/middleware-expect-continue/dist-types/index.d.ts +3 -1
  877. package/node_modules/@aws-sdk/middleware-expect-continue/dist-types/ts3.4/index.d.ts +3 -0
  878. package/node_modules/@aws-sdk/middleware-expect-continue/package.json +14 -13
  879. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +390 -479
  880. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsMiddleware.js +25 -9
  881. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/index.js +0 -1
  882. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/selectChecksumAlgorithmFunction.js +2 -6
  883. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getCrc32ChecksumAlgorithmFunction.d.ts +1 -1
  884. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/index.d.ts +0 -1
  885. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/stringHasher.d.ts +1 -1
  886. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getCrc32ChecksumAlgorithmFunction.d.ts +1 -1
  887. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/index.d.ts +0 -1
  888. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/stringHasher.d.ts +1 -1
  889. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +24 -22
  890. package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +35 -63
  891. package/node_modules/@aws-sdk/middleware-host-header/package.json +14 -13
  892. package/node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js +23 -57
  893. package/node_modules/@aws-sdk/middleware-location-constraint/dist-es/index.js +4 -7
  894. package/node_modules/@aws-sdk/middleware-location-constraint/package.json +13 -12
  895. package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +44 -75
  896. package/node_modules/@aws-sdk/middleware-logger/dist-types/loggerMiddleware.d.ts +1 -1
  897. package/node_modules/@aws-sdk/middleware-logger/package.json +14 -13
  898. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +20 -67
  899. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js +33 -0
  900. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.native.js +5 -0
  901. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/configuration.js +7 -0
  902. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/getRecursionDetectionPlugin.js +7 -0
  903. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/index.js +2 -37
  904. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.browser.js +1 -0
  905. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.js +29 -0
  906. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.native.js +1 -0
  907. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/configuration.d.ts +5 -0
  908. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/getRecursionDetectionPlugin.d.ts +5 -0
  909. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/index.d.ts +2 -18
  910. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.browser.d.ts +6 -0
  911. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.d.ts +6 -0
  912. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.native.d.ts +6 -0
  913. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/configuration.d.ts +3 -0
  914. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/getRecursionDetectionPlugin.d.ts +4 -0
  915. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/index.d.ts +2 -18
  916. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.browser.d.ts +5 -0
  917. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.d.ts +5 -0
  918. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.native.d.ts +5 -0
  919. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +20 -14
  920. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +513 -638
  921. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-middleware.js +15 -10
  922. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3Configuration.js +2 -1
  923. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3Configuration.d.ts +17 -0
  924. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3Configuration.d.ts +2 -0
  925. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +26 -25
  926. package/node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js +65 -92
  927. package/node_modules/@aws-sdk/middleware-ssec/package.json +13 -12
  928. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +170 -203
  929. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js +2 -2
  930. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js +1 -1
  931. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/LICENSE +201 -0
  932. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/README.md +6 -0
  933. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +415 -0
  934. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +267 -0
  935. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +10 -0
  936. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +6 -0
  937. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +3 -0
  938. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +25 -0
  939. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +18 -0
  940. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +41 -0
  941. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +267 -0
  942. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +1 -0
  943. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +21 -0
  944. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +1 -0
  945. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +1 -0
  946. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +1 -0
  947. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +1 -0
  948. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +1 -0
  949. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +1 -0
  950. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +6 -0
  951. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +1 -0
  952. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +2 -0
  953. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +6 -0
  954. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +3 -0
  955. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +5 -0
  956. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +7 -0
  957. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +38 -0
  958. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +1 -0
  959. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -0
  960. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +1 -0
  961. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +2 -0
  962. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +6 -0
  963. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +3 -0
  964. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +4 -0
  965. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +2 -0
  966. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +28 -0
  967. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +1 -0
  968. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +35 -0
  969. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +1 -0
  970. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +1 -0
  971. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +6 -0
  972. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +1 -0
  973. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +5 -0
  974. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +1 -0
  975. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +6 -0
  976. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +12 -0
  977. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +1 -0
  978. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -0
  979. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -0
  980. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -0
  981. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -0
  982. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +6 -0
  983. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +1 -0
  984. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/package.json +60 -0
  985. package/node_modules/@aws-sdk/middleware-user-agent/package.json +17 -16
  986. package/node_modules/@aws-sdk/nested-clients/dist-cjs/index.js +2 -2
  987. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js +56 -0
  988. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js +18 -0
  989. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js +7 -0
  990. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +349 -0
  991. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.browser.js +39 -0
  992. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.js +53 -0
  993. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.native.js +15 -0
  994. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +47 -0
  995. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +1 -1
  996. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +482 -854
  997. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.browser.js +2 -2
  998. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js +3 -4
  999. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +7 -0
  1000. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +2 -0
  1001. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +1 -1
  1002. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +463 -931
  1003. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.browser.js +2 -2
  1004. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +3 -4
  1005. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +8 -0
  1006. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js +9 -0
  1007. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js +50 -0
  1008. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthExtensionConfiguration.js +38 -0
  1009. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +50 -0
  1010. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js +16 -0
  1011. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/index.js +1 -0
  1012. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/EndpointParameters.js +13 -0
  1013. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js +14 -0
  1014. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/ruleset.js +4 -0
  1015. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/extensionConfiguration.js +1 -0
  1016. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/index.js +8 -0
  1017. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/SigninServiceException.js +8 -0
  1018. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js +8 -0
  1019. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/errors.js +57 -0
  1020. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/models_0.js +1 -0
  1021. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js +34 -0
  1022. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +48 -0
  1023. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.native.js +11 -0
  1024. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js +43 -0
  1025. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeExtensions.js +9 -0
  1026. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +119 -0
  1027. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +4 -2
  1028. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js +3 -10
  1029. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js +1 -1
  1030. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/index.js +4 -1
  1031. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/enums.js +9 -0
  1032. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/errors.js +181 -0
  1033. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/models_0.js +1 -190
  1034. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.browser.js +2 -2
  1035. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +4 -5
  1036. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +7 -0
  1037. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +134 -0
  1038. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +4 -2
  1039. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js +3 -10
  1040. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js +3 -10
  1041. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js +22 -10
  1042. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js +1 -1
  1043. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/index.js +3 -1
  1044. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js +85 -0
  1045. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/models_0.js +1 -102
  1046. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.browser.js +2 -2
  1047. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +4 -5
  1048. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +8 -0
  1049. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +189 -0
  1050. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +18 -0
  1051. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +189 -0
  1052. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  1053. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthSchemeProvider.d.ts +75 -0
  1054. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +157 -0
  1055. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/index.d.ts +1 -0
  1056. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/EndpointParameters.d.ts +50 -0
  1057. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/endpointResolver.d.ts +8 -0
  1058. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/ruleset.d.ts +2 -0
  1059. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/extensionConfiguration.d.ts +9 -0
  1060. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts +17 -0
  1061. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/SigninServiceException.d.ts +14 -0
  1062. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/enums.d.ts +34 -0
  1063. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts +102 -0
  1064. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts +142 -0
  1065. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +63 -0
  1066. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +63 -0
  1067. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +62 -0
  1068. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts +38 -0
  1069. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeExtensions.d.ts +17 -0
  1070. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/schemas/schemas_0.d.ts +12 -0
  1071. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +2 -2
  1072. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +11 -11
  1073. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  1074. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +3 -3
  1075. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +5 -3
  1076. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +13 -1
  1077. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/endpointResolver.d.ts +5 -2
  1078. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/extensionConfiguration.d.ts +4 -4
  1079. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/index.d.ts +5 -2
  1080. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts +1 -1
  1081. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/enums.d.ts +25 -0
  1082. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/errors.d.ts +279 -0
  1083. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/models_0.d.ts +1 -279
  1084. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +7 -2
  1085. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +7 -2
  1086. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +7 -2
  1087. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +8 -2
  1088. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeExtensions.d.ts +1 -1
  1089. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/schemas/schemas_0.d.ts +16 -0
  1090. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts +1 -1
  1091. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +10 -10
  1092. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  1093. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +3 -3
  1094. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +8 -7
  1095. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +10 -8
  1096. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +1 -1
  1097. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/EndpointParameters.d.ts +13 -1
  1098. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/endpointResolver.d.ts +5 -2
  1099. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/extensionConfiguration.d.ts +4 -4
  1100. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts +3 -1
  1101. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/STSServiceException.d.ts +1 -1
  1102. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +107 -0
  1103. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +7 -131
  1104. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +7 -2
  1105. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +8 -3
  1106. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +7 -2
  1107. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +8 -2
  1108. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeExtensions.d.ts +1 -1
  1109. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts +20 -0
  1110. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/Signin.d.ts +22 -0
  1111. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +123 -0
  1112. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  1113. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthSchemeProvider.d.ts +47 -0
  1114. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +47 -0
  1115. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/index.d.ts +1 -0
  1116. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/EndpointParameters.d.ts +51 -0
  1117. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/endpointResolver.d.ts +8 -0
  1118. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/ruleset.d.ts +2 -0
  1119. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/extensionConfiguration.d.ts +9 -0
  1120. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/index.d.ts +11 -0
  1121. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/SigninServiceException.d.ts +9 -0
  1122. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts +10 -0
  1123. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/errors.d.ts +35 -0
  1124. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/models_0.d.ts +26 -0
  1125. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +125 -0
  1126. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +118 -0
  1127. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +129 -0
  1128. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +58 -0
  1129. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeExtensions.d.ts +11 -0
  1130. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/schemas/schemas_0.d.ts +16 -0
  1131. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +2 -2
  1132. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  1133. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/index.d.ts +4 -1
  1134. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts +1 -1
  1135. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/enums.d.ts +13 -0
  1136. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/errors.d.ts +105 -0
  1137. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/models_0.d.ts +0 -105
  1138. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +9 -1
  1139. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +9 -1
  1140. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +9 -1
  1141. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +9 -0
  1142. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/schemas/schemas_0.d.ts +20 -0
  1143. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +3 -3
  1144. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  1145. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +1 -1
  1146. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/defaultStsRoleAssumers.d.ts +1 -1
  1147. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/index.d.ts +3 -1
  1148. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/STSServiceException.d.ts +1 -1
  1149. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/errors.d.ts +54 -0
  1150. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +0 -64
  1151. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +9 -1
  1152. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +9 -1
  1153. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +9 -1
  1154. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +9 -0
  1155. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +24 -0
  1156. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/LICENSE +201 -0
  1157. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/README.md +6 -0
  1158. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +415 -0
  1159. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +267 -0
  1160. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +10 -0
  1161. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +6 -0
  1162. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +3 -0
  1163. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +25 -0
  1164. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +18 -0
  1165. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +41 -0
  1166. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +267 -0
  1167. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +1 -0
  1168. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +21 -0
  1169. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +1 -0
  1170. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +1 -0
  1171. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +1 -0
  1172. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +1 -0
  1173. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +1 -0
  1174. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +1 -0
  1175. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +6 -0
  1176. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +1 -0
  1177. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +2 -0
  1178. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +6 -0
  1179. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +3 -0
  1180. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +5 -0
  1181. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +7 -0
  1182. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +38 -0
  1183. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +1 -0
  1184. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -0
  1185. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +1 -0
  1186. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +2 -0
  1187. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +6 -0
  1188. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +3 -0
  1189. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +4 -0
  1190. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +2 -0
  1191. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +28 -0
  1192. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +1 -0
  1193. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +35 -0
  1194. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +1 -0
  1195. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +1 -0
  1196. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +6 -0
  1197. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +1 -0
  1198. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +5 -0
  1199. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +1 -0
  1200. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +6 -0
  1201. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +12 -0
  1202. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +1 -0
  1203. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -0
  1204. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -0
  1205. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -0
  1206. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -0
  1207. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +6 -0
  1208. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +1 -0
  1209. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/package.json +60 -0
  1210. package/node_modules/@aws-sdk/nested-clients/package.json +53 -41
  1211. package/node_modules/@aws-sdk/nested-clients/signin.d.ts +7 -0
  1212. package/node_modules/@aws-sdk/nested-clients/signin.js +5 -0
  1213. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +44 -100
  1214. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.js +20 -0
  1215. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.native.js +6 -0
  1216. package/node_modules/@aws-sdk/region-config-resolver/dist-es/index.js +2 -1
  1217. package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/awsRegionConfig.js +2 -0
  1218. package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.browser.js +3 -0
  1219. package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.js +16 -0
  1220. package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.native.js +3 -0
  1221. package/node_modules/@aws-sdk/region-config-resolver/dist-types/extensions/index.d.ts +2 -2
  1222. package/node_modules/@aws-sdk/region-config-resolver/dist-types/index.d.ts +2 -1
  1223. package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/awsRegionConfig.d.ts +15 -0
  1224. package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.browser.d.ts +4 -0
  1225. package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.d.ts +14 -0
  1226. package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.native.d.ts +4 -0
  1227. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/index.d.ts +2 -1
  1228. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/awsRegionConfig.d.ts +11 -0
  1229. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.browser.d.ts +1 -0
  1230. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.d.ts +7 -0
  1231. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.native.d.ts +1 -0
  1232. package/node_modules/@aws-sdk/region-config-resolver/package.json +18 -15
  1233. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +108 -137
  1234. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +14 -13
  1235. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +143 -220
  1236. package/node_modules/@aws-sdk/token-providers/dist-es/fromEnvSigningName.js +5 -2
  1237. package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +2 -9
  1238. package/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +2 -2
  1239. package/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +4 -2
  1240. package/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +1 -1
  1241. package/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +3 -2
  1242. package/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +2 -1
  1243. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +1 -1
  1244. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +3 -1
  1245. package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +3 -1
  1246. package/node_modules/@aws-sdk/token-providers/package.json +17 -15
  1247. package/node_modules/@aws-sdk/types/dist-cjs/index.js +18 -290
  1248. package/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts +1 -1
  1249. package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +2 -0
  1250. package/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +9 -1
  1251. package/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +1 -0
  1252. package/node_modules/@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts +10 -0
  1253. package/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +2 -0
  1254. package/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +7 -1
  1255. package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +1 -0
  1256. package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/TokenIdentity.d.ts +5 -0
  1257. package/node_modules/@aws-sdk/types/package.json +10 -9
  1258. package/node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js +24 -61
  1259. package/node_modules/@aws-sdk/util-arn-parser/dist-types/index.d.ts +9 -0
  1260. package/node_modules/@aws-sdk/util-arn-parser/package.json +10 -9
  1261. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +398 -436
  1262. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +43 -37
  1263. package/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +1 -0
  1264. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +43 -37
  1265. package/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +21 -0
  1266. package/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +1 -0
  1267. package/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -0
  1268. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +1 -0
  1269. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +35 -0
  1270. package/node_modules/@aws-sdk/util-endpoints/package.json +13 -11
  1271. package/node_modules/@aws-sdk/util-user-agent-browser/README.md +22 -3
  1272. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/createUserAgentStringParsingProvider.js +57 -0
  1273. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +39 -8
  1274. package/node_modules/@aws-sdk/util-user-agent-browser/dist-es/createUserAgentStringParsingProvider.js +20 -0
  1275. package/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js +37 -6
  1276. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/createUserAgentStringParsingProvider.d.ts +14 -0
  1277. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts +14 -4
  1278. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts +4 -3
  1279. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/createUserAgentStringParsingProvider.d.ts +9 -0
  1280. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.d.ts +5 -0
  1281. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +10 -9
  1282. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +50 -94
  1283. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/crt-availability.d.ts +1 -2
  1284. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/defaultUserAgent.d.ts +10 -5
  1285. package/node_modules/@aws-sdk/util-user-agent-node/package.json +14 -13
  1286. package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +106 -155
  1287. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +18 -0
  1288. package/node_modules/@aws-sdk/xml-builder/dist-es/index.js +1 -0
  1289. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.browser.js +57 -0
  1290. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +15 -0
  1291. package/node_modules/@aws-sdk/xml-builder/dist-types/index.d.ts +4 -0
  1292. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/index.d.ts +1 -0
  1293. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.browser.d.ts +1 -0
  1294. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.d.ts +1 -0
  1295. package/node_modules/@aws-sdk/xml-builder/dist-types/xml-parser.browser.d.ts +9 -0
  1296. package/node_modules/@aws-sdk/xml-builder/dist-types/xml-parser.d.ts +4 -0
  1297. package/node_modules/@aws-sdk/xml-builder/package.json +19 -10
  1298. package/node_modules/@smithy/abort-controller/dist-cjs/index.js +28 -80
  1299. package/node_modules/@smithy/abort-controller/dist-es/AbortController.js +1 -3
  1300. package/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +2 -2
  1301. package/node_modules/@smithy/abort-controller/package.json +4 -3
  1302. package/node_modules/@smithy/chunked-blob-reader/dist-cjs/index.js +9 -37
  1303. package/node_modules/@smithy/chunked-blob-reader/package.json +5 -4
  1304. package/node_modules/@smithy/chunked-blob-reader-native/dist-cjs/index.js +28 -55
  1305. package/node_modules/@smithy/chunked-blob-reader-native/package.json +6 -5
  1306. package/node_modules/@smithy/config-resolver/dist-cjs/index.js +172 -214
  1307. package/node_modules/@smithy/config-resolver/dist-es/regionConfig/checkRegion.js +15 -0
  1308. package/node_modules/@smithy/config-resolver/dist-es/regionConfig/resolveRegionConfig.js +5 -5
  1309. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +1 -1
  1310. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +1 -1
  1311. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveCustomEndpointsConfig.d.ts +2 -2
  1312. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts +1 -1
  1313. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/utils/getEndpointFromRegion.d.ts +1 -1
  1314. package/node_modules/@smithy/config-resolver/dist-types/regionConfig/checkRegion.d.ts +9 -0
  1315. package/node_modules/@smithy/config-resolver/dist-types/regionConfig/config.d.ts +1 -1
  1316. package/node_modules/@smithy/config-resolver/dist-types/regionConfig/resolveRegionConfig.d.ts +1 -1
  1317. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/EndpointVariant.d.ts +1 -1
  1318. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/PartitionHash.d.ts +1 -1
  1319. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/RegionHash.d.ts +1 -1
  1320. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getHostnameFromVariants.d.ts +1 -1
  1321. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getRegionInfo.d.ts +3 -3
  1322. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedPartition.d.ts +1 -1
  1323. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/checkRegion.d.ts +9 -0
  1324. package/node_modules/@smithy/config-resolver/package.json +8 -6
  1325. package/node_modules/@smithy/core/dist-cjs/index.js +308 -413
  1326. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +1030 -927
  1327. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +256 -0
  1328. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +816 -799
  1329. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +600 -732
  1330. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +662 -716
  1331. package/node_modules/@smithy/core/dist-es/index.js +1 -1
  1332. package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +0 -1
  1333. package/node_modules/@smithy/core/dist-es/middleware-http-signing/httpSigningMiddleware.js +0 -1
  1334. package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +129 -53
  1335. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +41 -19
  1336. package/node_modules/@smithy/core/dist-es/submodules/cbor/byte-printer.js +35 -1
  1337. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +38 -23
  1338. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +5 -5
  1339. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +1 -1
  1340. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +251 -0
  1341. package/node_modules/@smithy/core/dist-es/submodules/event-streams/index.js +1 -0
  1342. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +130 -37
  1343. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +55 -101
  1344. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +38 -12
  1345. package/node_modules/@smithy/core/dist-es/submodules/protocols/SerdeContext.js +6 -0
  1346. package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +2 -0
  1347. package/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js +9 -7
  1348. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/FromStringShapeDeserializer.js +23 -21
  1349. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeDeserializer.js +5 -1
  1350. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeSerializer.js +3 -0
  1351. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js +16 -12
  1352. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/determineTimestampFormat.js +5 -6
  1353. package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +27 -11
  1354. package/node_modules/@smithy/core/dist-es/submodules/schema/index.js +2 -0
  1355. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +6 -1
  1356. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +3 -1
  1357. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js +12 -14
  1358. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +11 -12
  1359. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +13 -13
  1360. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +169 -189
  1361. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js +13 -13
  1362. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/Schema.js +17 -3
  1363. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +17 -12
  1364. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +13 -19
  1365. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/operation.js +7 -0
  1366. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/sentinels.js +14 -14
  1367. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js +22 -0
  1368. package/node_modules/@smithy/core/dist-es/submodules/serde/copyDocumentWithTransform.js +1 -53
  1369. package/node_modules/@smithy/core/dist-es/submodules/serde/generateIdempotencyToken.js +2 -0
  1370. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +2 -0
  1371. package/node_modules/@smithy/core/dist-es/submodules/serde/schema-serde-lib/schema-date-utils.js +101 -0
  1372. package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +7 -21
  1373. package/node_modules/@smithy/core/dist-es/util-identity-and-auth/DefaultIdentityProviderConfig.js +1 -1
  1374. package/node_modules/@smithy/core/dist-es/util-identity-and-auth/memoizeIdentityProvider.js +4 -2
  1375. package/node_modules/@smithy/core/dist-types/getSmithyContext.d.ts +1 -1
  1376. package/node_modules/@smithy/core/dist-types/index.d.ts +1 -1
  1377. package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts +2 -2
  1378. package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/getHttpAuthSchemePlugin.d.ts +2 -2
  1379. package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +1 -1
  1380. package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/resolveAuthOptions.d.ts +1 -1
  1381. package/node_modules/@smithy/core/dist-types/middleware-http-signing/getHttpSigningMiddleware.d.ts +1 -1
  1382. package/node_modules/@smithy/core/dist-types/middleware-http-signing/httpSigningMiddleware.d.ts +1 -1
  1383. package/node_modules/@smithy/core/dist-types/normalizeProvider.d.ts +1 -1
  1384. package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +18 -14
  1385. package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +3 -3
  1386. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-decode.d.ts +1 -1
  1387. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts +1 -1
  1388. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor.d.ts +1 -1
  1389. package/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +2 -2
  1390. package/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts +60 -0
  1391. package/node_modules/@smithy/core/dist-types/submodules/event-streams/index.d.ts +1 -0
  1392. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +15 -3
  1393. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +48 -5
  1394. package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +2 -2
  1395. package/node_modules/@smithy/core/dist-types/submodules/protocols/SerdeContext.d.ts +16 -0
  1396. package/node_modules/@smithy/core/dist-types/submodules/protocols/collect-stream-body.d.ts +1 -1
  1397. package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +2 -0
  1398. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +4 -5
  1399. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +7 -4
  1400. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +6 -3
  1401. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/ToStringShapeSerializer.d.ts +4 -5
  1402. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/determineTimestampFormat.d.ts +2 -2
  1403. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +15 -6
  1404. package/node_modules/@smithy/core/dist-types/submodules/schema/index.d.ts +2 -0
  1405. package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/getSchemaSerdePlugin.d.ts +2 -2
  1406. package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts +2 -2
  1407. package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaSerializationMiddleware.d.ts +2 -2
  1408. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +11 -12
  1409. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ListSchema.d.ts +6 -3
  1410. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/MapSchema.d.ts +6 -7
  1411. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +38 -28
  1412. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/OperationSchema.d.ts +6 -3
  1413. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/Schema.d.ts +7 -2
  1414. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +12 -4
  1415. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts +6 -4
  1416. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/operation.d.ts +7 -0
  1417. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/sentinels.d.ts +4 -2
  1418. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/translateTraits.d.ts +7 -0
  1419. package/node_modules/@smithy/core/dist-types/submodules/serde/copyDocumentWithTransform.d.ts +2 -1
  1420. package/node_modules/@smithy/core/dist-types/submodules/serde/generateIdempotencyToken.d.ts +2 -0
  1421. package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +2 -0
  1422. package/node_modules/@smithy/core/dist-types/submodules/serde/schema-serde-lib/schema-date-utils.d.ts +47 -0
  1423. package/node_modules/@smithy/core/dist-types/submodules/serde/value/NumericValue.d.ts +1 -1
  1424. package/node_modules/@smithy/core/dist-types/ts3.4/index.d.ts +1 -1
  1425. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +18 -14
  1426. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +3 -3
  1427. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts +1 -1
  1428. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor.d.ts +1 -1
  1429. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +60 -0
  1430. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/index.d.ts +1 -0
  1431. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +15 -3
  1432. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +48 -5
  1433. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +1 -1
  1434. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/SerdeContext.d.ts +16 -0
  1435. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +2 -0
  1436. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +4 -5
  1437. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +6 -3
  1438. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +6 -3
  1439. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts +4 -5
  1440. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/determineTimestampFormat.d.ts +1 -1
  1441. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +14 -5
  1442. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts +2 -0
  1443. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +11 -12
  1444. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +6 -3
  1445. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +6 -7
  1446. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +38 -28
  1447. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +6 -3
  1448. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +7 -2
  1449. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +11 -3
  1450. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +6 -7
  1451. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/operation.d.ts +7 -0
  1452. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts +3 -1
  1453. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts +7 -0
  1454. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/copyDocumentWithTransform.d.ts +1 -0
  1455. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/generateIdempotencyToken.d.ts +2 -0
  1456. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +2 -0
  1457. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/schema-serde-lib/schema-date-utils.d.ts +47 -0
  1458. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/value/NumericValue.d.ts +1 -1
  1459. package/node_modules/@smithy/core/dist-types/util-identity-and-auth/DefaultIdentityProviderConfig.d.ts +1 -1
  1460. package/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.d.ts +1 -1
  1461. package/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.d.ts +1 -1
  1462. package/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/noAuth.d.ts +1 -1
  1463. package/node_modules/@smithy/core/dist-types/util-identity-and-auth/memoizeIdentityProvider.d.ts +1 -1
  1464. package/node_modules/@smithy/core/event-streams.d.ts +7 -0
  1465. package/node_modules/@smithy/core/event-streams.js +6 -0
  1466. package/node_modules/@smithy/core/package.json +38 -24
  1467. package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +340 -413
  1468. package/node_modules/@smithy/credential-provider-imds/dist-es/error/InstanceMetadataV1FallbackError.js +2 -1
  1469. package/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointConfigOptions.d.ts +1 -1
  1470. package/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointModeConfigOptions.d.ts +1 -1
  1471. package/node_modules/@smithy/credential-provider-imds/dist-types/fromContainerMetadata.d.ts +2 -2
  1472. package/node_modules/@smithy/credential-provider-imds/dist-types/fromInstanceMetadata.d.ts +3 -3
  1473. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/ImdsCredentials.d.ts +1 -1
  1474. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/RemoteProviderInit.d.ts +1 -1
  1475. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -1
  1476. package/node_modules/@smithy/credential-provider-imds/dist-types/types.d.ts +1 -1
  1477. package/node_modules/@smithy/credential-provider-imds/dist-types/utils/getExtendedInstanceMetadataCredentials.d.ts +2 -2
  1478. package/node_modules/@smithy/credential-provider-imds/dist-types/utils/getInstanceMetadataEndpoint.d.ts +1 -1
  1479. package/node_modules/@smithy/credential-provider-imds/dist-types/utils/staticStabilityProvider.d.ts +2 -2
  1480. package/node_modules/@smithy/credential-provider-imds/package.json +7 -6
  1481. package/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +372 -459
  1482. package/node_modules/@smithy/eventstream-codec/dist-es/EventStreamCodec.js +3 -0
  1483. package/node_modules/@smithy/eventstream-codec/dist-es/HeaderMarshaller.js +2 -0
  1484. package/node_modules/@smithy/eventstream-codec/dist-es/Int64.js +2 -1
  1485. package/node_modules/@smithy/eventstream-codec/dist-es/MessageDecoderStream.js +1 -0
  1486. package/node_modules/@smithy/eventstream-codec/dist-es/MessageEncoderStream.js +1 -0
  1487. package/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageDecoderStream.js +1 -0
  1488. package/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageEncoderStream.js +1 -0
  1489. package/node_modules/@smithy/eventstream-codec/dist-types/EventStreamCodec.d.ts +2 -2
  1490. package/node_modules/@smithy/eventstream-codec/dist-types/HeaderMarshaller.d.ts +1 -1
  1491. package/node_modules/@smithy/eventstream-codec/dist-types/Int64.d.ts +1 -1
  1492. package/node_modules/@smithy/eventstream-codec/dist-types/Message.d.ts +1 -1
  1493. package/node_modules/@smithy/eventstream-codec/dist-types/MessageDecoderStream.d.ts +1 -1
  1494. package/node_modules/@smithy/eventstream-codec/dist-types/MessageEncoderStream.d.ts +1 -1
  1495. package/node_modules/@smithy/eventstream-codec/dist-types/SmithyMessageDecoderStream.d.ts +1 -1
  1496. package/node_modules/@smithy/eventstream-codec/dist-types/SmithyMessageEncoderStream.d.ts +1 -1
  1497. package/node_modules/@smithy/eventstream-codec/dist-types/TestVectors.fixture.d.ts +1 -1
  1498. package/node_modules/@smithy/eventstream-codec/dist-types/vectorTypes.fixture.d.ts +1 -1
  1499. package/node_modules/@smithy/eventstream-codec/package.json +6 -5
  1500. package/node_modules/@smithy/eventstream-serde-browser/dist-cjs/index.js +51 -97
  1501. package/node_modules/@smithy/eventstream-serde-browser/dist-es/EventStreamMarshaller.js +1 -0
  1502. package/node_modules/@smithy/eventstream-serde-browser/dist-types/EventStreamMarshaller.d.ts +1 -1
  1503. package/node_modules/@smithy/eventstream-serde-browser/dist-types/provider.d.ts +1 -1
  1504. package/node_modules/@smithy/eventstream-serde-browser/package.json +5 -4
  1505. package/node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js +4 -33
  1506. package/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/EventStreamSerdeConfig.d.ts +1 -1
  1507. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +4 -3
  1508. package/node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js +44 -80
  1509. package/node_modules/@smithy/eventstream-serde-node/dist-es/EventStreamMarshaller.js +1 -0
  1510. package/node_modules/@smithy/eventstream-serde-node/dist-types/EventStreamMarshaller.d.ts +1 -1
  1511. package/node_modules/@smithy/eventstream-serde-node/dist-types/provider.d.ts +1 -1
  1512. package/node_modules/@smithy/eventstream-serde-node/dist-types/utils.d.ts +1 -1
  1513. package/node_modules/@smithy/eventstream-serde-node/package.json +5 -4
  1514. package/node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js +120 -171
  1515. package/node_modules/@smithy/eventstream-serde-universal/dist-es/EventStreamMarshaller.js +2 -0
  1516. package/node_modules/@smithy/eventstream-serde-universal/dist-types/EventStreamMarshaller.d.ts +1 -1
  1517. package/node_modules/@smithy/eventstream-serde-universal/dist-types/getUnmarshalledStream.d.ts +2 -2
  1518. package/node_modules/@smithy/eventstream-serde-universal/dist-types/provider.d.ts +1 -1
  1519. package/node_modules/@smithy/eventstream-serde-universal/package.json +9 -6
  1520. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +190 -238
  1521. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +6 -4
  1522. package/node_modules/@smithy/fetch-http-handler/dist-types/create-request.d.ts +1 -1
  1523. package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +4 -3
  1524. package/node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts +1 -1
  1525. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +3 -2
  1526. package/node_modules/@smithy/fetch-http-handler/package.json +10 -9
  1527. package/node_modules/@smithy/hash-blob-browser/dist-cjs/index.js +10 -36
  1528. package/node_modules/@smithy/hash-blob-browser/dist-types/index.d.ts +1 -1
  1529. package/node_modules/@smithy/hash-blob-browser/package.json +7 -6
  1530. package/node_modules/@smithy/hash-node/dist-cjs/index.js +38 -63
  1531. package/node_modules/@smithy/hash-node/dist-es/index.js +3 -0
  1532. package/node_modules/@smithy/hash-node/dist-types/index.d.ts +1 -1
  1533. package/node_modules/@smithy/hash-node/package.json +6 -5
  1534. package/node_modules/@smithy/hash-stream-node/dist-cjs/index.js +58 -92
  1535. package/node_modules/@smithy/hash-stream-node/dist-es/HashCalculator.js +1 -0
  1536. package/node_modules/@smithy/hash-stream-node/dist-types/HashCalculator.d.ts +3 -2
  1537. package/node_modules/@smithy/hash-stream-node/dist-types/fileStreamHasher.d.ts +2 -2
  1538. package/node_modules/@smithy/hash-stream-node/dist-types/readableStreamHasher.d.ts +2 -2
  1539. package/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/HashCalculator.d.ts +2 -1
  1540. package/node_modules/@smithy/hash-stream-node/package.json +6 -5
  1541. package/node_modules/@smithy/invalid-dependency/dist-cjs/index.js +7 -38
  1542. package/node_modules/@smithy/invalid-dependency/dist-types/invalidProvider.d.ts +1 -1
  1543. package/node_modules/@smithy/invalid-dependency/package.json +4 -3
  1544. package/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +4 -30
  1545. package/node_modules/@smithy/is-array-buffer/package.json +5 -4
  1546. package/node_modules/@smithy/md5-js/dist-cjs/index.js +153 -186
  1547. package/node_modules/@smithy/md5-js/dist-es/index.js +5 -0
  1548. package/node_modules/@smithy/md5-js/dist-types/index.d.ts +1 -1
  1549. package/node_modules/@smithy/md5-js/package.json +7 -6
  1550. package/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +39 -64
  1551. package/node_modules/@smithy/middleware-content-length/dist-types/index.d.ts +1 -1
  1552. package/node_modules/@smithy/middleware-content-length/package.json +7 -6
  1553. package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js +1 -1
  1554. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +226 -272
  1555. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js +13 -2
  1556. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js +3 -2
  1557. package/node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js +1 -1
  1558. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/createConfigValueProvider.d.ts +2 -1
  1559. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointFromInstructions.d.ts +3 -3
  1560. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointUrlConfig.d.ts +1 -1
  1561. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/toEndpointV1.d.ts +1 -1
  1562. package/node_modules/@smithy/middleware-endpoint/dist-types/endpointMiddleware.d.ts +3 -3
  1563. package/node_modules/@smithy/middleware-endpoint/dist-types/getEndpointPlugin.d.ts +3 -3
  1564. package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +6 -3
  1565. package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointRequiredConfig.d.ts +1 -1
  1566. package/node_modules/@smithy/middleware-endpoint/dist-types/service-customizations/s3.d.ts +1 -1
  1567. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/createConfigValueProvider.d.ts +2 -1
  1568. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +5 -2
  1569. package/node_modules/@smithy/middleware-endpoint/package.json +13 -12
  1570. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +327 -394
  1571. package/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.browser.js +1 -1
  1572. package/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js +2 -2
  1573. package/node_modules/@smithy/middleware-retry/dist-es/AdaptiveRetryStrategy.js +1 -0
  1574. package/node_modules/@smithy/middleware-retry/dist-es/StandardRetryStrategy.js +6 -2
  1575. package/node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js +1 -1
  1576. package/node_modules/@smithy/middleware-retry/dist-types/AdaptiveRetryStrategy.d.ts +4 -3
  1577. package/node_modules/@smithy/middleware-retry/dist-types/StandardRetryStrategy.d.ts +2 -2
  1578. package/node_modules/@smithy/middleware-retry/dist-types/configurations.d.ts +2 -2
  1579. package/node_modules/@smithy/middleware-retry/dist-types/defaultRetryQuota.d.ts +1 -1
  1580. package/node_modules/@smithy/middleware-retry/dist-types/omitRetryHeadersMiddleware.d.ts +1 -1
  1581. package/node_modules/@smithy/middleware-retry/dist-types/retryDecider.d.ts +1 -1
  1582. package/node_modules/@smithy/middleware-retry/dist-types/retryMiddleware.d.ts +2 -2
  1583. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts +2 -1
  1584. package/node_modules/@smithy/middleware-retry/dist-types/types.d.ts +1 -1
  1585. package/node_modules/@smithy/middleware-retry/dist-types/util.d.ts +1 -1
  1586. package/node_modules/@smithy/middleware-retry/package.json +17 -17
  1587. package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +92 -118
  1588. package/node_modules/@smithy/middleware-serde/dist-es/deserializerMiddleware.js +3 -0
  1589. package/node_modules/@smithy/middleware-serde/dist-types/deserializerMiddleware.d.ts +1 -1
  1590. package/node_modules/@smithy/middleware-serde/dist-types/serdePlugin.d.ts +1 -1
  1591. package/node_modules/@smithy/middleware-serde/dist-types/serializerMiddleware.d.ts +1 -1
  1592. package/node_modules/@smithy/middleware-serde/package.json +7 -6
  1593. package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +274 -302
  1594. package/node_modules/@smithy/middleware-stack/dist-types/MiddlewareStack.d.ts +1 -1
  1595. package/node_modules/@smithy/middleware-stack/dist-types/types.d.ts +1 -1
  1596. package/node_modules/@smithy/middleware-stack/package.json +4 -3
  1597. package/node_modules/@smithy/node-config-provider/dist-cjs/index.js +51 -98
  1598. package/node_modules/@smithy/node-config-provider/dist-types/configLoader.d.ts +4 -4
  1599. package/node_modules/@smithy/node-config-provider/dist-types/fromEnv.d.ts +1 -1
  1600. package/node_modules/@smithy/node-config-provider/dist-types/fromSharedConfigFiles.d.ts +2 -2
  1601. package/node_modules/@smithy/node-config-provider/dist-types/fromStatic.d.ts +1 -1
  1602. package/node_modules/@smithy/node-config-provider/package.json +6 -5
  1603. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +694 -768
  1604. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +31 -16
  1605. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +2 -1
  1606. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +1 -1
  1607. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +11 -8
  1608. package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +3 -1
  1609. package/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +1 -1
  1610. package/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js +21 -0
  1611. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +2 -3
  1612. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +1 -4
  1613. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +3 -1
  1614. package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +4 -4
  1615. package/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +2 -2
  1616. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +5 -4
  1617. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +4 -4
  1618. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +2 -2
  1619. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +4 -3
  1620. package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +2 -1
  1621. package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +4 -4
  1622. package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +1 -1
  1623. package/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +6 -0
  1624. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +1 -1
  1625. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +1 -1
  1626. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +1 -1
  1627. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +2 -1
  1628. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +5 -4
  1629. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +3 -2
  1630. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +2 -1
  1631. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +6 -0
  1632. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +2 -1
  1633. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +2 -1
  1634. package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +5 -4
  1635. package/node_modules/@smithy/node-http-handler/package.json +7 -6
  1636. package/node_modules/@smithy/property-provider/dist-cjs/index.js +105 -158
  1637. package/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +1 -1
  1638. package/node_modules/@smithy/property-provider/dist-es/ProviderError.js +2 -1
  1639. package/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +1 -1
  1640. package/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +2 -1
  1641. package/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +1 -1
  1642. package/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +2 -1
  1643. package/node_modules/@smithy/property-provider/dist-types/chain.d.ts +1 -1
  1644. package/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +1 -1
  1645. package/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +1 -1
  1646. package/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +2 -1
  1647. package/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +2 -1
  1648. package/node_modules/@smithy/property-provider/package.json +4 -3
  1649. package/node_modules/@smithy/protocol-http/dist-cjs/index.js +154 -247
  1650. package/node_modules/@smithy/protocol-http/dist-es/Field.js +3 -0
  1651. package/node_modules/@smithy/protocol-http/dist-es/Fields.js +2 -1
  1652. package/node_modules/@smithy/protocol-http/dist-es/httpRequest.js +11 -0
  1653. package/node_modules/@smithy/protocol-http/dist-es/httpResponse.js +4 -0
  1654. package/node_modules/@smithy/protocol-http/dist-types/Field.d.ts +2 -1
  1655. package/node_modules/@smithy/protocol-http/dist-types/Fields.d.ts +2 -2
  1656. package/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +1 -1
  1657. package/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +2 -1
  1658. package/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts +1 -1
  1659. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/Field.d.ts +2 -1
  1660. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +2 -1
  1661. package/node_modules/@smithy/protocol-http/dist-types/types.d.ts +1 -1
  1662. package/node_modules/@smithy/protocol-http/package.json +4 -3
  1663. package/node_modules/@smithy/querystring-builder/dist-cjs/index.js +21 -47
  1664. package/node_modules/@smithy/querystring-builder/dist-types/index.d.ts +1 -1
  1665. package/node_modules/@smithy/querystring-builder/package.json +5 -4
  1666. package/node_modules/@smithy/querystring-parser/dist-cjs/index.js +22 -48
  1667. package/node_modules/@smithy/querystring-parser/dist-types/index.d.ts +1 -1
  1668. package/node_modules/@smithy/querystring-parser/package.json +4 -3
  1669. package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +70 -103
  1670. package/node_modules/@smithy/service-error-classification/dist-es/index.js +3 -2
  1671. package/node_modules/@smithy/service-error-classification/dist-types/index.d.ts +1 -1
  1672. package/node_modules/@smithy/service-error-classification/package.json +4 -3
  1673. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +7 -4
  1674. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +177 -189
  1675. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js +16 -0
  1676. package/node_modules/@smithy/shared-ini-file-loader/dist-es/constants.js +1 -0
  1677. package/node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js +16 -0
  1678. package/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +1 -1
  1679. package/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +5 -2
  1680. package/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +3 -1
  1681. package/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +4 -4
  1682. package/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +2 -2
  1683. package/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +1 -1
  1684. package/node_modules/@smithy/shared-ini-file-loader/dist-es/readFile.js +12 -0
  1685. package/node_modules/@smithy/shared-ini-file-loader/dist-types/constants.d.ts +4 -0
  1686. package/node_modules/@smithy/shared-ini-file-loader/dist-types/externalDataInterceptor.d.ts +9 -0
  1687. package/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +1 -1
  1688. package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +7 -1
  1689. package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +1 -1
  1690. package/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +3 -1
  1691. package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +2 -5
  1692. package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +1 -1
  1693. package/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +1 -1
  1694. package/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +1 -1
  1695. package/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +2 -2
  1696. package/node_modules/@smithy/shared-ini-file-loader/dist-types/readFile.d.ts +21 -0
  1697. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/constants.d.ts +4 -0
  1698. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/externalDataInterceptor.d.ts +9 -0
  1699. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +7 -1
  1700. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +3 -1
  1701. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +1 -4
  1702. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/readFile.d.ts +21 -0
  1703. package/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +1 -1
  1704. package/node_modules/@smithy/shared-ini-file-loader/package.json +7 -6
  1705. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +525 -651
  1706. package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +2 -1
  1707. package/node_modules/@smithy/signature-v4/dist-es/SignatureV4.js +1 -1
  1708. package/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js +6 -0
  1709. package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +3 -2
  1710. package/node_modules/@smithy/signature-v4/dist-types/SignatureV4Base.d.ts +1 -1
  1711. package/node_modules/@smithy/signature-v4/dist-types/credentialDerivation.d.ts +1 -1
  1712. package/node_modules/@smithy/signature-v4/dist-types/getCanonicalHeaders.d.ts +1 -1
  1713. package/node_modules/@smithy/signature-v4/dist-types/getCanonicalQuery.d.ts +1 -1
  1714. package/node_modules/@smithy/signature-v4/dist-types/getPayloadHash.d.ts +1 -1
  1715. package/node_modules/@smithy/signature-v4/dist-types/headerUtil.d.ts +1 -1
  1716. package/node_modules/@smithy/signature-v4/dist-types/suite.fixture.d.ts +1 -1
  1717. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +2 -1
  1718. package/node_modules/@smithy/signature-v4/package.json +10 -9
  1719. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +589 -714
  1720. package/node_modules/@smithy/smithy-client/dist-es/client.js +10 -1
  1721. package/node_modules/@smithy/smithy-client/dist-es/command.js +23 -20
  1722. package/node_modules/@smithy/smithy-client/dist-es/create-aggregated-client.js +29 -3
  1723. package/node_modules/@smithy/smithy-client/dist-es/exceptions.js +4 -0
  1724. package/node_modules/@smithy/smithy-client/dist-es/schemaLogFilter.js +34 -0
  1725. package/node_modules/@smithy/smithy-client/dist-types/NoOpLogger.d.ts +1 -1
  1726. package/node_modules/@smithy/smithy-client/dist-types/client.d.ts +33 -7
  1727. package/node_modules/@smithy/smithy-client/dist-types/command.d.ts +3 -3
  1728. package/node_modules/@smithy/smithy-client/dist-types/create-aggregated-client.d.ts +9 -2
  1729. package/node_modules/@smithy/smithy-client/dist-types/exceptions.d.ts +1 -1
  1730. package/node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts +2 -2
  1731. package/node_modules/@smithy/smithy-client/dist-types/extensions/retry.d.ts +1 -1
  1732. package/node_modules/@smithy/smithy-client/dist-types/schemaLogFilter.d.ts +9 -0
  1733. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts +33 -7
  1734. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts +3 -3
  1735. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/create-aggregated-client.d.ts +8 -1
  1736. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/schemaLogFilter.d.ts +9 -0
  1737. package/node_modules/@smithy/smithy-client/package.json +12 -11
  1738. package/node_modules/@smithy/types/dist-cjs/index.js +80 -133
  1739. package/node_modules/@smithy/types/dist-es/index.js +3 -0
  1740. package/node_modules/@smithy/types/dist-es/schema/schema-deprecated.js +1 -0
  1741. package/node_modules/@smithy/types/dist-es/schema/static-schemas.js +1 -0
  1742. package/node_modules/@smithy/types/dist-types/auth/HttpAuthScheme.d.ts +4 -4
  1743. package/node_modules/@smithy/types/dist-types/auth/HttpAuthSchemeProvider.d.ts +2 -2
  1744. package/node_modules/@smithy/types/dist-types/auth/HttpSigner.d.ts +2 -2
  1745. package/node_modules/@smithy/types/dist-types/auth/IdentityProviderConfig.d.ts +2 -2
  1746. package/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +1 -1
  1747. package/node_modules/@smithy/types/dist-types/checksum.d.ts +1 -1
  1748. package/node_modules/@smithy/types/dist-types/client.d.ts +4 -4
  1749. package/node_modules/@smithy/types/dist-types/command.d.ts +2 -2
  1750. package/node_modules/@smithy/types/dist-types/connection/manager.d.ts +2 -2
  1751. package/node_modules/@smithy/types/dist-types/encode.d.ts +1 -1
  1752. package/node_modules/@smithy/types/dist-types/endpoint.d.ts +1 -1
  1753. package/node_modules/@smithy/types/dist-types/endpoints/EndpointRuleObject.d.ts +2 -2
  1754. package/node_modules/@smithy/types/dist-types/endpoints/ErrorRuleObject.d.ts +1 -1
  1755. package/node_modules/@smithy/types/dist-types/endpoints/RuleSetObject.d.ts +1 -1
  1756. package/node_modules/@smithy/types/dist-types/endpoints/TreeRuleObject.d.ts +3 -3
  1757. package/node_modules/@smithy/types/dist-types/endpoints/shared.d.ts +1 -1
  1758. package/node_modules/@smithy/types/dist-types/eventStream.d.ts +3 -3
  1759. package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +2 -2
  1760. package/node_modules/@smithy/types/dist-types/extensions/defaultClientConfiguration.d.ts +1 -1
  1761. package/node_modules/@smithy/types/dist-types/extensions/defaultExtensionConfiguration.d.ts +2 -2
  1762. package/node_modules/@smithy/types/dist-types/extensions/retry.d.ts +2 -2
  1763. package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +19 -12
  1764. package/node_modules/@smithy/types/dist-types/http.d.ts +2 -2
  1765. package/node_modules/@smithy/types/dist-types/identity/apiKeyIdentity.d.ts +1 -1
  1766. package/node_modules/@smithy/types/dist-types/identity/awsCredentialIdentity.d.ts +1 -1
  1767. package/node_modules/@smithy/types/dist-types/identity/tokenIdentity.d.ts +1 -1
  1768. package/node_modules/@smithy/types/dist-types/index.d.ts +3 -0
  1769. package/node_modules/@smithy/types/dist-types/retry.d.ts +1 -1
  1770. package/node_modules/@smithy/types/dist-types/schema/schema-deprecated.d.ts +143 -0
  1771. package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +33 -58
  1772. package/node_modules/@smithy/types/dist-types/schema/static-schemas.d.ts +99 -0
  1773. package/node_modules/@smithy/types/dist-types/serde.d.ts +5 -5
  1774. package/node_modules/@smithy/types/dist-types/shapes.d.ts +2 -2
  1775. package/node_modules/@smithy/types/dist-types/signature.d.ts +2 -2
  1776. package/node_modules/@smithy/types/dist-types/stream.d.ts +3 -3
  1777. package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +17 -10
  1778. package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +3 -0
  1779. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts +149 -0
  1780. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +37 -62
  1781. package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +118 -0
  1782. package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +2 -2
  1783. package/node_modules/@smithy/types/dist-types/uri.d.ts +1 -1
  1784. package/node_modules/@smithy/types/dist-types/util.d.ts +3 -3
  1785. package/node_modules/@smithy/types/dist-types/waiter.d.ts +1 -1
  1786. package/node_modules/@smithy/types/package.json +3 -2
  1787. package/node_modules/@smithy/url-parser/dist-cjs/index.js +20 -46
  1788. package/node_modules/@smithy/url-parser/dist-types/index.d.ts +1 -1
  1789. package/node_modules/@smithy/url-parser/package.json +5 -4
  1790. package/node_modules/@smithy/util-base64/dist-cjs/constants.browser.js +9 -32
  1791. package/node_modules/@smithy/util-base64/dist-cjs/index.js +16 -24
  1792. package/node_modules/@smithy/util-base64/dist-cjs/toBase64.browser.js +1 -2
  1793. package/node_modules/@smithy/util-base64/dist-es/constants.browser.js +9 -28
  1794. package/node_modules/@smithy/util-base64/dist-types/constants.browser.d.ts +5 -6
  1795. package/node_modules/@smithy/util-base64/dist-types/ts3.4/constants.browser.d.ts +5 -6
  1796. package/node_modules/@smithy/util-base64/package.json +7 -6
  1797. package/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js +26 -53
  1798. package/node_modules/@smithy/util-body-length-browser/package.json +5 -4
  1799. package/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +29 -50
  1800. package/node_modules/@smithy/util-body-length-node/dist-es/calculateBodyLength.js +8 -6
  1801. package/node_modules/@smithy/util-body-length-node/package.json +5 -4
  1802. package/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +17 -44
  1803. package/node_modules/@smithy/util-buffer-from/package.json +6 -5
  1804. package/node_modules/@smithy/util-config-provider/dist-cjs/index.js +26 -60
  1805. package/node_modules/@smithy/util-config-provider/dist-types/booleanSelector.d.ts +1 -1
  1806. package/node_modules/@smithy/util-config-provider/dist-types/numberSelector.d.ts +1 -1
  1807. package/node_modules/@smithy/util-config-provider/package.json +5 -4
  1808. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js +9 -22
  1809. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/resolveDefaultsModeConfig.js +13 -12
  1810. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/resolveDefaultsModeConfig.native.js +2 -2
  1811. package/node_modules/@smithy/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.js +11 -8
  1812. package/node_modules/@smithy/util-defaults-mode-browser/package.json +9 -9
  1813. package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +65 -110
  1814. package/node_modules/@smithy/util-defaults-mode-node/dist-types/defaultsModeConfig.d.ts +1 -1
  1815. package/node_modules/@smithy/util-defaults-mode-node/package.json +12 -11
  1816. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +435 -507
  1817. package/node_modules/@smithy/util-endpoints/dist-es/cache/EndpointCache.js +3 -2
  1818. package/node_modules/@smithy/util-endpoints/dist-es/utils/callFunction.js +1 -11
  1819. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateExpression.js +15 -2
  1820. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateRules.js +17 -2
  1821. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateTreeRule.js +1 -13
  1822. package/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperties.js +25 -2
  1823. package/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperty.js +1 -21
  1824. package/node_modules/@smithy/util-endpoints/dist-types/debug/toDebugString.d.ts +3 -3
  1825. package/node_modules/@smithy/util-endpoints/dist-types/getEndpointUrlConfig.d.ts +1 -1
  1826. package/node_modules/@smithy/util-endpoints/dist-types/lib/parseURL.d.ts +1 -1
  1827. package/node_modules/@smithy/util-endpoints/dist-types/resolveEndpoint.d.ts +2 -2
  1828. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/callFunction.d.ts +1 -2
  1829. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateExpression.d.ts +7 -2
  1830. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateRules.d.ts +6 -1
  1831. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateTreeRule.d.ts +1 -3
  1832. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperties.d.ts +6 -0
  1833. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperty.d.ts +1 -3
  1834. package/node_modules/@smithy/util-endpoints/dist-types/types/EndpointFunctions.d.ts +1 -1
  1835. package/node_modules/@smithy/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -1
  1836. package/node_modules/@smithy/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -1
  1837. package/node_modules/@smithy/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -1
  1838. package/node_modules/@smithy/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -1
  1839. package/node_modules/@smithy/util-endpoints/dist-types/types/shared.d.ts +1 -1
  1840. package/node_modules/@smithy/util-endpoints/dist-types/utils/callFunction.d.ts +1 -2
  1841. package/node_modules/@smithy/util-endpoints/dist-types/utils/customEndpointFunctions.d.ts +1 -1
  1842. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateCondition.d.ts +1 -1
  1843. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateConditions.d.ts +1 -1
  1844. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateEndpointRule.d.ts +2 -2
  1845. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateErrorRule.d.ts +1 -1
  1846. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateExpression.d.ts +7 -2
  1847. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateRules.d.ts +7 -2
  1848. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateTemplate.d.ts +1 -1
  1849. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateTreeRule.d.ts +1 -3
  1850. package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointHeaders.d.ts +1 -1
  1851. package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperties.d.ts +7 -1
  1852. package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperty.d.ts +1 -3
  1853. package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointUrl.d.ts +1 -1
  1854. package/node_modules/@smithy/util-endpoints/dist-types/utils/getReferenceValue.d.ts +1 -1
  1855. package/node_modules/@smithy/util-endpoints/package.json +7 -6
  1856. package/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js +29 -58
  1857. package/node_modules/@smithy/util-hex-encoding/package.json +5 -4
  1858. package/node_modules/@smithy/util-middleware/dist-cjs/index.js +11 -41
  1859. package/node_modules/@smithy/util-middleware/dist-types/getSmithyContext.d.ts +1 -1
  1860. package/node_modules/@smithy/util-middleware/dist-types/normalizeProvider.d.ts +1 -1
  1861. package/node_modules/@smithy/util-middleware/package.json +4 -3
  1862. package/node_modules/@smithy/util-retry/dist-cjs/index.js +260 -340
  1863. package/node_modules/@smithy/util-retry/dist-es/AdaptiveRetryStrategy.js +4 -1
  1864. package/node_modules/@smithy/util-retry/dist-es/ConfiguredRetryStrategy.js +1 -0
  1865. package/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js +17 -8
  1866. package/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js +5 -3
  1867. package/node_modules/@smithy/util-retry/dist-types/AdaptiveRetryStrategy.d.ts +2 -2
  1868. package/node_modules/@smithy/util-retry/dist-types/DefaultRateLimiter.d.ts +1 -1
  1869. package/node_modules/@smithy/util-retry/dist-types/StandardRetryStrategy.d.ts +1 -1
  1870. package/node_modules/@smithy/util-retry/dist-types/defaultRetryBackoffStrategy.d.ts +1 -1
  1871. package/node_modules/@smithy/util-retry/dist-types/defaultRetryToken.d.ts +1 -1
  1872. package/node_modules/@smithy/util-retry/package.json +8 -5
  1873. package/node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js +3 -2
  1874. package/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js +7 -3
  1875. package/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js +2 -3
  1876. package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js +1 -1
  1877. package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js +2 -3
  1878. package/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js +20 -9
  1879. package/node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js +1 -2
  1880. package/node_modules/@smithy/util-stream/dist-cjs/headStream.js +4 -8
  1881. package/node_modules/@smithy/util-stream/dist-cjs/index.js +80 -97
  1882. package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js +1 -2
  1883. package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +1 -2
  1884. package/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js +3 -7
  1885. package/node_modules/@smithy/util-stream/dist-es/ByteArrayCollector.js +3 -2
  1886. package/node_modules/@smithy/util-stream/dist-es/blob/Uint8ArrayBlobAdapter.js +12 -7
  1887. package/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.js +5 -0
  1888. package/node_modules/@smithy/util-stream/dist-es/getAwsChunkedEncodingStream.js +19 -7
  1889. package/node_modules/@smithy/util-stream/dist-es/headStream.js +3 -6
  1890. package/node_modules/@smithy/util-stream/dist-es/index.js +1 -1
  1891. package/node_modules/@smithy/util-stream/dist-types/ByteArrayCollector.d.ts +1 -1
  1892. package/node_modules/@smithy/util-stream/dist-types/blob/Uint8ArrayBlobAdapter.d.ts +1 -0
  1893. package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.browser.d.ts +1 -1
  1894. package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +10 -9
  1895. package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.browser.d.ts +3 -4
  1896. package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.d.ts +7 -5
  1897. package/node_modules/@smithy/util-stream/dist-types/createBufferedReadable.d.ts +4 -1
  1898. package/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.browser.d.ts +1 -1
  1899. package/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.d.ts +7 -3
  1900. package/node_modules/@smithy/util-stream/dist-types/headStream.browser.d.ts +1 -2
  1901. package/node_modules/@smithy/util-stream/dist-types/headStream.d.ts +3 -3
  1902. package/node_modules/@smithy/util-stream/dist-types/index.d.ts +4 -1
  1903. package/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.browser.d.ts +1 -1
  1904. package/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.d.ts +1 -1
  1905. package/node_modules/@smithy/util-stream/dist-types/splitStream.d.ts +3 -0
  1906. package/node_modules/@smithy/util-stream/dist-types/stream-type-check.d.ts +2 -1
  1907. package/node_modules/@smithy/util-stream/dist-types/ts3.4/ByteArrayCollector.d.ts +1 -1
  1908. package/node_modules/@smithy/util-stream/dist-types/ts3.4/blob/Uint8ArrayBlobAdapter.d.ts +1 -0
  1909. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +9 -8
  1910. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.browser.d.ts +2 -3
  1911. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.d.ts +4 -2
  1912. package/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadable.d.ts +4 -1
  1913. package/node_modules/@smithy/util-stream/dist-types/ts3.4/getAwsChunkedEncodingStream.d.ts +7 -3
  1914. package/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.browser.d.ts +1 -2
  1915. package/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.d.ts +2 -2
  1916. package/node_modules/@smithy/util-stream/dist-types/ts3.4/index.d.ts +4 -1
  1917. package/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.d.ts +3 -0
  1918. package/node_modules/@smithy/util-stream/dist-types/ts3.4/stream-type-check.d.ts +2 -1
  1919. package/node_modules/@smithy/util-stream/package.json +14 -13
  1920. package/node_modules/@smithy/util-uri-escape/dist-cjs/index.js +6 -40
  1921. package/node_modules/@smithy/util-uri-escape/package.json +5 -4
  1922. package/node_modules/@smithy/util-utf8/dist-cjs/index.js +27 -60
  1923. package/node_modules/@smithy/util-utf8/package.json +6 -5
  1924. package/node_modules/@smithy/util-waiter/dist-cjs/index.js +165 -171
  1925. package/node_modules/@smithy/util-waiter/dist-es/circularReplacer.js +12 -0
  1926. package/node_modules/@smithy/util-waiter/dist-es/createWaiter.js +27 -8
  1927. package/node_modules/@smithy/util-waiter/dist-es/poller.js +2 -1
  1928. package/node_modules/@smithy/util-waiter/dist-es/waiter.js +4 -3
  1929. package/node_modules/@smithy/util-waiter/dist-types/circularReplacer.d.ts +6 -0
  1930. package/node_modules/@smithy/util-waiter/dist-types/createWaiter.d.ts +1 -1
  1931. package/node_modules/@smithy/util-waiter/dist-types/poller.d.ts +2 -2
  1932. package/node_modules/@smithy/util-waiter/dist-types/ts3.4/circularReplacer.d.ts +6 -0
  1933. package/node_modules/@smithy/util-waiter/dist-types/ts3.4/poller.d.ts +1 -1
  1934. package/node_modules/@smithy/util-waiter/dist-types/utils/validate.d.ts +1 -1
  1935. package/node_modules/@smithy/util-waiter/dist-types/waiter.d.ts +1 -1
  1936. package/node_modules/@smithy/util-waiter/package.json +5 -4
  1937. package/node_modules/@smithy/uuid/LICENSE +201 -0
  1938. package/node_modules/@smithy/uuid/README.md +10 -0
  1939. package/node_modules/@smithy/uuid/dist-cjs/index.js +36 -0
  1940. package/node_modules/@smithy/uuid/dist-cjs/randomUUID.js +6 -0
  1941. package/node_modules/@smithy/uuid/dist-cjs/randomUUID.native.js +4 -0
  1942. package/node_modules/@smithy/uuid/dist-es/index.js +1 -0
  1943. package/node_modules/@smithy/uuid/dist-es/randomUUID.browser.js +1 -0
  1944. package/node_modules/@smithy/uuid/dist-es/randomUUID.js +2 -0
  1945. package/node_modules/@smithy/uuid/dist-es/randomUUID.native.js +1 -0
  1946. package/node_modules/@smithy/uuid/dist-es/v4.js +31 -0
  1947. package/node_modules/@smithy/uuid/dist-types/index.d.ts +1 -0
  1948. package/node_modules/@smithy/uuid/dist-types/randomUUID.browser.d.ts +1 -0
  1949. package/node_modules/@smithy/uuid/dist-types/randomUUID.d.ts +2 -0
  1950. package/node_modules/@smithy/uuid/dist-types/randomUUID.native.d.ts +1 -0
  1951. package/node_modules/@smithy/uuid/dist-types/ts3.4/index.d.ts +1 -0
  1952. package/node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.browser.d.ts +1 -0
  1953. package/node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.d.ts +2 -0
  1954. package/node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.native.d.ts +1 -0
  1955. package/node_modules/@smithy/uuid/dist-types/ts3.4/v4.d.ts +19 -0
  1956. package/node_modules/@smithy/uuid/dist-types/v4.d.ts +19 -0
  1957. package/node_modules/@smithy/uuid/package.json +66 -0
  1958. package/node_modules/bowser/CHANGELOG.md +1 -1
  1959. package/node_modules/bowser/README.md +2 -4
  1960. package/node_modules/bowser/bundled.js +1 -1
  1961. package/node_modules/bowser/es5.js +1 -1
  1962. package/node_modules/bowser/index.d.ts +71 -6
  1963. package/node_modules/bowser/package.json +8 -3
  1964. package/node_modules/bowser/src/constants.js +71 -18
  1965. package/node_modules/bowser/src/parser-browsers.js +394 -0
  1966. package/node_modules/bowser/src/parser-os.js +12 -0
  1967. package/node_modules/bowser/src/parser-platforms.js +259 -1
  1968. package/node_modules/bowser/src/parser.js +20 -5
  1969. package/node_modules/bowser/src/utils.js +33 -15
  1970. package/node_modules/fast-xml-parser/CHANGELOG.md +93 -0
  1971. package/node_modules/fast-xml-parser/README.md +40 -52
  1972. package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +2 -0
  1973. package/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -0
  1974. package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -0
  1975. package/node_modules/fast-xml-parser/lib/fxp.d.cts +458 -0
  1976. package/node_modules/fast-xml-parser/lib/fxp.min.js +2 -0
  1977. package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -0
  1978. package/node_modules/fast-xml-parser/lib/fxparser.min.js +2 -0
  1979. package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -0
  1980. package/node_modules/fast-xml-parser/lib/fxvalidator.min.js +2 -0
  1981. package/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -0
  1982. package/node_modules/fast-xml-parser/package.json +38 -20
  1983. package/node_modules/fast-xml-parser/src/cli/cli.js +16 -12
  1984. package/node_modules/fast-xml-parser/src/cli/man.js +6 -1
  1985. package/node_modules/fast-xml-parser/src/cli/read.js +30 -79
  1986. package/node_modules/fast-xml-parser/src/fxp.d.ts +54 -11
  1987. package/node_modules/fast-xml-parser/src/fxp.js +11 -8
  1988. package/node_modules/fast-xml-parser/src/ignoreAttributes.js +18 -0
  1989. package/node_modules/fast-xml-parser/src/util.js +14 -18
  1990. package/node_modules/fast-xml-parser/src/v6/CharsSymbol.js +16 -0
  1991. package/node_modules/fast-xml-parser/src/v6/EntitiesParser.js +104 -0
  1992. package/node_modules/fast-xml-parser/src/v6/OptionsBuilder.js +61 -0
  1993. package/node_modules/fast-xml-parser/src/v6/OutputBuilders/BaseOutputBuilder.js +69 -0
  1994. package/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsArrBuilder.js +103 -0
  1995. package/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsMinArrBuilder.js +100 -0
  1996. package/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsObjBuilder.js +154 -0
  1997. package/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +94 -0
  1998. package/node_modules/fast-xml-parser/src/v6/TagPath.js +81 -0
  1999. package/node_modules/fast-xml-parser/src/v6/TagPathMatcher.js +13 -0
  2000. package/node_modules/fast-xml-parser/src/v6/XMLParser.js +83 -0
  2001. package/node_modules/fast-xml-parser/src/v6/Xml2JsParser.js +235 -0
  2002. package/node_modules/fast-xml-parser/src/v6/XmlPartReader.js +210 -0
  2003. package/node_modules/fast-xml-parser/src/v6/XmlSpecialTagsReader.js +111 -0
  2004. package/node_modules/fast-xml-parser/src/v6/inputSource/BufferSource.js +116 -0
  2005. package/node_modules/fast-xml-parser/src/v6/inputSource/StringSource.js +121 -0
  2006. package/node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js +105 -0
  2007. package/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParser.js +22 -0
  2008. package/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParserExt.js +19 -0
  2009. package/node_modules/fast-xml-parser/src/v6/valueParsers/currency.js +38 -0
  2010. package/node_modules/fast-xml-parser/src/v6/valueParsers/join.js +13 -0
  2011. package/node_modules/fast-xml-parser/src/v6/valueParsers/number.js +14 -0
  2012. package/node_modules/fast-xml-parser/src/v6/valueParsers/trim.js +6 -0
  2013. package/node_modules/fast-xml-parser/src/validator.js +5 -5
  2014. package/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +17 -13
  2015. package/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +1 -2
  2016. package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +355 -128
  2017. package/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +3 -5
  2018. package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +78 -40
  2019. package/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +25 -12
  2020. package/node_modules/fast-xml-parser/src/xmlparser/node2json.js +8 -2
  2021. package/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +22 -7
  2022. package/node_modules/strnum/.github/SECURITY.md +5 -0
  2023. package/node_modules/strnum/CHANGELOG.md +11 -0
  2024. package/node_modules/strnum/README.md +6 -0
  2025. package/node_modules/strnum/algo.stflow +84 -0
  2026. package/node_modules/strnum/package.json +2 -1
  2027. package/node_modules/strnum/strnum.js +53 -35
  2028. package/node_modules/strnum/strnum.test.js +9 -1
  2029. package/node_modules/strnum/test.js +9 -0
  2030. package/package.json +31 -38
  2031. package/node_modules/@aws-lambda-powertools/commons/LICENSE +0 -14
  2032. package/node_modules/@aws-lambda-powertools/commons/lib/cjs/config/EnvironmentVariablesService.d.ts +0 -78
  2033. package/node_modules/@aws-lambda-powertools/commons/lib/cjs/config/EnvironmentVariablesService.d.ts.map +0 -1
  2034. package/node_modules/@aws-lambda-powertools/commons/lib/cjs/config/EnvironmentVariablesService.js +0 -96
  2035. package/node_modules/@aws-lambda-powertools/commons/lib/esm/config/EnvironmentVariablesService.d.ts +0 -78
  2036. package/node_modules/@aws-lambda-powertools/commons/lib/esm/config/EnvironmentVariablesService.d.ts.map +0 -1
  2037. package/node_modules/@aws-lambda-powertools/commons/lib/esm/config/EnvironmentVariablesService.js +0 -93
  2038. package/node_modules/@aws-lambda-powertools/logger/LICENSE +0 -14
  2039. package/node_modules/@aws-lambda-powertools/logger/lib/cjs/config/EnvironmentVariablesService.d.ts +0 -78
  2040. package/node_modules/@aws-lambda-powertools/logger/lib/cjs/config/EnvironmentVariablesService.d.ts.map +0 -1
  2041. package/node_modules/@aws-lambda-powertools/logger/lib/cjs/config/EnvironmentVariablesService.js +0 -107
  2042. package/node_modules/@aws-lambda-powertools/logger/lib/esm/config/EnvironmentVariablesService.d.ts +0 -78
  2043. package/node_modules/@aws-lambda-powertools/logger/lib/esm/config/EnvironmentVariablesService.d.ts.map +0 -1
  2044. package/node_modules/@aws-lambda-powertools/logger/lib/esm/config/EnvironmentVariablesService.js +0 -104
  2045. package/node_modules/@aws-sdk/client-kms/dist-es/models/index.js +0 -1
  2046. package/node_modules/@aws-sdk/client-kms/dist-es/protocols/Aws_json1_1.js +0 -2008
  2047. package/node_modules/@aws-sdk/client-kms/dist-types/models/index.d.ts +0 -1
  2048. package/node_modules/@aws-sdk/client-kms/dist-types/protocols/Aws_json1_1.d.ts +0 -479
  2049. package/node_modules/@aws-sdk/client-kms/dist-types/ts3.4/models/index.d.ts +0 -1
  2050. package/node_modules/@aws-sdk/client-kms/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -638
  2051. package/node_modules/@aws-sdk/client-s3/dist-es/models/index.js +0 -2
  2052. package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +0 -7771
  2053. package/node_modules/@aws-sdk/client-s3/dist-types/models/index.d.ts +0 -2
  2054. package/node_modules/@aws-sdk/client-s3/dist-types/protocols/Aws_restXml.d.ts +0 -893
  2055. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/index.d.ts +0 -2
  2056. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/protocols/Aws_restXml.d.ts +0 -1197
  2057. package/node_modules/@aws-sdk/client-sso/dist-es/models/index.js +0 -1
  2058. package/node_modules/@aws-sdk/client-sso/dist-es/protocols/Aws_restJson1.js +0 -210
  2059. package/node_modules/@aws-sdk/client-sso/dist-types/models/index.d.ts +0 -1
  2060. package/node_modules/@aws-sdk/client-sso/dist-types/protocols/Aws_restJson1.d.ts +0 -38
  2061. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/index.d.ts +0 -1
  2062. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -53
  2063. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/index.js +0 -1
  2064. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/protocols/Aws_restJson1.js +0 -255
  2065. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/index.js +0 -1
  2066. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/protocols/Aws_query.js +0 -528
  2067. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/index.d.ts +0 -1
  2068. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/protocols/Aws_restJson1.d.ts +0 -11
  2069. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/index.d.ts +0 -1
  2070. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/protocols/Aws_query.d.ts +0 -20
  2071. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/index.d.ts +0 -1
  2072. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/protocols/Aws_restJson1.d.ts +0 -17
  2073. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/index.d.ts +0 -1
  2074. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/protocols/Aws_query.d.ts +0 -29
  2075. package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/config.js +0 -12
  2076. package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/getRealRegion.js +0 -6
  2077. package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/index.js +0 -2
  2078. package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/isFipsRegion.js +0 -1
  2079. package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/resolveRegionConfig.js +0 -24
  2080. package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/config.d.ts +0 -17
  2081. package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/getRealRegion.d.ts +0 -4
  2082. package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/index.d.ts +0 -8
  2083. package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/isFipsRegion.d.ts +0 -4
  2084. package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/resolveRegionConfig.d.ts +0 -37
  2085. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/config.d.ts +0 -8
  2086. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/getRealRegion.d.ts +0 -1
  2087. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/index.d.ts +0 -2
  2088. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/isFipsRegion.d.ts +0 -1
  2089. package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/resolveRegionConfig.d.ts +0 -14
  2090. package/node_modules/@smithy/abort-controller/dist-cjs/AbortController.js +0 -1
  2091. package/node_modules/@smithy/abort-controller/dist-cjs/AbortSignal.js +0 -1
  2092. package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js +0 -1
  2093. package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/NodeUseFipsEndpointConfigOptions.js +0 -1
  2094. package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/index.js +0 -1
  2095. package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/resolveCustomEndpointsConfig.js +0 -1
  2096. package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/resolveEndpointsConfig.js +0 -1
  2097. package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/utils/getEndpointFromRegion.js +0 -1
  2098. package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/config.js +0 -1
  2099. package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/getRealRegion.js +0 -1
  2100. package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/index.js +0 -1
  2101. package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/isFipsRegion.js +0 -1
  2102. package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/resolveRegionConfig.js +0 -1
  2103. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/EndpointVariant.js +0 -1
  2104. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/EndpointVariantTag.js +0 -1
  2105. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/PartitionHash.js +0 -1
  2106. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/RegionHash.js +0 -1
  2107. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getHostnameFromVariants.js +0 -1
  2108. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getRegionInfo.js +0 -1
  2109. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getResolvedHostname.js +0 -1
  2110. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getResolvedPartition.js +0 -1
  2111. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getResolvedSigningRegion.js +0 -1
  2112. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/index.js +0 -1
  2113. package/node_modules/@smithy/core/dist-cjs/getSmithyContext.js +0 -1
  2114. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +0 -1
  2115. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +0 -1
  2116. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +0 -1
  2117. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/index.js +0 -1
  2118. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/resolveAuthOptions.js +0 -1
  2119. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/getHttpSigningMiddleware.js +0 -1
  2120. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/httpSigningMiddleware.js +0 -1
  2121. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/index.js +0 -1
  2122. package/node_modules/@smithy/core/dist-cjs/normalizeProvider.js +0 -1
  2123. package/node_modules/@smithy/core/dist-cjs/pagination/createPaginator.js +0 -1
  2124. package/node_modules/@smithy/core/dist-cjs/protocols/requestBuilder.js +0 -1
  2125. package/node_modules/@smithy/core/dist-cjs/setFeature.js +0 -1
  2126. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/DefaultIdentityProviderConfig.js +0 -1
  2127. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +0 -1
  2128. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +0 -1
  2129. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/index.js +0 -1
  2130. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/noAuth.js +0 -1
  2131. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/index.js +0 -1
  2132. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/memoizeIdentityProvider.js +0 -1
  2133. package/node_modules/@smithy/credential-provider-imds/dist-cjs/config/Endpoint.js +0 -1
  2134. package/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointConfigOptions.js +0 -1
  2135. package/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointMode.js +0 -1
  2136. package/node_modules/@smithy/credential-provider-imds/dist-cjs/config/EndpointModeConfigOptions.js +0 -1
  2137. package/node_modules/@smithy/credential-provider-imds/dist-cjs/error/InstanceMetadataV1FallbackError.js +0 -1
  2138. package/node_modules/@smithy/credential-provider-imds/dist-cjs/fromContainerMetadata.js +0 -1
  2139. package/node_modules/@smithy/credential-provider-imds/dist-cjs/fromInstanceMetadata.js +0 -1
  2140. package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/ImdsCredentials.js +0 -1
  2141. package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/RemoteProviderInit.js +0 -1
  2142. package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/httpRequest.js +0 -1
  2143. package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/index.js +0 -1
  2144. package/node_modules/@smithy/credential-provider-imds/dist-cjs/remoteProvider/retry.js +0 -1
  2145. package/node_modules/@smithy/credential-provider-imds/dist-cjs/types.js +0 -1
  2146. package/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getExtendedInstanceMetadataCredentials.js +0 -1
  2147. package/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/getInstanceMetadataEndpoint.js +0 -1
  2148. package/node_modules/@smithy/credential-provider-imds/dist-cjs/utils/staticStabilityProvider.js +0 -1
  2149. package/node_modules/@smithy/eventstream-codec/dist-cjs/EventStreamCodec.js +0 -1
  2150. package/node_modules/@smithy/eventstream-codec/dist-cjs/HeaderMarshaller.js +0 -1
  2151. package/node_modules/@smithy/eventstream-codec/dist-cjs/Int64.js +0 -1
  2152. package/node_modules/@smithy/eventstream-codec/dist-cjs/Message.js +0 -1
  2153. package/node_modules/@smithy/eventstream-codec/dist-cjs/MessageDecoderStream.js +0 -1
  2154. package/node_modules/@smithy/eventstream-codec/dist-cjs/MessageEncoderStream.js +0 -1
  2155. package/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageDecoderStream.js +0 -1
  2156. package/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageEncoderStream.js +0 -1
  2157. package/node_modules/@smithy/eventstream-codec/dist-cjs/TestVectors.fixture.js +0 -1
  2158. package/node_modules/@smithy/eventstream-codec/dist-cjs/splitMessage.js +0 -1
  2159. package/node_modules/@smithy/eventstream-codec/dist-cjs/vectorTypes.fixture.js +0 -1
  2160. package/node_modules/@smithy/eventstream-serde-browser/dist-cjs/EventStreamMarshaller.js +0 -1
  2161. package/node_modules/@smithy/eventstream-serde-browser/dist-cjs/provider.js +0 -1
  2162. package/node_modules/@smithy/eventstream-serde-browser/dist-cjs/utils.js +0 -1
  2163. package/node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/EventStreamSerdeConfig.js +0 -1
  2164. package/node_modules/@smithy/eventstream-serde-node/dist-cjs/EventStreamMarshaller.js +0 -1
  2165. package/node_modules/@smithy/eventstream-serde-node/dist-cjs/provider.js +0 -1
  2166. package/node_modules/@smithy/eventstream-serde-node/dist-cjs/utils.js +0 -1
  2167. package/node_modules/@smithy/eventstream-serde-universal/dist-cjs/EventStreamMarshaller.js +0 -1
  2168. package/node_modules/@smithy/eventstream-serde-universal/dist-cjs/getChunkedStream.js +0 -1
  2169. package/node_modules/@smithy/eventstream-serde-universal/dist-cjs/getUnmarshalledStream.js +0 -1
  2170. package/node_modules/@smithy/eventstream-serde-universal/dist-cjs/provider.js +0 -1
  2171. package/node_modules/@smithy/fetch-http-handler/dist-cjs/create-request.js +0 -1
  2172. package/node_modules/@smithy/fetch-http-handler/dist-cjs/fetch-http-handler.js +0 -1
  2173. package/node_modules/@smithy/fetch-http-handler/dist-cjs/request-timeout.js +0 -1
  2174. package/node_modules/@smithy/fetch-http-handler/dist-cjs/stream-collector.js +0 -1
  2175. package/node_modules/@smithy/hash-stream-node/dist-cjs/HashCalculator.js +0 -1
  2176. package/node_modules/@smithy/hash-stream-node/dist-cjs/fileStreamHasher.js +0 -1
  2177. package/node_modules/@smithy/hash-stream-node/dist-cjs/readableStreamHasher.js +0 -1
  2178. package/node_modules/@smithy/invalid-dependency/dist-cjs/invalidFunction.js +0 -1
  2179. package/node_modules/@smithy/invalid-dependency/dist-cjs/invalidProvider.js +0 -1
  2180. package/node_modules/@smithy/md5-js/dist-cjs/constants.js +0 -1
  2181. package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/createConfigValueProvider.js +0 -1
  2182. package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromInstructions.js +0 -1
  2183. package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/index.js +0 -1
  2184. package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/toEndpointV1.js +0 -1
  2185. package/node_modules/@smithy/middleware-endpoint/dist-cjs/endpointMiddleware.js +0 -1
  2186. package/node_modules/@smithy/middleware-endpoint/dist-cjs/getEndpointPlugin.js +0 -1
  2187. package/node_modules/@smithy/middleware-endpoint/dist-cjs/resolveEndpointConfig.js +0 -1
  2188. package/node_modules/@smithy/middleware-endpoint/dist-cjs/resolveEndpointRequiredConfig.js +0 -1
  2189. package/node_modules/@smithy/middleware-endpoint/dist-cjs/service-customizations/index.js +0 -1
  2190. package/node_modules/@smithy/middleware-endpoint/dist-cjs/service-customizations/s3.js +0 -1
  2191. package/node_modules/@smithy/middleware-endpoint/dist-cjs/types.js +0 -1
  2192. package/node_modules/@smithy/middleware-retry/dist-cjs/AdaptiveRetryStrategy.js +0 -1
  2193. package/node_modules/@smithy/middleware-retry/dist-cjs/StandardRetryStrategy.js +0 -1
  2194. package/node_modules/@smithy/middleware-retry/dist-cjs/configurations.js +0 -1
  2195. package/node_modules/@smithy/middleware-retry/dist-cjs/defaultRetryQuota.js +0 -1
  2196. package/node_modules/@smithy/middleware-retry/dist-cjs/delayDecider.js +0 -1
  2197. package/node_modules/@smithy/middleware-retry/dist-cjs/omitRetryHeadersMiddleware.js +0 -1
  2198. package/node_modules/@smithy/middleware-retry/dist-cjs/retryDecider.js +0 -1
  2199. package/node_modules/@smithy/middleware-retry/dist-cjs/retryMiddleware.js +0 -1
  2200. package/node_modules/@smithy/middleware-retry/dist-cjs/types.js +0 -1
  2201. package/node_modules/@smithy/middleware-retry/dist-cjs/util.js +0 -1
  2202. package/node_modules/@smithy/middleware-serde/dist-cjs/deserializerMiddleware.js +0 -1
  2203. package/node_modules/@smithy/middleware-serde/dist-cjs/serdePlugin.js +0 -1
  2204. package/node_modules/@smithy/middleware-serde/dist-cjs/serializerMiddleware.js +0 -1
  2205. package/node_modules/@smithy/middleware-stack/dist-cjs/MiddlewareStack.js +0 -1
  2206. package/node_modules/@smithy/middleware-stack/dist-cjs/types.js +0 -1
  2207. package/node_modules/@smithy/node-config-provider/dist-cjs/configLoader.js +0 -1
  2208. package/node_modules/@smithy/node-config-provider/dist-cjs/fromEnv.js +0 -1
  2209. package/node_modules/@smithy/node-config-provider/dist-cjs/fromSharedConfigFiles.js +0 -1
  2210. package/node_modules/@smithy/node-config-provider/dist-cjs/fromStatic.js +0 -1
  2211. package/node_modules/@smithy/node-config-provider/dist-cjs/getSelectorName.js +0 -1
  2212. package/node_modules/@smithy/node-http-handler/dist-cjs/constants.js +0 -1
  2213. package/node_modules/@smithy/node-http-handler/dist-cjs/get-transformed-headers.js +0 -1
  2214. package/node_modules/@smithy/node-http-handler/dist-cjs/node-http-handler.js +0 -1
  2215. package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-manager.js +0 -1
  2216. package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-pool.js +0 -1
  2217. package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-handler.js +0 -1
  2218. package/node_modules/@smithy/node-http-handler/dist-cjs/readable.mock.js +0 -1
  2219. package/node_modules/@smithy/node-http-handler/dist-cjs/server.mock.js +0 -1
  2220. package/node_modules/@smithy/node-http-handler/dist-cjs/set-connection-timeout.js +0 -1
  2221. package/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-keep-alive.js +0 -1
  2222. package/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-timeout.js +0 -1
  2223. package/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/collector.js +0 -1
  2224. package/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/index.js +0 -1
  2225. package/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/readable.mock.js +0 -1
  2226. package/node_modules/@smithy/node-http-handler/dist-cjs/timing.js +0 -1
  2227. package/node_modules/@smithy/node-http-handler/dist-cjs/write-request-body.js +0 -1
  2228. package/node_modules/@smithy/property-provider/dist-cjs/CredentialsProviderError.js +0 -1
  2229. package/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +0 -1
  2230. package/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +0 -1
  2231. package/node_modules/@smithy/property-provider/dist-cjs/chain.js +0 -1
  2232. package/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +0 -1
  2233. package/node_modules/@smithy/property-provider/dist-cjs/memoize.js +0 -1
  2234. package/node_modules/@smithy/protocol-http/dist-cjs/Field.js +0 -1
  2235. package/node_modules/@smithy/protocol-http/dist-cjs/Fields.js +0 -1
  2236. package/node_modules/@smithy/protocol-http/dist-cjs/extensions/httpExtensionConfiguration.js +0 -1
  2237. package/node_modules/@smithy/protocol-http/dist-cjs/extensions/index.js +0 -1
  2238. package/node_modules/@smithy/protocol-http/dist-cjs/httpHandler.js +0 -1
  2239. package/node_modules/@smithy/protocol-http/dist-cjs/httpRequest.js +0 -1
  2240. package/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js +0 -1
  2241. package/node_modules/@smithy/protocol-http/dist-cjs/isValidHostname.js +0 -1
  2242. package/node_modules/@smithy/protocol-http/dist-cjs/types.js +0 -1
  2243. package/node_modules/@smithy/service-error-classification/dist-cjs/constants.js +0 -1
  2244. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js +0 -1
  2245. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js +0 -1
  2246. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js +0 -1
  2247. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js +0 -1
  2248. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js +0 -1
  2249. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js +0 -1
  2250. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js +0 -1
  2251. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js +0 -1
  2252. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js +0 -1
  2253. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js +0 -1
  2254. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +0 -13
  2255. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js +0 -1
  2256. package/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +0 -9
  2257. package/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +0 -5
  2258. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +0 -5
  2259. package/node_modules/@smithy/signature-v4/dist-cjs/HeaderFormatter.js +0 -1
  2260. package/node_modules/@smithy/signature-v4/dist-cjs/SignatureV4.js +0 -1
  2261. package/node_modules/@smithy/signature-v4/dist-cjs/SignatureV4Base.js +0 -1
  2262. package/node_modules/@smithy/signature-v4/dist-cjs/constants.js +0 -1
  2263. package/node_modules/@smithy/signature-v4/dist-cjs/credentialDerivation.js +0 -1
  2264. package/node_modules/@smithy/signature-v4/dist-cjs/getCanonicalHeaders.js +0 -1
  2265. package/node_modules/@smithy/signature-v4/dist-cjs/getCanonicalQuery.js +0 -1
  2266. package/node_modules/@smithy/signature-v4/dist-cjs/getPayloadHash.js +0 -1
  2267. package/node_modules/@smithy/signature-v4/dist-cjs/headerUtil.js +0 -1
  2268. package/node_modules/@smithy/signature-v4/dist-cjs/moveHeadersToQuery.js +0 -1
  2269. package/node_modules/@smithy/signature-v4/dist-cjs/prepareRequest.js +0 -1
  2270. package/node_modules/@smithy/signature-v4/dist-cjs/signature-v4a-container.js +0 -1
  2271. package/node_modules/@smithy/signature-v4/dist-cjs/suite.fixture.js +0 -1
  2272. package/node_modules/@smithy/signature-v4/dist-cjs/utilDate.js +0 -1
  2273. package/node_modules/@smithy/smithy-client/dist-cjs/NoOpLogger.js +0 -1
  2274. package/node_modules/@smithy/smithy-client/dist-cjs/client.js +0 -1
  2275. package/node_modules/@smithy/smithy-client/dist-cjs/collect-stream-body.js +0 -1
  2276. package/node_modules/@smithy/smithy-client/dist-cjs/command.js +0 -1
  2277. package/node_modules/@smithy/smithy-client/dist-cjs/constants.js +0 -1
  2278. package/node_modules/@smithy/smithy-client/dist-cjs/create-aggregated-client.js +0 -1
  2279. package/node_modules/@smithy/smithy-client/dist-cjs/default-error-handler.js +0 -1
  2280. package/node_modules/@smithy/smithy-client/dist-cjs/defaults-mode.js +0 -1
  2281. package/node_modules/@smithy/smithy-client/dist-cjs/emitWarningIfUnsupportedVersion.js +0 -1
  2282. package/node_modules/@smithy/smithy-client/dist-cjs/exceptions.js +0 -1
  2283. package/node_modules/@smithy/smithy-client/dist-cjs/extended-encode-uri-component.js +0 -1
  2284. package/node_modules/@smithy/smithy-client/dist-cjs/extensions/checksum.js +0 -1
  2285. package/node_modules/@smithy/smithy-client/dist-cjs/extensions/defaultExtensionConfiguration.js +0 -1
  2286. package/node_modules/@smithy/smithy-client/dist-cjs/extensions/index.js +0 -1
  2287. package/node_modules/@smithy/smithy-client/dist-cjs/extensions/retry.js +0 -1
  2288. package/node_modules/@smithy/smithy-client/dist-cjs/get-array-if-single-item.js +0 -1
  2289. package/node_modules/@smithy/smithy-client/dist-cjs/get-value-from-text-node.js +0 -1
  2290. package/node_modules/@smithy/smithy-client/dist-cjs/is-serializable-header-value.js +0 -1
  2291. package/node_modules/@smithy/smithy-client/dist-cjs/object-mapping.js +0 -1
  2292. package/node_modules/@smithy/smithy-client/dist-cjs/resolve-path.js +0 -1
  2293. package/node_modules/@smithy/smithy-client/dist-cjs/ser-utils.js +0 -1
  2294. package/node_modules/@smithy/smithy-client/dist-cjs/serde-json.js +0 -1
  2295. package/node_modules/@smithy/types/dist-cjs/abort-handler.js +0 -1
  2296. package/node_modules/@smithy/types/dist-cjs/abort.js +0 -1
  2297. package/node_modules/@smithy/types/dist-cjs/auth/HttpApiKeyAuth.js +0 -1
  2298. package/node_modules/@smithy/types/dist-cjs/auth/HttpAuthScheme.js +0 -1
  2299. package/node_modules/@smithy/types/dist-cjs/auth/HttpAuthSchemeProvider.js +0 -1
  2300. package/node_modules/@smithy/types/dist-cjs/auth/HttpSigner.js +0 -1
  2301. package/node_modules/@smithy/types/dist-cjs/auth/IdentityProviderConfig.js +0 -1
  2302. package/node_modules/@smithy/types/dist-cjs/auth/auth.js +0 -1
  2303. package/node_modules/@smithy/types/dist-cjs/auth/index.js +0 -1
  2304. package/node_modules/@smithy/types/dist-cjs/blob/blob-payload-input-types.js +0 -1
  2305. package/node_modules/@smithy/types/dist-cjs/checksum.js +0 -1
  2306. package/node_modules/@smithy/types/dist-cjs/client.js +0 -1
  2307. package/node_modules/@smithy/types/dist-cjs/command.js +0 -1
  2308. package/node_modules/@smithy/types/dist-cjs/connection/config.js +0 -1
  2309. package/node_modules/@smithy/types/dist-cjs/connection/index.js +0 -1
  2310. package/node_modules/@smithy/types/dist-cjs/connection/manager.js +0 -1
  2311. package/node_modules/@smithy/types/dist-cjs/connection/pool.js +0 -1
  2312. package/node_modules/@smithy/types/dist-cjs/crypto.js +0 -1
  2313. package/node_modules/@smithy/types/dist-cjs/downlevel-ts3.4/transform/type-transform.js +0 -1
  2314. package/node_modules/@smithy/types/dist-cjs/encode.js +0 -1
  2315. package/node_modules/@smithy/types/dist-cjs/endpoint.js +0 -1
  2316. package/node_modules/@smithy/types/dist-cjs/endpoints/EndpointRuleObject.js +0 -1
  2317. package/node_modules/@smithy/types/dist-cjs/endpoints/ErrorRuleObject.js +0 -1
  2318. package/node_modules/@smithy/types/dist-cjs/endpoints/RuleSetObject.js +0 -1
  2319. package/node_modules/@smithy/types/dist-cjs/endpoints/TreeRuleObject.js +0 -1
  2320. package/node_modules/@smithy/types/dist-cjs/endpoints/index.js +0 -1
  2321. package/node_modules/@smithy/types/dist-cjs/endpoints/shared.js +0 -1
  2322. package/node_modules/@smithy/types/dist-cjs/eventStream.js +0 -1
  2323. package/node_modules/@smithy/types/dist-cjs/extensions/checksum.js +0 -1
  2324. package/node_modules/@smithy/types/dist-cjs/extensions/defaultClientConfiguration.js +0 -1
  2325. package/node_modules/@smithy/types/dist-cjs/extensions/defaultExtensionConfiguration.js +0 -1
  2326. package/node_modules/@smithy/types/dist-cjs/extensions/index.js +0 -1
  2327. package/node_modules/@smithy/types/dist-cjs/extensions/retry.js +0 -1
  2328. package/node_modules/@smithy/types/dist-cjs/externals-check/browser-externals-check.js +0 -1
  2329. package/node_modules/@smithy/types/dist-cjs/feature-ids.js +0 -1
  2330. package/node_modules/@smithy/types/dist-cjs/http/httpHandlerInitialization.js +0 -1
  2331. package/node_modules/@smithy/types/dist-cjs/http.js +0 -1
  2332. package/node_modules/@smithy/types/dist-cjs/identity/apiKeyIdentity.js +0 -1
  2333. package/node_modules/@smithy/types/dist-cjs/identity/awsCredentialIdentity.js +0 -1
  2334. package/node_modules/@smithy/types/dist-cjs/identity/identity.js +0 -1
  2335. package/node_modules/@smithy/types/dist-cjs/identity/index.js +0 -1
  2336. package/node_modules/@smithy/types/dist-cjs/identity/tokenIdentity.js +0 -1
  2337. package/node_modules/@smithy/types/dist-cjs/logger.js +0 -1
  2338. package/node_modules/@smithy/types/dist-cjs/middleware.js +0 -1
  2339. package/node_modules/@smithy/types/dist-cjs/pagination.js +0 -1
  2340. package/node_modules/@smithy/types/dist-cjs/profile.js +0 -1
  2341. package/node_modules/@smithy/types/dist-cjs/response.js +0 -1
  2342. package/node_modules/@smithy/types/dist-cjs/retry.js +0 -1
  2343. package/node_modules/@smithy/types/dist-cjs/schema/schema.js +0 -1
  2344. package/node_modules/@smithy/types/dist-cjs/schema/sentinels.js +0 -1
  2345. package/node_modules/@smithy/types/dist-cjs/schema/traits.js +0 -1
  2346. package/node_modules/@smithy/types/dist-cjs/serde.js +0 -1
  2347. package/node_modules/@smithy/types/dist-cjs/shapes.js +0 -1
  2348. package/node_modules/@smithy/types/dist-cjs/signature.js +0 -1
  2349. package/node_modules/@smithy/types/dist-cjs/stream.js +0 -1
  2350. package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-common-types.js +0 -1
  2351. package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-input-types.js +0 -1
  2352. package/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-output-types.js +0 -1
  2353. package/node_modules/@smithy/types/dist-cjs/transfer.js +0 -1
  2354. package/node_modules/@smithy/types/dist-cjs/transform/client-method-transforms.js +0 -1
  2355. package/node_modules/@smithy/types/dist-cjs/transform/client-payload-blob-type-narrow.js +0 -1
  2356. package/node_modules/@smithy/types/dist-cjs/transform/exact.js +0 -1
  2357. package/node_modules/@smithy/types/dist-cjs/transform/mutable.js +0 -1
  2358. package/node_modules/@smithy/types/dist-cjs/transform/no-undefined.js +0 -1
  2359. package/node_modules/@smithy/types/dist-cjs/transform/type-transform.js +0 -1
  2360. package/node_modules/@smithy/types/dist-cjs/uri.js +0 -1
  2361. package/node_modules/@smithy/types/dist-cjs/util.js +0 -1
  2362. package/node_modules/@smithy/types/dist-cjs/waiter.js +0 -1
  2363. package/node_modules/@smithy/util-body-length-browser/dist-cjs/calculateBodyLength.js +0 -1
  2364. package/node_modules/@smithy/util-body-length-node/dist-cjs/calculateBodyLength.js +0 -1
  2365. package/node_modules/@smithy/util-config-provider/dist-cjs/booleanSelector.js +0 -1
  2366. package/node_modules/@smithy/util-config-provider/dist-cjs/numberSelector.js +0 -1
  2367. package/node_modules/@smithy/util-config-provider/dist-cjs/types.js +0 -1
  2368. package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/constants.js +0 -1
  2369. package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/defaultsModeConfig.js +0 -1
  2370. package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/resolveDefaultsModeConfig.js +0 -1
  2371. package/node_modules/@smithy/util-endpoints/dist-cjs/cache/EndpointCache.js +0 -1
  2372. package/node_modules/@smithy/util-endpoints/dist-cjs/debug/debugId.js +0 -1
  2373. package/node_modules/@smithy/util-endpoints/dist-cjs/debug/index.js +0 -1
  2374. package/node_modules/@smithy/util-endpoints/dist-cjs/debug/toDebugString.js +0 -1
  2375. package/node_modules/@smithy/util-endpoints/dist-cjs/getEndpointUrlConfig.js +0 -1
  2376. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/booleanEquals.js +0 -1
  2377. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/getAttr.js +0 -1
  2378. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/getAttrPathList.js +0 -1
  2379. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/index.js +0 -1
  2380. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/isIpAddress.js +0 -1
  2381. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/isSet.js +0 -1
  2382. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/isValidHostLabel.js +0 -1
  2383. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/not.js +0 -1
  2384. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/parseURL.js +0 -1
  2385. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/stringEquals.js +0 -1
  2386. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/substring.js +0 -1
  2387. package/node_modules/@smithy/util-endpoints/dist-cjs/lib/uriEncode.js +0 -1
  2388. package/node_modules/@smithy/util-endpoints/dist-cjs/resolveEndpoint.js +0 -1
  2389. package/node_modules/@smithy/util-endpoints/dist-cjs/types/EndpointError.js +0 -1
  2390. package/node_modules/@smithy/util-endpoints/dist-cjs/types/EndpointFunctions.js +0 -1
  2391. package/node_modules/@smithy/util-endpoints/dist-cjs/types/EndpointRuleObject.js +0 -1
  2392. package/node_modules/@smithy/util-endpoints/dist-cjs/types/ErrorRuleObject.js +0 -1
  2393. package/node_modules/@smithy/util-endpoints/dist-cjs/types/RuleSetObject.js +0 -1
  2394. package/node_modules/@smithy/util-endpoints/dist-cjs/types/TreeRuleObject.js +0 -1
  2395. package/node_modules/@smithy/util-endpoints/dist-cjs/types/index.js +0 -1
  2396. package/node_modules/@smithy/util-endpoints/dist-cjs/types/shared.js +0 -1
  2397. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/callFunction.js +0 -1
  2398. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/customEndpointFunctions.js +0 -1
  2399. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/endpointFunctions.js +0 -1
  2400. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateCondition.js +0 -1
  2401. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateConditions.js +0 -1
  2402. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateEndpointRule.js +0 -1
  2403. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateErrorRule.js +0 -1
  2404. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateExpression.js +0 -1
  2405. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateRules.js +0 -1
  2406. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateTemplate.js +0 -1
  2407. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/evaluateTreeRule.js +0 -1
  2408. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getEndpointHeaders.js +0 -1
  2409. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getEndpointProperties.js +0 -1
  2410. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getEndpointProperty.js +0 -1
  2411. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getEndpointUrl.js +0 -1
  2412. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/getReferenceValue.js +0 -1
  2413. package/node_modules/@smithy/util-endpoints/dist-cjs/utils/index.js +0 -1
  2414. package/node_modules/@smithy/util-middleware/dist-cjs/getSmithyContext.js +0 -1
  2415. package/node_modules/@smithy/util-middleware/dist-cjs/normalizeProvider.js +0 -1
  2416. package/node_modules/@smithy/util-retry/dist-cjs/AdaptiveRetryStrategy.js +0 -1
  2417. package/node_modules/@smithy/util-retry/dist-cjs/ConfiguredRetryStrategy.js +0 -1
  2418. package/node_modules/@smithy/util-retry/dist-cjs/DefaultRateLimiter.js +0 -1
  2419. package/node_modules/@smithy/util-retry/dist-cjs/StandardRetryStrategy.js +0 -1
  2420. package/node_modules/@smithy/util-retry/dist-cjs/config.js +0 -1
  2421. package/node_modules/@smithy/util-retry/dist-cjs/constants.js +0 -1
  2422. package/node_modules/@smithy/util-retry/dist-cjs/defaultRetryBackoffStrategy.js +0 -1
  2423. package/node_modules/@smithy/util-retry/dist-cjs/defaultRetryToken.js +0 -1
  2424. package/node_modules/@smithy/util-retry/dist-cjs/types.js +0 -1
  2425. package/node_modules/@smithy/util-stream/dist-cjs/blob/Uint8ArrayBlobAdapter.js +0 -1
  2426. package/node_modules/@smithy/util-stream/dist-cjs/blob/transforms.js +0 -1
  2427. package/node_modules/@smithy/util-stream/dist-es/blob/transforms.js +0 -15
  2428. package/node_modules/@smithy/util-stream/dist-types/blob/transforms.d.ts +0 -9
  2429. package/node_modules/@smithy/util-stream/dist-types/ts3.4/blob/transforms.d.ts +0 -9
  2430. package/node_modules/@smithy/util-uri-escape/dist-cjs/escape-uri-path.js +0 -1
  2431. package/node_modules/@smithy/util-uri-escape/dist-cjs/escape-uri.js +0 -1
  2432. package/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js +0 -1
  2433. package/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js +0 -1
  2434. package/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js +0 -1
  2435. package/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js +0 -1
  2436. package/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js +0 -1
  2437. package/node_modules/@smithy/util-waiter/dist-cjs/createWaiter.js +0 -1
  2438. package/node_modules/@smithy/util-waiter/dist-cjs/poller.js +0 -1
  2439. package/node_modules/@smithy/util-waiter/dist-cjs/utils/index.js +0 -1
  2440. package/node_modules/@smithy/util-waiter/dist-cjs/utils/sleep.js +0 -1
  2441. package/node_modules/@smithy/util-waiter/dist-cjs/utils/validate.js +0 -1
  2442. package/node_modules/@smithy/util-waiter/dist-cjs/waiter.js +0 -1
  2443. package/node_modules/@types/uuid/LICENSE +0 -21
  2444. package/node_modules/@types/uuid/README.md +0 -15
  2445. package/node_modules/@types/uuid/index.d.mts +0 -12
  2446. package/node_modules/@types/uuid/index.d.ts +0 -86
  2447. package/node_modules/@types/uuid/package.json +0 -54
  2448. package/node_modules/fast-xml-parser/src/v5/CharsSymbol.js +0 -16
  2449. package/node_modules/fast-xml-parser/src/v5/EntitiesParser.js +0 -107
  2450. package/node_modules/fast-xml-parser/src/v5/OptionsBuilder.js +0 -64
  2451. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/BaseOutputBuilder.js +0 -71
  2452. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsArrBuilder.js +0 -103
  2453. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsMinArrBuilder.js +0 -102
  2454. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsObjBuilder.js +0 -156
  2455. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/ParserOptionsBuilder.js +0 -99
  2456. package/node_modules/fast-xml-parser/src/v5/TagPath.js +0 -81
  2457. package/node_modules/fast-xml-parser/src/v5/TagPathMatcher.js +0 -15
  2458. package/node_modules/fast-xml-parser/src/v5/XMLParser.js +0 -85
  2459. package/node_modules/fast-xml-parser/src/v5/Xml2JsParser.js +0 -237
  2460. package/node_modules/fast-xml-parser/src/v5/XmlPartReader.js +0 -212
  2461. package/node_modules/fast-xml-parser/src/v5/XmlSpecialTagsReader.js +0 -118
  2462. package/node_modules/fast-xml-parser/src/v5/inputSource/BufferSource.js +0 -118
  2463. package/node_modules/fast-xml-parser/src/v5/inputSource/StringSource.js +0 -123
  2464. package/node_modules/fast-xml-parser/src/v5/valueParsers/EntitiesParser.js +0 -107
  2465. package/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParser.js +0 -23
  2466. package/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParserExt.js +0 -20
  2467. package/node_modules/fast-xml-parser/src/v5/valueParsers/currency.js +0 -40
  2468. package/node_modules/fast-xml-parser/src/v5/valueParsers/join.js +0 -14
  2469. package/node_modules/fast-xml-parser/src/v5/valueParsers/number.js +0 -16
  2470. package/node_modules/fast-xml-parser/src/v5/valueParsers/trim.js +0 -8
  2471. package/node_modules/lodash.merge/LICENSE +0 -47
  2472. package/node_modules/lodash.merge/README.md +0 -18
  2473. package/node_modules/lodash.merge/index.js +0 -1977
  2474. package/node_modules/lodash.merge/package.json +0 -16
  2475. package/node_modules/uuid/CHANGELOG.md +0 -274
  2476. package/node_modules/uuid/CONTRIBUTING.md +0 -18
  2477. package/node_modules/uuid/LICENSE.md +0 -9
  2478. package/node_modules/uuid/README.md +0 -466
  2479. package/node_modules/uuid/dist/bin/uuid +0 -2
  2480. package/node_modules/uuid/dist/commonjs-browser/index.js +0 -79
  2481. package/node_modules/uuid/dist/commonjs-browser/md5.js +0 -223
  2482. package/node_modules/uuid/dist/commonjs-browser/native.js +0 -11
  2483. package/node_modules/uuid/dist/commonjs-browser/nil.js +0 -8
  2484. package/node_modules/uuid/dist/commonjs-browser/parse.js +0 -45
  2485. package/node_modules/uuid/dist/commonjs-browser/regex.js +0 -8
  2486. package/node_modules/uuid/dist/commonjs-browser/rng.js +0 -25
  2487. package/node_modules/uuid/dist/commonjs-browser/sha1.js +0 -104
  2488. package/node_modules/uuid/dist/commonjs-browser/stringify.js +0 -44
  2489. package/node_modules/uuid/dist/commonjs-browser/v1.js +0 -107
  2490. package/node_modules/uuid/dist/commonjs-browser/v3.js +0 -16
  2491. package/node_modules/uuid/dist/commonjs-browser/v35.js +0 -80
  2492. package/node_modules/uuid/dist/commonjs-browser/v4.js +0 -43
  2493. package/node_modules/uuid/dist/commonjs-browser/v5.js +0 -16
  2494. package/node_modules/uuid/dist/commonjs-browser/validate.js +0 -17
  2495. package/node_modules/uuid/dist/commonjs-browser/version.js +0 -21
  2496. package/node_modules/uuid/dist/esm-browser/index.js +0 -9
  2497. package/node_modules/uuid/dist/esm-browser/md5.js +0 -215
  2498. package/node_modules/uuid/dist/esm-browser/native.js +0 -4
  2499. package/node_modules/uuid/dist/esm-browser/nil.js +0 -1
  2500. package/node_modules/uuid/dist/esm-browser/parse.js +0 -35
  2501. package/node_modules/uuid/dist/esm-browser/regex.js +0 -1
  2502. package/node_modules/uuid/dist/esm-browser/rng.js +0 -18
  2503. package/node_modules/uuid/dist/esm-browser/sha1.js +0 -96
  2504. package/node_modules/uuid/dist/esm-browser/stringify.js +0 -33
  2505. package/node_modules/uuid/dist/esm-browser/v1.js +0 -95
  2506. package/node_modules/uuid/dist/esm-browser/v3.js +0 -4
  2507. package/node_modules/uuid/dist/esm-browser/v35.js +0 -66
  2508. package/node_modules/uuid/dist/esm-browser/v4.js +0 -29
  2509. package/node_modules/uuid/dist/esm-browser/v5.js +0 -4
  2510. package/node_modules/uuid/dist/esm-browser/validate.js +0 -7
  2511. package/node_modules/uuid/dist/esm-browser/version.js +0 -11
  2512. package/node_modules/uuid/dist/esm-node/index.js +0 -9
  2513. package/node_modules/uuid/dist/esm-node/md5.js +0 -13
  2514. package/node_modules/uuid/dist/esm-node/native.js +0 -4
  2515. package/node_modules/uuid/dist/esm-node/nil.js +0 -1
  2516. package/node_modules/uuid/dist/esm-node/parse.js +0 -35
  2517. package/node_modules/uuid/dist/esm-node/regex.js +0 -1
  2518. package/node_modules/uuid/dist/esm-node/rng.js +0 -12
  2519. package/node_modules/uuid/dist/esm-node/sha1.js +0 -13
  2520. package/node_modules/uuid/dist/esm-node/stringify.js +0 -33
  2521. package/node_modules/uuid/dist/esm-node/v1.js +0 -95
  2522. package/node_modules/uuid/dist/esm-node/v3.js +0 -4
  2523. package/node_modules/uuid/dist/esm-node/v35.js +0 -66
  2524. package/node_modules/uuid/dist/esm-node/v4.js +0 -29
  2525. package/node_modules/uuid/dist/esm-node/v5.js +0 -4
  2526. package/node_modules/uuid/dist/esm-node/validate.js +0 -7
  2527. package/node_modules/uuid/dist/esm-node/version.js +0 -11
  2528. package/node_modules/uuid/dist/index.js +0 -79
  2529. package/node_modules/uuid/dist/md5-browser.js +0 -223
  2530. package/node_modules/uuid/dist/md5.js +0 -23
  2531. package/node_modules/uuid/dist/native-browser.js +0 -11
  2532. package/node_modules/uuid/dist/native.js +0 -15
  2533. package/node_modules/uuid/dist/nil.js +0 -8
  2534. package/node_modules/uuid/dist/parse.js +0 -45
  2535. package/node_modules/uuid/dist/regex.js +0 -8
  2536. package/node_modules/uuid/dist/rng-browser.js +0 -25
  2537. package/node_modules/uuid/dist/rng.js +0 -24
  2538. package/node_modules/uuid/dist/sha1-browser.js +0 -104
  2539. package/node_modules/uuid/dist/sha1.js +0 -23
  2540. package/node_modules/uuid/dist/stringify.js +0 -44
  2541. package/node_modules/uuid/dist/uuid-bin.js +0 -85
  2542. package/node_modules/uuid/dist/v1.js +0 -107
  2543. package/node_modules/uuid/dist/v3.js +0 -16
  2544. package/node_modules/uuid/dist/v35.js +0 -80
  2545. package/node_modules/uuid/dist/v4.js +0 -43
  2546. package/node_modules/uuid/dist/v5.js +0 -16
  2547. package/node_modules/uuid/dist/validate.js +0 -17
  2548. package/node_modules/uuid/dist/version.js +0 -21
  2549. package/node_modules/uuid/package.json +0 -135
  2550. package/node_modules/uuid/wrapper.mjs +0 -10
  2551. /package/node_modules/@aws-sdk/{middleware-flexible-checksums → crc64-nvme}/dist-es/crc64-nvme-crt-container.js +0 -0
  2552. /package/node_modules/@aws-sdk/{middleware-flexible-checksums → crc64-nvme}/dist-types/crc64-nvme-crt-container.d.ts +0 -0
  2553. /package/node_modules/@aws-sdk/{middleware-flexible-checksums → crc64-nvme}/dist-types/ts3.4/crc64-nvme-crt-container.d.ts +0 -0
  2554. /package/node_modules/@smithy/core/dist-es/{protocols → request-builder}/requestBuilder.js +0 -0
  2555. /package/node_modules/@smithy/core/dist-types/{protocols → request-builder}/requestBuilder.d.ts +0 -0
  2556. /package/node_modules/@smithy/core/dist-types/ts3.4/{protocols → request-builder}/requestBuilder.d.ts +0 -0
  2557. /package/node_modules/fast-xml-parser/src/{v5 → v6}/Report.js +0 -0
@@ -1,1712 +1,1843 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
1
+ 'use strict';
20
2
 
21
- // src/submodules/protocols/index.ts
22
- var index_exports = {};
23
- __export(index_exports, {
24
- AwsEc2QueryProtocol: () => AwsEc2QueryProtocol,
25
- AwsJson1_0Protocol: () => AwsJson1_0Protocol,
26
- AwsJson1_1Protocol: () => AwsJson1_1Protocol,
27
- AwsJsonRpcProtocol: () => AwsJsonRpcProtocol,
28
- AwsQueryProtocol: () => AwsQueryProtocol,
29
- AwsRestJsonProtocol: () => AwsRestJsonProtocol,
30
- AwsRestXmlProtocol: () => AwsRestXmlProtocol,
31
- JsonCodec: () => JsonCodec,
32
- JsonShapeDeserializer: () => JsonShapeDeserializer,
33
- JsonShapeSerializer: () => JsonShapeSerializer,
34
- XmlCodec: () => XmlCodec,
35
- XmlShapeDeserializer: () => XmlShapeDeserializer,
36
- XmlShapeSerializer: () => XmlShapeSerializer,
37
- _toBool: () => _toBool,
38
- _toNum: () => _toNum,
39
- _toStr: () => _toStr,
40
- awsExpectUnion: () => awsExpectUnion,
41
- loadRestJsonErrorCode: () => loadRestJsonErrorCode,
42
- loadRestXmlErrorCode: () => loadRestXmlErrorCode,
43
- parseJsonBody: () => parseJsonBody,
44
- parseJsonErrorBody: () => parseJsonErrorBody,
45
- parseXmlBody: () => parseXmlBody,
46
- parseXmlErrorBody: () => parseXmlErrorBody
47
- });
48
- module.exports = __toCommonJS(index_exports);
3
+ var cbor = require('@smithy/core/cbor');
4
+ var schema = require('@smithy/core/schema');
5
+ var smithyClient = require('@smithy/smithy-client');
6
+ var protocols = require('@smithy/core/protocols');
7
+ var serde = require('@smithy/core/serde');
8
+ var utilBase64 = require('@smithy/util-base64');
9
+ var utilUtf8 = require('@smithy/util-utf8');
10
+ var xmlBuilder = require('@aws-sdk/xml-builder');
49
11
 
50
- // src/submodules/protocols/coercing-serializers.ts
51
- var _toStr = /* @__PURE__ */ __name((val) => {
52
- if (val == null) {
12
+ class ProtocolLib {
13
+ queryCompat;
14
+ constructor(queryCompat = false) {
15
+ this.queryCompat = queryCompat;
16
+ }
17
+ resolveRestContentType(defaultContentType, inputSchema) {
18
+ const members = inputSchema.getMemberSchemas();
19
+ const httpPayloadMember = Object.values(members).find((m) => {
20
+ return !!m.getMergedTraits().httpPayload;
21
+ });
22
+ if (httpPayloadMember) {
23
+ const mediaType = httpPayloadMember.getMergedTraits().mediaType;
24
+ if (mediaType) {
25
+ return mediaType;
26
+ }
27
+ else if (httpPayloadMember.isStringSchema()) {
28
+ return "text/plain";
29
+ }
30
+ else if (httpPayloadMember.isBlobSchema()) {
31
+ return "application/octet-stream";
32
+ }
33
+ else {
34
+ return defaultContentType;
35
+ }
36
+ }
37
+ else if (!inputSchema.isUnitSchema()) {
38
+ const hasBody = Object.values(members).find((m) => {
39
+ const { httpQuery, httpQueryParams, httpHeader, httpLabel, httpPrefixHeaders } = m.getMergedTraits();
40
+ const noPrefixHeaders = httpPrefixHeaders === void 0;
41
+ return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && noPrefixHeaders;
42
+ });
43
+ if (hasBody) {
44
+ return defaultContentType;
45
+ }
46
+ }
47
+ }
48
+ async getErrorSchemaOrThrowBaseException(errorIdentifier, defaultNamespace, response, dataObject, metadata, getErrorSchema) {
49
+ let namespace = defaultNamespace;
50
+ let errorName = errorIdentifier;
51
+ if (errorIdentifier.includes("#")) {
52
+ [namespace, errorName] = errorIdentifier.split("#");
53
+ }
54
+ const errorMetadata = {
55
+ $metadata: metadata,
56
+ $fault: response.statusCode < 500 ? "client" : "server",
57
+ };
58
+ const registry = schema.TypeRegistry.for(namespace);
59
+ try {
60
+ const errorSchema = getErrorSchema?.(registry, errorName) ?? registry.getSchema(errorIdentifier);
61
+ return { errorSchema, errorMetadata };
62
+ }
63
+ catch (e) {
64
+ dataObject.message = dataObject.message ?? dataObject.Message ?? "UnknownError";
65
+ const synthetic = schema.TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace);
66
+ const baseExceptionSchema = synthetic.getBaseException();
67
+ if (baseExceptionSchema) {
68
+ const ErrorCtor = synthetic.getErrorCtor(baseExceptionSchema) ?? Error;
69
+ throw this.decorateServiceException(Object.assign(new ErrorCtor({ name: errorName }), errorMetadata), dataObject);
70
+ }
71
+ throw this.decorateServiceException(Object.assign(new Error(errorName), errorMetadata), dataObject);
72
+ }
73
+ }
74
+ decorateServiceException(exception, additions = {}) {
75
+ if (this.queryCompat) {
76
+ const msg = exception.Message ?? additions.Message;
77
+ const error = smithyClient.decorateServiceException(exception, additions);
78
+ if (msg) {
79
+ error.message = msg;
80
+ }
81
+ error.Error = {
82
+ ...error.Error,
83
+ Type: error.Error.Type,
84
+ Code: error.Error.Code,
85
+ Message: error.Error.message ?? error.Error.Message ?? msg,
86
+ };
87
+ const reqId = error.$metadata.requestId;
88
+ if (reqId) {
89
+ error.RequestId = reqId;
90
+ }
91
+ return error;
92
+ }
93
+ return smithyClient.decorateServiceException(exception, additions);
94
+ }
95
+ setQueryCompatError(output, response) {
96
+ const queryErrorHeader = response.headers?.["x-amzn-query-error"];
97
+ if (output !== undefined && queryErrorHeader != null) {
98
+ const [Code, Type] = queryErrorHeader.split(";");
99
+ const entries = Object.entries(output);
100
+ const Error = {
101
+ Code,
102
+ Type,
103
+ };
104
+ Object.assign(output, Error);
105
+ for (const [k, v] of entries) {
106
+ Error[k === "message" ? "Message" : k] = v;
107
+ }
108
+ delete Error.__type;
109
+ output.Error = Error;
110
+ }
111
+ }
112
+ queryCompatOutput(queryCompatErrorData, errorData) {
113
+ if (queryCompatErrorData.Error) {
114
+ errorData.Error = queryCompatErrorData.Error;
115
+ }
116
+ if (queryCompatErrorData.Type) {
117
+ errorData.Type = queryCompatErrorData.Type;
118
+ }
119
+ if (queryCompatErrorData.Code) {
120
+ errorData.Code = queryCompatErrorData.Code;
121
+ }
122
+ }
123
+ findQueryCompatibleError(registry, errorName) {
124
+ try {
125
+ return registry.getSchema(errorName);
126
+ }
127
+ catch (e) {
128
+ return registry.find((schema$1) => schema.NormalizedSchema.of(schema$1).getMergedTraits().awsQueryError?.[0] === errorName);
129
+ }
130
+ }
131
+ }
132
+
133
+ class AwsSmithyRpcV2CborProtocol extends cbor.SmithyRpcV2CborProtocol {
134
+ awsQueryCompatible;
135
+ mixin;
136
+ constructor({ defaultNamespace, awsQueryCompatible, }) {
137
+ super({ defaultNamespace });
138
+ this.awsQueryCompatible = !!awsQueryCompatible;
139
+ this.mixin = new ProtocolLib(this.awsQueryCompatible);
140
+ }
141
+ async serializeRequest(operationSchema, input, context) {
142
+ const request = await super.serializeRequest(operationSchema, input, context);
143
+ if (this.awsQueryCompatible) {
144
+ request.headers["x-amzn-query-mode"] = "true";
145
+ }
146
+ return request;
147
+ }
148
+ async handleError(operationSchema, context, response, dataObject, metadata) {
149
+ if (this.awsQueryCompatible) {
150
+ this.mixin.setQueryCompatError(dataObject, response);
151
+ }
152
+ const errorName = (() => {
153
+ const compatHeader = response.headers["x-amzn-query-error"];
154
+ if (compatHeader && this.awsQueryCompatible) {
155
+ return compatHeader.split(";")[0];
156
+ }
157
+ return cbor.loadSmithyRpcV2CborErrorCode(response, dataObject) ?? "Unknown";
158
+ })();
159
+ const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorName, this.options.defaultNamespace, response, dataObject, metadata, this.awsQueryCompatible ? this.mixin.findQueryCompatibleError : undefined);
160
+ const ns = schema.NormalizedSchema.of(errorSchema);
161
+ const message = dataObject.message ?? dataObject.Message ?? "Unknown";
162
+ const ErrorCtor = schema.TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;
163
+ const exception = new ErrorCtor(message);
164
+ const output = {};
165
+ for (const [name, member] of ns.structIterator()) {
166
+ if (dataObject[name] != null) {
167
+ output[name] = this.deserializer.readValue(member, dataObject[name]);
168
+ }
169
+ }
170
+ if (this.awsQueryCompatible) {
171
+ this.mixin.queryCompatOutput(dataObject, output);
172
+ }
173
+ throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {
174
+ $fault: ns.getMergedTraits().error,
175
+ message,
176
+ }, output), dataObject);
177
+ }
178
+ }
179
+
180
+ const _toStr = (val) => {
181
+ if (val == null) {
182
+ return val;
183
+ }
184
+ if (typeof val === "number" || typeof val === "bigint") {
185
+ const warning = new Error(`Received number ${val} where a string was expected.`);
186
+ warning.name = "Warning";
187
+ console.warn(warning);
188
+ return String(val);
189
+ }
190
+ if (typeof val === "boolean") {
191
+ const warning = new Error(`Received boolean ${val} where a string was expected.`);
192
+ warning.name = "Warning";
193
+ console.warn(warning);
194
+ return String(val);
195
+ }
53
196
  return val;
54
- }
55
- if (typeof val === "number" || typeof val === "bigint") {
56
- const warning = new Error(`Received number ${val} where a string was expected.`);
57
- warning.name = "Warning";
58
- console.warn(warning);
59
- return String(val);
60
- }
61
- if (typeof val === "boolean") {
62
- const warning = new Error(`Received boolean ${val} where a string was expected.`);
63
- warning.name = "Warning";
64
- console.warn(warning);
65
- return String(val);
66
- }
67
- return val;
68
- }, "_toStr");
69
- var _toBool = /* @__PURE__ */ __name((val) => {
70
- if (val == null) {
197
+ };
198
+ const _toBool = (val) => {
199
+ if (val == null) {
200
+ return val;
201
+ }
202
+ if (typeof val === "string") {
203
+ const lowercase = val.toLowerCase();
204
+ if (val !== "" && lowercase !== "false" && lowercase !== "true") {
205
+ const warning = new Error(`Received string "${val}" where a boolean was expected.`);
206
+ warning.name = "Warning";
207
+ console.warn(warning);
208
+ }
209
+ return val !== "" && lowercase !== "false";
210
+ }
71
211
  return val;
72
- }
73
- if (typeof val === "number") {
74
- }
75
- if (typeof val === "string") {
76
- const lowercase = val.toLowerCase();
77
- if (val !== "" && lowercase !== "false" && lowercase !== "true") {
78
- const warning = new Error(`Received string "${val}" where a boolean was expected.`);
79
- warning.name = "Warning";
80
- console.warn(warning);
81
- }
82
- return val !== "" && lowercase !== "false";
83
- }
84
- return val;
85
- }, "_toBool");
86
- var _toNum = /* @__PURE__ */ __name((val) => {
87
- if (val == null) {
212
+ };
213
+ const _toNum = (val) => {
214
+ if (val == null) {
215
+ return val;
216
+ }
217
+ if (typeof val === "string") {
218
+ const num = Number(val);
219
+ if (num.toString() !== val) {
220
+ const warning = new Error(`Received string "${val}" where a number was expected.`);
221
+ warning.name = "Warning";
222
+ console.warn(warning);
223
+ return val;
224
+ }
225
+ return num;
226
+ }
88
227
  return val;
89
- }
90
- if (typeof val === "boolean") {
91
- }
92
- if (typeof val === "string") {
93
- const num = Number(val);
94
- if (num.toString() !== val) {
95
- const warning = new Error(`Received string "${val}" where a number was expected.`);
96
- warning.name = "Warning";
97
- console.warn(warning);
98
- return val;
99
- }
100
- return num;
101
- }
102
- return val;
103
- }, "_toNum");
104
-
105
- // src/submodules/protocols/json/AwsJsonRpcProtocol.ts
106
- var import_protocols = require("@smithy/core/protocols");
107
- var import_schema3 = require("@smithy/core/schema");
108
- var import_util_body_length_browser = require("@smithy/util-body-length-browser");
109
-
110
- // src/submodules/protocols/ConfigurableSerdeContext.ts
111
- var SerdeContextConfig = class {
112
- static {
113
- __name(this, "SerdeContextConfig");
114
- }
115
- serdeContext;
116
- setSerdeContext(serdeContext) {
117
- this.serdeContext = serdeContext;
118
- }
119
228
  };
120
229
 
121
- // src/submodules/protocols/json/JsonShapeDeserializer.ts
122
- var import_schema = require("@smithy/core/schema");
123
- var import_serde2 = require("@smithy/core/serde");
124
- var import_util_base64 = require("@smithy/util-base64");
230
+ class SerdeContextConfig {
231
+ serdeContext;
232
+ setSerdeContext(serdeContext) {
233
+ this.serdeContext = serdeContext;
234
+ }
235
+ }
125
236
 
126
- // src/submodules/protocols/json/jsonReviver.ts
127
- var import_serde = require("@smithy/core/serde");
128
- function jsonReviver(key, value, context) {
129
- if (context?.source) {
130
- const numericString = context.source;
131
- if (typeof value === "number") {
132
- if (value > Number.MAX_SAFE_INTEGER || value < Number.MIN_SAFE_INTEGER || numericString !== String(value)) {
133
- const isFractional = numericString.includes(".");
134
- if (isFractional) {
135
- return new import_serde.NumericValue(numericString, "bigDecimal");
136
- } else {
137
- return BigInt(numericString);
138
- }
139
- }
140
- }
141
- }
142
- return value;
237
+ class UnionSerde {
238
+ from;
239
+ to;
240
+ keys;
241
+ constructor(from, to) {
242
+ this.from = from;
243
+ this.to = to;
244
+ this.keys = new Set(Object.keys(this.from).filter((k) => k !== "__type"));
245
+ }
246
+ mark(key) {
247
+ this.keys.delete(key);
248
+ }
249
+ hasUnknown() {
250
+ return this.keys.size === 1 && Object.keys(this.to).length === 0;
251
+ }
252
+ writeUnknown() {
253
+ if (this.hasUnknown()) {
254
+ const k = this.keys.values().next().value;
255
+ const v = this.from[k];
256
+ this.to.$unknown = [k, v];
257
+ }
258
+ }
143
259
  }
144
- __name(jsonReviver, "jsonReviver");
145
260
 
146
- // src/submodules/protocols/common.ts
147
- var import_smithy_client = require("@smithy/smithy-client");
148
- var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
261
+ function jsonReviver(key, value, context) {
262
+ if (context?.source) {
263
+ const numericString = context.source;
264
+ if (typeof value === "number") {
265
+ if (value > Number.MAX_SAFE_INTEGER || value < Number.MIN_SAFE_INTEGER || numericString !== String(value)) {
266
+ const isFractional = numericString.includes(".");
267
+ if (isFractional) {
268
+ return new serde.NumericValue(numericString, "bigDecimal");
269
+ }
270
+ else {
271
+ return BigInt(numericString);
272
+ }
273
+ }
274
+ }
275
+ }
276
+ return value;
277
+ }
149
278
 
150
- // src/submodules/protocols/json/parseJsonBody.ts
151
- var parseJsonBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
152
- if (encoded.length) {
153
- try {
154
- return JSON.parse(encoded);
155
- } catch (e) {
156
- if (e?.name === "SyntaxError") {
157
- Object.defineProperty(e, "$responseBodyText", {
158
- value: encoded
159
- });
160
- }
161
- throw e;
162
- }
163
- }
164
- return {};
165
- }), "parseJsonBody");
166
- var parseJsonErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
167
- const value = await parseJsonBody(errorBody, context);
168
- value.message = value.message ?? value.Message;
169
- return value;
170
- }, "parseJsonErrorBody");
171
- var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
172
- const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
173
- const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
174
- let cleanValue = rawValue;
175
- if (typeof cleanValue === "number") {
176
- cleanValue = cleanValue.toString();
177
- }
178
- if (cleanValue.indexOf(",") >= 0) {
179
- cleanValue = cleanValue.split(",")[0];
180
- }
181
- if (cleanValue.indexOf(":") >= 0) {
182
- cleanValue = cleanValue.split(":")[0];
183
- }
184
- if (cleanValue.indexOf("#") >= 0) {
185
- cleanValue = cleanValue.split("#")[1];
186
- }
187
- return cleanValue;
188
- }, "sanitizeErrorCode");
189
- const headerKey = findKey(output.headers, "x-amzn-errortype");
190
- if (headerKey !== void 0) {
191
- return sanitizeErrorCode(output.headers[headerKey]);
192
- }
193
- if (data && typeof data === "object") {
194
- const codeKey = findKey(data, "code");
195
- if (codeKey && data[codeKey] !== void 0) {
196
- return sanitizeErrorCode(data[codeKey]);
197
- }
198
- if (data["__type"] !== void 0) {
199
- return sanitizeErrorCode(data["__type"]);
200
- }
201
- }
202
- }, "loadRestJsonErrorCode");
279
+ const collectBodyString = (streamBody, context) => smithyClient.collectBody(streamBody, context).then((body) => (context?.utf8Encoder ?? utilUtf8.toUtf8)(body));
203
280
 
204
- // src/submodules/protocols/json/JsonShapeDeserializer.ts
205
- var JsonShapeDeserializer = class extends SerdeContextConfig {
206
- constructor(settings) {
207
- super();
208
- this.settings = settings;
209
- }
210
- static {
211
- __name(this, "JsonShapeDeserializer");
212
- }
213
- async read(schema, data) {
214
- return this._read(
215
- schema,
216
- typeof data === "string" ? JSON.parse(data, jsonReviver) : await parseJsonBody(data, this.serdeContext)
217
- );
218
- }
219
- readObject(schema, data) {
220
- return this._read(schema, data);
221
- }
222
- _read(schema, value) {
223
- const isObject = value !== null && typeof value === "object";
224
- const ns = import_schema.NormalizedSchema.of(schema);
225
- if (ns.isListSchema() && Array.isArray(value)) {
226
- const listMember = ns.getValueSchema();
227
- const out = [];
228
- const sparse = !!ns.getMergedTraits().sparse;
229
- for (const item of value) {
230
- if (sparse || item != null) {
231
- out.push(this._read(listMember, item));
232
- }
233
- }
234
- return out;
235
- } else if (ns.isMapSchema() && isObject) {
236
- const mapMember = ns.getValueSchema();
237
- const out = {};
238
- const sparse = !!ns.getMergedTraits().sparse;
239
- for (const [_k, _v] of Object.entries(value)) {
240
- if (sparse || _v != null) {
241
- out[_k] = this._read(mapMember, _v);
242
- }
243
- }
244
- return out;
245
- } else if (ns.isStructSchema() && isObject) {
246
- const out = {};
247
- for (const [memberName, memberSchema] of ns.structIterator()) {
248
- const fromKey = this.settings.jsonName ? memberSchema.getMergedTraits().jsonName ?? memberName : memberName;
249
- const deserializedValue = this._read(memberSchema, value[fromKey]);
250
- if (deserializedValue != null) {
251
- out[memberName] = deserializedValue;
252
- }
253
- }
254
- return out;
255
- }
256
- if (ns.isBlobSchema() && typeof value === "string") {
257
- return (0, import_util_base64.fromBase64)(value);
258
- }
259
- const mediaType = ns.getMergedTraits().mediaType;
260
- if (ns.isStringSchema() && typeof value === "string" && mediaType) {
261
- const isJson = mediaType === "application/json" || mediaType.endsWith("+json");
262
- if (isJson) {
263
- return import_serde2.LazyJsonString.from(value);
264
- }
265
- }
266
- if (ns.isTimestampSchema()) {
267
- const options = this.settings.timestampFormat;
268
- const format = options.useTrait ? ns.getSchema() === import_schema.SCHEMA.TIMESTAMP_DEFAULT ? options.default : ns.getSchema() ?? options.default : options.default;
269
- switch (format) {
270
- case import_schema.SCHEMA.TIMESTAMP_DATE_TIME:
271
- return (0, import_serde2.parseRfc3339DateTimeWithOffset)(value);
272
- case import_schema.SCHEMA.TIMESTAMP_HTTP_DATE:
273
- return (0, import_serde2.parseRfc7231DateTime)(value);
274
- case import_schema.SCHEMA.TIMESTAMP_EPOCH_SECONDS:
275
- return (0, import_serde2.parseEpochTimestamp)(value);
276
- default:
277
- console.warn("Missing timestamp format, parsing value with Date constructor:", value);
278
- return new Date(value);
279
- }
280
- }
281
- if (ns.isBigIntegerSchema() && (typeof value === "number" || typeof value === "string")) {
282
- return BigInt(value);
283
- }
284
- if (ns.isBigDecimalSchema() && value != void 0) {
285
- if (value instanceof import_serde2.NumericValue) {
286
- return value;
287
- }
288
- return new import_serde2.NumericValue(String(value), "bigDecimal");
289
- }
290
- if (ns.isNumericSchema() && typeof value === "string") {
291
- switch (value) {
292
- case "Infinity":
293
- return Infinity;
294
- case "-Infinity":
295
- return -Infinity;
296
- case "NaN":
297
- return NaN;
298
- }
281
+ const parseJsonBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
282
+ if (encoded.length) {
283
+ try {
284
+ return JSON.parse(encoded);
285
+ }
286
+ catch (e) {
287
+ if (e?.name === "SyntaxError") {
288
+ Object.defineProperty(e, "$responseBodyText", {
289
+ value: encoded,
290
+ });
291
+ }
292
+ throw e;
293
+ }
299
294
  }
295
+ return {};
296
+ });
297
+ const parseJsonErrorBody = async (errorBody, context) => {
298
+ const value = await parseJsonBody(errorBody, context);
299
+ value.message = value.message ?? value.Message;
300
300
  return value;
301
- }
302
301
  };
303
-
304
- // src/submodules/protocols/json/JsonShapeSerializer.ts
305
- var import_schema2 = require("@smithy/core/schema");
306
- var import_serde4 = require("@smithy/core/serde");
307
- var import_serde5 = require("@smithy/core/serde");
308
-
309
- // src/submodules/protocols/json/jsonReplacer.ts
310
- var import_serde3 = require("@smithy/core/serde");
311
- var NUMERIC_CONTROL_CHAR = String.fromCharCode(925);
312
- var JsonReplacer = class {
313
- static {
314
- __name(this, "JsonReplacer");
315
- }
316
- /**
317
- * Stores placeholder key to true serialized value lookup.
318
- */
319
- values = /* @__PURE__ */ new Map();
320
- counter = 0;
321
- stage = 0;
322
- /**
323
- * Creates a jsonReplacer function that reserves big integer and big decimal values
324
- * for later replacement.
325
- */
326
- createReplacer() {
327
- if (this.stage === 1) {
328
- throw new Error("@aws-sdk/core/protocols - JsonReplacer already created.");
329
- }
330
- if (this.stage === 2) {
331
- throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted.");
332
- }
333
- this.stage = 1;
334
- return (key, value) => {
335
- if (value instanceof import_serde3.NumericValue) {
336
- const v = `${NUMERIC_CONTROL_CHAR + +"nv" + this.counter++}_` + value.string;
337
- this.values.set(`"${v}"`, value.string);
338
- return v;
339
- }
340
- if (typeof value === "bigint") {
341
- const s = value.toString();
342
- const v = `${NUMERIC_CONTROL_CHAR + "b" + this.counter++}_` + s;
343
- this.values.set(`"${v}"`, s);
344
- return v;
345
- }
346
- return value;
302
+ const loadRestJsonErrorCode = (output, data) => {
303
+ const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
304
+ const sanitizeErrorCode = (rawValue) => {
305
+ let cleanValue = rawValue;
306
+ if (typeof cleanValue === "number") {
307
+ cleanValue = cleanValue.toString();
308
+ }
309
+ if (cleanValue.indexOf(",") >= 0) {
310
+ cleanValue = cleanValue.split(",")[0];
311
+ }
312
+ if (cleanValue.indexOf(":") >= 0) {
313
+ cleanValue = cleanValue.split(":")[0];
314
+ }
315
+ if (cleanValue.indexOf("#") >= 0) {
316
+ cleanValue = cleanValue.split("#")[1];
317
+ }
318
+ return cleanValue;
347
319
  };
348
- }
349
- /**
350
- * Replaces placeholder keys with their true values.
351
- */
352
- replaceInJson(json) {
353
- if (this.stage === 0) {
354
- throw new Error("@aws-sdk/core/protocols - JsonReplacer not created yet.");
355
- }
356
- if (this.stage === 2) {
357
- throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted.");
358
- }
359
- this.stage = 2;
360
- if (this.counter === 0) {
361
- return json;
362
- }
363
- for (const [key, value] of this.values) {
364
- json = json.replace(key, value);
365
- }
366
- return json;
367
- }
320
+ const headerKey = findKey(output.headers, "x-amzn-errortype");
321
+ if (headerKey !== undefined) {
322
+ return sanitizeErrorCode(output.headers[headerKey]);
323
+ }
324
+ if (data && typeof data === "object") {
325
+ const codeKey = findKey(data, "code");
326
+ if (codeKey && data[codeKey] !== undefined) {
327
+ return sanitizeErrorCode(data[codeKey]);
328
+ }
329
+ if (data["__type"] !== undefined) {
330
+ return sanitizeErrorCode(data["__type"]);
331
+ }
332
+ }
368
333
  };
369
334
 
370
- // src/submodules/protocols/json/JsonShapeSerializer.ts
371
- var JsonShapeSerializer = class extends SerdeContextConfig {
372
- constructor(settings) {
373
- super();
374
- this.settings = settings;
375
- }
376
- static {
377
- __name(this, "JsonShapeSerializer");
378
- }
379
- buffer;
380
- rootSchema;
381
- write(schema, value) {
382
- this.rootSchema = import_schema2.NormalizedSchema.of(schema);
383
- this.buffer = this._write(this.rootSchema, value);
384
- }
385
- flush() {
386
- if (this.rootSchema?.isStructSchema() || this.rootSchema?.isDocumentSchema()) {
387
- const replacer = new JsonReplacer();
388
- return replacer.replaceInJson(JSON.stringify(this.buffer, replacer.createReplacer(), 0));
389
- }
390
- return this.buffer;
391
- }
392
- _write(schema, value, container) {
393
- const isObject = value !== null && typeof value === "object";
394
- const ns = import_schema2.NormalizedSchema.of(schema);
395
- if (ns.isListSchema() && Array.isArray(value)) {
396
- const listMember = ns.getValueSchema();
397
- const out = [];
398
- const sparse = !!ns.getMergedTraits().sparse;
399
- for (const item of value) {
400
- if (sparse || item != null) {
401
- out.push(this._write(listMember, item));
402
- }
403
- }
404
- return out;
405
- } else if (ns.isMapSchema() && isObject) {
406
- const mapMember = ns.getValueSchema();
407
- const out = {};
408
- const sparse = !!ns.getMergedTraits().sparse;
409
- for (const [_k, _v] of Object.entries(value)) {
410
- if (sparse || _v != null) {
411
- out[_k] = this._write(mapMember, _v);
412
- }
413
- }
414
- return out;
415
- } else if (ns.isStructSchema() && isObject) {
416
- const out = {};
417
- for (const [memberName, memberSchema] of ns.structIterator()) {
418
- const targetKey = this.settings.jsonName ? memberSchema.getMergedTraits().jsonName ?? memberName : memberName;
419
- const serializableValue = this._write(memberSchema, value[memberName], ns);
420
- if (serializableValue !== void 0) {
421
- out[targetKey] = serializableValue;
422
- }
423
- }
424
- return out;
425
- }
426
- if (value === null && container?.isStructSchema()) {
427
- return void 0;
428
- }
429
- if (ns.isBlobSchema() && (value instanceof Uint8Array || typeof value === "string")) {
430
- if (ns === this.rootSchema) {
335
+ class JsonShapeDeserializer extends SerdeContextConfig {
336
+ settings;
337
+ constructor(settings) {
338
+ super();
339
+ this.settings = settings;
340
+ }
341
+ async read(schema, data) {
342
+ return this._read(schema, typeof data === "string" ? JSON.parse(data, jsonReviver) : await parseJsonBody(data, this.serdeContext));
343
+ }
344
+ readObject(schema, data) {
345
+ return this._read(schema, data);
346
+ }
347
+ _read(schema$1, value) {
348
+ const isObject = value !== null && typeof value === "object";
349
+ const ns = schema.NormalizedSchema.of(schema$1);
350
+ if (isObject) {
351
+ if (ns.isStructSchema()) {
352
+ const record = value;
353
+ const union = ns.isUnionSchema();
354
+ const out = {};
355
+ let nameMap = void 0;
356
+ const { jsonName } = this.settings;
357
+ if (jsonName) {
358
+ nameMap = {};
359
+ }
360
+ let unionSerde;
361
+ if (union) {
362
+ unionSerde = new UnionSerde(record, out);
363
+ }
364
+ for (const [memberName, memberSchema] of ns.structIterator()) {
365
+ let fromKey = memberName;
366
+ if (jsonName) {
367
+ fromKey = memberSchema.getMergedTraits().jsonName ?? fromKey;
368
+ nameMap[fromKey] = memberName;
369
+ }
370
+ if (union) {
371
+ unionSerde.mark(fromKey);
372
+ }
373
+ if (record[fromKey] != null) {
374
+ out[memberName] = this._read(memberSchema, record[fromKey]);
375
+ }
376
+ }
377
+ if (union) {
378
+ unionSerde.writeUnknown();
379
+ }
380
+ else if (typeof record.__type === "string") {
381
+ for (const [k, v] of Object.entries(record)) {
382
+ const t = jsonName ? nameMap[k] ?? k : k;
383
+ if (!(t in out)) {
384
+ out[t] = v;
385
+ }
386
+ }
387
+ }
388
+ return out;
389
+ }
390
+ if (Array.isArray(value) && ns.isListSchema()) {
391
+ const listMember = ns.getValueSchema();
392
+ const out = [];
393
+ const sparse = !!ns.getMergedTraits().sparse;
394
+ for (const item of value) {
395
+ if (sparse || item != null) {
396
+ out.push(this._read(listMember, item));
397
+ }
398
+ }
399
+ return out;
400
+ }
401
+ if (ns.isMapSchema()) {
402
+ const mapMember = ns.getValueSchema();
403
+ const out = {};
404
+ const sparse = !!ns.getMergedTraits().sparse;
405
+ for (const [_k, _v] of Object.entries(value)) {
406
+ if (sparse || _v != null) {
407
+ out[_k] = this._read(mapMember, _v);
408
+ }
409
+ }
410
+ return out;
411
+ }
412
+ }
413
+ if (ns.isBlobSchema() && typeof value === "string") {
414
+ return utilBase64.fromBase64(value);
415
+ }
416
+ const mediaType = ns.getMergedTraits().mediaType;
417
+ if (ns.isStringSchema() && typeof value === "string" && mediaType) {
418
+ const isJson = mediaType === "application/json" || mediaType.endsWith("+json");
419
+ if (isJson) {
420
+ return serde.LazyJsonString.from(value);
421
+ }
422
+ return value;
423
+ }
424
+ if (ns.isTimestampSchema() && value != null) {
425
+ const format = protocols.determineTimestampFormat(ns, this.settings);
426
+ switch (format) {
427
+ case 5:
428
+ return serde.parseRfc3339DateTimeWithOffset(value);
429
+ case 6:
430
+ return serde.parseRfc7231DateTime(value);
431
+ case 7:
432
+ return serde.parseEpochTimestamp(value);
433
+ default:
434
+ console.warn("Missing timestamp format, parsing value with Date constructor:", value);
435
+ return new Date(value);
436
+ }
437
+ }
438
+ if (ns.isBigIntegerSchema() && (typeof value === "number" || typeof value === "string")) {
439
+ return BigInt(value);
440
+ }
441
+ if (ns.isBigDecimalSchema() && value != undefined) {
442
+ if (value instanceof serde.NumericValue) {
443
+ return value;
444
+ }
445
+ const untyped = value;
446
+ if (untyped.type === "bigDecimal" && "string" in untyped) {
447
+ return new serde.NumericValue(untyped.string, untyped.type);
448
+ }
449
+ return new serde.NumericValue(String(value), "bigDecimal");
450
+ }
451
+ if (ns.isNumericSchema() && typeof value === "string") {
452
+ switch (value) {
453
+ case "Infinity":
454
+ return Infinity;
455
+ case "-Infinity":
456
+ return -Infinity;
457
+ case "NaN":
458
+ return NaN;
459
+ }
460
+ return value;
461
+ }
462
+ if (ns.isDocumentSchema()) {
463
+ if (isObject) {
464
+ const out = Array.isArray(value) ? [] : {};
465
+ for (const [k, v] of Object.entries(value)) {
466
+ if (v instanceof serde.NumericValue) {
467
+ out[k] = v;
468
+ }
469
+ else {
470
+ out[k] = this._read(ns, v);
471
+ }
472
+ }
473
+ return out;
474
+ }
475
+ else {
476
+ return structuredClone(value);
477
+ }
478
+ }
431
479
  return value;
432
- }
433
- if (!this.serdeContext?.base64Encoder) {
434
- throw new Error("Missing base64Encoder in serdeContext");
435
- }
436
- return this.serdeContext?.base64Encoder(value);
437
- }
438
- if (ns.isTimestampSchema() && value instanceof Date) {
439
- const options = this.settings.timestampFormat;
440
- const format = options.useTrait ? ns.getSchema() === import_schema2.SCHEMA.TIMESTAMP_DEFAULT ? options.default : ns.getSchema() ?? options.default : options.default;
441
- switch (format) {
442
- case import_schema2.SCHEMA.TIMESTAMP_DATE_TIME:
443
- return value.toISOString().replace(".000Z", "Z");
444
- case import_schema2.SCHEMA.TIMESTAMP_HTTP_DATE:
445
- return (0, import_serde4.dateToUtcString)(value);
446
- case import_schema2.SCHEMA.TIMESTAMP_EPOCH_SECONDS:
447
- return value.getTime() / 1e3;
448
- default:
449
- console.warn("Missing timestamp format, using epoch seconds", value);
450
- return value.getTime() / 1e3;
451
- }
452
- }
453
- if (ns.isNumericSchema() && typeof value === "number") {
454
- if (Math.abs(value) === Infinity || isNaN(value)) {
455
- return String(value);
456
- }
457
- }
458
- const mediaType = ns.getMergedTraits().mediaType;
459
- if (ns.isStringSchema() && typeof value === "string" && mediaType) {
460
- const isJson = mediaType === "application/json" || mediaType.endsWith("+json");
461
- if (isJson) {
462
- return import_serde5.LazyJsonString.from(value);
463
- }
464
480
  }
465
- return value;
466
- }
467
- };
468
-
469
- // src/submodules/protocols/json/JsonCodec.ts
470
- var JsonCodec = class extends SerdeContextConfig {
471
- constructor(settings) {
472
- super();
473
- this.settings = settings;
474
- }
475
- static {
476
- __name(this, "JsonCodec");
477
- }
478
- createSerializer() {
479
- const serializer = new JsonShapeSerializer(this.settings);
480
- serializer.setSerdeContext(this.serdeContext);
481
- return serializer;
482
- }
483
- createDeserializer() {
484
- const deserializer = new JsonShapeDeserializer(this.settings);
485
- deserializer.setSerdeContext(this.serdeContext);
486
- return deserializer;
487
- }
488
- };
481
+ }
489
482
 
490
- // src/submodules/protocols/json/AwsJsonRpcProtocol.ts
491
- var AwsJsonRpcProtocol = class extends import_protocols.RpcProtocol {
492
- static {
493
- __name(this, "AwsJsonRpcProtocol");
494
- }
495
- serializer;
496
- deserializer;
497
- codec;
498
- constructor({ defaultNamespace }) {
499
- super({
500
- defaultNamespace
501
- });
502
- this.codec = new JsonCodec({
503
- timestampFormat: {
504
- useTrait: true,
505
- default: import_schema3.SCHEMA.TIMESTAMP_EPOCH_SECONDS
506
- },
507
- jsonName: false
508
- });
509
- this.serializer = this.codec.createSerializer();
510
- this.deserializer = this.codec.createDeserializer();
511
- }
512
- async serializeRequest(operationSchema, input, context) {
513
- const request = await super.serializeRequest(operationSchema, input, context);
514
- if (!request.path.endsWith("/")) {
515
- request.path += "/";
516
- }
517
- Object.assign(request.headers, {
518
- "content-type": `application/x-amz-json-${this.getJsonRpcVersion()}`,
519
- "x-amz-target": (this.getJsonRpcVersion() === "1.0" ? `JsonRpc10.` : `JsonProtocol.`) + import_schema3.NormalizedSchema.of(operationSchema).getName()
520
- });
521
- if ((0, import_schema3.deref)(operationSchema.input) === "unit" || !request.body) {
522
- request.body = "{}";
523
- }
524
- try {
525
- request.headers["content-length"] = String((0, import_util_body_length_browser.calculateBodyLength)(request.body));
526
- } catch (e) {
527
- }
528
- return request;
529
- }
530
- getPayloadCodec() {
531
- return this.codec;
532
- }
533
- async handleError(operationSchema, context, response, dataObject, metadata) {
534
- const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown";
535
- let namespace = this.options.defaultNamespace;
536
- let errorName = errorIdentifier;
537
- if (errorIdentifier.includes("#")) {
538
- [namespace, errorName] = errorIdentifier.split("#");
539
- }
540
- const registry = import_schema3.TypeRegistry.for(namespace);
541
- let errorSchema;
542
- try {
543
- errorSchema = registry.getSchema(errorIdentifier);
544
- } catch (e) {
545
- const baseExceptionSchema = import_schema3.TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace).getBaseException();
546
- if (baseExceptionSchema) {
547
- const ErrorCtor = baseExceptionSchema.ctor;
548
- throw Object.assign(new ErrorCtor(errorName), dataObject);
549
- }
550
- throw new Error(errorName);
551
- }
552
- const ns = import_schema3.NormalizedSchema.of(errorSchema);
553
- const message = dataObject.message ?? dataObject.Message ?? "Unknown";
554
- const exception = new errorSchema.ctor(message);
555
- await this.deserializeHttpMessage(errorSchema, context, response, dataObject);
556
- const output = {};
557
- for (const [name, member] of ns.structIterator()) {
558
- const target = member.getMergedTraits().jsonName ?? name;
559
- output[name] = this.codec.createDeserializer().readObject(member, dataObject[target]);
560
- }
561
- Object.assign(exception, {
562
- $metadata: metadata,
563
- $response: response,
564
- $fault: ns.getMergedTraits().error,
565
- message,
566
- ...output
567
- });
568
- throw exception;
569
- }
570
- };
483
+ const NUMERIC_CONTROL_CHAR = String.fromCharCode(925);
484
+ class JsonReplacer {
485
+ values = new Map();
486
+ counter = 0;
487
+ stage = 0;
488
+ createReplacer() {
489
+ if (this.stage === 1) {
490
+ throw new Error("@aws-sdk/core/protocols - JsonReplacer already created.");
491
+ }
492
+ if (this.stage === 2) {
493
+ throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted.");
494
+ }
495
+ this.stage = 1;
496
+ return (key, value) => {
497
+ if (value instanceof serde.NumericValue) {
498
+ const v = `${NUMERIC_CONTROL_CHAR + "nv" + this.counter++}_` + value.string;
499
+ this.values.set(`"${v}"`, value.string);
500
+ return v;
501
+ }
502
+ if (typeof value === "bigint") {
503
+ const s = value.toString();
504
+ const v = `${NUMERIC_CONTROL_CHAR + "b" + this.counter++}_` + s;
505
+ this.values.set(`"${v}"`, s);
506
+ return v;
507
+ }
508
+ return value;
509
+ };
510
+ }
511
+ replaceInJson(json) {
512
+ if (this.stage === 0) {
513
+ throw new Error("@aws-sdk/core/protocols - JsonReplacer not created yet.");
514
+ }
515
+ if (this.stage === 2) {
516
+ throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted.");
517
+ }
518
+ this.stage = 2;
519
+ if (this.counter === 0) {
520
+ return json;
521
+ }
522
+ for (const [key, value] of this.values) {
523
+ json = json.replace(key, value);
524
+ }
525
+ return json;
526
+ }
527
+ }
571
528
 
572
- // src/submodules/protocols/json/AwsJson1_0Protocol.ts
573
- var AwsJson1_0Protocol = class extends AwsJsonRpcProtocol {
574
- static {
575
- __name(this, "AwsJson1_0Protocol");
576
- }
577
- constructor({ defaultNamespace }) {
578
- super({
579
- defaultNamespace
580
- });
581
- }
582
- getShapeId() {
583
- return "aws.protocols#awsJson1_0";
584
- }
585
- getJsonRpcVersion() {
586
- return "1.0";
587
- }
588
- };
529
+ class JsonShapeSerializer extends SerdeContextConfig {
530
+ settings;
531
+ buffer;
532
+ useReplacer = false;
533
+ rootSchema;
534
+ constructor(settings) {
535
+ super();
536
+ this.settings = settings;
537
+ }
538
+ write(schema$1, value) {
539
+ this.rootSchema = schema.NormalizedSchema.of(schema$1);
540
+ this.buffer = this._write(this.rootSchema, value);
541
+ }
542
+ writeDiscriminatedDocument(schema$1, value) {
543
+ this.write(schema$1, value);
544
+ if (typeof this.buffer === "object") {
545
+ this.buffer.__type = schema.NormalizedSchema.of(schema$1).getName(true);
546
+ }
547
+ }
548
+ flush() {
549
+ const { rootSchema, useReplacer } = this;
550
+ this.rootSchema = undefined;
551
+ this.useReplacer = false;
552
+ if (rootSchema?.isStructSchema() || rootSchema?.isDocumentSchema()) {
553
+ if (!useReplacer) {
554
+ return JSON.stringify(this.buffer);
555
+ }
556
+ const replacer = new JsonReplacer();
557
+ return replacer.replaceInJson(JSON.stringify(this.buffer, replacer.createReplacer(), 0));
558
+ }
559
+ return this.buffer;
560
+ }
561
+ _write(schema$1, value, container) {
562
+ const isObject = value !== null && typeof value === "object";
563
+ const ns = schema.NormalizedSchema.of(schema$1);
564
+ if (isObject) {
565
+ if (ns.isStructSchema()) {
566
+ const record = value;
567
+ const out = {};
568
+ const { jsonName } = this.settings;
569
+ let nameMap = void 0;
570
+ if (jsonName) {
571
+ nameMap = {};
572
+ }
573
+ for (const [memberName, memberSchema] of ns.structIterator()) {
574
+ const serializableValue = this._write(memberSchema, record[memberName], ns);
575
+ if (serializableValue !== undefined) {
576
+ let targetKey = memberName;
577
+ if (jsonName) {
578
+ targetKey = memberSchema.getMergedTraits().jsonName ?? memberName;
579
+ nameMap[memberName] = targetKey;
580
+ }
581
+ out[targetKey] = serializableValue;
582
+ }
583
+ }
584
+ if (ns.isUnionSchema() && Object.keys(out).length === 0) {
585
+ const { $unknown } = record;
586
+ if (Array.isArray($unknown)) {
587
+ const [k, v] = $unknown;
588
+ out[k] = this._write(15, v);
589
+ }
590
+ }
591
+ else if (typeof record.__type === "string") {
592
+ for (const [k, v] of Object.entries(record)) {
593
+ const targetKey = jsonName ? nameMap[k] ?? k : k;
594
+ if (!(targetKey in out)) {
595
+ out[targetKey] = this._write(15, v);
596
+ }
597
+ }
598
+ }
599
+ return out;
600
+ }
601
+ if (Array.isArray(value) && ns.isListSchema()) {
602
+ const listMember = ns.getValueSchema();
603
+ const out = [];
604
+ const sparse = !!ns.getMergedTraits().sparse;
605
+ for (const item of value) {
606
+ if (sparse || item != null) {
607
+ out.push(this._write(listMember, item));
608
+ }
609
+ }
610
+ return out;
611
+ }
612
+ if (ns.isMapSchema()) {
613
+ const mapMember = ns.getValueSchema();
614
+ const out = {};
615
+ const sparse = !!ns.getMergedTraits().sparse;
616
+ for (const [_k, _v] of Object.entries(value)) {
617
+ if (sparse || _v != null) {
618
+ out[_k] = this._write(mapMember, _v);
619
+ }
620
+ }
621
+ return out;
622
+ }
623
+ if (value instanceof Uint8Array && (ns.isBlobSchema() || ns.isDocumentSchema())) {
624
+ if (ns === this.rootSchema) {
625
+ return value;
626
+ }
627
+ return (this.serdeContext?.base64Encoder ?? utilBase64.toBase64)(value);
628
+ }
629
+ if (value instanceof Date && (ns.isTimestampSchema() || ns.isDocumentSchema())) {
630
+ const format = protocols.determineTimestampFormat(ns, this.settings);
631
+ switch (format) {
632
+ case 5:
633
+ return value.toISOString().replace(".000Z", "Z");
634
+ case 6:
635
+ return serde.dateToUtcString(value);
636
+ case 7:
637
+ return value.getTime() / 1000;
638
+ default:
639
+ console.warn("Missing timestamp format, using epoch seconds", value);
640
+ return value.getTime() / 1000;
641
+ }
642
+ }
643
+ if (value instanceof serde.NumericValue) {
644
+ this.useReplacer = true;
645
+ }
646
+ }
647
+ if (value === null && container?.isStructSchema()) {
648
+ return void 0;
649
+ }
650
+ if (ns.isStringSchema()) {
651
+ if (typeof value === "undefined" && ns.isIdempotencyToken()) {
652
+ return serde.generateIdempotencyToken();
653
+ }
654
+ const mediaType = ns.getMergedTraits().mediaType;
655
+ if (value != null && mediaType) {
656
+ const isJson = mediaType === "application/json" || mediaType.endsWith("+json");
657
+ if (isJson) {
658
+ return serde.LazyJsonString.from(value);
659
+ }
660
+ }
661
+ return value;
662
+ }
663
+ if (typeof value === "number" && ns.isNumericSchema()) {
664
+ if (Math.abs(value) === Infinity || isNaN(value)) {
665
+ return String(value);
666
+ }
667
+ return value;
668
+ }
669
+ if (typeof value === "string" && ns.isBlobSchema()) {
670
+ if (ns === this.rootSchema) {
671
+ return value;
672
+ }
673
+ return (this.serdeContext?.base64Encoder ?? utilBase64.toBase64)(value);
674
+ }
675
+ if (typeof value === "bigint") {
676
+ this.useReplacer = true;
677
+ }
678
+ if (ns.isDocumentSchema()) {
679
+ if (isObject) {
680
+ const out = Array.isArray(value) ? [] : {};
681
+ for (const [k, v] of Object.entries(value)) {
682
+ if (v instanceof serde.NumericValue) {
683
+ this.useReplacer = true;
684
+ out[k] = v;
685
+ }
686
+ else {
687
+ out[k] = this._write(ns, v);
688
+ }
689
+ }
690
+ return out;
691
+ }
692
+ else {
693
+ return structuredClone(value);
694
+ }
695
+ }
696
+ return value;
697
+ }
698
+ }
589
699
 
590
- // src/submodules/protocols/json/AwsJson1_1Protocol.ts
591
- var AwsJson1_1Protocol = class extends AwsJsonRpcProtocol {
592
- static {
593
- __name(this, "AwsJson1_1Protocol");
594
- }
595
- constructor({ defaultNamespace }) {
596
- super({
597
- defaultNamespace
598
- });
599
- }
600
- getShapeId() {
601
- return "aws.protocols#awsJson1_1";
602
- }
603
- getJsonRpcVersion() {
604
- return "1.1";
605
- }
606
- };
700
+ class JsonCodec extends SerdeContextConfig {
701
+ settings;
702
+ constructor(settings) {
703
+ super();
704
+ this.settings = settings;
705
+ }
706
+ createSerializer() {
707
+ const serializer = new JsonShapeSerializer(this.settings);
708
+ serializer.setSerdeContext(this.serdeContext);
709
+ return serializer;
710
+ }
711
+ createDeserializer() {
712
+ const deserializer = new JsonShapeDeserializer(this.settings);
713
+ deserializer.setSerdeContext(this.serdeContext);
714
+ return deserializer;
715
+ }
716
+ }
607
717
 
608
- // src/submodules/protocols/json/AwsRestJsonProtocol.ts
609
- var import_protocols2 = require("@smithy/core/protocols");
610
- var import_schema4 = require("@smithy/core/schema");
611
- var import_util_body_length_browser2 = require("@smithy/util-body-length-browser");
612
- var AwsRestJsonProtocol = class extends import_protocols2.HttpBindingProtocol {
613
- static {
614
- __name(this, "AwsRestJsonProtocol");
615
- }
616
- serializer;
617
- deserializer;
618
- codec;
619
- constructor({ defaultNamespace }) {
620
- super({
621
- defaultNamespace
622
- });
623
- const settings = {
624
- timestampFormat: {
625
- useTrait: true,
626
- default: import_schema4.SCHEMA.TIMESTAMP_EPOCH_SECONDS
627
- },
628
- httpBindings: true,
629
- jsonName: true
630
- };
631
- this.codec = new JsonCodec(settings);
632
- this.serializer = new import_protocols2.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);
633
- this.deserializer = new import_protocols2.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);
634
- }
635
- getShapeId() {
636
- return "aws.protocols#restJson1";
637
- }
638
- getPayloadCodec() {
639
- return this.codec;
640
- }
641
- setSerdeContext(serdeContext) {
642
- this.codec.setSerdeContext(serdeContext);
643
- super.setSerdeContext(serdeContext);
644
- }
645
- async serializeRequest(operationSchema, input, context) {
646
- const request = await super.serializeRequest(operationSchema, input, context);
647
- const inputSchema = import_schema4.NormalizedSchema.of(operationSchema.input);
648
- const members = inputSchema.getMemberSchemas();
649
- if (!request.headers["content-type"]) {
650
- const httpPayloadMember = Object.values(members).find((m) => {
651
- return !!m.getMergedTraits().httpPayload;
652
- });
653
- if (httpPayloadMember) {
654
- const mediaType = httpPayloadMember.getMergedTraits().mediaType;
655
- if (mediaType) {
656
- request.headers["content-type"] = mediaType;
657
- } else if (httpPayloadMember.isStringSchema()) {
658
- request.headers["content-type"] = "text/plain";
659
- } else if (httpPayloadMember.isBlobSchema()) {
660
- request.headers["content-type"] = "application/octet-stream";
661
- } else {
662
- request.headers["content-type"] = "application/json";
663
- }
664
- } else if (!inputSchema.isUnitSchema()) {
665
- const hasBody = Object.values(members).find((m) => {
666
- const { httpQuery, httpQueryParams, httpHeader, httpLabel, httpPrefixHeaders } = m.getMergedTraits();
667
- return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && httpPrefixHeaders === void 0;
718
+ class AwsJsonRpcProtocol extends protocols.RpcProtocol {
719
+ serializer;
720
+ deserializer;
721
+ serviceTarget;
722
+ codec;
723
+ mixin;
724
+ awsQueryCompatible;
725
+ constructor({ defaultNamespace, serviceTarget, awsQueryCompatible, jsonCodec, }) {
726
+ super({
727
+ defaultNamespace,
668
728
  });
669
- if (hasBody) {
670
- request.headers["content-type"] = "application/json";
671
- }
672
- }
673
- }
674
- if (request.headers["content-type"] && !request.body) {
675
- request.body = "{}";
676
- }
677
- if (request.body) {
678
- try {
679
- request.headers["content-length"] = String((0, import_util_body_length_browser2.calculateBodyLength)(request.body));
680
- } catch (e) {
681
- }
682
- }
683
- return request;
684
- }
685
- async handleError(operationSchema, context, response, dataObject, metadata) {
686
- const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown";
687
- let namespace = this.options.defaultNamespace;
688
- let errorName = errorIdentifier;
689
- if (errorIdentifier.includes("#")) {
690
- [namespace, errorName] = errorIdentifier.split("#");
691
- }
692
- const registry = import_schema4.TypeRegistry.for(namespace);
693
- let errorSchema;
694
- try {
695
- errorSchema = registry.getSchema(errorIdentifier);
696
- } catch (e) {
697
- const baseExceptionSchema = import_schema4.TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace).getBaseException();
698
- if (baseExceptionSchema) {
699
- const ErrorCtor = baseExceptionSchema.ctor;
700
- throw Object.assign(new ErrorCtor(errorName), dataObject);
701
- }
702
- throw new Error(errorName);
703
- }
704
- const ns = import_schema4.NormalizedSchema.of(errorSchema);
705
- const message = dataObject.message ?? dataObject.Message ?? "Unknown";
706
- const exception = new errorSchema.ctor(message);
707
- await this.deserializeHttpMessage(errorSchema, context, response, dataObject);
708
- const output = {};
709
- for (const [name, member] of ns.structIterator()) {
710
- const target = member.getMergedTraits().jsonName ?? name;
711
- output[name] = this.codec.createDeserializer().readObject(member, dataObject[target]);
712
- }
713
- Object.assign(exception, {
714
- $metadata: metadata,
715
- $response: response,
716
- $fault: ns.getMergedTraits().error,
717
- message,
718
- ...output
719
- });
720
- throw exception;
721
- }
722
- };
729
+ this.serviceTarget = serviceTarget;
730
+ this.codec =
731
+ jsonCodec ??
732
+ new JsonCodec({
733
+ timestampFormat: {
734
+ useTrait: true,
735
+ default: 7,
736
+ },
737
+ jsonName: false,
738
+ });
739
+ this.serializer = this.codec.createSerializer();
740
+ this.deserializer = this.codec.createDeserializer();
741
+ this.awsQueryCompatible = !!awsQueryCompatible;
742
+ this.mixin = new ProtocolLib(this.awsQueryCompatible);
743
+ }
744
+ async serializeRequest(operationSchema, input, context) {
745
+ const request = await super.serializeRequest(operationSchema, input, context);
746
+ if (!request.path.endsWith("/")) {
747
+ request.path += "/";
748
+ }
749
+ Object.assign(request.headers, {
750
+ "content-type": `application/x-amz-json-${this.getJsonRpcVersion()}`,
751
+ "x-amz-target": `${this.serviceTarget}.${operationSchema.name}`,
752
+ });
753
+ if (this.awsQueryCompatible) {
754
+ request.headers["x-amzn-query-mode"] = "true";
755
+ }
756
+ if (schema.deref(operationSchema.input) === "unit" || !request.body) {
757
+ request.body = "{}";
758
+ }
759
+ return request;
760
+ }
761
+ getPayloadCodec() {
762
+ return this.codec;
763
+ }
764
+ async handleError(operationSchema, context, response, dataObject, metadata) {
765
+ if (this.awsQueryCompatible) {
766
+ this.mixin.setQueryCompatError(dataObject, response);
767
+ }
768
+ const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown";
769
+ const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata, this.awsQueryCompatible ? this.mixin.findQueryCompatibleError : undefined);
770
+ const ns = schema.NormalizedSchema.of(errorSchema);
771
+ const message = dataObject.message ?? dataObject.Message ?? "Unknown";
772
+ const ErrorCtor = schema.TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;
773
+ const exception = new ErrorCtor(message);
774
+ const output = {};
775
+ for (const [name, member] of ns.structIterator()) {
776
+ if (dataObject[name] != null) {
777
+ output[name] = this.codec.createDeserializer().readObject(member, dataObject[name]);
778
+ }
779
+ }
780
+ if (this.awsQueryCompatible) {
781
+ this.mixin.queryCompatOutput(dataObject, output);
782
+ }
783
+ throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {
784
+ $fault: ns.getMergedTraits().error,
785
+ message,
786
+ }, output), dataObject);
787
+ }
788
+ }
723
789
 
724
- // src/submodules/protocols/json/awsExpectUnion.ts
725
- var import_smithy_client2 = require("@smithy/smithy-client");
726
- var awsExpectUnion = /* @__PURE__ */ __name((value) => {
727
- if (value == null) {
728
- return void 0;
729
- }
730
- if (typeof value === "object" && "__type" in value) {
731
- delete value.__type;
732
- }
733
- return (0, import_smithy_client2.expectUnion)(value);
734
- }, "awsExpectUnion");
790
+ class AwsJson1_0Protocol extends AwsJsonRpcProtocol {
791
+ constructor({ defaultNamespace, serviceTarget, awsQueryCompatible, jsonCodec, }) {
792
+ super({
793
+ defaultNamespace,
794
+ serviceTarget,
795
+ awsQueryCompatible,
796
+ jsonCodec,
797
+ });
798
+ }
799
+ getShapeId() {
800
+ return "aws.protocols#awsJson1_0";
801
+ }
802
+ getJsonRpcVersion() {
803
+ return "1.0";
804
+ }
805
+ getDefaultContentType() {
806
+ return "application/x-amz-json-1.0";
807
+ }
808
+ }
735
809
 
736
- // src/submodules/protocols/query/AwsQueryProtocol.ts
737
- var import_protocols5 = require("@smithy/core/protocols");
738
- var import_schema7 = require("@smithy/core/schema");
739
- var import_util_body_length_browser3 = require("@smithy/util-body-length-browser");
810
+ class AwsJson1_1Protocol extends AwsJsonRpcProtocol {
811
+ constructor({ defaultNamespace, serviceTarget, awsQueryCompatible, jsonCodec, }) {
812
+ super({
813
+ defaultNamespace,
814
+ serviceTarget,
815
+ awsQueryCompatible,
816
+ jsonCodec,
817
+ });
818
+ }
819
+ getShapeId() {
820
+ return "aws.protocols#awsJson1_1";
821
+ }
822
+ getJsonRpcVersion() {
823
+ return "1.1";
824
+ }
825
+ getDefaultContentType() {
826
+ return "application/x-amz-json-1.1";
827
+ }
828
+ }
740
829
 
741
- // src/submodules/protocols/xml/XmlShapeDeserializer.ts
742
- var import_protocols3 = require("@smithy/core/protocols");
743
- var import_schema5 = require("@smithy/core/schema");
744
- var import_smithy_client3 = require("@smithy/smithy-client");
745
- var import_util_utf8 = require("@smithy/util-utf8");
746
- var import_fast_xml_parser = require("fast-xml-parser");
747
- var XmlShapeDeserializer = class extends SerdeContextConfig {
748
- constructor(settings) {
749
- super();
750
- this.settings = settings;
751
- this.stringDeserializer = new import_protocols3.FromStringShapeDeserializer(settings);
752
- }
753
- static {
754
- __name(this, "XmlShapeDeserializer");
755
- }
756
- stringDeserializer;
757
- setSerdeContext(serdeContext) {
758
- this.serdeContext = serdeContext;
759
- this.stringDeserializer.setSerdeContext(serdeContext);
760
- }
761
- /**
762
- * @param schema - describing the data.
763
- * @param bytes - serialized data.
764
- * @param key - used by AwsQuery to step one additional depth into the object before reading it.
765
- */
766
- read(schema, bytes, key) {
767
- const ns = import_schema5.NormalizedSchema.of(schema);
768
- const memberSchemas = ns.getMemberSchemas();
769
- const isEventPayload = ns.isStructSchema() && ns.isMemberSchema() && !!Object.values(memberSchemas).find((memberNs) => {
770
- return !!memberNs.getMemberTraits().eventPayload;
771
- });
772
- if (isEventPayload) {
773
- const output = {};
774
- const memberName = Object.keys(memberSchemas)[0];
775
- const eventMemberSchema = memberSchemas[memberName];
776
- if (eventMemberSchema.isBlobSchema()) {
777
- output[memberName] = bytes;
778
- } else {
779
- output[memberName] = this.read(memberSchemas[memberName], bytes);
780
- }
781
- return output;
782
- }
783
- const xmlString = (this.serdeContext?.utf8Encoder ?? import_util_utf8.toUtf8)(bytes);
784
- const parsedObject = this.parseXml(xmlString);
785
- return this.readSchema(schema, key ? parsedObject[key] : parsedObject);
786
- }
787
- readSchema(_schema, value) {
788
- const ns = import_schema5.NormalizedSchema.of(_schema);
789
- const traits = ns.getMergedTraits();
790
- const schema = ns.getSchema();
791
- if (ns.isListSchema() && !Array.isArray(value)) {
792
- return this.readSchema(schema, [value]);
830
+ class AwsRestJsonProtocol extends protocols.HttpBindingProtocol {
831
+ serializer;
832
+ deserializer;
833
+ codec;
834
+ mixin = new ProtocolLib();
835
+ constructor({ defaultNamespace }) {
836
+ super({
837
+ defaultNamespace,
838
+ });
839
+ const settings = {
840
+ timestampFormat: {
841
+ useTrait: true,
842
+ default: 7,
843
+ },
844
+ httpBindings: true,
845
+ jsonName: true,
846
+ };
847
+ this.codec = new JsonCodec(settings);
848
+ this.serializer = new protocols.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);
849
+ this.deserializer = new protocols.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);
850
+ }
851
+ getShapeId() {
852
+ return "aws.protocols#restJson1";
853
+ }
854
+ getPayloadCodec() {
855
+ return this.codec;
856
+ }
857
+ setSerdeContext(serdeContext) {
858
+ this.codec.setSerdeContext(serdeContext);
859
+ super.setSerdeContext(serdeContext);
860
+ }
861
+ async serializeRequest(operationSchema, input, context) {
862
+ const request = await super.serializeRequest(operationSchema, input, context);
863
+ const inputSchema = schema.NormalizedSchema.of(operationSchema.input);
864
+ if (!request.headers["content-type"]) {
865
+ const contentType = this.mixin.resolveRestContentType(this.getDefaultContentType(), inputSchema);
866
+ if (contentType) {
867
+ request.headers["content-type"] = contentType;
868
+ }
869
+ }
870
+ if (request.body == null && request.headers["content-type"] === this.getDefaultContentType()) {
871
+ request.body = "{}";
872
+ }
873
+ return request;
874
+ }
875
+ async deserializeResponse(operationSchema, context, response) {
876
+ const output = await super.deserializeResponse(operationSchema, context, response);
877
+ const outputSchema = schema.NormalizedSchema.of(operationSchema.output);
878
+ for (const [name, member] of outputSchema.structIterator()) {
879
+ if (member.getMemberTraits().httpPayload && !(name in output)) {
880
+ output[name] = null;
881
+ }
882
+ }
883
+ return output;
884
+ }
885
+ async handleError(operationSchema, context, response, dataObject, metadata) {
886
+ const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown";
887
+ const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);
888
+ const ns = schema.NormalizedSchema.of(errorSchema);
889
+ const message = dataObject.message ?? dataObject.Message ?? "Unknown";
890
+ const ErrorCtor = schema.TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;
891
+ const exception = new ErrorCtor(message);
892
+ await this.deserializeHttpMessage(errorSchema, context, response, dataObject);
893
+ const output = {};
894
+ for (const [name, member] of ns.structIterator()) {
895
+ const target = member.getMergedTraits().jsonName ?? name;
896
+ output[name] = this.codec.createDeserializer().readObject(member, dataObject[target]);
897
+ }
898
+ throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {
899
+ $fault: ns.getMergedTraits().error,
900
+ message,
901
+ }, output), dataObject);
902
+ }
903
+ getDefaultContentType() {
904
+ return "application/json";
793
905
  }
906
+ }
907
+
908
+ const awsExpectUnion = (value) => {
794
909
  if (value == null) {
795
- return value;
796
- }
797
- if (typeof value === "object") {
798
- const sparse = !!traits.sparse;
799
- const flat = !!traits.xmlFlattened;
800
- if (ns.isListSchema()) {
801
- const listValue = ns.getValueSchema();
802
- const buffer2 = [];
803
- const sourceKey = listValue.getMergedTraits().xmlName ?? "member";
804
- const source = flat ? value : (value[0] ?? value)[sourceKey];
805
- const sourceArray = Array.isArray(source) ? source : [source];
806
- for (const v of sourceArray) {
807
- if (v != null || sparse) {
808
- buffer2.push(this.readSchema(listValue, v));
809
- }
810
- }
811
- return buffer2;
812
- }
813
- const buffer = {};
814
- if (ns.isMapSchema()) {
815
- const keyNs = ns.getKeySchema();
816
- const memberNs = ns.getValueSchema();
817
- let entries;
818
- if (flat) {
819
- entries = Array.isArray(value) ? value : [value];
820
- } else {
821
- entries = Array.isArray(value.entry) ? value.entry : [value.entry];
822
- }
823
- const keyProperty = keyNs.getMergedTraits().xmlName ?? "key";
824
- const valueProperty = memberNs.getMergedTraits().xmlName ?? "value";
825
- for (const entry of entries) {
826
- const key = entry[keyProperty];
827
- const value2 = entry[valueProperty];
828
- if (value2 != null || sparse) {
829
- buffer[key] = this.readSchema(memberNs, value2);
830
- }
831
- }
832
- return buffer;
833
- }
834
- if (ns.isStructSchema()) {
835
- for (const [memberName, memberSchema] of ns.structIterator()) {
836
- const memberTraits = memberSchema.getMergedTraits();
837
- const xmlObjectKey = !memberTraits.httpPayload ? memberSchema.getMemberTraits().xmlName ?? memberName : memberTraits.xmlName ?? memberSchema.getName();
838
- if (value[xmlObjectKey] != null) {
839
- buffer[memberName] = this.readSchema(memberSchema, value[xmlObjectKey]);
840
- }
841
- }
842
- return buffer;
843
- }
844
- if (ns.isDocumentSchema()) {
845
- return value;
846
- }
847
- throw new Error(`@aws-sdk/core/protocols - xml deserializer unhandled schema type for ${ns.getName(true)}`);
848
- } else {
849
- if (ns.isListSchema()) {
850
- return [];
851
- } else if (ns.isMapSchema() || ns.isStructSchema()) {
852
- return {};
853
- }
854
- return this.stringDeserializer.read(ns, value);
855
- }
856
- }
857
- parseXml(xml) {
858
- if (xml.length) {
859
- const parser = new import_fast_xml_parser.XMLParser({
860
- attributeNamePrefix: "",
861
- htmlEntities: true,
862
- ignoreAttributes: false,
863
- ignoreDeclaration: true,
864
- parseTagValue: false,
865
- trimValues: false,
866
- tagValueProcessor: /* @__PURE__ */ __name((_, val) => val.trim() === "" && val.includes("\n") ? "" : void 0, "tagValueProcessor")
867
- });
868
- parser.addEntity("#xD", "\r");
869
- parser.addEntity("#10", "\n");
870
- let parsedObj;
871
- try {
872
- parsedObj = parser.parse(xml, true);
873
- } catch (e) {
874
- if (e && typeof e === "object") {
875
- Object.defineProperty(e, "$responseBodyText", {
876
- value: xml
877
- });
878
- }
879
- throw e;
880
- }
881
- const textNodeName = "#text";
882
- const key = Object.keys(parsedObj)[0];
883
- const parsedObjToReturn = parsedObj[key];
884
- if (parsedObjToReturn[textNodeName]) {
885
- parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
886
- delete parsedObjToReturn[textNodeName];
887
- }
888
- return (0, import_smithy_client3.getValueFromTextNode)(parsedObjToReturn);
910
+ return undefined;
889
911
  }
890
- return {};
891
- }
912
+ if (typeof value === "object" && "__type" in value) {
913
+ delete value.__type;
914
+ }
915
+ return smithyClient.expectUnion(value);
892
916
  };
893
917
 
894
- // src/submodules/protocols/query/QueryShapeSerializer.ts
895
- var import_protocols4 = require("@smithy/core/protocols");
896
- var import_schema6 = require("@smithy/core/schema");
897
- var import_serde6 = require("@smithy/core/serde");
898
- var import_smithy_client4 = require("@smithy/smithy-client");
899
- var import_util_base642 = require("@smithy/util-base64");
900
- var QueryShapeSerializer = class extends SerdeContextConfig {
901
- constructor(settings) {
902
- super();
903
- this.settings = settings;
904
- }
905
- static {
906
- __name(this, "QueryShapeSerializer");
907
- }
908
- buffer;
909
- write(schema, value, prefix = "") {
910
- if (this.buffer === void 0) {
911
- this.buffer = "";
912
- }
913
- const ns = import_schema6.NormalizedSchema.of(schema);
914
- if (prefix && !prefix.endsWith(".")) {
915
- prefix += ".";
916
- }
917
- if (ns.isBlobSchema()) {
918
- if (typeof value === "string" || value instanceof Uint8Array) {
919
- this.writeKey(prefix);
920
- this.writeValue((this.serdeContext?.base64Encoder ?? import_util_base642.toBase64)(value));
921
- }
922
- } else if (ns.isBooleanSchema() || ns.isNumericSchema() || ns.isStringSchema()) {
923
- if (value != null) {
924
- this.writeKey(prefix);
925
- this.writeValue(String(value));
926
- }
927
- } else if (ns.isBigIntegerSchema()) {
928
- if (value != null) {
929
- this.writeKey(prefix);
930
- this.writeValue(String(value));
931
- }
932
- } else if (ns.isBigDecimalSchema()) {
933
- if (value != null) {
934
- this.writeKey(prefix);
935
- this.writeValue(value instanceof import_serde6.NumericValue ? value.string : String(value));
936
- }
937
- } else if (ns.isTimestampSchema()) {
938
- if (value instanceof Date) {
939
- this.writeKey(prefix);
940
- const format = (0, import_protocols4.determineTimestampFormat)(ns, this.settings);
941
- switch (format) {
942
- case import_schema6.SCHEMA.TIMESTAMP_DATE_TIME:
943
- this.writeValue(value.toISOString().replace(".000Z", "Z"));
944
- break;
945
- case import_schema6.SCHEMA.TIMESTAMP_HTTP_DATE:
946
- this.writeValue((0, import_smithy_client4.dateToUtcString)(value));
947
- break;
948
- case import_schema6.SCHEMA.TIMESTAMP_EPOCH_SECONDS:
949
- this.writeValue(String(value.getTime() / 1e3));
950
- break;
951
- }
952
- }
953
- } else if (ns.isDocumentSchema()) {
954
- throw new Error(`@aws-sdk/core/protocols - QuerySerializer unsupported document type ${ns.getName(true)}`);
955
- } else if (ns.isListSchema()) {
956
- if (Array.isArray(value)) {
957
- if (value.length === 0) {
958
- if (this.settings.serializeEmptyLists) {
959
- this.writeKey(prefix);
960
- this.writeValue("");
961
- }
962
- } else {
963
- const member = ns.getValueSchema();
964
- const flat = this.settings.flattenLists || ns.getMergedTraits().xmlFlattened;
965
- let i = 1;
966
- for (const item of value) {
967
- if (item == null) {
968
- continue;
969
- }
970
- const suffix = this.getKey("member", member.getMergedTraits().xmlName);
971
- const key = flat ? `${prefix}${i}` : `${prefix}${suffix}.${i}`;
972
- this.write(member, item, key);
973
- ++i;
974
- }
975
- }
976
- }
977
- } else if (ns.isMapSchema()) {
978
- if (value && typeof value === "object") {
979
- const keySchema = ns.getKeySchema();
980
- const memberSchema = ns.getValueSchema();
981
- const flat = ns.getMergedTraits().xmlFlattened;
982
- let i = 1;
983
- for (const [k, v] of Object.entries(value)) {
984
- if (v == null) {
985
- continue;
986
- }
987
- const keySuffix = this.getKey("key", keySchema.getMergedTraits().xmlName);
988
- const key = flat ? `${prefix}${i}.${keySuffix}` : `${prefix}entry.${i}.${keySuffix}`;
989
- const valueSuffix = this.getKey("value", memberSchema.getMergedTraits().xmlName);
990
- const valueKey = flat ? `${prefix}${i}.${valueSuffix}` : `${prefix}entry.${i}.${valueSuffix}`;
991
- this.write(keySchema, k, key);
992
- this.write(memberSchema, v, valueKey);
993
- ++i;
994
- }
995
- }
996
- } else if (ns.isStructSchema()) {
997
- if (value && typeof value === "object") {
998
- for (const [memberName, member] of ns.structIterator()) {
999
- if (value[memberName] == null) {
1000
- continue;
1001
- }
1002
- const suffix = this.getKey(memberName, member.getMergedTraits().xmlName);
1003
- const key = `${prefix}${suffix}`;
1004
- this.write(member, value[memberName], key);
1005
- }
1006
- }
1007
- } else if (ns.isUnitSchema()) {
1008
- } else {
1009
- throw new Error(`@aws-sdk/core/protocols - QuerySerializer unrecognized schema type ${ns.getName(true)}`);
1010
- }
1011
- }
1012
- flush() {
1013
- if (this.buffer === void 0) {
1014
- throw new Error("@aws-sdk/core/protocols - QuerySerializer cannot flush with nothing written to buffer.");
1015
- }
1016
- const str = this.buffer;
1017
- delete this.buffer;
1018
- return str;
1019
- }
1020
- getKey(memberName, xmlName) {
1021
- const key = xmlName ?? memberName;
1022
- if (this.settings.capitalizeKeys) {
1023
- return key[0].toUpperCase() + key.slice(1);
1024
- }
1025
- return key;
1026
- }
1027
- writeKey(key) {
1028
- if (key.endsWith(".")) {
1029
- key = key.slice(0, key.length - 1);
1030
- }
1031
- this.buffer += `&${(0, import_protocols4.extendedEncodeURIComponent)(key)}=`;
1032
- }
1033
- writeValue(value) {
1034
- this.buffer += (0, import_protocols4.extendedEncodeURIComponent)(value);
1035
- }
1036
- };
918
+ class XmlShapeDeserializer extends SerdeContextConfig {
919
+ settings;
920
+ stringDeserializer;
921
+ constructor(settings) {
922
+ super();
923
+ this.settings = settings;
924
+ this.stringDeserializer = new protocols.FromStringShapeDeserializer(settings);
925
+ }
926
+ setSerdeContext(serdeContext) {
927
+ this.serdeContext = serdeContext;
928
+ this.stringDeserializer.setSerdeContext(serdeContext);
929
+ }
930
+ read(schema$1, bytes, key) {
931
+ const ns = schema.NormalizedSchema.of(schema$1);
932
+ const memberSchemas = ns.getMemberSchemas();
933
+ const isEventPayload = ns.isStructSchema() &&
934
+ ns.isMemberSchema() &&
935
+ !!Object.values(memberSchemas).find((memberNs) => {
936
+ return !!memberNs.getMemberTraits().eventPayload;
937
+ });
938
+ if (isEventPayload) {
939
+ const output = {};
940
+ const memberName = Object.keys(memberSchemas)[0];
941
+ const eventMemberSchema = memberSchemas[memberName];
942
+ if (eventMemberSchema.isBlobSchema()) {
943
+ output[memberName] = bytes;
944
+ }
945
+ else {
946
+ output[memberName] = this.read(memberSchemas[memberName], bytes);
947
+ }
948
+ return output;
949
+ }
950
+ const xmlString = (this.serdeContext?.utf8Encoder ?? utilUtf8.toUtf8)(bytes);
951
+ const parsedObject = this.parseXml(xmlString);
952
+ return this.readSchema(schema$1, key ? parsedObject[key] : parsedObject);
953
+ }
954
+ readSchema(_schema, value) {
955
+ const ns = schema.NormalizedSchema.of(_schema);
956
+ if (ns.isUnitSchema()) {
957
+ return;
958
+ }
959
+ const traits = ns.getMergedTraits();
960
+ if (ns.isListSchema() && !Array.isArray(value)) {
961
+ return this.readSchema(ns, [value]);
962
+ }
963
+ if (value == null) {
964
+ return value;
965
+ }
966
+ if (typeof value === "object") {
967
+ const sparse = !!traits.sparse;
968
+ const flat = !!traits.xmlFlattened;
969
+ if (ns.isListSchema()) {
970
+ const listValue = ns.getValueSchema();
971
+ const buffer = [];
972
+ const sourceKey = listValue.getMergedTraits().xmlName ?? "member";
973
+ const source = flat ? value : (value[0] ?? value)[sourceKey];
974
+ const sourceArray = Array.isArray(source) ? source : [source];
975
+ for (const v of sourceArray) {
976
+ if (v != null || sparse) {
977
+ buffer.push(this.readSchema(listValue, v));
978
+ }
979
+ }
980
+ return buffer;
981
+ }
982
+ const buffer = {};
983
+ if (ns.isMapSchema()) {
984
+ const keyNs = ns.getKeySchema();
985
+ const memberNs = ns.getValueSchema();
986
+ let entries;
987
+ if (flat) {
988
+ entries = Array.isArray(value) ? value : [value];
989
+ }
990
+ else {
991
+ entries = Array.isArray(value.entry) ? value.entry : [value.entry];
992
+ }
993
+ const keyProperty = keyNs.getMergedTraits().xmlName ?? "key";
994
+ const valueProperty = memberNs.getMergedTraits().xmlName ?? "value";
995
+ for (const entry of entries) {
996
+ const key = entry[keyProperty];
997
+ const value = entry[valueProperty];
998
+ if (value != null || sparse) {
999
+ buffer[key] = this.readSchema(memberNs, value);
1000
+ }
1001
+ }
1002
+ return buffer;
1003
+ }
1004
+ if (ns.isStructSchema()) {
1005
+ const union = ns.isUnionSchema();
1006
+ let unionSerde;
1007
+ if (union) {
1008
+ unionSerde = new UnionSerde(value, buffer);
1009
+ }
1010
+ for (const [memberName, memberSchema] of ns.structIterator()) {
1011
+ const memberTraits = memberSchema.getMergedTraits();
1012
+ const xmlObjectKey = !memberTraits.httpPayload
1013
+ ? memberSchema.getMemberTraits().xmlName ?? memberName
1014
+ : memberTraits.xmlName ?? memberSchema.getName();
1015
+ if (union) {
1016
+ unionSerde.mark(xmlObjectKey);
1017
+ }
1018
+ if (value[xmlObjectKey] != null) {
1019
+ buffer[memberName] = this.readSchema(memberSchema, value[xmlObjectKey]);
1020
+ }
1021
+ }
1022
+ if (union) {
1023
+ unionSerde.writeUnknown();
1024
+ }
1025
+ return buffer;
1026
+ }
1027
+ if (ns.isDocumentSchema()) {
1028
+ return value;
1029
+ }
1030
+ throw new Error(`@aws-sdk/core/protocols - xml deserializer unhandled schema type for ${ns.getName(true)}`);
1031
+ }
1032
+ if (ns.isListSchema()) {
1033
+ return [];
1034
+ }
1035
+ if (ns.isMapSchema() || ns.isStructSchema()) {
1036
+ return {};
1037
+ }
1038
+ return this.stringDeserializer.read(ns, value);
1039
+ }
1040
+ parseXml(xml) {
1041
+ if (xml.length) {
1042
+ let parsedObj;
1043
+ try {
1044
+ parsedObj = xmlBuilder.parseXML(xml);
1045
+ }
1046
+ catch (e) {
1047
+ if (e && typeof e === "object") {
1048
+ Object.defineProperty(e, "$responseBodyText", {
1049
+ value: xml,
1050
+ });
1051
+ }
1052
+ throw e;
1053
+ }
1054
+ const textNodeName = "#text";
1055
+ const key = Object.keys(parsedObj)[0];
1056
+ const parsedObjToReturn = parsedObj[key];
1057
+ if (parsedObjToReturn[textNodeName]) {
1058
+ parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
1059
+ delete parsedObjToReturn[textNodeName];
1060
+ }
1061
+ return smithyClient.getValueFromTextNode(parsedObjToReturn);
1062
+ }
1063
+ return {};
1064
+ }
1065
+ }
1037
1066
 
1038
- // src/submodules/protocols/query/AwsQueryProtocol.ts
1039
- var AwsQueryProtocol = class extends import_protocols5.RpcProtocol {
1040
- constructor(options) {
1041
- super({
1042
- defaultNamespace: options.defaultNamespace
1043
- });
1044
- this.options = options;
1045
- const settings = {
1046
- timestampFormat: {
1047
- useTrait: true,
1048
- default: import_schema7.SCHEMA.TIMESTAMP_DATE_TIME
1049
- },
1050
- httpBindings: false,
1051
- xmlNamespace: options.xmlNamespace,
1052
- serviceNamespace: options.defaultNamespace,
1053
- serializeEmptyLists: true
1054
- };
1055
- this.serializer = new QueryShapeSerializer(settings);
1056
- this.deserializer = new XmlShapeDeserializer(settings);
1057
- }
1058
- static {
1059
- __name(this, "AwsQueryProtocol");
1060
- }
1061
- serializer;
1062
- deserializer;
1063
- getShapeId() {
1064
- return "aws.protocols#awsQuery";
1065
- }
1066
- setSerdeContext(serdeContext) {
1067
- this.serializer.setSerdeContext(serdeContext);
1068
- this.deserializer.setSerdeContext(serdeContext);
1069
- }
1070
- getPayloadCodec() {
1071
- throw new Error("AWSQuery protocol has no payload codec.");
1072
- }
1073
- async serializeRequest(operationSchema, input, context) {
1074
- const request = await super.serializeRequest(operationSchema, input, context);
1075
- if (!request.path.endsWith("/")) {
1076
- request.path += "/";
1077
- }
1078
- Object.assign(request.headers, {
1079
- "content-type": `application/x-www-form-urlencoded`
1080
- });
1081
- if ((0, import_schema7.deref)(operationSchema.input) === "unit" || !request.body) {
1082
- request.body = "";
1083
- }
1084
- request.body = `Action=${operationSchema.name.split("#")[1]}&Version=${this.options.version}` + request.body;
1085
- if (request.body.endsWith("&")) {
1086
- request.body = request.body.slice(-1);
1087
- }
1088
- try {
1089
- request.headers["content-length"] = String((0, import_util_body_length_browser3.calculateBodyLength)(request.body));
1090
- } catch (e) {
1091
- }
1092
- return request;
1093
- }
1094
- async deserializeResponse(operationSchema, context, response) {
1095
- const deserializer = this.deserializer;
1096
- const ns = import_schema7.NormalizedSchema.of(operationSchema.output);
1097
- const dataObject = {};
1098
- if (response.statusCode >= 300) {
1099
- const bytes2 = await (0, import_protocols5.collectBody)(response.body, context);
1100
- if (bytes2.byteLength > 0) {
1101
- Object.assign(dataObject, await deserializer.read(import_schema7.SCHEMA.DOCUMENT, bytes2));
1102
- }
1103
- await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response));
1104
- }
1105
- for (const header in response.headers) {
1106
- const value = response.headers[header];
1107
- delete response.headers[header];
1108
- response.headers[header.toLowerCase()] = value;
1109
- }
1110
- const awsQueryResultKey = ns.isStructSchema() && this.useNestedResult() ? operationSchema.name.split("#")[1] + "Result" : void 0;
1111
- const bytes = await (0, import_protocols5.collectBody)(response.body, context);
1112
- if (bytes.byteLength > 0) {
1113
- Object.assign(dataObject, await deserializer.read(ns, bytes, awsQueryResultKey));
1114
- }
1115
- const output = {
1116
- $metadata: this.deserializeMetadata(response),
1117
- ...dataObject
1118
- };
1119
- return output;
1120
- }
1121
- /**
1122
- * EC2 Query overrides this.
1123
- */
1124
- useNestedResult() {
1125
- return true;
1126
- }
1127
- async handleError(operationSchema, context, response, dataObject, metadata) {
1128
- const errorIdentifier = this.loadQueryErrorCode(response, dataObject) ?? "Unknown";
1129
- let namespace = this.options.defaultNamespace;
1130
- let errorName = errorIdentifier;
1131
- if (errorIdentifier.includes("#")) {
1132
- [namespace, errorName] = errorIdentifier.split("#");
1133
- }
1134
- const errorDataSource = this.loadQueryError(dataObject);
1135
- const registry = import_schema7.TypeRegistry.for(namespace);
1136
- let errorSchema;
1137
- try {
1138
- errorSchema = registry.find(
1139
- (schema) => import_schema7.NormalizedSchema.of(schema).getMergedTraits().awsQueryError?.[0] === errorName
1140
- );
1141
- if (!errorSchema) {
1142
- errorSchema = registry.getSchema(errorIdentifier);
1143
- }
1144
- } catch (e) {
1145
- const baseExceptionSchema = import_schema7.TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace).getBaseException();
1146
- if (baseExceptionSchema) {
1147
- const ErrorCtor = baseExceptionSchema.ctor;
1148
- throw Object.assign(new ErrorCtor(errorName), errorDataSource);
1149
- }
1150
- throw new Error(errorName);
1151
- }
1152
- const ns = import_schema7.NormalizedSchema.of(errorSchema);
1153
- const message = this.loadQueryErrorMessage(dataObject);
1154
- const exception = new errorSchema.ctor(message);
1155
- const output = {};
1156
- for (const [name, member] of ns.structIterator()) {
1157
- const target = member.getMergedTraits().xmlName ?? name;
1158
- const value = errorDataSource[target] ?? dataObject[target];
1159
- output[name] = this.deserializer.readSchema(member, value);
1160
- }
1161
- Object.assign(exception, {
1162
- $metadata: metadata,
1163
- $response: response,
1164
- $fault: ns.getMergedTraits().error,
1165
- message,
1166
- ...output
1167
- });
1168
- throw exception;
1169
- }
1170
- /**
1171
- * The variations in the error and error message locations are attributed to
1172
- * divergence between AWS Query and EC2 Query behavior.
1173
- */
1174
- loadQueryErrorCode(output, data) {
1175
- const code = (data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error)?.Code;
1176
- if (code !== void 0) {
1177
- return code;
1067
+ class QueryShapeSerializer extends SerdeContextConfig {
1068
+ settings;
1069
+ buffer;
1070
+ constructor(settings) {
1071
+ super();
1072
+ this.settings = settings;
1073
+ }
1074
+ write(schema$1, value, prefix = "") {
1075
+ if (this.buffer === undefined) {
1076
+ this.buffer = "";
1077
+ }
1078
+ const ns = schema.NormalizedSchema.of(schema$1);
1079
+ if (prefix && !prefix.endsWith(".")) {
1080
+ prefix += ".";
1081
+ }
1082
+ if (ns.isBlobSchema()) {
1083
+ if (typeof value === "string" || value instanceof Uint8Array) {
1084
+ this.writeKey(prefix);
1085
+ this.writeValue((this.serdeContext?.base64Encoder ?? utilBase64.toBase64)(value));
1086
+ }
1087
+ }
1088
+ else if (ns.isBooleanSchema() || ns.isNumericSchema() || ns.isStringSchema()) {
1089
+ if (value != null) {
1090
+ this.writeKey(prefix);
1091
+ this.writeValue(String(value));
1092
+ }
1093
+ else if (ns.isIdempotencyToken()) {
1094
+ this.writeKey(prefix);
1095
+ this.writeValue(serde.generateIdempotencyToken());
1096
+ }
1097
+ }
1098
+ else if (ns.isBigIntegerSchema()) {
1099
+ if (value != null) {
1100
+ this.writeKey(prefix);
1101
+ this.writeValue(String(value));
1102
+ }
1103
+ }
1104
+ else if (ns.isBigDecimalSchema()) {
1105
+ if (value != null) {
1106
+ this.writeKey(prefix);
1107
+ this.writeValue(value instanceof serde.NumericValue ? value.string : String(value));
1108
+ }
1109
+ }
1110
+ else if (ns.isTimestampSchema()) {
1111
+ if (value instanceof Date) {
1112
+ this.writeKey(prefix);
1113
+ const format = protocols.determineTimestampFormat(ns, this.settings);
1114
+ switch (format) {
1115
+ case 5:
1116
+ this.writeValue(value.toISOString().replace(".000Z", "Z"));
1117
+ break;
1118
+ case 6:
1119
+ this.writeValue(smithyClient.dateToUtcString(value));
1120
+ break;
1121
+ case 7:
1122
+ this.writeValue(String(value.getTime() / 1000));
1123
+ break;
1124
+ }
1125
+ }
1126
+ }
1127
+ else if (ns.isDocumentSchema()) {
1128
+ if (Array.isArray(value)) {
1129
+ this.write(64 | 15, value, prefix);
1130
+ }
1131
+ else if (value instanceof Date) {
1132
+ this.write(4, value, prefix);
1133
+ }
1134
+ else if (value instanceof Uint8Array) {
1135
+ this.write(21, value, prefix);
1136
+ }
1137
+ else if (value && typeof value === "object") {
1138
+ this.write(128 | 15, value, prefix);
1139
+ }
1140
+ else {
1141
+ this.writeKey(prefix);
1142
+ this.writeValue(String(value));
1143
+ }
1144
+ }
1145
+ else if (ns.isListSchema()) {
1146
+ if (Array.isArray(value)) {
1147
+ if (value.length === 0) {
1148
+ if (this.settings.serializeEmptyLists) {
1149
+ this.writeKey(prefix);
1150
+ this.writeValue("");
1151
+ }
1152
+ }
1153
+ else {
1154
+ const member = ns.getValueSchema();
1155
+ const flat = this.settings.flattenLists || ns.getMergedTraits().xmlFlattened;
1156
+ let i = 1;
1157
+ for (const item of value) {
1158
+ if (item == null) {
1159
+ continue;
1160
+ }
1161
+ const suffix = this.getKey("member", member.getMergedTraits().xmlName);
1162
+ const key = flat ? `${prefix}${i}` : `${prefix}${suffix}.${i}`;
1163
+ this.write(member, item, key);
1164
+ ++i;
1165
+ }
1166
+ }
1167
+ }
1168
+ }
1169
+ else if (ns.isMapSchema()) {
1170
+ if (value && typeof value === "object") {
1171
+ const keySchema = ns.getKeySchema();
1172
+ const memberSchema = ns.getValueSchema();
1173
+ const flat = ns.getMergedTraits().xmlFlattened;
1174
+ let i = 1;
1175
+ for (const [k, v] of Object.entries(value)) {
1176
+ if (v == null) {
1177
+ continue;
1178
+ }
1179
+ const keySuffix = this.getKey("key", keySchema.getMergedTraits().xmlName);
1180
+ const key = flat ? `${prefix}${i}.${keySuffix}` : `${prefix}entry.${i}.${keySuffix}`;
1181
+ const valueSuffix = this.getKey("value", memberSchema.getMergedTraits().xmlName);
1182
+ const valueKey = flat ? `${prefix}${i}.${valueSuffix}` : `${prefix}entry.${i}.${valueSuffix}`;
1183
+ this.write(keySchema, k, key);
1184
+ this.write(memberSchema, v, valueKey);
1185
+ ++i;
1186
+ }
1187
+ }
1188
+ }
1189
+ else if (ns.isStructSchema()) {
1190
+ if (value && typeof value === "object") {
1191
+ let didWriteMember = false;
1192
+ for (const [memberName, member] of ns.structIterator()) {
1193
+ if (value[memberName] == null && !member.isIdempotencyToken()) {
1194
+ continue;
1195
+ }
1196
+ const suffix = this.getKey(memberName, member.getMergedTraits().xmlName);
1197
+ const key = `${prefix}${suffix}`;
1198
+ this.write(member, value[memberName], key);
1199
+ didWriteMember = true;
1200
+ }
1201
+ if (!didWriteMember && ns.isUnionSchema()) {
1202
+ const { $unknown } = value;
1203
+ if (Array.isArray($unknown)) {
1204
+ const [k, v] = $unknown;
1205
+ const key = `${prefix}${k}`;
1206
+ this.write(15, v, key);
1207
+ }
1208
+ }
1209
+ }
1210
+ }
1211
+ else if (ns.isUnitSchema()) ;
1212
+ else {
1213
+ throw new Error(`@aws-sdk/core/protocols - QuerySerializer unrecognized schema type ${ns.getName(true)}`);
1214
+ }
1178
1215
  }
1179
- if (output.statusCode == 404) {
1180
- return "NotFound";
1181
- }
1182
- }
1183
- loadQueryError(data) {
1184
- return data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error;
1185
- }
1186
- loadQueryErrorMessage(data) {
1187
- const errorData = this.loadQueryError(data);
1188
- return errorData?.message ?? errorData?.Message ?? data.message ?? data.Message ?? "Unknown";
1189
- }
1190
- };
1216
+ flush() {
1217
+ if (this.buffer === undefined) {
1218
+ throw new Error("@aws-sdk/core/protocols - QuerySerializer cannot flush with nothing written to buffer.");
1219
+ }
1220
+ const str = this.buffer;
1221
+ delete this.buffer;
1222
+ return str;
1223
+ }
1224
+ getKey(memberName, xmlName) {
1225
+ const key = xmlName ?? memberName;
1226
+ if (this.settings.capitalizeKeys) {
1227
+ return key[0].toUpperCase() + key.slice(1);
1228
+ }
1229
+ return key;
1230
+ }
1231
+ writeKey(key) {
1232
+ if (key.endsWith(".")) {
1233
+ key = key.slice(0, key.length - 1);
1234
+ }
1235
+ this.buffer += `&${protocols.extendedEncodeURIComponent(key)}=`;
1236
+ }
1237
+ writeValue(value) {
1238
+ this.buffer += protocols.extendedEncodeURIComponent(value);
1239
+ }
1240
+ }
1191
1241
 
1192
- // src/submodules/protocols/query/AwsEc2QueryProtocol.ts
1193
- var AwsEc2QueryProtocol = class extends AwsQueryProtocol {
1194
- constructor(options) {
1195
- super(options);
1196
- this.options = options;
1197
- const ec2Settings = {
1198
- capitalizeKeys: true,
1199
- flattenLists: true,
1200
- serializeEmptyLists: false
1201
- };
1202
- Object.assign(this.serializer.settings, ec2Settings);
1203
- }
1204
- static {
1205
- __name(this, "AwsEc2QueryProtocol");
1206
- }
1207
- /**
1208
- * EC2 Query reads XResponse.XResult instead of XResponse directly.
1209
- */
1210
- useNestedResult() {
1211
- return false;
1212
- }
1213
- };
1242
+ class AwsQueryProtocol extends protocols.RpcProtocol {
1243
+ options;
1244
+ serializer;
1245
+ deserializer;
1246
+ mixin = new ProtocolLib();
1247
+ constructor(options) {
1248
+ super({
1249
+ defaultNamespace: options.defaultNamespace,
1250
+ });
1251
+ this.options = options;
1252
+ const settings = {
1253
+ timestampFormat: {
1254
+ useTrait: true,
1255
+ default: 5,
1256
+ },
1257
+ httpBindings: false,
1258
+ xmlNamespace: options.xmlNamespace,
1259
+ serviceNamespace: options.defaultNamespace,
1260
+ serializeEmptyLists: true,
1261
+ };
1262
+ this.serializer = new QueryShapeSerializer(settings);
1263
+ this.deserializer = new XmlShapeDeserializer(settings);
1264
+ }
1265
+ getShapeId() {
1266
+ return "aws.protocols#awsQuery";
1267
+ }
1268
+ setSerdeContext(serdeContext) {
1269
+ this.serializer.setSerdeContext(serdeContext);
1270
+ this.deserializer.setSerdeContext(serdeContext);
1271
+ }
1272
+ getPayloadCodec() {
1273
+ throw new Error("AWSQuery protocol has no payload codec.");
1274
+ }
1275
+ async serializeRequest(operationSchema, input, context) {
1276
+ const request = await super.serializeRequest(operationSchema, input, context);
1277
+ if (!request.path.endsWith("/")) {
1278
+ request.path += "/";
1279
+ }
1280
+ Object.assign(request.headers, {
1281
+ "content-type": `application/x-www-form-urlencoded`,
1282
+ });
1283
+ if (schema.deref(operationSchema.input) === "unit" || !request.body) {
1284
+ request.body = "";
1285
+ }
1286
+ const action = operationSchema.name.split("#")[1] ?? operationSchema.name;
1287
+ request.body = `Action=${action}&Version=${this.options.version}` + request.body;
1288
+ if (request.body.endsWith("&")) {
1289
+ request.body = request.body.slice(-1);
1290
+ }
1291
+ return request;
1292
+ }
1293
+ async deserializeResponse(operationSchema, context, response) {
1294
+ const deserializer = this.deserializer;
1295
+ const ns = schema.NormalizedSchema.of(operationSchema.output);
1296
+ const dataObject = {};
1297
+ if (response.statusCode >= 300) {
1298
+ const bytes = await protocols.collectBody(response.body, context);
1299
+ if (bytes.byteLength > 0) {
1300
+ Object.assign(dataObject, await deserializer.read(15, bytes));
1301
+ }
1302
+ await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response));
1303
+ }
1304
+ for (const header in response.headers) {
1305
+ const value = response.headers[header];
1306
+ delete response.headers[header];
1307
+ response.headers[header.toLowerCase()] = value;
1308
+ }
1309
+ const shortName = operationSchema.name.split("#")[1] ?? operationSchema.name;
1310
+ const awsQueryResultKey = ns.isStructSchema() && this.useNestedResult() ? shortName + "Result" : undefined;
1311
+ const bytes = await protocols.collectBody(response.body, context);
1312
+ if (bytes.byteLength > 0) {
1313
+ Object.assign(dataObject, await deserializer.read(ns, bytes, awsQueryResultKey));
1314
+ }
1315
+ const output = {
1316
+ $metadata: this.deserializeMetadata(response),
1317
+ ...dataObject,
1318
+ };
1319
+ return output;
1320
+ }
1321
+ useNestedResult() {
1322
+ return true;
1323
+ }
1324
+ async handleError(operationSchema, context, response, dataObject, metadata) {
1325
+ const errorIdentifier = this.loadQueryErrorCode(response, dataObject) ?? "Unknown";
1326
+ const errorData = this.loadQueryError(dataObject);
1327
+ const message = this.loadQueryErrorMessage(dataObject);
1328
+ errorData.message = message;
1329
+ errorData.Error = {
1330
+ Type: errorData.Type,
1331
+ Code: errorData.Code,
1332
+ Message: message,
1333
+ };
1334
+ const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, errorData, metadata, this.mixin.findQueryCompatibleError);
1335
+ const ns = schema.NormalizedSchema.of(errorSchema);
1336
+ const ErrorCtor = schema.TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;
1337
+ const exception = new ErrorCtor(message);
1338
+ const output = {
1339
+ Type: errorData.Error.Type,
1340
+ Code: errorData.Error.Code,
1341
+ Error: errorData.Error,
1342
+ };
1343
+ for (const [name, member] of ns.structIterator()) {
1344
+ const target = member.getMergedTraits().xmlName ?? name;
1345
+ const value = errorData[target] ?? dataObject[target];
1346
+ output[name] = this.deserializer.readSchema(member, value);
1347
+ }
1348
+ throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {
1349
+ $fault: ns.getMergedTraits().error,
1350
+ message,
1351
+ }, output), dataObject);
1352
+ }
1353
+ loadQueryErrorCode(output, data) {
1354
+ const code = (data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error)?.Code;
1355
+ if (code !== undefined) {
1356
+ return code;
1357
+ }
1358
+ if (output.statusCode == 404) {
1359
+ return "NotFound";
1360
+ }
1361
+ }
1362
+ loadQueryError(data) {
1363
+ return data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error;
1364
+ }
1365
+ loadQueryErrorMessage(data) {
1366
+ const errorData = this.loadQueryError(data);
1367
+ return errorData?.message ?? errorData?.Message ?? data.message ?? data.Message ?? "Unknown";
1368
+ }
1369
+ getDefaultContentType() {
1370
+ return "application/x-www-form-urlencoded";
1371
+ }
1372
+ }
1214
1373
 
1215
- // src/submodules/protocols/xml/AwsRestXmlProtocol.ts
1216
- var import_protocols6 = require("@smithy/core/protocols");
1217
- var import_schema9 = require("@smithy/core/schema");
1218
- var import_util_body_length_browser4 = require("@smithy/util-body-length-browser");
1374
+ class AwsEc2QueryProtocol extends AwsQueryProtocol {
1375
+ options;
1376
+ constructor(options) {
1377
+ super(options);
1378
+ this.options = options;
1379
+ const ec2Settings = {
1380
+ capitalizeKeys: true,
1381
+ flattenLists: true,
1382
+ serializeEmptyLists: false,
1383
+ };
1384
+ Object.assign(this.serializer.settings, ec2Settings);
1385
+ }
1386
+ useNestedResult() {
1387
+ return false;
1388
+ }
1389
+ }
1219
1390
 
1220
- // src/submodules/protocols/xml/parseXmlBody.ts
1221
- var import_smithy_client5 = require("@smithy/smithy-client");
1222
- var import_fast_xml_parser2 = require("fast-xml-parser");
1223
- var parseXmlBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
1224
- if (encoded.length) {
1225
- const parser = new import_fast_xml_parser2.XMLParser({
1226
- attributeNamePrefix: "",
1227
- htmlEntities: true,
1228
- ignoreAttributes: false,
1229
- ignoreDeclaration: true,
1230
- parseTagValue: false,
1231
- trimValues: false,
1232
- tagValueProcessor: /* @__PURE__ */ __name((_, val) => val.trim() === "" && val.includes("\n") ? "" : void 0, "tagValueProcessor")
1233
- });
1234
- parser.addEntity("#xD", "\r");
1235
- parser.addEntity("#10", "\n");
1236
- let parsedObj;
1237
- try {
1238
- parsedObj = parser.parse(encoded, true);
1239
- } catch (e) {
1240
- if (e && typeof e === "object") {
1241
- Object.defineProperty(e, "$responseBodyText", {
1242
- value: encoded
1243
- });
1244
- }
1245
- throw e;
1246
- }
1247
- const textNodeName = "#text";
1248
- const key = Object.keys(parsedObj)[0];
1249
- const parsedObjToReturn = parsedObj[key];
1250
- if (parsedObjToReturn[textNodeName]) {
1251
- parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
1252
- delete parsedObjToReturn[textNodeName];
1253
- }
1254
- return (0, import_smithy_client5.getValueFromTextNode)(parsedObjToReturn);
1255
- }
1256
- return {};
1257
- }), "parseXmlBody");
1258
- var parseXmlErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
1259
- const value = await parseXmlBody(errorBody, context);
1260
- if (value.Error) {
1261
- value.Error.message = value.Error.message ?? value.Error.Message;
1262
- }
1263
- return value;
1264
- }, "parseXmlErrorBody");
1265
- var loadRestXmlErrorCode = /* @__PURE__ */ __name((output, data) => {
1266
- if (data?.Error?.Code !== void 0) {
1267
- return data.Error.Code;
1268
- }
1269
- if (data?.Code !== void 0) {
1270
- return data.Code;
1271
- }
1272
- if (output.statusCode == 404) {
1273
- return "NotFound";
1274
- }
1275
- }, "loadRestXmlErrorCode");
1391
+ const parseXmlBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
1392
+ if (encoded.length) {
1393
+ let parsedObj;
1394
+ try {
1395
+ parsedObj = xmlBuilder.parseXML(encoded);
1396
+ }
1397
+ catch (e) {
1398
+ if (e && typeof e === "object") {
1399
+ Object.defineProperty(e, "$responseBodyText", {
1400
+ value: encoded,
1401
+ });
1402
+ }
1403
+ throw e;
1404
+ }
1405
+ const textNodeName = "#text";
1406
+ const key = Object.keys(parsedObj)[0];
1407
+ const parsedObjToReturn = parsedObj[key];
1408
+ if (parsedObjToReturn[textNodeName]) {
1409
+ parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
1410
+ delete parsedObjToReturn[textNodeName];
1411
+ }
1412
+ return smithyClient.getValueFromTextNode(parsedObjToReturn);
1413
+ }
1414
+ return {};
1415
+ });
1416
+ const parseXmlErrorBody = async (errorBody, context) => {
1417
+ const value = await parseXmlBody(errorBody, context);
1418
+ if (value.Error) {
1419
+ value.Error.message = value.Error.message ?? value.Error.Message;
1420
+ }
1421
+ return value;
1422
+ };
1423
+ const loadRestXmlErrorCode = (output, data) => {
1424
+ if (data?.Error?.Code !== undefined) {
1425
+ return data.Error.Code;
1426
+ }
1427
+ if (data?.Code !== undefined) {
1428
+ return data.Code;
1429
+ }
1430
+ if (output.statusCode == 404) {
1431
+ return "NotFound";
1432
+ }
1433
+ };
1276
1434
 
1277
- // src/submodules/protocols/xml/XmlShapeSerializer.ts
1278
- var import_xml_builder = require("@aws-sdk/xml-builder");
1279
- var import_schema8 = require("@smithy/core/schema");
1280
- var import_serde7 = require("@smithy/core/serde");
1281
- var import_smithy_client6 = require("@smithy/smithy-client");
1282
- var import_util_base643 = require("@smithy/util-base64");
1283
- var XmlShapeSerializer = class extends SerdeContextConfig {
1284
- constructor(settings) {
1285
- super();
1286
- this.settings = settings;
1287
- }
1288
- static {
1289
- __name(this, "XmlShapeSerializer");
1290
- }
1291
- stringBuffer;
1292
- byteBuffer;
1293
- buffer;
1294
- write(schema, value) {
1295
- const ns = import_schema8.NormalizedSchema.of(schema);
1296
- if (ns.isStringSchema() && typeof value === "string") {
1297
- this.stringBuffer = value;
1298
- } else if (ns.isBlobSchema()) {
1299
- this.byteBuffer = "byteLength" in value ? value : (this.serdeContext?.base64Decoder ?? import_util_base643.fromBase64)(value);
1300
- } else {
1301
- this.buffer = this.writeStruct(ns, value, void 0);
1302
- const traits = ns.getMergedTraits();
1303
- if (traits.httpPayload && !traits.xmlName) {
1304
- this.buffer.withName(ns.getName());
1305
- }
1306
- }
1307
- }
1308
- flush() {
1309
- if (this.byteBuffer !== void 0) {
1310
- const bytes = this.byteBuffer;
1311
- delete this.byteBuffer;
1312
- return bytes;
1313
- }
1314
- if (this.stringBuffer !== void 0) {
1315
- const str = this.stringBuffer;
1316
- delete this.stringBuffer;
1317
- return str;
1318
- }
1319
- const buffer = this.buffer;
1320
- if (this.settings.xmlNamespace) {
1321
- if (!buffer?.attributes?.["xmlns"]) {
1322
- buffer.addAttribute("xmlns", this.settings.xmlNamespace);
1323
- }
1324
- }
1325
- delete this.buffer;
1326
- return buffer.toString();
1327
- }
1328
- writeStruct(ns, value, parentXmlns) {
1329
- const traits = ns.getMergedTraits();
1330
- const name = ns.isMemberSchema() && !traits.httpPayload ? ns.getMemberTraits().xmlName ?? ns.getMemberName() : traits.xmlName ?? ns.getName();
1331
- if (!name || !ns.isStructSchema()) {
1332
- throw new Error(
1333
- `@aws-sdk/core/protocols - xml serializer, cannot write struct with empty name or non-struct, schema=${ns.getName(
1334
- true
1335
- )}.`
1336
- );
1337
- }
1338
- const structXmlNode = import_xml_builder.XmlNode.of(name);
1339
- const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);
1340
- if (xmlns) {
1341
- structXmlNode.addAttribute(xmlnsAttr, xmlns);
1342
- }
1343
- for (const [memberName, memberSchema] of ns.structIterator()) {
1344
- const val = value[memberName];
1345
- if (val != null) {
1346
- if (memberSchema.getMergedTraits().xmlAttribute) {
1347
- structXmlNode.addAttribute(
1348
- memberSchema.getMergedTraits().xmlName ?? memberName,
1349
- this.writeSimple(memberSchema, val)
1350
- );
1351
- continue;
1352
- }
1353
- if (memberSchema.isListSchema()) {
1354
- this.writeList(memberSchema, val, structXmlNode, xmlns);
1355
- } else if (memberSchema.isMapSchema()) {
1356
- this.writeMap(memberSchema, val, structXmlNode, xmlns);
1357
- } else if (memberSchema.isStructSchema()) {
1358
- structXmlNode.addChildNode(this.writeStruct(memberSchema, val, xmlns));
1359
- } else {
1360
- const memberNode = import_xml_builder.XmlNode.of(memberSchema.getMergedTraits().xmlName ?? memberSchema.getMemberName());
1361
- this.writeSimpleInto(memberSchema, val, memberNode, xmlns);
1362
- structXmlNode.addChildNode(memberNode);
1363
- }
1364
- }
1365
- }
1366
- return structXmlNode;
1367
- }
1368
- writeList(listMember, array, container, parentXmlns) {
1369
- if (!listMember.isMemberSchema()) {
1370
- throw new Error(
1371
- `@aws-sdk/core/protocols - xml serializer, cannot write non-member list: ${listMember.getName(true)}`
1372
- );
1373
- }
1374
- const listTraits = listMember.getMergedTraits();
1375
- const listValueSchema = listMember.getValueSchema();
1376
- const listValueTraits = listValueSchema.getMergedTraits();
1377
- const sparse = !!listValueTraits.sparse;
1378
- const flat = !!listTraits.xmlFlattened;
1379
- const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(listMember, parentXmlns);
1380
- const writeItem = /* @__PURE__ */ __name((container2, value) => {
1381
- if (listValueSchema.isListSchema()) {
1382
- this.writeList(listValueSchema, Array.isArray(value) ? value : [value], container2, xmlns);
1383
- } else if (listValueSchema.isMapSchema()) {
1384
- this.writeMap(listValueSchema, value, container2, xmlns);
1385
- } else if (listValueSchema.isStructSchema()) {
1386
- const struct = this.writeStruct(listValueSchema, value, xmlns);
1387
- container2.addChildNode(
1388
- struct.withName(flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? "member")
1389
- );
1390
- } else {
1391
- const listItemNode = import_xml_builder.XmlNode.of(
1392
- flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? "member"
1393
- );
1394
- this.writeSimpleInto(listValueSchema, value, listItemNode, xmlns);
1395
- container2.addChildNode(listItemNode);
1396
- }
1397
- }, "writeItem");
1398
- if (flat) {
1399
- for (const value of array) {
1400
- if (sparse || value != null) {
1401
- writeItem(container, value);
1402
- }
1403
- }
1404
- } else {
1405
- const listNode = import_xml_builder.XmlNode.of(listTraits.xmlName ?? listMember.getMemberName());
1406
- if (xmlns) {
1407
- listNode.addAttribute(xmlnsAttr, xmlns);
1408
- }
1409
- for (const value of array) {
1410
- if (sparse || value != null) {
1411
- writeItem(listNode, value);
1412
- }
1413
- }
1414
- container.addChildNode(listNode);
1415
- }
1416
- }
1417
- writeMap(mapMember, map, container, parentXmlns, containerIsMap = false) {
1418
- if (!mapMember.isMemberSchema()) {
1419
- throw new Error(
1420
- `@aws-sdk/core/protocols - xml serializer, cannot write non-member map: ${mapMember.getName(true)}`
1421
- );
1422
- }
1423
- const mapTraits = mapMember.getMergedTraits();
1424
- const mapKeySchema = mapMember.getKeySchema();
1425
- const mapKeyTraits = mapKeySchema.getMergedTraits();
1426
- const keyTag = mapKeyTraits.xmlName ?? "key";
1427
- const mapValueSchema = mapMember.getValueSchema();
1428
- const mapValueTraits = mapValueSchema.getMergedTraits();
1429
- const valueTag = mapValueTraits.xmlName ?? "value";
1430
- const sparse = !!mapValueTraits.sparse;
1431
- const flat = !!mapTraits.xmlFlattened;
1432
- const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(mapMember, parentXmlns);
1433
- const addKeyValue = /* @__PURE__ */ __name((entry, key, val) => {
1434
- const keyNode = import_xml_builder.XmlNode.of(keyTag, key);
1435
- const [keyXmlnsAttr, keyXmlns] = this.getXmlnsAttribute(mapKeySchema, xmlns);
1436
- if (keyXmlns) {
1437
- keyNode.addAttribute(keyXmlnsAttr, keyXmlns);
1438
- }
1439
- entry.addChildNode(keyNode);
1440
- let valueNode = import_xml_builder.XmlNode.of(valueTag);
1441
- if (mapValueSchema.isListSchema()) {
1442
- this.writeList(mapValueSchema, val, valueNode, xmlns);
1443
- } else if (mapValueSchema.isMapSchema()) {
1444
- this.writeMap(mapValueSchema, val, valueNode, xmlns, true);
1445
- } else if (mapValueSchema.isStructSchema()) {
1446
- valueNode = this.writeStruct(mapValueSchema, val, xmlns);
1447
- } else {
1448
- this.writeSimpleInto(mapValueSchema, val, valueNode, xmlns);
1449
- }
1450
- entry.addChildNode(valueNode);
1451
- }, "addKeyValue");
1452
- if (flat) {
1453
- for (const [key, val] of Object.entries(map)) {
1454
- if (sparse || val != null) {
1455
- const entry = import_xml_builder.XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName());
1456
- addKeyValue(entry, key, val);
1457
- container.addChildNode(entry);
1458
- }
1459
- }
1460
- } else {
1461
- let mapNode;
1462
- if (!containerIsMap) {
1463
- mapNode = import_xml_builder.XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName());
1435
+ class XmlShapeSerializer extends SerdeContextConfig {
1436
+ settings;
1437
+ stringBuffer;
1438
+ byteBuffer;
1439
+ buffer;
1440
+ constructor(settings) {
1441
+ super();
1442
+ this.settings = settings;
1443
+ }
1444
+ write(schema$1, value) {
1445
+ const ns = schema.NormalizedSchema.of(schema$1);
1446
+ if (ns.isStringSchema() && typeof value === "string") {
1447
+ this.stringBuffer = value;
1448
+ }
1449
+ else if (ns.isBlobSchema()) {
1450
+ this.byteBuffer =
1451
+ "byteLength" in value
1452
+ ? value
1453
+ : (this.serdeContext?.base64Decoder ?? utilBase64.fromBase64)(value);
1454
+ }
1455
+ else {
1456
+ this.buffer = this.writeStruct(ns, value, undefined);
1457
+ const traits = ns.getMergedTraits();
1458
+ if (traits.httpPayload && !traits.xmlName) {
1459
+ this.buffer.withName(ns.getName());
1460
+ }
1461
+ }
1462
+ }
1463
+ flush() {
1464
+ if (this.byteBuffer !== undefined) {
1465
+ const bytes = this.byteBuffer;
1466
+ delete this.byteBuffer;
1467
+ return bytes;
1468
+ }
1469
+ if (this.stringBuffer !== undefined) {
1470
+ const str = this.stringBuffer;
1471
+ delete this.stringBuffer;
1472
+ return str;
1473
+ }
1474
+ const buffer = this.buffer;
1475
+ if (this.settings.xmlNamespace) {
1476
+ if (!buffer?.attributes?.["xmlns"]) {
1477
+ buffer.addAttribute("xmlns", this.settings.xmlNamespace);
1478
+ }
1479
+ }
1480
+ delete this.buffer;
1481
+ return buffer.toString();
1482
+ }
1483
+ writeStruct(ns, value, parentXmlns) {
1484
+ const traits = ns.getMergedTraits();
1485
+ const name = ns.isMemberSchema() && !traits.httpPayload
1486
+ ? ns.getMemberTraits().xmlName ?? ns.getMemberName()
1487
+ : traits.xmlName ?? ns.getName();
1488
+ if (!name || !ns.isStructSchema()) {
1489
+ throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write struct with empty name or non-struct, schema=${ns.getName(true)}.`);
1490
+ }
1491
+ const structXmlNode = xmlBuilder.XmlNode.of(name);
1492
+ const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);
1493
+ for (const [memberName, memberSchema] of ns.structIterator()) {
1494
+ const val = value[memberName];
1495
+ if (val != null || memberSchema.isIdempotencyToken()) {
1496
+ if (memberSchema.getMergedTraits().xmlAttribute) {
1497
+ structXmlNode.addAttribute(memberSchema.getMergedTraits().xmlName ?? memberName, this.writeSimple(memberSchema, val));
1498
+ continue;
1499
+ }
1500
+ if (memberSchema.isListSchema()) {
1501
+ this.writeList(memberSchema, val, structXmlNode, xmlns);
1502
+ }
1503
+ else if (memberSchema.isMapSchema()) {
1504
+ this.writeMap(memberSchema, val, structXmlNode, xmlns);
1505
+ }
1506
+ else if (memberSchema.isStructSchema()) {
1507
+ structXmlNode.addChildNode(this.writeStruct(memberSchema, val, xmlns));
1508
+ }
1509
+ else {
1510
+ const memberNode = xmlBuilder.XmlNode.of(memberSchema.getMergedTraits().xmlName ?? memberSchema.getMemberName());
1511
+ this.writeSimpleInto(memberSchema, val, memberNode, xmlns);
1512
+ structXmlNode.addChildNode(memberNode);
1513
+ }
1514
+ }
1515
+ }
1516
+ const { $unknown } = value;
1517
+ if ($unknown && ns.isUnionSchema() && Array.isArray($unknown) && Object.keys(value).length === 1) {
1518
+ const [k, v] = $unknown;
1519
+ const node = xmlBuilder.XmlNode.of(k);
1520
+ if (typeof v !== "string") {
1521
+ if (value instanceof xmlBuilder.XmlNode || value instanceof xmlBuilder.XmlText) {
1522
+ structXmlNode.addChildNode(value);
1523
+ }
1524
+ else {
1525
+ throw new Error(`@aws-sdk - $unknown union member in XML requires ` +
1526
+ `value of type string, @aws-sdk/xml-builder::XmlNode or XmlText.`);
1527
+ }
1528
+ }
1529
+ this.writeSimpleInto(0, v, node, xmlns);
1530
+ structXmlNode.addChildNode(node);
1531
+ }
1464
1532
  if (xmlns) {
1465
- mapNode.addAttribute(xmlnsAttr, xmlns);
1466
- }
1467
- container.addChildNode(mapNode);
1468
- }
1469
- for (const [key, val] of Object.entries(map)) {
1470
- if (sparse || val != null) {
1471
- const entry = import_xml_builder.XmlNode.of("entry");
1472
- addKeyValue(entry, key, val);
1473
- (containerIsMap ? container : mapNode).addChildNode(entry);
1474
- }
1475
- }
1476
- }
1477
- }
1478
- writeSimple(_schema, value) {
1479
- if (null === value) {
1480
- throw new Error("@aws-sdk/core/protocols - (XML serializer) cannot write null value.");
1481
- }
1482
- const ns = import_schema8.NormalizedSchema.of(_schema);
1483
- let nodeContents = null;
1484
- if (value && typeof value === "object") {
1485
- if (ns.isBlobSchema()) {
1486
- nodeContents = (this.serdeContext?.base64Encoder ?? import_util_base643.toBase64)(value);
1487
- } else if (ns.isTimestampSchema() && value instanceof Date) {
1488
- const options = this.settings.timestampFormat;
1489
- const format = options.useTrait ? ns.getSchema() === import_schema8.SCHEMA.TIMESTAMP_DEFAULT ? options.default : ns.getSchema() ?? options.default : options.default;
1490
- switch (format) {
1491
- case import_schema8.SCHEMA.TIMESTAMP_DATE_TIME:
1492
- nodeContents = value.toISOString().replace(".000Z", "Z");
1493
- break;
1494
- case import_schema8.SCHEMA.TIMESTAMP_HTTP_DATE:
1495
- nodeContents = (0, import_smithy_client6.dateToUtcString)(value);
1496
- break;
1497
- case import_schema8.SCHEMA.TIMESTAMP_EPOCH_SECONDS:
1498
- nodeContents = String(value.getTime() / 1e3);
1499
- break;
1500
- default:
1501
- console.warn("Missing timestamp format, using http date", value);
1502
- nodeContents = (0, import_smithy_client6.dateToUtcString)(value);
1503
- break;
1504
- }
1505
- } else if (ns.isBigDecimalSchema() && value) {
1506
- if (value instanceof import_serde7.NumericValue) {
1507
- return value.string;
1508
- }
1509
- return String(value);
1510
- } else if (ns.isMapSchema() || ns.isListSchema()) {
1511
- throw new Error(
1512
- "@aws-sdk/core/protocols - xml serializer, cannot call _write() on List/Map schema, call writeList or writeMap() instead."
1513
- );
1514
- } else {
1515
- throw new Error(
1516
- `@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${ns.getName(
1517
- true
1518
- )}`
1519
- );
1520
- }
1521
- }
1522
- if (ns.isStringSchema() || ns.isBooleanSchema() || ns.isNumericSchema() || ns.isBigIntegerSchema() || ns.isBigDecimalSchema()) {
1523
- nodeContents = String(value);
1524
- }
1525
- if (nodeContents === null) {
1526
- throw new Error(`Unhandled schema-value pair ${ns.getName(true)}=${value}`);
1527
- }
1528
- return nodeContents;
1529
- }
1530
- writeSimpleInto(_schema, value, into, parentXmlns) {
1531
- const nodeContents = this.writeSimple(_schema, value);
1532
- const ns = import_schema8.NormalizedSchema.of(_schema);
1533
- const content = new import_xml_builder.XmlText(nodeContents);
1534
- const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);
1535
- if (xmlns) {
1536
- into.addAttribute(xmlnsAttr, xmlns);
1537
- }
1538
- into.addChildNode(content);
1539
- }
1540
- getXmlnsAttribute(ns, parentXmlns) {
1541
- const traits = ns.getMergedTraits();
1542
- const [prefix, xmlns] = traits.xmlNamespace ?? [];
1543
- if (xmlns && xmlns !== parentXmlns) {
1544
- return [prefix ? `xmlns:${prefix}` : "xmlns", xmlns];
1545
- }
1546
- return [void 0, void 0];
1547
- }
1548
- };
1533
+ structXmlNode.addAttribute(xmlnsAttr, xmlns);
1534
+ }
1535
+ return structXmlNode;
1536
+ }
1537
+ writeList(listMember, array, container, parentXmlns) {
1538
+ if (!listMember.isMemberSchema()) {
1539
+ throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member list: ${listMember.getName(true)}`);
1540
+ }
1541
+ const listTraits = listMember.getMergedTraits();
1542
+ const listValueSchema = listMember.getValueSchema();
1543
+ const listValueTraits = listValueSchema.getMergedTraits();
1544
+ const sparse = !!listValueTraits.sparse;
1545
+ const flat = !!listTraits.xmlFlattened;
1546
+ const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(listMember, parentXmlns);
1547
+ const writeItem = (container, value) => {
1548
+ if (listValueSchema.isListSchema()) {
1549
+ this.writeList(listValueSchema, Array.isArray(value) ? value : [value], container, xmlns);
1550
+ }
1551
+ else if (listValueSchema.isMapSchema()) {
1552
+ this.writeMap(listValueSchema, value, container, xmlns);
1553
+ }
1554
+ else if (listValueSchema.isStructSchema()) {
1555
+ const struct = this.writeStruct(listValueSchema, value, xmlns);
1556
+ container.addChildNode(struct.withName(flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? "member"));
1557
+ }
1558
+ else {
1559
+ const listItemNode = xmlBuilder.XmlNode.of(flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? "member");
1560
+ this.writeSimpleInto(listValueSchema, value, listItemNode, xmlns);
1561
+ container.addChildNode(listItemNode);
1562
+ }
1563
+ };
1564
+ if (flat) {
1565
+ for (const value of array) {
1566
+ if (sparse || value != null) {
1567
+ writeItem(container, value);
1568
+ }
1569
+ }
1570
+ }
1571
+ else {
1572
+ const listNode = xmlBuilder.XmlNode.of(listTraits.xmlName ?? listMember.getMemberName());
1573
+ if (xmlns) {
1574
+ listNode.addAttribute(xmlnsAttr, xmlns);
1575
+ }
1576
+ for (const value of array) {
1577
+ if (sparse || value != null) {
1578
+ writeItem(listNode, value);
1579
+ }
1580
+ }
1581
+ container.addChildNode(listNode);
1582
+ }
1583
+ }
1584
+ writeMap(mapMember, map, container, parentXmlns, containerIsMap = false) {
1585
+ if (!mapMember.isMemberSchema()) {
1586
+ throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member map: ${mapMember.getName(true)}`);
1587
+ }
1588
+ const mapTraits = mapMember.getMergedTraits();
1589
+ const mapKeySchema = mapMember.getKeySchema();
1590
+ const mapKeyTraits = mapKeySchema.getMergedTraits();
1591
+ const keyTag = mapKeyTraits.xmlName ?? "key";
1592
+ const mapValueSchema = mapMember.getValueSchema();
1593
+ const mapValueTraits = mapValueSchema.getMergedTraits();
1594
+ const valueTag = mapValueTraits.xmlName ?? "value";
1595
+ const sparse = !!mapValueTraits.sparse;
1596
+ const flat = !!mapTraits.xmlFlattened;
1597
+ const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(mapMember, parentXmlns);
1598
+ const addKeyValue = (entry, key, val) => {
1599
+ const keyNode = xmlBuilder.XmlNode.of(keyTag, key);
1600
+ const [keyXmlnsAttr, keyXmlns] = this.getXmlnsAttribute(mapKeySchema, xmlns);
1601
+ if (keyXmlns) {
1602
+ keyNode.addAttribute(keyXmlnsAttr, keyXmlns);
1603
+ }
1604
+ entry.addChildNode(keyNode);
1605
+ let valueNode = xmlBuilder.XmlNode.of(valueTag);
1606
+ if (mapValueSchema.isListSchema()) {
1607
+ this.writeList(mapValueSchema, val, valueNode, xmlns);
1608
+ }
1609
+ else if (mapValueSchema.isMapSchema()) {
1610
+ this.writeMap(mapValueSchema, val, valueNode, xmlns, true);
1611
+ }
1612
+ else if (mapValueSchema.isStructSchema()) {
1613
+ valueNode = this.writeStruct(mapValueSchema, val, xmlns);
1614
+ }
1615
+ else {
1616
+ this.writeSimpleInto(mapValueSchema, val, valueNode, xmlns);
1617
+ }
1618
+ entry.addChildNode(valueNode);
1619
+ };
1620
+ if (flat) {
1621
+ for (const [key, val] of Object.entries(map)) {
1622
+ if (sparse || val != null) {
1623
+ const entry = xmlBuilder.XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName());
1624
+ addKeyValue(entry, key, val);
1625
+ container.addChildNode(entry);
1626
+ }
1627
+ }
1628
+ }
1629
+ else {
1630
+ let mapNode;
1631
+ if (!containerIsMap) {
1632
+ mapNode = xmlBuilder.XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName());
1633
+ if (xmlns) {
1634
+ mapNode.addAttribute(xmlnsAttr, xmlns);
1635
+ }
1636
+ container.addChildNode(mapNode);
1637
+ }
1638
+ for (const [key, val] of Object.entries(map)) {
1639
+ if (sparse || val != null) {
1640
+ const entry = xmlBuilder.XmlNode.of("entry");
1641
+ addKeyValue(entry, key, val);
1642
+ (containerIsMap ? container : mapNode).addChildNode(entry);
1643
+ }
1644
+ }
1645
+ }
1646
+ }
1647
+ writeSimple(_schema, value) {
1648
+ if (null === value) {
1649
+ throw new Error("@aws-sdk/core/protocols - (XML serializer) cannot write null value.");
1650
+ }
1651
+ const ns = schema.NormalizedSchema.of(_schema);
1652
+ let nodeContents = null;
1653
+ if (value && typeof value === "object") {
1654
+ if (ns.isBlobSchema()) {
1655
+ nodeContents = (this.serdeContext?.base64Encoder ?? utilBase64.toBase64)(value);
1656
+ }
1657
+ else if (ns.isTimestampSchema() && value instanceof Date) {
1658
+ const format = protocols.determineTimestampFormat(ns, this.settings);
1659
+ switch (format) {
1660
+ case 5:
1661
+ nodeContents = value.toISOString().replace(".000Z", "Z");
1662
+ break;
1663
+ case 6:
1664
+ nodeContents = smithyClient.dateToUtcString(value);
1665
+ break;
1666
+ case 7:
1667
+ nodeContents = String(value.getTime() / 1000);
1668
+ break;
1669
+ default:
1670
+ console.warn("Missing timestamp format, using http date", value);
1671
+ nodeContents = smithyClient.dateToUtcString(value);
1672
+ break;
1673
+ }
1674
+ }
1675
+ else if (ns.isBigDecimalSchema() && value) {
1676
+ if (value instanceof serde.NumericValue) {
1677
+ return value.string;
1678
+ }
1679
+ return String(value);
1680
+ }
1681
+ else if (ns.isMapSchema() || ns.isListSchema()) {
1682
+ throw new Error("@aws-sdk/core/protocols - xml serializer, cannot call _write() on List/Map schema, call writeList or writeMap() instead.");
1683
+ }
1684
+ else {
1685
+ throw new Error(`@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${ns.getName(true)}`);
1686
+ }
1687
+ }
1688
+ if (ns.isBooleanSchema() || ns.isNumericSchema() || ns.isBigIntegerSchema() || ns.isBigDecimalSchema()) {
1689
+ nodeContents = String(value);
1690
+ }
1691
+ if (ns.isStringSchema()) {
1692
+ if (value === undefined && ns.isIdempotencyToken()) {
1693
+ nodeContents = serde.generateIdempotencyToken();
1694
+ }
1695
+ else {
1696
+ nodeContents = String(value);
1697
+ }
1698
+ }
1699
+ if (nodeContents === null) {
1700
+ throw new Error(`Unhandled schema-value pair ${ns.getName(true)}=${value}`);
1701
+ }
1702
+ return nodeContents;
1703
+ }
1704
+ writeSimpleInto(_schema, value, into, parentXmlns) {
1705
+ const nodeContents = this.writeSimple(_schema, value);
1706
+ const ns = schema.NormalizedSchema.of(_schema);
1707
+ const content = new xmlBuilder.XmlText(nodeContents);
1708
+ const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);
1709
+ if (xmlns) {
1710
+ into.addAttribute(xmlnsAttr, xmlns);
1711
+ }
1712
+ into.addChildNode(content);
1713
+ }
1714
+ getXmlnsAttribute(ns, parentXmlns) {
1715
+ const traits = ns.getMergedTraits();
1716
+ const [prefix, xmlns] = traits.xmlNamespace ?? [];
1717
+ if (xmlns && xmlns !== parentXmlns) {
1718
+ return [prefix ? `xmlns:${prefix}` : "xmlns", xmlns];
1719
+ }
1720
+ return [void 0, void 0];
1721
+ }
1722
+ }
1549
1723
 
1550
- // src/submodules/protocols/xml/XmlCodec.ts
1551
- var XmlCodec = class extends SerdeContextConfig {
1552
- constructor(settings) {
1553
- super();
1554
- this.settings = settings;
1555
- }
1556
- static {
1557
- __name(this, "XmlCodec");
1558
- }
1559
- createSerializer() {
1560
- const serializer = new XmlShapeSerializer(this.settings);
1561
- serializer.setSerdeContext(this.serdeContext);
1562
- return serializer;
1563
- }
1564
- createDeserializer() {
1565
- const deserializer = new XmlShapeDeserializer(this.settings);
1566
- deserializer.setSerdeContext(this.serdeContext);
1567
- return deserializer;
1568
- }
1569
- };
1724
+ class XmlCodec extends SerdeContextConfig {
1725
+ settings;
1726
+ constructor(settings) {
1727
+ super();
1728
+ this.settings = settings;
1729
+ }
1730
+ createSerializer() {
1731
+ const serializer = new XmlShapeSerializer(this.settings);
1732
+ serializer.setSerdeContext(this.serdeContext);
1733
+ return serializer;
1734
+ }
1735
+ createDeserializer() {
1736
+ const deserializer = new XmlShapeDeserializer(this.settings);
1737
+ deserializer.setSerdeContext(this.serdeContext);
1738
+ return deserializer;
1739
+ }
1740
+ }
1570
1741
 
1571
- // src/submodules/protocols/xml/AwsRestXmlProtocol.ts
1572
- var AwsRestXmlProtocol = class extends import_protocols6.HttpBindingProtocol {
1573
- static {
1574
- __name(this, "AwsRestXmlProtocol");
1575
- }
1576
- codec;
1577
- serializer;
1578
- deserializer;
1579
- constructor(options) {
1580
- super(options);
1581
- const settings = {
1582
- timestampFormat: {
1583
- useTrait: true,
1584
- default: import_schema9.SCHEMA.TIMESTAMP_DATE_TIME
1585
- },
1586
- httpBindings: true,
1587
- xmlNamespace: options.xmlNamespace,
1588
- serviceNamespace: options.defaultNamespace
1589
- };
1590
- this.codec = new XmlCodec(settings);
1591
- this.serializer = new import_protocols6.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);
1592
- this.deserializer = new import_protocols6.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);
1593
- }
1594
- getPayloadCodec() {
1595
- return this.codec;
1596
- }
1597
- getShapeId() {
1598
- return "aws.protocols#restXml";
1599
- }
1600
- async serializeRequest(operationSchema, input, context) {
1601
- const request = await super.serializeRequest(operationSchema, input, context);
1602
- const ns = import_schema9.NormalizedSchema.of(operationSchema.input);
1603
- const members = ns.getMemberSchemas();
1604
- request.path = String(request.path).split("/").filter((segment) => {
1605
- return segment !== "{Bucket}";
1606
- }).join("/") || "/";
1607
- if (!request.headers["content-type"]) {
1608
- const httpPayloadMember = Object.values(members).find((m) => {
1609
- return !!m.getMergedTraits().httpPayload;
1610
- });
1611
- if (httpPayloadMember) {
1612
- const mediaType = httpPayloadMember.getMergedTraits().mediaType;
1613
- if (mediaType) {
1614
- request.headers["content-type"] = mediaType;
1615
- } else if (httpPayloadMember.isStringSchema()) {
1616
- request.headers["content-type"] = "text/plain";
1617
- } else if (httpPayloadMember.isBlobSchema()) {
1618
- request.headers["content-type"] = "application/octet-stream";
1619
- } else {
1620
- request.headers["content-type"] = "application/xml";
1621
- }
1622
- } else if (!ns.isUnitSchema()) {
1623
- const hasBody = Object.values(members).find((m) => {
1624
- const { httpQuery, httpQueryParams, httpHeader, httpLabel, httpPrefixHeaders } = m.getMergedTraits();
1625
- return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && httpPrefixHeaders === void 0;
1626
- });
1627
- if (hasBody) {
1628
- request.headers["content-type"] = "application/xml";
1629
- }
1630
- }
1631
- }
1632
- if (request.headers["content-type"] === "application/xml") {
1633
- if (typeof request.body === "string") {
1634
- request.body = '<?xml version="1.0" encoding="UTF-8"?>' + request.body;
1635
- }
1636
- }
1637
- if (request.body) {
1638
- try {
1639
- request.headers["content-length"] = String((0, import_util_body_length_browser4.calculateBodyLength)(request.body));
1640
- } catch (e) {
1641
- }
1642
- }
1643
- return request;
1644
- }
1645
- async deserializeResponse(operationSchema, context, response) {
1646
- return super.deserializeResponse(operationSchema, context, response);
1647
- }
1648
- async handleError(operationSchema, context, response, dataObject, metadata) {
1649
- const errorIdentifier = loadRestXmlErrorCode(response, dataObject) ?? "Unknown";
1650
- let namespace = this.options.defaultNamespace;
1651
- let errorName = errorIdentifier;
1652
- if (errorIdentifier.includes("#")) {
1653
- [namespace, errorName] = errorIdentifier.split("#");
1654
- }
1655
- const registry = import_schema9.TypeRegistry.for(namespace);
1656
- let errorSchema;
1657
- try {
1658
- errorSchema = registry.getSchema(errorIdentifier);
1659
- } catch (e) {
1660
- const baseExceptionSchema = import_schema9.TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace).getBaseException();
1661
- if (baseExceptionSchema) {
1662
- const ErrorCtor = baseExceptionSchema.ctor;
1663
- throw Object.assign(new ErrorCtor(errorName), dataObject);
1664
- }
1665
- throw new Error(errorName);
1666
- }
1667
- const ns = import_schema9.NormalizedSchema.of(errorSchema);
1668
- const message = dataObject.Error?.message ?? dataObject.Error?.Message ?? dataObject.message ?? dataObject.Message ?? "Unknown";
1669
- const exception = new errorSchema.ctor(message);
1670
- await this.deserializeHttpMessage(errorSchema, context, response, dataObject);
1671
- const output = {};
1672
- for (const [name, member] of ns.structIterator()) {
1673
- const target = member.getMergedTraits().xmlName ?? name;
1674
- const value = dataObject.Error?.[target] ?? dataObject[target];
1675
- output[name] = this.codec.createDeserializer().readSchema(member, value);
1676
- }
1677
- Object.assign(exception, {
1678
- $metadata: metadata,
1679
- $response: response,
1680
- $fault: ns.getMergedTraits().error,
1681
- message,
1682
- ...output
1683
- });
1684
- throw exception;
1685
- }
1686
- };
1687
- // Annotate the CommonJS export names for ESM import in node:
1688
- 0 && (module.exports = {
1689
- AwsEc2QueryProtocol,
1690
- AwsJson1_0Protocol,
1691
- AwsJson1_1Protocol,
1692
- AwsJsonRpcProtocol,
1693
- AwsQueryProtocol,
1694
- AwsRestJsonProtocol,
1695
- AwsRestXmlProtocol,
1696
- JsonCodec,
1697
- JsonShapeDeserializer,
1698
- JsonShapeSerializer,
1699
- XmlCodec,
1700
- XmlShapeDeserializer,
1701
- XmlShapeSerializer,
1702
- _toBool,
1703
- _toNum,
1704
- _toStr,
1705
- awsExpectUnion,
1706
- loadRestJsonErrorCode,
1707
- loadRestXmlErrorCode,
1708
- parseJsonBody,
1709
- parseJsonErrorBody,
1710
- parseXmlBody,
1711
- parseXmlErrorBody
1712
- });
1742
+ class AwsRestXmlProtocol extends protocols.HttpBindingProtocol {
1743
+ codec;
1744
+ serializer;
1745
+ deserializer;
1746
+ mixin = new ProtocolLib();
1747
+ constructor(options) {
1748
+ super(options);
1749
+ const settings = {
1750
+ timestampFormat: {
1751
+ useTrait: true,
1752
+ default: 5,
1753
+ },
1754
+ httpBindings: true,
1755
+ xmlNamespace: options.xmlNamespace,
1756
+ serviceNamespace: options.defaultNamespace,
1757
+ };
1758
+ this.codec = new XmlCodec(settings);
1759
+ this.serializer = new protocols.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);
1760
+ this.deserializer = new protocols.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);
1761
+ }
1762
+ getPayloadCodec() {
1763
+ return this.codec;
1764
+ }
1765
+ getShapeId() {
1766
+ return "aws.protocols#restXml";
1767
+ }
1768
+ async serializeRequest(operationSchema, input, context) {
1769
+ const request = await super.serializeRequest(operationSchema, input, context);
1770
+ const inputSchema = schema.NormalizedSchema.of(operationSchema.input);
1771
+ if (!request.headers["content-type"]) {
1772
+ const contentType = this.mixin.resolveRestContentType(this.getDefaultContentType(), inputSchema);
1773
+ if (contentType) {
1774
+ request.headers["content-type"] = contentType;
1775
+ }
1776
+ }
1777
+ if (typeof request.body === "string" &&
1778
+ request.headers["content-type"] === this.getDefaultContentType() &&
1779
+ !request.body.startsWith("<?xml ") &&
1780
+ !this.hasUnstructuredPayloadBinding(inputSchema)) {
1781
+ request.body = '<?xml version="1.0" encoding="UTF-8"?>' + request.body;
1782
+ }
1783
+ return request;
1784
+ }
1785
+ async deserializeResponse(operationSchema, context, response) {
1786
+ return super.deserializeResponse(operationSchema, context, response);
1787
+ }
1788
+ async handleError(operationSchema, context, response, dataObject, metadata) {
1789
+ const errorIdentifier = loadRestXmlErrorCode(response, dataObject) ?? "Unknown";
1790
+ const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);
1791
+ const ns = schema.NormalizedSchema.of(errorSchema);
1792
+ const message = dataObject.Error?.message ?? dataObject.Error?.Message ?? dataObject.message ?? dataObject.Message ?? "Unknown";
1793
+ const ErrorCtor = schema.TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;
1794
+ const exception = new ErrorCtor(message);
1795
+ await this.deserializeHttpMessage(errorSchema, context, response, dataObject);
1796
+ const output = {};
1797
+ for (const [name, member] of ns.structIterator()) {
1798
+ const target = member.getMergedTraits().xmlName ?? name;
1799
+ const value = dataObject.Error?.[target] ?? dataObject[target];
1800
+ output[name] = this.codec.createDeserializer().readSchema(member, value);
1801
+ }
1802
+ throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {
1803
+ $fault: ns.getMergedTraits().error,
1804
+ message,
1805
+ }, output), dataObject);
1806
+ }
1807
+ getDefaultContentType() {
1808
+ return "application/xml";
1809
+ }
1810
+ hasUnstructuredPayloadBinding(ns) {
1811
+ for (const [, member] of ns.structIterator()) {
1812
+ if (member.getMergedTraits().httpPayload) {
1813
+ return !(member.isStructSchema() || member.isMapSchema() || member.isListSchema());
1814
+ }
1815
+ }
1816
+ return false;
1817
+ }
1818
+ }
1819
+
1820
+ exports.AwsEc2QueryProtocol = AwsEc2QueryProtocol;
1821
+ exports.AwsJson1_0Protocol = AwsJson1_0Protocol;
1822
+ exports.AwsJson1_1Protocol = AwsJson1_1Protocol;
1823
+ exports.AwsJsonRpcProtocol = AwsJsonRpcProtocol;
1824
+ exports.AwsQueryProtocol = AwsQueryProtocol;
1825
+ exports.AwsRestJsonProtocol = AwsRestJsonProtocol;
1826
+ exports.AwsRestXmlProtocol = AwsRestXmlProtocol;
1827
+ exports.AwsSmithyRpcV2CborProtocol = AwsSmithyRpcV2CborProtocol;
1828
+ exports.JsonCodec = JsonCodec;
1829
+ exports.JsonShapeDeserializer = JsonShapeDeserializer;
1830
+ exports.JsonShapeSerializer = JsonShapeSerializer;
1831
+ exports.XmlCodec = XmlCodec;
1832
+ exports.XmlShapeDeserializer = XmlShapeDeserializer;
1833
+ exports.XmlShapeSerializer = XmlShapeSerializer;
1834
+ exports._toBool = _toBool;
1835
+ exports._toNum = _toNum;
1836
+ exports._toStr = _toStr;
1837
+ exports.awsExpectUnion = awsExpectUnion;
1838
+ exports.loadRestJsonErrorCode = loadRestJsonErrorCode;
1839
+ exports.loadRestXmlErrorCode = loadRestXmlErrorCode;
1840
+ exports.parseJsonBody = parseJsonBody;
1841
+ exports.parseJsonErrorBody = parseJsonErrorBody;
1842
+ exports.parseXmlBody = parseXmlBody;
1843
+ exports.parseXmlErrorBody = parseXmlErrorBody;