lambda-live-debugger 1.12.8 → 1.12.9

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 (744) hide show
  1. package/dist/extension/extension.zip +0 -0
  2. package/dist/extension/nodejs/node_modules/interceptor.js +9759 -9028
  3. package/dist/extension/nodejs/node_modules/interceptor.js.map +4 -4
  4. package/node_modules/@aws-sdk/checksums/dist-cjs/submodules/flexible-checksums/index.js +2 -1
  5. package/node_modules/@aws-sdk/checksums/dist-cjs/submodules/sha/index.js +464 -40
  6. package/node_modules/@aws-sdk/checksums/dist-cjs/submodules/xxh/index.js +914 -0
  7. package/node_modules/@aws-sdk/checksums/dist-es/submodules/flexible-checksums/stringUnionSelector.js +2 -1
  8. package/node_modules/@aws-sdk/checksums/dist-es/submodules/sha/index.browser.js +2 -0
  9. package/node_modules/@aws-sdk/checksums/dist-es/submodules/sha/index.js +3 -0
  10. package/node_modules/@aws-sdk/checksums/dist-es/submodules/sha/sha512/Sha512.js +71 -0
  11. package/node_modules/@aws-sdk/checksums/dist-es/submodules/sha/sha512/Sha512Js.js +276 -0
  12. package/node_modules/@aws-sdk/checksums/dist-es/submodules/sha/sha512/Sha512WebCrypto.js +76 -0
  13. package/node_modules/@aws-sdk/checksums/dist-es/submodules/xxh/U64.js +190 -0
  14. package/node_modules/@aws-sdk/checksums/dist-es/submodules/xxh/Xxh3.js +274 -0
  15. package/node_modules/@aws-sdk/checksums/dist-es/submodules/xxh/index.js +3 -0
  16. package/node_modules/@aws-sdk/checksums/dist-es/submodules/xxh/xxhash3_128/Xxh3_128.js +179 -0
  17. package/node_modules/@aws-sdk/checksums/dist-es/submodules/xxh/xxhash3_64/Xxh3_64.js +117 -0
  18. package/node_modules/@aws-sdk/checksums/dist-es/submodules/xxh/xxhash64/Xxh64.js +150 -0
  19. package/node_modules/@aws-sdk/checksums/dist-types/submodules/sha/index.browser.d.ts +2 -0
  20. package/node_modules/@aws-sdk/checksums/dist-types/submodules/sha/index.d.ts +3 -0
  21. package/node_modules/@aws-sdk/checksums/dist-types/submodules/sha/sha512/Sha512.d.ts +17 -0
  22. package/node_modules/@aws-sdk/checksums/dist-types/submodules/sha/sha512/Sha512Js.d.ts +29 -0
  23. package/node_modules/@aws-sdk/checksums/dist-types/submodules/sha/sha512/Sha512WebCrypto.d.ts +22 -0
  24. package/node_modules/@aws-sdk/checksums/dist-types/submodules/xxh/U64.d.ts +110 -0
  25. package/node_modules/@aws-sdk/checksums/dist-types/submodules/xxh/Xxh3.d.ts +139 -0
  26. package/node_modules/@aws-sdk/checksums/dist-types/submodules/xxh/index.d.ts +3 -0
  27. package/node_modules/@aws-sdk/checksums/dist-types/submodules/xxh/xxhash3_128/Xxh3_128.d.ts +37 -0
  28. package/node_modules/@aws-sdk/checksums/dist-types/submodules/xxh/xxhash3_64/Xxh3_64.d.ts +27 -0
  29. package/node_modules/@aws-sdk/checksums/dist-types/submodules/xxh/xxhash64/Xxh64.d.ts +41 -0
  30. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/sha/index.browser.d.ts +2 -0
  31. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/sha/index.d.ts +3 -0
  32. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/sha/sha512/Sha512.d.ts +12 -0
  33. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/sha/sha512/Sha512Js.d.ts +22 -0
  34. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/sha/sha512/Sha512WebCrypto.d.ts +14 -0
  35. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/xxh/U64.d.ts +27 -0
  36. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/xxh/Xxh3.d.ts +65 -0
  37. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/xxh/index.d.ts +3 -0
  38. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/xxh/xxhash3_128/Xxh3_128.d.ts +12 -0
  39. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/xxh/xxhash3_64/Xxh3_64.d.ts +10 -0
  40. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/xxh/xxhash64/Xxh64.d.ts +17 -0
  41. package/node_modules/@aws-sdk/checksums/package.json +16 -6
  42. package/node_modules/@aws-sdk/checksums/xxh.d.ts +5 -0
  43. package/node_modules/@aws-sdk/checksums/xxh.js +5 -0
  44. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +38 -6
  45. package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/CloudFormationServiceException.js +1 -0
  46. package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/errors.js +29 -0
  47. package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeConfig.js +2 -1
  48. package/node_modules/@aws-sdk/client-cloudformation/dist-es/schemas/schemas_0.js +5 -4
  49. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +187 -181
  50. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +2 -1
  51. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ContinueUpdateRollbackCommand.d.ts +4 -0
  52. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/CloudFormationServiceException.d.ts +1 -0
  53. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/errors.d.ts +29 -0
  54. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +27 -3
  55. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +1 -0
  56. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormation.d.ts +184 -180
  57. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/CloudFormationServiceException.d.ts +1 -0
  58. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/errors.d.ts +29 -0
  59. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_0.d.ts +1 -0
  60. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  61. package/node_modules/@aws-sdk/client-cloudformation/package.json +8 -8
  62. package/node_modules/@aws-sdk/client-iam/dist-cjs/index.js +44 -4
  63. package/node_modules/@aws-sdk/client-iam/dist-es/models/IAMServiceException.js +1 -0
  64. package/node_modules/@aws-sdk/client-iam/dist-es/models/errors.js +38 -0
  65. package/node_modules/@aws-sdk/client-iam/dist-es/runtimeConfig.js +2 -1
  66. package/node_modules/@aws-sdk/client-iam/dist-es/schemas/schemas_0.js +2 -2
  67. package/node_modules/@aws-sdk/client-iam/dist-types/IAM.d.ts +367 -361
  68. package/node_modules/@aws-sdk/client-iam/dist-types/IAMClient.d.ts +2 -1
  69. package/node_modules/@aws-sdk/client-iam/dist-types/models/IAMServiceException.d.ts +1 -0
  70. package/node_modules/@aws-sdk/client-iam/dist-types/models/errors.d.ts +38 -0
  71. package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.d.ts +1 -0
  72. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAM.d.ts +364 -363
  73. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/IAMServiceException.d.ts +1 -0
  74. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/errors.d.ts +38 -0
  75. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  76. package/node_modules/@aws-sdk/client-iam/package.json +9 -9
  77. package/node_modules/@aws-sdk/client-iot/dist-cjs/index.js +39 -4
  78. package/node_modules/@aws-sdk/client-iot/dist-es/models/IoTServiceException.js +1 -0
  79. package/node_modules/@aws-sdk/client-iot/dist-es/models/errors.js +33 -0
  80. package/node_modules/@aws-sdk/client-iot/dist-es/runtimeConfig.js +2 -1
  81. package/node_modules/@aws-sdk/client-iot/dist-es/schemas/schemas_0.js +2 -2
  82. package/node_modules/@aws-sdk/client-iot/dist-types/IoT.d.ts +551 -545
  83. package/node_modules/@aws-sdk/client-iot/dist-types/IoTClient.d.ts +2 -1
  84. package/node_modules/@aws-sdk/client-iot/dist-types/models/IoTServiceException.d.ts +1 -0
  85. package/node_modules/@aws-sdk/client-iot/dist-types/models/errors.d.ts +33 -0
  86. package/node_modules/@aws-sdk/client-iot/dist-types/models/models_1.d.ts +2 -1
  87. package/node_modules/@aws-sdk/client-iot/dist-types/models/models_2.d.ts +2 -1
  88. package/node_modules/@aws-sdk/client-iot/dist-types/runtimeConfig.d.ts +1 -0
  89. package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/IoT.d.ts +548 -547
  90. package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/models/IoTServiceException.d.ts +1 -0
  91. package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/models/errors.d.ts +33 -0
  92. package/node_modules/@aws-sdk/client-iot/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  93. package/node_modules/@aws-sdk/client-iot/package.json +8 -8
  94. package/node_modules/@aws-sdk/client-iot-data-plane/dist-cjs/index.js +18 -4
  95. package/node_modules/@aws-sdk/client-iot-data-plane/dist-es/models/IoTDataPlaneServiceException.js +1 -0
  96. package/node_modules/@aws-sdk/client-iot-data-plane/dist-es/models/errors.js +12 -0
  97. package/node_modules/@aws-sdk/client-iot-data-plane/dist-es/runtimeConfig.js +2 -1
  98. package/node_modules/@aws-sdk/client-iot-data-plane/dist-es/schemas/schemas_0.js +2 -2
  99. package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/IoTDataPlane.d.ts +29 -23
  100. package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/IoTDataPlaneClient.d.ts +2 -1
  101. package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/models/IoTDataPlaneServiceException.d.ts +1 -0
  102. package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/models/errors.d.ts +12 -0
  103. package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/runtimeConfig.d.ts +1 -0
  104. package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/IoTDataPlane.d.ts +29 -22
  105. package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/models/IoTDataPlaneServiceException.d.ts +1 -0
  106. package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/models/errors.d.ts +12 -0
  107. package/node_modules/@aws-sdk/client-iot-data-plane/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  108. package/node_modules/@aws-sdk/client-iot-data-plane/package.json +8 -8
  109. package/node_modules/@aws-sdk/client-lambda/README.md +1 -1
  110. package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +83 -12
  111. package/node_modules/@aws-sdk/client-lambda/dist-es/models/LambdaServiceException.js +1 -0
  112. package/node_modules/@aws-sdk/client-lambda/dist-es/models/enums.js +12 -0
  113. package/node_modules/@aws-sdk/client-lambda/dist-es/models/errors.js +56 -0
  114. package/node_modules/@aws-sdk/client-lambda/dist-es/schemas/schemas_0.js +12 -11
  115. package/node_modules/@aws-sdk/client-lambda/dist-types/Lambda.d.ts +184 -178
  116. package/node_modules/@aws-sdk/client-lambda/dist-types/LambdaClient.d.ts +3 -2
  117. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CheckpointDurableExecutionCommand.d.ts +1 -0
  118. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateAliasCommand.d.ts +1 -1
  119. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateCapacityProviderCommand.d.ts +1 -1
  120. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateEventSourceMappingCommand.d.ts +9 -7
  121. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateFunctionCommand.d.ts +1 -1
  122. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteAliasCommand.d.ts +1 -1
  123. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +4 -3
  124. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteFunctionCommand.d.ts +1 -1
  125. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts +1 -1
  126. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetAliasCommand.d.ts +1 -1
  127. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetEventSourceMappingCommand.d.ts +4 -3
  128. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionCommand.d.ts +1 -1
  129. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionConfigurationCommand.d.ts +1 -1
  130. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
  131. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeCommand.d.ts +1 -1
  132. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +10 -1
  133. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListAliasesCommand.d.ts +1 -1
  134. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListEventSourceMappingsCommand.d.ts +4 -3
  135. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +1 -1
  136. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListFunctionsCommand.d.ts +1 -1
  137. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListVersionsByFunctionCommand.d.ts +1 -1
  138. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PublishVersionCommand.d.ts +1 -1
  139. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +1 -1
  140. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PutFunctionRecursionConfigCommand.d.ts +1 -1
  141. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateAliasCommand.d.ts +1 -1
  142. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +8 -6
  143. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionCodeCommand.d.ts +1 -1
  144. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +1 -1
  145. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionUrlConfigCommand.d.ts +1 -1
  146. package/node_modules/@aws-sdk/client-lambda/dist-types/index.d.ts +1 -1
  147. package/node_modules/@aws-sdk/client-lambda/dist-types/models/LambdaServiceException.d.ts +1 -0
  148. package/node_modules/@aws-sdk/client-lambda/dist-types/models/enums.d.ts +20 -0
  149. package/node_modules/@aws-sdk/client-lambda/dist-types/models/errors.d.ts +56 -0
  150. package/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts +30 -20
  151. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/Lambda.d.ts +180 -176
  152. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/LambdaServiceException.d.ts +1 -0
  153. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/enums.d.ts +14 -0
  154. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/errors.d.ts +56 -0
  155. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/models_0.d.ts +3 -0
  156. package/node_modules/@aws-sdk/client-lambda/package.json +9 -9
  157. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +63 -17
  158. package/node_modules/@aws-sdk/client-s3/dist-es/models/S3ServiceException.js +1 -0
  159. package/node_modules/@aws-sdk/client-s3/dist-es/models/enums.js +8 -0
  160. package/node_modules/@aws-sdk/client-s3/dist-es/models/errors.js +21 -0
  161. package/node_modules/@aws-sdk/client-s3/dist-es/schemas/schemas_0.js +30 -16
  162. package/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +231 -225
  163. package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +3 -2
  164. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +3 -0
  165. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +3 -0
  166. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +1 -1
  167. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +3 -3
  168. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +3 -0
  169. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +4 -0
  170. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +5 -0
  171. package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +3 -0
  172. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +1 -1
  173. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
  174. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +3 -3
  175. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +3 -0
  176. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +4 -0
  177. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +5 -0
  178. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
  179. package/node_modules/@aws-sdk/client-s3/dist-types/models/S3ServiceException.d.ts +1 -0
  180. package/node_modules/@aws-sdk/client-s3/dist-types/models/enums.d.ts +16 -0
  181. package/node_modules/@aws-sdk/client-s3/dist-types/models/errors.d.ts +21 -0
  182. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +186 -49
  183. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +43 -1
  184. package/node_modules/@aws-sdk/client-s3/dist-types/schemas/schemas_0.d.ts +1 -0
  185. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +228 -224
  186. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +1 -1
  187. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +1 -1
  188. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/S3ServiceException.d.ts +1 -0
  189. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/enums.d.ts +9 -0
  190. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/errors.d.ts +21 -0
  191. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +23 -7
  192. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +14 -1
  193. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
  194. package/node_modules/@aws-sdk/client-s3/package.json +13 -13
  195. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +38 -13
  196. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +19 -10
  197. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +104 -1549
  198. package/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js +7 -1
  199. package/node_modules/@aws-sdk/core/dist-es/submodules/client/getDefaultSocketTimeout.js +10 -0
  200. package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.browser.js +1 -0
  201. package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +1 -0
  202. package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.native.js +1 -0
  203. package/node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-host-header/hostHeaderMiddleware.js +4 -2
  204. package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/lib/aws/parseArn.js +4 -2
  205. package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-browser/defaultUserAgent.js +18 -9
  206. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +12 -3
  207. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.js +6 -3
  208. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +1 -4
  209. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +2 -7
  210. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +1 -3
  211. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +1 -3
  212. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsSmithyRpcV2JsonProtocol.js +51 -0
  213. package/node_modules/@aws-sdk/core/dist-es/submodules/util/hasOwn.js +3 -0
  214. package/node_modules/@aws-sdk/core/dist-es/submodules/util/index.js +1 -0
  215. package/node_modules/@aws-sdk/core/dist-es/submodules/util/util-arn-parser/arn.js +2 -1
  216. package/node_modules/@aws-sdk/core/dist-types/submodules/client/getDefaultSocketTimeout.d.ts +11 -0
  217. package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.browser.d.ts +1 -0
  218. package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +1 -0
  219. package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.native.d.ts +1 -0
  220. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +3 -7
  221. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +3 -8
  222. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +1 -2
  223. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +1 -2
  224. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +2 -3
  225. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +2 -3
  226. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsSmithyRpcV2JsonProtocol.d.ts +25 -0
  227. package/node_modules/@aws-sdk/core/dist-types/submodules/util/hasOwn.d.ts +4 -0
  228. package/node_modules/@aws-sdk/core/dist-types/submodules/util/index.d.ts +1 -0
  229. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/getDefaultSocketTimeout.d.ts +4 -0
  230. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.browser.d.ts +1 -0
  231. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -0
  232. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.native.d.ts +1 -0
  233. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +11 -10
  234. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +1 -2
  235. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +1 -2
  236. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +2 -3
  237. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +2 -3
  238. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsSmithyRpcV2JsonProtocol.d.ts +36 -0
  239. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/hasOwn.d.ts +1 -0
  240. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/index.d.ts +1 -0
  241. package/node_modules/@aws-sdk/core/package.json +6 -6
  242. package/node_modules/@aws-sdk/credential-provider-cognito-identity/package.json +5 -5
  243. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  244. package/node_modules/@aws-sdk/credential-provider-http/package.json +7 -7
  245. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  246. package/node_modules/@aws-sdk/credential-provider-login/package.json +6 -6
  247. package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
  248. package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
  249. package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
  250. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
  251. package/node_modules/@aws-sdk/credential-providers/README.md +1 -1
  252. package/node_modules/@aws-sdk/credential-providers/package.json +16 -16
  253. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/submodules/s3/index.js +36 -17
  254. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/submodules/s3-control/index.js +6 -3
  255. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-bucket-endpoint/bucketHostnameUtils.js +6 -3
  256. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-region-redirect/region-redirect-middleware.js +2 -0
  257. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityCache.js +8 -4
  258. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityProviderImpl.js +18 -8
  259. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-ssec/middleware-ssec.js +2 -1
  260. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3-control/middleware-process-arnables/parse-outpost-arnables.js +4 -2
  261. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3-control/middleware-redirect-from-postid/redirect-from-postid.js +2 -1
  262. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityCache.d.ts +1 -0
  263. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityProviderImpl.d.ts +3 -1
  264. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityCache.d.ts +1 -0
  265. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityProviderImpl.d.ts +3 -1
  266. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +6 -6
  267. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +15 -4
  268. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +17 -4
  269. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +10 -4
  270. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +17 -4
  271. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +24 -12
  272. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/CognitoIdentityServiceException.js +1 -0
  273. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/errors.js +9 -0
  274. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +2 -1
  275. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +2 -2
  276. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/SigninServiceException.js +1 -0
  277. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js +7 -0
  278. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/errors.js +4 -0
  279. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +2 -1
  280. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +2 -2
  281. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/SSOServiceException.js +1 -0
  282. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/errors.js +4 -0
  283. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +2 -1
  284. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +2 -2
  285. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js +1 -0
  286. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/errors.js +11 -0
  287. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +2 -1
  288. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +2 -2
  289. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/STSServiceException.js +1 -0
  290. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js +7 -0
  291. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +2 -1
  292. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +13 -10
  293. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts +11 -5
  294. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentityClient.d.ts +2 -1
  295. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +1 -0
  296. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/errors.d.ts +9 -0
  297. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +1 -0
  298. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +12 -7
  299. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +3 -3
  300. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +5 -59
  301. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.d.ts +5 -33
  302. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts +1 -2
  303. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/SigninServiceException.d.ts +1 -0
  304. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/enums.d.ts +16 -9
  305. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts +12 -39
  306. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts +36 -48
  307. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +1 -0
  308. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSO.d.ts +9 -3
  309. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSOClient.d.ts +2 -1
  310. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/SSOServiceException.d.ts +1 -0
  311. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/errors.d.ts +4 -0
  312. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +1 -0
  313. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +9 -3
  314. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +2 -1
  315. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts +1 -0
  316. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/errors.d.ts +11 -0
  317. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +1 -0
  318. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts +33 -8
  319. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +24 -4
  320. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +3 -0
  321. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +3 -0
  322. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts +22 -3
  323. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/STSServiceException.d.ts +1 -0
  324. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +7 -0
  325. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +40 -0
  326. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -0
  327. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts +14 -5
  328. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +1 -0
  329. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/errors.d.ts +9 -0
  330. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +1 -0
  331. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/Signin.d.ts +11 -5
  332. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/SigninServiceException.d.ts +1 -0
  333. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts +7 -0
  334. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/errors.d.ts +4 -0
  335. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +1 -0
  336. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSO.d.ts +9 -3
  337. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/SSOServiceException.d.ts +1 -0
  338. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/errors.d.ts +4 -0
  339. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +1 -0
  340. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDC.d.ts +9 -3
  341. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts +1 -0
  342. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/errors.d.ts +11 -0
  343. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +1 -0
  344. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STS.d.ts +11 -5
  345. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/STSServiceException.d.ts +1 -0
  346. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/errors.d.ts +7 -0
  347. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +6 -0
  348. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +1 -0
  349. package/node_modules/@aws-sdk/nested-clients/package.json +8 -8
  350. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
  351. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +37 -19
  352. package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +37 -19
  353. package/node_modules/@aws-sdk/token-providers/package.json +6 -6
  354. package/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +4 -0
  355. package/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +4 -0
  356. package/node_modules/@aws-sdk/types/package.json +2 -2
  357. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  358. package/node_modules/@inquirer/ansi/README.md +35 -3
  359. package/node_modules/@inquirer/ansi/package.json +4 -4
  360. package/node_modules/@inquirer/checkbox/README.md +75 -5
  361. package/node_modules/@inquirer/checkbox/dist/index.d.ts +7 -7
  362. package/node_modules/@inquirer/checkbox/dist/index.js +4 -0
  363. package/node_modules/@inquirer/checkbox/package.json +8 -8
  364. package/node_modules/@inquirer/confirm/README.md +81 -5
  365. package/node_modules/@inquirer/confirm/dist/index.d.ts +13 -3
  366. package/node_modules/@inquirer/confirm/dist/index.js +30 -7
  367. package/node_modules/@inquirer/confirm/package.json +6 -6
  368. package/node_modules/@inquirer/core/README.md +35 -3
  369. package/node_modules/@inquirer/core/dist/index.js +12 -12
  370. package/node_modules/@inquirer/core/dist/lib/create-prompt.js +84 -55
  371. package/node_modules/@inquirer/core/dist/lib/hook-engine.js +9 -11
  372. package/node_modules/@inquirer/core/dist/lib/make-theme.js +3 -3
  373. package/node_modules/@inquirer/core/dist/lib/pagination/use-pagination.js +2 -2
  374. package/node_modules/@inquirer/core/dist/lib/screen-manager.js +1 -1
  375. package/node_modules/@inquirer/core/dist/lib/theme.js +1 -1
  376. package/node_modules/@inquirer/core/dist/lib/use-effect.js +1 -1
  377. package/node_modules/@inquirer/core/dist/lib/use-keypress.js +3 -3
  378. package/node_modules/@inquirer/core/dist/lib/use-memo.js +1 -1
  379. package/node_modules/@inquirer/core/dist/lib/use-prefix.js +3 -3
  380. package/node_modules/@inquirer/core/dist/lib/use-ref.js +1 -1
  381. package/node_modules/@inquirer/core/dist/lib/use-state.js +1 -1
  382. package/node_modules/@inquirer/core/dist/lib/utils.js +1 -1
  383. package/node_modules/@inquirer/core/package.json +7 -7
  384. package/node_modules/@inquirer/editor/README.md +75 -5
  385. package/node_modules/@inquirer/editor/dist/index.d.ts +6 -6
  386. package/node_modules/@inquirer/editor/package.json +7 -7
  387. package/node_modules/@inquirer/expand/README.md +75 -5
  388. package/node_modules/@inquirer/expand/dist/index.d.ts +3 -3
  389. package/node_modules/@inquirer/expand/dist/index.js +3 -3
  390. package/node_modules/@inquirer/expand/package.json +6 -6
  391. package/node_modules/@inquirer/external-editor/README.md +35 -3
  392. package/node_modules/@inquirer/external-editor/dist/index.js +4 -4
  393. package/node_modules/@inquirer/external-editor/package.json +4 -4
  394. package/node_modules/@inquirer/figures/package.json +3 -3
  395. package/node_modules/@inquirer/input/README.md +75 -5
  396. package/node_modules/@inquirer/input/dist/index.d.ts +9 -9
  397. package/node_modules/@inquirer/input/package.json +6 -6
  398. package/node_modules/@inquirer/number/README.md +75 -5
  399. package/node_modules/@inquirer/number/dist/index.d.ts +5 -5
  400. package/node_modules/@inquirer/number/dist/index.js +2 -2
  401. package/node_modules/@inquirer/number/package.json +6 -6
  402. package/node_modules/@inquirer/password/README.md +75 -5
  403. package/node_modules/@inquirer/password/dist/index.d.ts +4 -4
  404. package/node_modules/@inquirer/password/dist/index.js +1 -1
  405. package/node_modules/@inquirer/password/package.json +7 -7
  406. package/node_modules/@inquirer/prompts/README.md +24 -6
  407. package/node_modules/@inquirer/prompts/package.json +15 -15
  408. package/node_modules/@inquirer/rawlist/README.md +75 -5
  409. package/node_modules/@inquirer/rawlist/dist/index.d.ts +3 -3
  410. package/node_modules/@inquirer/rawlist/dist/index.js +5 -4
  411. package/node_modules/@inquirer/rawlist/package.json +6 -6
  412. package/node_modules/@inquirer/search/README.md +74 -4
  413. package/node_modules/@inquirer/search/dist/index.d.ts +4 -4
  414. package/node_modules/@inquirer/search/dist/index.js +1 -1
  415. package/node_modules/@inquirer/search/package.json +7 -7
  416. package/node_modules/@inquirer/select/README.md +75 -5
  417. package/node_modules/@inquirer/select/dist/index.d.ts +4 -4
  418. package/node_modules/@inquirer/select/package.json +8 -8
  419. package/node_modules/@inquirer/type/dist/index.js +2 -2
  420. package/node_modules/@inquirer/type/dist/utils.d.ts +11 -0
  421. package/node_modules/@inquirer/type/dist/utils.js +15 -1
  422. package/node_modules/@inquirer/type/package.json +3 -3
  423. package/node_modules/@nodable/entities/package.json +2 -2
  424. package/node_modules/@nodable/entities/src/index.d.ts +5 -2
  425. package/node_modules/@smithy/core/CHANGELOG.md +95 -0
  426. package/node_modules/@smithy/core/dist-cjs/index.js +4 -2
  427. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +67 -90
  428. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +100 -23
  429. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +8 -4
  430. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +16 -8
  431. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +8 -4
  432. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +4 -2
  433. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +12 -6
  434. package/node_modules/@smithy/core/dist-cjs/submodules/errors/index.js +20 -0
  435. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +28 -9
  436. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +28 -9
  437. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +1785 -19
  438. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +64 -25
  439. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +68 -27
  440. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +15 -7
  441. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +15 -4
  442. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +32 -9
  443. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +15 -4
  444. package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +6 -3
  445. package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.js +2 -1
  446. package/node_modules/@smithy/core/dist-es/normalizeProvider.js +2 -1
  447. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +34 -59
  448. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +8 -4
  449. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +6 -3
  450. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +12 -6
  451. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +4 -2
  452. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +2 -16
  453. package/node_modules/@smithy/core/dist-es/submodules/client/index.js +1 -1
  454. package/node_modules/@smithy/core/dist-es/submodules/client/middleware-stack/MiddlewareStack.js +10 -5
  455. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/command.js +25 -3
  456. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/create-aggregated-client.js +2 -1
  457. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js +44 -5
  458. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js +2 -1
  459. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +2 -1
  460. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/object-mapping.js +4 -2
  461. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/schemaLogFilter.js +10 -4
  462. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/serde-json.js +2 -1
  463. package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getHomeDir.js +8 -4
  464. package/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/booleanSelector.js +6 -3
  465. package/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/numberSelector.js +2 -1
  466. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.js +8 -4
  467. package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/cache/EndpointCache.js +2 -1
  468. package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/resolveEndpoint.js +2 -1
  469. package/node_modules/@smithy/core/dist-es/submodules/errors/errors.js +18 -0
  470. package/node_modules/@smithy/core/dist-es/submodules/errors/index.js +1 -0
  471. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +6 -3
  472. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +12 -1
  473. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/Int64.js +2 -1
  474. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/SmithyMessageDecoderStream.js +2 -1
  475. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde/utils.js +2 -1
  476. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde-universal/getUnmarshalledStream.js +4 -2
  477. package/node_modules/@smithy/core/dist-es/submodules/protocols/AbstractRpcV2Protocol.js +35 -0
  478. package/node_modules/@smithy/core/dist-es/submodules/protocols/ConfigurableSerdeContext.js +6 -0
  479. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +8 -4
  480. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +53 -10
  481. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +6 -2
  482. package/node_modules/@smithy/core/dist-es/submodules/protocols/UnionSerde.js +26 -0
  483. package/node_modules/@smithy/core/dist-es/submodules/protocols/common.js +3 -0
  484. package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +9 -0
  485. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/SmithyRpcV2JsonProtocol.js +79 -0
  486. package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeDeserializer.js +12 -3
  487. package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeSerializer.js +12 -3
  488. package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.js +17 -4
  489. package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeSerializer2.js +20 -7
  490. package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/parseJsonBody.js +16 -1
  491. package/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js +3 -0
  492. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/configurations.js +4 -2
  493. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/parseRetryAfterHeader.js +2 -1
  494. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.js +6 -3
  495. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js +17 -8
  496. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/util.js +6 -3
  497. package/node_modules/@smithy/core/dist-es/submodules/retry/service-error-classification/service-error-classification.js +11 -10
  498. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/race.js +22 -0
  499. package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +15 -7
  500. package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +1 -0
  501. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
  502. package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +1 -0
  503. package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +2 -1
  504. package/node_modules/@smithy/core/dist-es/submodules/serde/util-body-length/calculateBodyLength.browser.js +6 -3
  505. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.browser.js +2 -0
  506. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.js +23 -8
  507. package/node_modules/@smithy/core/dist-es/submodules/serde/writeKey.js +3 -0
  508. package/node_modules/@smithy/core/dist-es/submodules/transport/httpResponse.js +2 -1
  509. package/node_modules/@smithy/core/dist-es/submodules/transport/normalizeProvider.js +2 -1
  510. package/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js +2 -1
  511. package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +5 -14
  512. package/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +3 -0
  513. package/node_modules/@smithy/core/dist-types/submodules/client/index.d.ts +1 -1
  514. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/client.d.ts +11 -3
  515. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/exceptions.d.ts +1 -0
  516. package/node_modules/@smithy/core/dist-types/submodules/errors/errors.d.ts +44 -0
  517. package/node_modules/@smithy/core/dist-types/submodules/errors/index.d.ts +1 -0
  518. package/node_modules/@smithy/core/dist-types/submodules/protocols/AbstractRpcV2Protocol.d.ts +45 -0
  519. package/node_modules/@smithy/core/dist-types/submodules/protocols/ConfigurableSerdeContext.d.ts +8 -0
  520. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +17 -7
  521. package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +12 -0
  522. package/node_modules/@smithy/core/dist-types/submodules/protocols/UnionSerde.d.ts +24 -0
  523. package/node_modules/@smithy/core/dist-types/submodules/protocols/common.d.ts +2 -0
  524. package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +10 -0
  525. package/node_modules/@smithy/core/dist-types/submodules/protocols/json/JsonSettings.d.ts +13 -0
  526. package/node_modules/@smithy/core/dist-types/submodules/protocols/json/SmithyRpcV2JsonProtocol.d.ts +19 -0
  527. package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +16 -0
  528. package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +1 -0
  529. package/node_modules/@smithy/core/dist-types/submodules/retry/service-error-classification/service-error-classification.d.ts +4 -0
  530. package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/race.d.ts +3 -0
  531. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +2 -2
  532. package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +1 -0
  533. package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
  534. package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +1 -0
  535. package/node_modules/@smithy/core/dist-types/submodules/serde/writeKey.d.ts +4 -0
  536. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +5 -14
  537. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +3 -0
  538. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -1
  539. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/client.d.ts +11 -3
  540. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/exceptions.d.ts +1 -0
  541. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/errors/errors.d.ts +44 -0
  542. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/errors/index.d.ts +1 -0
  543. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/AbstractRpcV2Protocol.d.ts +45 -0
  544. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/ConfigurableSerdeContext.d.ts +8 -0
  545. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +21 -7
  546. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +12 -0
  547. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/UnionSerde.d.ts +24 -0
  548. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/common.d.ts +2 -0
  549. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +10 -0
  550. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/JsonSettings.d.ts +13 -0
  551. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/SmithyRpcV2JsonProtocol.d.ts +19 -0
  552. package/node_modules/{@aws-sdk → @smithy}/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonCodec.d.ts +15 -11
  553. package/node_modules/{@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json → @smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v1}/JsonSettings.d.ts +7 -4
  554. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeDeserializer.d.ts +14 -0
  555. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeSerializer.d.ts +29 -0
  556. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +51 -0
  557. package/node_modules/{@aws-sdk → @smithy}/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +13 -9
  558. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +30 -0
  559. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +60 -0
  560. package/node_modules/{@aws-sdk → @smithy}/core/dist-types/ts3.4/submodules/protocols/json/detectBufferParsing.d.ts +1 -1
  561. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts +21 -0
  562. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts +15 -0
  563. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/needsReviver.d.ts +11 -0
  564. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +38 -0
  565. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +1 -0
  566. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/service-error-classification/service-error-classification.d.ts +4 -0
  567. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/race.d.ts +3 -0
  568. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +2 -2
  569. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.browser.d.ts +1 -0
  570. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
  571. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.native.d.ts +1 -0
  572. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/writeKey.d.ts +4 -0
  573. package/node_modules/@smithy/core/errors.d.ts +5 -0
  574. package/node_modules/@smithy/core/errors.js +5 -0
  575. package/node_modules/@smithy/core/package.json +12 -2
  576. package/node_modules/@smithy/fetch-http-handler/CHANGELOG.md +17 -0
  577. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +12 -5
  578. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +8 -3
  579. package/node_modules/@smithy/fetch-http-handler/dist-es/request-timeout.js +4 -2
  580. package/node_modules/@smithy/fetch-http-handler/dist-types/request-timeout.d.ts +12 -1
  581. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/request-timeout.d.ts +12 -1
  582. package/node_modules/@smithy/fetch-http-handler/package.json +3 -3
  583. package/node_modules/@smithy/node-http-handler/CHANGELOG.md +45 -0
  584. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +84 -29
  585. package/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +2 -1
  586. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +23 -11
  587. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +26 -2
  588. package/node_modules/@smithy/node-http-handler/dist-es/resolve-default-socket-timeout.js +4 -0
  589. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +30 -15
  590. package/node_modules/@smithy/node-http-handler/dist-types/resolve-default-socket-timeout.d.ts +4 -0
  591. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +10 -1
  592. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/resolve-default-socket-timeout.d.ts +4 -0
  593. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +10 -1
  594. package/node_modules/@smithy/node-http-handler/package.json +3 -3
  595. package/node_modules/@smithy/signature-v4/CHANGELOG.md +24 -0
  596. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +39 -12
  597. package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +7 -2
  598. package/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js +4 -2
  599. package/node_modules/@smithy/signature-v4/dist-es/getCanonicalHeaders.js +9 -2
  600. package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +5 -1
  601. package/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js +5 -1
  602. package/node_modules/@smithy/signature-v4/dist-es/headerUtil.js +13 -3
  603. package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +5 -1
  604. package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +5 -1
  605. package/node_modules/@smithy/signature-v4/package.json +3 -3
  606. package/node_modules/@smithy/types/CHANGELOG.md +12 -0
  607. package/node_modules/@smithy/types/dist-types/metrics.d.ts +8 -7
  608. package/node_modules/@smithy/types/dist-types/middleware.d.ts +11 -0
  609. package/node_modules/@smithy/types/dist-types/ts3.4/metrics.d.ts +8 -7
  610. package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +11 -0
  611. package/node_modules/@smithy/types/package.json +1 -1
  612. package/node_modules/@types/node/README.md +2 -2
  613. package/node_modules/@types/node/buffer.d.ts +1 -0
  614. package/node_modules/@types/node/child_process.d.ts +1 -1
  615. package/node_modules/@types/node/crypto.d.ts +22 -10
  616. package/node_modules/@types/node/dgram.d.ts +1 -1
  617. package/node_modules/@types/node/diagnostics_channel.d.ts +4 -4
  618. package/node_modules/@types/node/ffi.d.ts +14 -0
  619. package/node_modules/@types/node/http.d.ts +1 -1
  620. package/node_modules/@types/node/http2.d.ts +3 -2
  621. package/node_modules/@types/node/net.d.ts +16 -4
  622. package/node_modules/@types/node/package.json +3 -18
  623. package/node_modules/@types/node/perf_hooks.d.ts +31 -19
  624. package/node_modules/@types/node/process.d.ts +1 -0
  625. package/node_modules/@types/node/quic.d.ts +45 -5
  626. package/node_modules/@types/node/stream/iter.d.ts +9 -12
  627. package/node_modules/@types/node/stream/web.d.ts +20 -0
  628. package/node_modules/@types/node/test/reporters.d.ts +1 -0
  629. package/node_modules/@types/node/test.d.ts +72 -0
  630. package/node_modules/@types/node/tls.d.ts +40 -25
  631. package/node_modules/@types/node/util.d.ts +6 -3
  632. package/node_modules/@types/node/vfs.d.ts +7 -6
  633. package/node_modules/@types/node/vm.d.ts +2 -1
  634. package/node_modules/@types/node/web-globals/streams.d.ts +4 -0
  635. package/node_modules/@types/node/worker_threads.d.ts +4 -1
  636. package/node_modules/@types/node/zlib.d.ts +775 -0
  637. package/node_modules/chalk/package.json +1 -1
  638. package/node_modules/chalk/source/index.js +2 -1
  639. package/node_modules/commander/Readme.md +6 -32
  640. package/node_modules/commander/index.js +1 -1
  641. package/node_modules/commander/lib/command.js +22 -9
  642. package/node_modules/commander/lib/help.js +6 -2
  643. package/node_modules/commander/lib/option.js +1 -1
  644. package/node_modules/commander/package.json +2 -1
  645. package/node_modules/commander/typings/index.d.ts +6 -3
  646. package/node_modules/fast-xml-builder/CHANGELOG.md +12 -0
  647. package/node_modules/fast-xml-builder/README.md +4 -1
  648. package/node_modules/fast-xml-builder/lib/fxb.cjs +1 -1
  649. package/node_modules/fast-xml-builder/lib/fxb.min.js +1 -1
  650. package/node_modules/fast-xml-builder/lib/fxb.min.js.map +1 -1
  651. package/node_modules/fast-xml-builder/package.json +6 -10
  652. package/node_modules/fast-xml-builder/src/fxb.js +34 -24
  653. package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +18 -17
  654. package/node_modules/fast-xml-builder/src/util.js +10 -3
  655. package/node_modules/fast-xml-parser/CHANGELOG.md +15 -0
  656. package/node_modules/fast-xml-parser/README.md +9 -9
  657. package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +1 -1
  658. package/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -1
  659. package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
  660. package/node_modules/fast-xml-parser/lib/fxp.d.cts +3 -1
  661. package/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
  662. package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
  663. package/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
  664. package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
  665. package/node_modules/fast-xml-parser/package.json +6 -6
  666. package/node_modules/fast-xml-parser/src/fxp.d.ts +1 -1
  667. package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +47 -11
  668. package/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +7 -1
  669. package/node_modules/inquirer/README.md +35 -3
  670. package/node_modules/inquirer/dist/index.js +2 -1
  671. package/node_modules/inquirer/dist/ui/prompt.js +3 -2
  672. package/node_modules/inquirer/package.json +8 -8
  673. package/node_modules/is-unsafe/README.md +34 -1
  674. package/node_modules/is-unsafe/package.json +3 -3
  675. package/node_modules/is-unsafe/src/contexts/xml.js +2 -1
  676. package/node_modules/is-unsafe/src/index.d.ts +9 -1
  677. package/node_modules/is-unsafe/src/index.js +29 -2
  678. package/node_modules/is-unsafe/src/util/decode-entities.js +48 -0
  679. package/node_modules/strnum/CHANGELOG.md +6 -0
  680. package/node_modules/strnum/package.json +1 -1
  681. package/node_modules/strnum/strnum.js +10 -9
  682. package/node_modules/toml/lib/compiler.js +101 -144
  683. package/node_modules/toml/lib/parser.js +20 -4
  684. package/node_modules/toml/package.json +1 -1
  685. package/node_modules/undici-types/client.d.ts +8 -3
  686. package/node_modules/undici-types/connector.d.ts +1 -0
  687. package/node_modules/undici-types/cookies.d.ts +1 -1
  688. package/node_modules/undici-types/dispatcher.d.ts +3 -3
  689. package/node_modules/undici-types/errors.d.ts +10 -0
  690. package/node_modules/undici-types/fetch.d.ts +5 -1
  691. package/node_modules/undici-types/handlers.d.ts +2 -0
  692. package/node_modules/undici-types/interceptors.d.ts +1 -1
  693. package/node_modules/undici-types/mock-interceptor.d.ts +5 -1
  694. package/node_modules/undici-types/package.json +1 -1
  695. package/node_modules/undici-types/proxy-agent.d.ts +7 -0
  696. package/node_modules/xml-naming/README.md +99 -1
  697. package/node_modules/xml-naming/package.json +4 -2
  698. package/node_modules/xml-naming/src/index.d.ts +34 -0
  699. package/node_modules/xml-naming/src/index.js +134 -22
  700. package/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +19 -18
  701. package/node_modules/yaml/browser/dist/nodes/Alias.js +25 -23
  702. package/node_modules/yaml/dist/compose/resolve-flow-scalar.js +19 -18
  703. package/node_modules/yaml/dist/nodes/Alias.js +25 -23
  704. package/node_modules/yaml/package.json +1 -1
  705. package/package.json +25 -25
  706. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v1/JsonSettings.d.ts +0 -7
  707. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonSettings.d.ts +0 -4
  708. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeDeserializer.d.ts +0 -13
  709. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeSerializer.d.ts +0 -18
  710. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +0 -27
  711. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +0 -15
  712. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +0 -39
  713. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts +0 -7
  714. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts +0 -7
  715. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/needsReviver.d.ts +0 -2
  716. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +0 -14
  717. package/node_modules/@inquirer/core/dist/lib/promise-polyfill.d.ts +0 -7
  718. package/node_modules/@inquirer/core/dist/lib/promise-polyfill.js +0 -14
  719. package/node_modules/fast-xml-parser/node_modules/xml-naming/README.md +0 -287
  720. package/node_modules/fast-xml-parser/node_modules/xml-naming/package.json +0 -56
  721. package/node_modules/fast-xml-parser/node_modules/xml-naming/src/index.d.ts +0 -108
  722. package/node_modules/fast-xml-parser/node_modules/xml-naming/src/index.js +0 -382
  723. /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/JsonSettings.js +0 -0
  724. /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v1/JsonCodec.js +0 -0
  725. /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v1/JsonSettings.js +0 -0
  726. /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.js +0 -0
  727. /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/codec-v2/JsonCodec2.js +0 -0
  728. /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/detectBufferParsing.js +0 -0
  729. /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/jsonReplacer.js +0 -0
  730. /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/jsonReviver.js +0 -0
  731. /package/node_modules/{@aws-sdk → @smithy}/core/dist-es/submodules/protocols/json/needsReviver.js +0 -0
  732. /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v1/JsonCodec.d.ts +0 -0
  733. /package/node_modules/{@aws-sdk/core/dist-types/submodules/protocols/json → @smithy/core/dist-types/submodules/protocols/json/codec-v1}/JsonSettings.d.ts +0 -0
  734. /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v1/JsonShapeDeserializer.d.ts +0 -0
  735. /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v1/JsonShapeSerializer.d.ts +0 -0
  736. /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +0 -0
  737. /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +0 -0
  738. /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +0 -0
  739. /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +0 -0
  740. /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/detectBufferParsing.d.ts +0 -0
  741. /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/jsonReplacer.d.ts +0 -0
  742. /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/jsonReviver.d.ts +0 -0
  743. /package/node_modules/{@aws-sdk → @smithy}/core/dist-types/submodules/protocols/json/needsReviver.d.ts +0 -0
  744. /package/node_modules/{fast-xml-parser/node_modules/xml-naming → xml-naming}/LICENSE +0 -0
@@ -1,4 +1,12 @@
1
- import type { $ClientProtocol, $ClientProtocolCtor, ClientProtocol, ClientProtocolCtor, Command, FetchHttpHandlerOptions, Client as IClient, MetadataBearer, MiddlewareStack, NodeHttpHandlerOptions, RequestHandler } from "@smithy/types";
1
+ import type { $ClientProtocol, $ClientProtocolCtor, ClientProtocol, ClientProtocolCtor, Command, FetchHttpHandlerOptions, Client as IClient, MetadataBearer, MetricsRecorder, MiddlewareStack, NodeHttpHandlerOptions, RequestHandler } from "@smithy/types";
2
+ /**
3
+ * Options accepted for an individual Smithy client request.
4
+ *
5
+ * @public
6
+ */
7
+ export type SmithyClientRequestOptions<HandlerOptions> = unknown extends HandlerOptions ? HandlerOptions : HandlerOptions extends unknown ? keyof HandlerOptions extends never ? HandlerOptions : HandlerOptions & {
8
+ metricsRecorder?: MetricsRecorder<unknown>;
9
+ } : never;
2
10
  /**
3
11
  * @public
4
12
  */
@@ -77,8 +85,8 @@ export declare class Client<HandlerOptions, ClientInput extends object, ClientOu
77
85
  */
78
86
  private handlers?;
79
87
  constructor(config: ResolvedClientConfiguration);
80
- send<InputType extends ClientInput, OutputType extends ClientOutput>(command: Command<ClientInput, InputType, ClientOutput, OutputType, SmithyResolvedConfiguration<HandlerOptions>>, options?: HandlerOptions): Promise<OutputType>;
88
+ send<InputType extends ClientInput, OutputType extends ClientOutput>(command: Command<ClientInput, InputType, ClientOutput, OutputType, SmithyResolvedConfiguration<HandlerOptions>>, options?: SmithyClientRequestOptions<HandlerOptions>): Promise<OutputType>;
81
89
  send<InputType extends ClientInput, OutputType extends ClientOutput>(command: Command<ClientInput, InputType, ClientOutput, OutputType, SmithyResolvedConfiguration<HandlerOptions>>, cb: (err: any, data?: OutputType) => void): void;
82
- send<InputType extends ClientInput, OutputType extends ClientOutput>(command: Command<ClientInput, InputType, ClientOutput, OutputType, SmithyResolvedConfiguration<HandlerOptions>>, options: HandlerOptions, cb: (err: any, data?: OutputType) => void): void;
90
+ send<InputType extends ClientInput, OutputType extends ClientOutput>(command: Command<ClientInput, InputType, ClientOutput, OutputType, SmithyResolvedConfiguration<HandlerOptions>>, options: SmithyClientRequestOptions<HandlerOptions>, cb: (err: any, data?: OutputType) => void): void;
83
91
  destroy(): void;
84
92
  }
@@ -18,6 +18,7 @@ export interface ServiceExceptionOptions extends SmithyException, MetadataBearer
18
18
  * @public
19
19
  */
20
20
  export declare class ServiceException extends Error implements SmithyException, MetadataBearer {
21
+ static readonly shapeId: string;
21
22
  readonly $fault: "client" | "server";
22
23
  $response?: HttpResponse;
23
24
  $retryable?: RetryableTrait;
@@ -0,0 +1,44 @@
1
+ /**
2
+ * A general SDK error that does not fall into a more specific category.
3
+ *
4
+ * @public
5
+ */
6
+ export declare class SmithyError extends Error {
7
+ name: string;
8
+ readonly $source: string;
9
+ }
10
+ /**
11
+ * A value had the wrong type or could not be interpreted as the expected type.
12
+ *
13
+ * @public
14
+ */
15
+ export declare class SmithyTypeError extends TypeError {
16
+ name: string;
17
+ readonly $source: string;
18
+ }
19
+ /**
20
+ * A value was the correct type but fell outside its allowed range or bounds.
21
+ *
22
+ * @public
23
+ */
24
+ export declare class SmithyRangeError extends RangeError {
25
+ name: string;
26
+ readonly $source: string;
27
+ }
28
+ /**
29
+ * @public
30
+ */
31
+ export type ErrorConstructor<E extends Error = Error> = new (message?: string) => E;
32
+ /**
33
+ * @public
34
+ */
35
+ export interface ErrorContainer {
36
+ readonly $source: string;
37
+ readonly Error: ErrorConstructor<SmithyError>;
38
+ readonly TypeError: ErrorConstructor<SmithyTypeError>;
39
+ readonly RangeError: ErrorConstructor<SmithyRangeError>;
40
+ }
41
+ /**
42
+ * @public
43
+ */
44
+ export declare const errors: ErrorContainer;
@@ -0,0 +1 @@
1
+ export { errors, type SmithyError, type SmithyRangeError, type SmithyTypeError } from "./errors";
@@ -0,0 +1,45 @@
1
+ import type { EndpointBearer, HandlerExecutionContext, HttpRequest as IHttpRequest, OperationSchema, SerdeFunctions } from "@smithy/types";
2
+ import type { TypeRegistry } from "@smithy/core/schema";
3
+ import { RpcProtocol } from "./RpcProtocol";
4
+ /**
5
+ * Shared abstract base for the Smithy RPC v2 client protocols (JSON and CBOR).
6
+ *
7
+ * Factors out the request-framing flow and response status handling that are
8
+ * identical across both RPC v2 protocols. Concrete protocols supply their
9
+ * codec, error handling, content type, shape id, and the two per-protocol
10
+ * request details via {@link getSmithyProtocolHeaderValue} and
11
+ * {@link applyEmptyBody}.
12
+ *
13
+ * @internal
14
+ */
15
+ export declare abstract class AbstractRpcV2Protocol extends RpcProtocol {
16
+ /**
17
+ * @override
18
+ */
19
+ protected compositeErrorRegistry: TypeRegistry;
20
+ constructor({ defaultNamespace, errorTypeRegistries, }: {
21
+ defaultNamespace: string;
22
+ errorTypeRegistries?: TypeRegistry[];
23
+ });
24
+ serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<IHttpRequest>;
25
+ /**
26
+ * @override
27
+ *
28
+ * Per the Smithy RPC v2 specification, the only successful response status
29
+ * code is 200; any other status code MUST be handled as an error.
30
+ */
31
+ protected isErrorResponse(statusCode: number): boolean;
32
+ /**
33
+ * @returns the value of the `smithy-protocol` header for this protocol,
34
+ * e.g. `rpc-v2-json` or `rpc-v2-cbor`.
35
+ */
36
+ protected abstract getSmithyProtocolHeaderValue(): string;
37
+ /**
38
+ * Applies this protocol's representation of an empty request body when the
39
+ * operation has a non-unit input but produced no serialized body. Called
40
+ * only for non-unit inputs.
41
+ *
42
+ * @param request - the request being serialized, mutated in place.
43
+ */
44
+ protected abstract applyEmptyBody(request: IHttpRequest): void;
45
+ }
@@ -0,0 +1,8 @@
1
+ import type { ConfigurableSerdeContext, SerdeFunctions } from "@smithy/types";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare class SerdeContextConfig implements ConfigurableSerdeContext {
6
+ protected serdeContext?: SerdeFunctions;
7
+ setSerdeContext(serdeContext: SerdeFunctions): void;
8
+ }
@@ -1,6 +1,6 @@
1
1
  import type { EventStreamSerde } from "@smithy/core/event-streams";
2
2
  import { NormalizedSchema, TypeRegistry } from "@smithy/core/schema";
3
- import type { ClientProtocol, Codec, Endpoint, EndpointBearer, EndpointV2, EventStreamMarshaller, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, ResponseMetadata, Schema, SerdeFunctions, ShapeDeserializer, ShapeSerializer } from "@smithy/types";
3
+ import type { ClientProtocol, Codec, Endpoint, EndpointBearer, EndpointV2, EventStreamMarshaller, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, ResponseMetadata, Schema, SerdeFunctions, ShapeDeserializer, ShapeSerializer, StaticErrorSchema } from "@smithy/types";
4
4
  import { SerdeContext } from "./SerdeContext";
5
5
  /**
6
6
  * Abstract base for HTTP-based client protocols.
@@ -43,6 +43,16 @@ export declare abstract class HttpProtocol extends SerdeContext implements Clien
43
43
  protected setHostPrefix<Input extends object>(request: IHttpRequest, operationSchema: OperationSchema, input: Input): void;
44
44
  protected abstract handleError(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, dataObject: any, metadata: ResponseMetadata): Promise<never>;
45
45
  protected deserializeMetadata(output: IHttpResponse): ResponseMetadata;
46
+ /**
47
+ * For a given error short name, a list of preferred namespaces, and a list of preferred registries,
48
+ * find the error's schema and class.
49
+ *
50
+ * @param name - short error shape id.
51
+ * @param namespaces - must contain '*' to allow matching against an undeclared namespace.
52
+ * @param registries - in which to look.
53
+ * @returns matched error schema and constructor, with worst case being the least-descriptive DocumentSchema and native Error.
54
+ */
55
+ protected resolveError(name: string, namespaces: string[], registries: TypeRegistry[]): [StaticErrorSchema, any, "modeled" | "synthetic" | "native"];
46
56
  /**
47
57
  * @param eventStream - the iterable provided by the caller.
48
58
  * @param requestSchema - the schema of the event stream container (struct).
@@ -74,12 +84,6 @@ export declare abstract class HttpProtocol extends SerdeContext implements Clien
74
84
  * Loads eventStream capability async (for chunking).
75
85
  */
76
86
  protected loadEventStreamCapability(): Promise<EventStreamSerde>;
77
- /**
78
- * Returns a platform-specific EventStreamMarshaller.
79
- * Prefers user-injected marshaller from serdeContext (via client config),
80
- * falls back to the dynamically imported provider.
81
- */
82
- private resolveEventStreamMarshaller;
83
87
  /**
84
88
  * @returns content-type default header value for event stream events and other documents.
85
89
  */
@@ -92,4 +96,10 @@ export declare abstract class HttpProtocol extends SerdeContext implements Clien
92
96
  protected deserializeHttpMessage(schema: Schema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, headerBindings: Set<string>, dataObject: any): Promise<string[]>;
93
97
  protected deserializeHttpMessage(schema: Schema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, dataObject: any): Promise<string[]>;
94
98
  protected getEventStreamMarshaller(): EventStreamMarshaller;
99
+ /**
100
+ * Returns a platform-specific EventStreamMarshaller.
101
+ * Prefers user-injected marshaller from serdeContext (via client config),
102
+ * falls back to the dynamically imported provider.
103
+ */
104
+ private resolveEventStreamMarshaller;
95
105
  }
@@ -13,4 +13,16 @@ export declare abstract class RpcProtocol extends HttpProtocol {
13
13
  protected compositeErrorRegistry: TypeRegistry;
14
14
  serializeRequest<Input extends object>(operationSchema: OperationSchema, _input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<IHttpRequest>;
15
15
  deserializeResponse<Output extends MetadataBearer>(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse): Promise<Output>;
16
+ /**
17
+ * Determines whether a response status code indicates an error response that
18
+ * should be routed to {@link handleError} rather than deserialized as output.
19
+ *
20
+ * The default treats any status code of 300 or greater as an error,
21
+ * preserving the historical behavior for RPC-over-HTTP protocols. Subclasses
22
+ * whose specification is stricter SHOULD override this.
23
+ *
24
+ * @param statusCode - the HTTP response status code.
25
+ * @returns true if the response should be handled as an error.
26
+ */
27
+ protected isErrorResponse(statusCode: number): boolean;
16
28
  }
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Helper for identifying unknown union members during deserialization.
3
+ */
4
+ export declare class UnionSerde {
5
+ private from;
6
+ private to;
7
+ private keys;
8
+ constructor(from: any, to: any);
9
+ /**
10
+ * Marks the key as being a known member.
11
+ * @param key - to mark.
12
+ */
13
+ mark(key: string): void;
14
+ /**
15
+ * @returns whether only one key remains unmarked and nothing has been written,
16
+ * implying the object is a union.
17
+ */
18
+ hasUnknown(): boolean;
19
+ /**
20
+ * Writes the unknown key-value pair, if present, into the $unknown property
21
+ * of the union object.
22
+ */
23
+ writeUnknown(): void;
24
+ }
@@ -0,0 +1,2 @@
1
+ import type { SerdeFunctions } from "@smithy/types";
2
+ export declare const collectBodyString: (streamBody: any, context: SerdeFunctions) => Promise<string>;
@@ -3,6 +3,7 @@ export { extendedEncodeURIComponent } from "./extended-encode-uri-component";
3
3
  export { HttpBindingProtocol } from "./HttpBindingProtocol";
4
4
  export { HttpProtocol } from "./HttpProtocol";
5
5
  export { RpcProtocol } from "./RpcProtocol";
6
+ export { AbstractRpcV2Protocol } from "./AbstractRpcV2Protocol";
6
7
  export { RequestBuilder, requestBuilder } from "./requestBuilder";
7
8
  export { resolvedPath } from "./resolve-path";
8
9
  export { FromStringShapeDeserializer } from "./serde/FromStringShapeDeserializer";
@@ -25,3 +26,12 @@ export { escapeUriPath } from "./util-uri-escape/escape-uri-path";
25
26
  export { buildQueryString } from "./querystring-builder/buildQueryString";
26
27
  export { parseQueryString } from "@smithy/core/transport";
27
28
  export { parseUrl } from "@smithy/core/transport";
29
+ export { SmithyRpcV2JsonProtocol } from "./json/SmithyRpcV2JsonProtocol";
30
+ export { parseJsonBody, parseJsonErrorBody, loadJsonRpcErrorCode, loadRestJsonErrorCode, loadSmithyRpcV2JsonErrorCode, } from "./json/parseJsonBody";
31
+ export type { JsonSettings } from "./json/JsonSettings";
32
+ export { JsonCodec } from "./json/codec-v1/JsonCodec";
33
+ export { JsonShapeSerializer } from "./json/codec-v1/JsonShapeSerializer";
34
+ export { JsonShapeDeserializer } from "./json/codec-v1/JsonShapeDeserializer";
35
+ export { JsonCodec2 } from "./json/codec-v2/JsonCodec2";
36
+ export { JsonShapeSerializer2 } from "./json/codec-v2/JsonShapeSerializer2";
37
+ export { JsonShapeDeserializer2 } from "./json/codec-v2/JsonShapeDeserializer2";
@@ -0,0 +1,13 @@
1
+ import type { CodecSettings } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export type JsonSettings = CodecSettings & {
6
+ jsonName: boolean;
7
+ /**
8
+ * When true, bigInteger and bigDecimal values are serialized as JSON strings
9
+ * to preserve arbitrary precision (Smithy RPCv2 JSON behavior). When false or
10
+ * unset, they are serialized as unquoted JSON numbers (AWS JSON 1.0/1.1 behavior).
11
+ */
12
+ bigNumberAsString?: boolean;
13
+ };
@@ -0,0 +1,19 @@
1
+ import { AbstractRpcV2Protocol } from "../AbstractRpcV2Protocol";
2
+ import type { HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, OperationSchema, ResponseMetadata, SerdeFunctions, ShapeDeserializer, ShapeSerializer } from "@smithy/types";
3
+ import { JsonCodec2 } from "./codec-v2/JsonCodec2";
4
+ /**
5
+ * Client protocol for Smithy RPCv2 JSON.
6
+ *
7
+ * @public
8
+ */
9
+ export declare class SmithyRpcV2JsonProtocol extends AbstractRpcV2Protocol {
10
+ private codec;
11
+ protected serializer: ShapeSerializer<string | Uint8Array>;
12
+ protected deserializer: ShapeDeserializer<string | Uint8Array>;
13
+ getShapeId(): string;
14
+ getPayloadCodec(): JsonCodec2;
15
+ protected getSmithyProtocolHeaderValue(): string;
16
+ protected applyEmptyBody(request: IHttpRequest): void;
17
+ protected handleError(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, dataObject: any, metadata: ResponseMetadata): Promise<never>;
18
+ protected getDefaultContentType(): string;
19
+ }
@@ -20,3 +20,19 @@ export declare const loadRestJsonErrorCode: (output: HttpResponse, data: any) =>
20
20
  * @internal
21
21
  */
22
22
  export declare const loadJsonRpcErrorCode: (output: HttpResponse, data: any, queryCompat?: boolean) => string | undefined;
23
+ /**
24
+ * Smithy RPCv2 JSON error identifier loader.
25
+ *
26
+ * Unlike {@link loadJsonRpcErrorCode} (used by AWS JSON 1.0/1.1 and restJson1),
27
+ * this preserves the ABSOLUTE shape id carried in `__type`. The RPCv2 JSON SEP
28
+ * requires `__type` to contain the fully-qualified shape id, and the protocol
29
+ * resolves errors by that absolute id to avoid ambiguous resolution when the
30
+ * same shape name exists in more than one namespace.
31
+ *
32
+ * It trims the Smithy-specific `,` fault/tag suffix and the `:` suffix, but does
33
+ * NOT strip the `#` namespace separator:
34
+ * "com.a.b#Error:Sender,tag" -> "com.a.b#Error"
35
+ *
36
+ * @internal
37
+ */
38
+ export declare const loadSmithyRpcV2JsonErrorCode: (output: HttpResponse, data: any) => string | undefined;
@@ -24,6 +24,7 @@ export declare const getHttpHandlerExtensionConfiguration: <HandlerConfig extend
24
24
  logger?: Logger;
25
25
  }>(runtimeConfig: HttpHandlerExtensionConfigType<HandlerConfig> & {
26
26
  logger?: Logger;
27
+ defaultSocketTimeout?: number;
27
28
  }) => {
28
29
  setHttpHandler(handler: HttpHandler<HandlerConfig>): void;
29
30
  httpHandler(): HttpHandler<HandlerConfig>;
@@ -19,6 +19,10 @@ export declare const isThrottlingError: (error: SdkError) => boolean;
19
19
  * included here because there is an error scenario with unknown root
20
20
  * cause where the NodeHttpHandler does not decorate the Error with
21
21
  * the name "TimeoutError" to be checked by the TRANSIENT_ERROR_CODES condition.
22
+ *
23
+ * Errors named "AbortError" are considered terminal. AbortSignal.timeout()
24
+ * produces an underlying cause which would otherwise be considered retryable as
25
+ * a TimeoutError.
22
26
  */
23
27
  export declare const isTransientError: (error: SdkError, depth?: number) => boolean;
24
28
  export declare const isServerError: (error: SdkError) => boolean;
@@ -0,0 +1,3 @@
1
+ import type { AbortSignal as DeprecatedAbortSignal } from "@smithy/types";
2
+ export declare const race: <T>(promise: Promise<T>, signal?: AbortSignal | DeprecatedAbortSignal) => Promise<T>;
3
+ export declare const isAbortError: (error: unknown) => boolean;
@@ -10,10 +10,10 @@ export declare class TypeRegistry {
10
10
  private schemas;
11
11
  private exceptions;
12
12
  static readonly registries: Map<string, TypeRegistry>;
13
- private constructor();
13
+ constructor(namespace: string, schemas?: Map<string, ISchema>, exceptions?: Map<StaticErrorSchema, any>);
14
14
  /**
15
15
  * @param namespace - specifier.
16
- * @returns the schema for that namespace, creating it if necessary.
16
+ * @returns the TypeRegistry for that namespace, creating it if necessary.
17
17
  */
18
18
  static for(namespace: string): TypeRegistry;
19
19
  /**
@@ -40,3 +40,4 @@ export { streamCollector } from "./util-stream/stream-collector.browser";
40
40
  export declare const v4: () => string;
41
41
  export declare const generateIdempotencyToken: () => string;
42
42
  export { hasOwn } from "@smithy/core/transport";
43
+ export { writeKey } from "./writeKey";
@@ -38,3 +38,4 @@ export { streamCollector } from "./util-stream/stream-collector";
38
38
  export declare const v4: () => string;
39
39
  export declare const generateIdempotencyToken: () => string;
40
40
  export { hasOwn } from "@smithy/core/transport";
41
+ export { writeKey } from "./writeKey";
@@ -38,3 +38,4 @@ export { streamCollector } from "./util-stream/stream-collector.browser";
38
38
  export declare const v4: () => string;
39
39
  export declare const generateIdempotencyToken: () => string;
40
40
  export { hasOwn } from "@smithy/core/transport";
41
+ export { writeKey } from "./writeKey";
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Makes __proto__ writable on a given object.
3
+ */
4
+ export declare function writeKey(obj: object | Record<string, unknown> | any): void;
@@ -1,28 +1,19 @@
1
- import { RpcProtocol } from "@smithy/core/protocols";
2
- import { TypeRegistry } from "@smithy/core/schema";
3
- import { EndpointBearer, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, ResponseMetadata, SerdeFunctions } from "@smithy/types";
1
+ import { AbstractRpcV2Protocol } from "@smithy/core/protocols";
2
+ import { HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, OperationSchema, ResponseMetadata, SerdeFunctions } from "@smithy/types";
4
3
  import { CborCodec } from "./CborCodec";
5
4
  /**
6
5
  * Client protocol for Smithy RPCv2 CBOR.
7
6
  *
8
7
  * @public
9
8
  */
10
- export declare class SmithyRpcV2CborProtocol extends RpcProtocol {
11
- /**
12
- * @override
13
- */
14
- protected compositeErrorRegistry: TypeRegistry;
9
+ export declare class SmithyRpcV2CborProtocol extends AbstractRpcV2Protocol {
15
10
  private codec;
16
11
  protected serializer: import(".").CborShapeSerializer2;
17
12
  protected deserializer: import(".").CborShapeDeserializer2;
18
- constructor({ defaultNamespace, errorTypeRegistries, }: {
19
- defaultNamespace: string;
20
- errorTypeRegistries?: TypeRegistry[];
21
- });
22
13
  getShapeId(): string;
23
14
  getPayloadCodec(): CborCodec;
24
- serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<IHttpRequest>;
25
- deserializeResponse<Output extends MetadataBearer>(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse): Promise<Output>;
15
+ protected getSmithyProtocolHeaderValue(): string;
16
+ protected applyEmptyBody(request: IHttpRequest): void;
26
17
  protected handleError(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, dataObject: any, metadata: ResponseMetadata): Promise<never>;
27
18
  protected getDefaultContentType(): string;
28
19
  }
@@ -18,6 +18,9 @@ export declare const dateToTag: (date: Date) => {
18
18
  */
19
19
  export declare const parseCborErrorBody: (errorBody: any, context: SerdeContext) => Promise<any>;
20
20
  /**
21
+ * Trims error.__type
22
+ * "com.a.b#Error:Sender,tag" -> "com.a.b#Error"
23
+ *
21
24
  * @internal
22
25
  */
23
26
  export declare const loadSmithyRpcV2CborErrorCode: (output: HttpResponse, data: any) => string | undefined;
@@ -5,7 +5,7 @@ export { invalidFunction } from "./invalid-dependency/invalidFunction";
5
5
  export { invalidProvider } from "./invalid-dependency/invalidProvider";
6
6
  export { createWaiter } from "./util-waiter/createWaiter";
7
7
  export { waiterServiceDefaults, WaiterState, checkExceptions, WaiterConfiguration, WaiterOptions, WaiterResult } from "./util-waiter/waiter";
8
- export { Client, SmithyConfiguration, SmithyResolvedConfiguration } from "./smithy-client/client";
8
+ export { Client, SmithyClientRequestOptions, SmithyConfiguration, SmithyResolvedConfiguration } from "./smithy-client/client";
9
9
  export { Command, CommandImpl } from "./smithy-client/command";
10
10
  export { SENSITIVE_STRING } from "./smithy-client/constants";
11
11
  export { createAggregatedClient } from "./smithy-client/create-aggregated-client";
@@ -1,4 +1,12 @@
1
- import { $ClientProtocol, $ClientProtocolCtor, ClientProtocol, ClientProtocolCtor, Command, FetchHttpHandlerOptions, Client as IClient, MetadataBearer, MiddlewareStack, NodeHttpHandlerOptions, RequestHandler } from "@smithy/types";
1
+ import { $ClientProtocol, $ClientProtocolCtor, ClientProtocol, ClientProtocolCtor, Command, FetchHttpHandlerOptions, Client as IClient, MetadataBearer, MetricsRecorder, MiddlewareStack, NodeHttpHandlerOptions, RequestHandler } from "@smithy/types";
2
+ /**
3
+ * Options accepted for an individual Smithy client request.
4
+ *
5
+ * @public
6
+ */
7
+ export type SmithyClientRequestOptions<HandlerOptions> = unknown extends HandlerOptions ? HandlerOptions : HandlerOptions extends unknown ? keyof HandlerOptions extends never ? HandlerOptions : HandlerOptions & {
8
+ metricsRecorder?: MetricsRecorder<unknown>;
9
+ } : never;
2
10
  /**
3
11
  * @public
4
12
  */
@@ -77,8 +85,8 @@ export declare class Client<HandlerOptions, ClientInput extends object, ClientOu
77
85
  */
78
86
  private handlers?;
79
87
  constructor(config: ResolvedClientConfiguration);
80
- send<InputType extends ClientInput, OutputType extends ClientOutput>(command: Command<ClientInput, InputType, ClientOutput, OutputType, SmithyResolvedConfiguration<HandlerOptions>>, options?: HandlerOptions): Promise<OutputType>;
88
+ send<InputType extends ClientInput, OutputType extends ClientOutput>(command: Command<ClientInput, InputType, ClientOutput, OutputType, SmithyResolvedConfiguration<HandlerOptions>>, options?: SmithyClientRequestOptions<HandlerOptions>): Promise<OutputType>;
81
89
  send<InputType extends ClientInput, OutputType extends ClientOutput>(command: Command<ClientInput, InputType, ClientOutput, OutputType, SmithyResolvedConfiguration<HandlerOptions>>, cb: (err: any, data?: OutputType) => void): void;
82
- send<InputType extends ClientInput, OutputType extends ClientOutput>(command: Command<ClientInput, InputType, ClientOutput, OutputType, SmithyResolvedConfiguration<HandlerOptions>>, options: HandlerOptions, cb: (err: any, data?: OutputType) => void): void;
90
+ send<InputType extends ClientInput, OutputType extends ClientOutput>(command: Command<ClientInput, InputType, ClientOutput, OutputType, SmithyResolvedConfiguration<HandlerOptions>>, options: SmithyClientRequestOptions<HandlerOptions>, cb: (err: any, data?: OutputType) => void): void;
83
91
  destroy(): void;
84
92
  }
@@ -18,6 +18,7 @@ export interface ServiceExceptionOptions extends SmithyException, MetadataBearer
18
18
  * @public
19
19
  */
20
20
  export declare class ServiceException extends Error implements SmithyException, MetadataBearer {
21
+ static readonly shapeId: string;
21
22
  readonly $fault: "client" | "server";
22
23
  $response?: HttpResponse;
23
24
  $retryable?: RetryableTrait;
@@ -0,0 +1,44 @@
1
+ /**
2
+ * A general SDK error that does not fall into a more specific category.
3
+ *
4
+ * @public
5
+ */
6
+ export declare class SmithyError extends Error {
7
+ name: string;
8
+ readonly $source: string;
9
+ }
10
+ /**
11
+ * A value had the wrong type or could not be interpreted as the expected type.
12
+ *
13
+ * @public
14
+ */
15
+ export declare class SmithyTypeError extends TypeError {
16
+ name: string;
17
+ readonly $source: string;
18
+ }
19
+ /**
20
+ * A value was the correct type but fell outside its allowed range or bounds.
21
+ *
22
+ * @public
23
+ */
24
+ export declare class SmithyRangeError extends RangeError {
25
+ name: string;
26
+ readonly $source: string;
27
+ }
28
+ /**
29
+ * @public
30
+ */
31
+ export type ErrorConstructor<E extends Error = Error> = new (message?: string) => E;
32
+ /**
33
+ * @public
34
+ */
35
+ export interface ErrorContainer {
36
+ readonly $source: string;
37
+ readonly Error: ErrorConstructor<SmithyError>;
38
+ readonly TypeError: ErrorConstructor<SmithyTypeError>;
39
+ readonly RangeError: ErrorConstructor<SmithyRangeError>;
40
+ }
41
+ /**
42
+ * @public
43
+ */
44
+ export declare const errors: ErrorContainer;
@@ -0,0 +1 @@
1
+ export { errors, SmithyError, SmithyRangeError, SmithyTypeError } from "./errors";
@@ -0,0 +1,45 @@
1
+ import { EndpointBearer, HandlerExecutionContext, HttpRequest as IHttpRequest, OperationSchema, SerdeFunctions } from "@smithy/types";
2
+ import { TypeRegistry } from "@smithy/core/schema";
3
+ import { RpcProtocol } from "./RpcProtocol";
4
+ /**
5
+ * Shared abstract base for the Smithy RPC v2 client protocols (JSON and CBOR).
6
+ *
7
+ * Factors out the request-framing flow and response status handling that are
8
+ * identical across both RPC v2 protocols. Concrete protocols supply their
9
+ * codec, error handling, content type, shape id, and the two per-protocol
10
+ * request details via {@link getSmithyProtocolHeaderValue} and
11
+ * {@link applyEmptyBody}.
12
+ *
13
+ * @internal
14
+ */
15
+ export declare abstract class AbstractRpcV2Protocol extends RpcProtocol {
16
+ /**
17
+ * @override
18
+ */
19
+ protected compositeErrorRegistry: TypeRegistry;
20
+ constructor({ defaultNamespace, errorTypeRegistries, }: {
21
+ defaultNamespace: string;
22
+ errorTypeRegistries?: TypeRegistry[];
23
+ });
24
+ serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<IHttpRequest>;
25
+ /**
26
+ * @override
27
+ *
28
+ * Per the Smithy RPC v2 specification, the only successful response status
29
+ * code is 200; any other status code MUST be handled as an error.
30
+ */
31
+ protected isErrorResponse(statusCode: number): boolean;
32
+ /**
33
+ * @returns the value of the `smithy-protocol` header for this protocol,
34
+ * e.g. `rpc-v2-json` or `rpc-v2-cbor`.
35
+ */
36
+ protected abstract getSmithyProtocolHeaderValue(): string;
37
+ /**
38
+ * Applies this protocol's representation of an empty request body when the
39
+ * operation has a non-unit input but produced no serialized body. Called
40
+ * only for non-unit inputs.
41
+ *
42
+ * @param request - the request being serialized, mutated in place.
43
+ */
44
+ protected abstract applyEmptyBody(request: IHttpRequest): void;
45
+ }
@@ -0,0 +1,8 @@
1
+ import { ConfigurableSerdeContext, SerdeFunctions } from "@smithy/types";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare class SerdeContextConfig implements ConfigurableSerdeContext {
6
+ protected serdeContext?: SerdeFunctions;
7
+ setSerdeContext(serdeContext: SerdeFunctions): void;
8
+ }
@@ -1,6 +1,6 @@
1
1
  import { EventStreamSerde } from "@smithy/core/event-streams";
2
2
  import { NormalizedSchema, TypeRegistry } from "@smithy/core/schema";
3
- import { ClientProtocol, Codec, Endpoint, EndpointBearer, EndpointV2, EventStreamMarshaller, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, ResponseMetadata, Schema, SerdeFunctions, ShapeDeserializer, ShapeSerializer } from "@smithy/types";
3
+ import { ClientProtocol, Codec, Endpoint, EndpointBearer, EndpointV2, EventStreamMarshaller, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, ResponseMetadata, Schema, SerdeFunctions, ShapeDeserializer, ShapeSerializer, StaticErrorSchema } from "@smithy/types";
4
4
  import { SerdeContext } from "./SerdeContext";
5
5
  /**
6
6
  * Abstract base for HTTP-based client protocols.
@@ -43,6 +43,20 @@ export declare abstract class HttpProtocol extends SerdeContext implements Clien
43
43
  protected setHostPrefix<Input extends object>(request: IHttpRequest, operationSchema: OperationSchema, input: Input): void;
44
44
  protected abstract handleError(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, dataObject: any, metadata: ResponseMetadata): Promise<never>;
45
45
  protected deserializeMetadata(output: IHttpResponse): ResponseMetadata;
46
+ /**
47
+ * For a given error short name, a list of preferred namespaces, and a list of preferred registries,
48
+ * find the error's schema and class.
49
+ *
50
+ * @param name - short error shape id.
51
+ * @param namespaces - must contain '*' to allow matching against an undeclared namespace.
52
+ * @param registries - in which to look.
53
+ * @returns matched error schema and constructor, with worst case being the least-descriptive DocumentSchema and native Error.
54
+ */
55
+ protected resolveError(name: string, namespaces: string[], registries: TypeRegistry[]): [
56
+ StaticErrorSchema,
57
+ any,
58
+ "modeled" | "synthetic" | "native"
59
+ ];
46
60
  /**
47
61
  * @param eventStream - the iterable provided by the caller.
48
62
  * @param requestSchema - the schema of the event stream container (struct).
@@ -74,12 +88,6 @@ export declare abstract class HttpProtocol extends SerdeContext implements Clien
74
88
  * Loads eventStream capability async (for chunking).
75
89
  */
76
90
  protected loadEventStreamCapability(): Promise<EventStreamSerde>;
77
- /**
78
- * Returns a platform-specific EventStreamMarshaller.
79
- * Prefers user-injected marshaller from serdeContext (via client config),
80
- * falls back to the dynamically imported provider.
81
- */
82
- private resolveEventStreamMarshaller;
83
91
  /**
84
92
  * @returns content-type default header value for event stream events and other documents.
85
93
  */
@@ -92,4 +100,10 @@ export declare abstract class HttpProtocol extends SerdeContext implements Clien
92
100
  protected deserializeHttpMessage(schema: Schema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, headerBindings: Set<string>, dataObject: any): Promise<string[]>;
93
101
  protected deserializeHttpMessage(schema: Schema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, dataObject: any): Promise<string[]>;
94
102
  protected getEventStreamMarshaller(): EventStreamMarshaller;
103
+ /**
104
+ * Returns a platform-specific EventStreamMarshaller.
105
+ * Prefers user-injected marshaller from serdeContext (via client config),
106
+ * falls back to the dynamically imported provider.
107
+ */
108
+ private resolveEventStreamMarshaller;
95
109
  }