@openclaw/amazon-bedrock-provider 2026.10.2 → 2026.10.5-beta.2

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 (250) hide show
  1. package/dist/bedrock-options.js +0 -1
  2. package/dist/discovery.js +57 -128
  3. package/dist/embedding-provider.js +3 -13
  4. package/dist/memory-embedding-adapter.js +0 -5
  5. package/dist/provider-policy-api.js +0 -1
  6. package/dist/register.sync.runtime.js +3 -27
  7. package/dist/stream.runtime.js +27 -28
  8. package/dist/thinking-policy.js +0 -5
  9. package/node_modules/@aws-sdk/client-bedrock/dist-cjs/index.js +3 -3
  10. package/node_modules/@aws-sdk/client-bedrock/dist-es/schemas/schemas_0.js +2 -2
  11. package/node_modules/@aws-sdk/client-bedrock/dist-types/Bedrock.d.ts +223 -217
  12. package/node_modules/@aws-sdk/client-bedrock/dist-types/ts3.4/Bedrock.d.ts +220 -216
  13. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/core/package.json +6 -6
  14. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +3 -3
  15. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +3 -3
  16. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +3 -3
  17. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +3 -3
  18. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +14 -11
  19. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +2 -2
  20. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +2 -2
  21. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +2 -2
  22. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +2 -2
  23. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +13 -10
  24. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts +11 -5
  25. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +11 -5
  26. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSO.d.ts +9 -3
  27. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +9 -3
  28. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts +33 -8
  29. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +22 -3
  30. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +3 -0
  31. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +3 -0
  32. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts +22 -3
  33. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +40 -0
  34. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts +14 -5
  35. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/Signin.d.ts +11 -5
  36. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSO.d.ts +9 -3
  37. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDC.d.ts +9 -3
  38. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STS.d.ts +11 -5
  39. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +6 -0
  40. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/nested-clients/package.json +8 -8
  41. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
  42. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/token-providers/package.json +6 -6
  43. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +1 -0
  44. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +1 -0
  45. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/types/package.json +2 -2
  46. package/node_modules/@aws-sdk/client-bedrock/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  47. package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/CHANGELOG.md +19 -0
  48. package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +22 -37
  49. package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +48 -4
  50. package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +49 -8
  51. package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +15 -7
  52. package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +22 -22
  53. package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +0 -15
  54. package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-es/submodules/client/index.js +1 -1
  55. package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/command.js +8 -1
  56. package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js +40 -3
  57. package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +49 -8
  58. package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +15 -7
  59. package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +3 -0
  60. package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-types/submodules/client/index.d.ts +1 -1
  61. package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/client.d.ts +11 -3
  62. package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/exceptions.d.ts +1 -0
  63. package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +17 -7
  64. package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +2 -2
  65. package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +3 -0
  66. package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -1
  67. package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/client.d.ts +11 -3
  68. package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/exceptions.d.ts +1 -0
  69. package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +21 -7
  70. package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +2 -2
  71. package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/core/package.json +2 -2
  72. package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/signature-v4/CHANGELOG.md +6 -0
  73. package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/signature-v4/dist-cjs/index.js +4 -1
  74. package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/signature-v4/dist-es/getCanonicalHeaders.js +4 -1
  75. package/node_modules/@aws-sdk/client-bedrock/node_modules/@smithy/signature-v4/package.json +3 -3
  76. package/node_modules/@aws-sdk/client-bedrock/package.json +9 -9
  77. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/index.js +3 -3
  78. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/schemas/schemas_0.js +2 -2
  79. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/BedrockRuntime.d.ts +29 -23
  80. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/BedrockRuntime.d.ts +26 -22
  81. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/package.json +6 -6
  82. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/eventstream-handler-node/package.json +4 -4
  83. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-eventstream/package.json +4 -4
  84. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-websocket/package.json +7 -7
  85. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +3 -3
  86. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +3 -3
  87. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +3 -3
  88. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +3 -3
  89. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +14 -11
  90. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +2 -2
  91. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +2 -2
  92. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +2 -2
  93. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +2 -2
  94. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +13 -10
  95. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts +11 -5
  96. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +11 -5
  97. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSO.d.ts +9 -3
  98. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +9 -3
  99. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts +33 -8
  100. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +22 -3
  101. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +3 -0
  102. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +3 -0
  103. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts +22 -3
  104. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +40 -0
  105. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts +14 -5
  106. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/Signin.d.ts +11 -5
  107. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSO.d.ts +9 -3
  108. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDC.d.ts +9 -3
  109. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STS.d.ts +11 -5
  110. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +6 -0
  111. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/nested-clients/package.json +8 -8
  112. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
  113. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/token-providers/package.json +6 -6
  114. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +1 -0
  115. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +1 -0
  116. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/types/package.json +2 -2
  117. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  118. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/CHANGELOG.md +19 -0
  119. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +22 -37
  120. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +48 -4
  121. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +49 -8
  122. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +15 -7
  123. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +22 -22
  124. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +0 -15
  125. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-es/submodules/client/index.js +1 -1
  126. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/command.js +8 -1
  127. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js +40 -3
  128. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +49 -8
  129. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +15 -7
  130. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +3 -0
  131. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-types/submodules/client/index.d.ts +1 -1
  132. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/client.d.ts +11 -3
  133. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/exceptions.d.ts +1 -0
  134. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +17 -7
  135. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +2 -2
  136. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +3 -0
  137. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -1
  138. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/client.d.ts +11 -3
  139. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/exceptions.d.ts +1 -0
  140. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +21 -7
  141. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +2 -2
  142. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/core/package.json +2 -2
  143. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/signature-v4/CHANGELOG.md +6 -0
  144. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/signature-v4/dist-cjs/index.js +4 -1
  145. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/signature-v4/dist-es/getCanonicalHeaders.js +4 -1
  146. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/signature-v4/package.json +3 -3
  147. package/node_modules/@aws-sdk/client-bedrock-runtime/package.json +12 -12
  148. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/core/package.json +6 -6
  149. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  150. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-http/package.json +7 -7
  151. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  152. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-login/package.json +6 -6
  153. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
  154. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
  155. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
  156. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +3 -3
  157. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +3 -3
  158. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +3 -3
  159. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +3 -3
  160. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +14 -11
  161. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +2 -2
  162. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +2 -2
  163. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +2 -2
  164. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +2 -2
  165. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +13 -10
  166. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts +11 -5
  167. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +11 -5
  168. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSO.d.ts +9 -3
  169. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +9 -3
  170. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts +33 -8
  171. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +22 -3
  172. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +3 -0
  173. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +3 -0
  174. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts +22 -3
  175. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +40 -0
  176. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts +14 -5
  177. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/Signin.d.ts +11 -5
  178. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSO.d.ts +9 -3
  179. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDC.d.ts +9 -3
  180. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STS.d.ts +11 -5
  181. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +6 -0
  182. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/nested-clients/package.json +8 -8
  183. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
  184. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/token-providers/package.json +6 -6
  185. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +1 -0
  186. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +1 -0
  187. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/types/package.json +2 -2
  188. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  189. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/CHANGELOG.md +19 -0
  190. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +22 -37
  191. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +48 -4
  192. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +49 -8
  193. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +15 -7
  194. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +22 -22
  195. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +0 -15
  196. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-es/submodules/client/index.js +1 -1
  197. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/command.js +8 -1
  198. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js +40 -3
  199. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +49 -8
  200. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +15 -7
  201. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +3 -0
  202. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-types/submodules/client/index.d.ts +1 -1
  203. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/client.d.ts +11 -3
  204. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/exceptions.d.ts +1 -0
  205. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +17 -7
  206. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +2 -2
  207. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +3 -0
  208. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -1
  209. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/client.d.ts +11 -3
  210. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/exceptions.d.ts +1 -0
  211. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +21 -7
  212. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +2 -2
  213. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/core/package.json +2 -2
  214. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/signature-v4/CHANGELOG.md +6 -0
  215. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/signature-v4/dist-cjs/index.js +4 -1
  216. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/signature-v4/dist-es/getCanonicalHeaders.js +4 -1
  217. package/node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/signature-v4/package.json +3 -3
  218. package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
  219. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/CHANGELOG.md +19 -0
  220. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +22 -37
  221. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +48 -4
  222. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +49 -8
  223. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +15 -7
  224. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +22 -22
  225. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +0 -15
  226. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-es/submodules/client/index.js +1 -1
  227. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/command.js +8 -1
  228. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js +40 -3
  229. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +49 -8
  230. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +15 -7
  231. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +3 -0
  232. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-types/submodules/client/index.d.ts +1 -1
  233. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/client.d.ts +11 -3
  234. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/exceptions.d.ts +1 -0
  235. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +17 -7
  236. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +2 -2
  237. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +3 -0
  238. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -1
  239. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/client.d.ts +11 -3
  240. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/exceptions.d.ts +1 -0
  241. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +21 -7
  242. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +2 -2
  243. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/core/package.json +2 -2
  244. package/node_modules/@smithy/types/CHANGELOG.md +6 -0
  245. package/node_modules/@smithy/types/dist-types/metrics.d.ts +8 -7
  246. package/node_modules/@smithy/types/dist-types/middleware.d.ts +5 -0
  247. package/node_modules/@smithy/types/dist-types/ts3.4/metrics.d.ts +8 -7
  248. package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +5 -0
  249. package/node_modules/@smithy/types/package.json +1 -1
  250. package/package.json +8 -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
  }
@@ -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
  /**
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/core",
3
- "version": "3.34.1",
3
+ "version": "3.35.1",
4
4
  "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/core",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -241,7 +241,7 @@
241
241
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
242
242
  },
243
243
  "dependencies": {
244
- "@smithy/types": "^4.18.0",
244
+ "@smithy/types": "^4.19.0",
245
245
  "tslib": "^2.6.2"
246
246
  },
247
247
  "devDependencies": {
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 5.7.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 2033184: preserve non-ASCII whitespace in canonical headers
8
+
3
9
  ## 5.7.3
4
10
 
5
11
  ### Patch Changes
@@ -339,7 +339,10 @@ const getCanonicalHeaders = ({ headers }, unsignableHeaders, signableHeaders) =>
339
339
  continue;
340
340
  }
341
341
  }
342
- canonical[canonicalHeaderName] = headers[headerName].trim().replace(/\s+/g, " ");
342
+ canonical[canonicalHeaderName] = headers[headerName]
343
+ .replace(/[\r\n]/g, " ")
344
+ .replace(/[ \t]+/g, " ")
345
+ .replace(/^ | $/g, "");
343
346
  }
344
347
  return canonical;
345
348
  };
@@ -14,7 +14,10 @@ export const getCanonicalHeaders = ({ headers }, unsignableHeaders, signableHead
14
14
  continue;
15
15
  }
16
16
  }
17
- canonical[canonicalHeaderName] = headers[headerName].trim().replace(/\s+/g, " ");
17
+ canonical[canonicalHeaderName] = headers[headerName]
18
+ .replace(/[\r\n]/g, " ")
19
+ .replace(/[ \t]+/g, " ")
20
+ .replace(/^ | $/g, "");
18
21
  }
19
22
  return canonical;
20
23
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/signature-v4",
3
- "version": "5.7.3",
3
+ "version": "5.7.4",
4
4
  "description": "A standalone implementation of the AWS Signature V4 request signing algorithm",
5
5
  "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/signature-v4",
6
6
  "license": "Apache-2.0",
@@ -38,8 +38,8 @@
38
38
  "test:watch": "yarn g:vitest watch"
39
39
  },
40
40
  "dependencies": {
41
- "@smithy/core": "^3.33.3",
42
- "@smithy/types": "^4.17.2",
41
+ "@smithy/core": "^3.35.0",
42
+ "@smithy/types": "^4.19.0",
43
43
  "tslib": "^2.6.2"
44
44
  },
45
45
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock",
3
- "version": "3.1136.0",
3
+ "version": "3.1146.0",
4
4
  "description": "AWS SDK for JavaScript Bedrock Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-bedrock",
6
6
  "license": "Apache-2.0",
@@ -46,14 +46,14 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.83",
51
- "@aws-sdk/token-providers": "3.1136.0",
52
- "@aws-sdk/types": "^3.974.5",
53
- "@smithy/core": "^3.33.3",
54
- "@smithy/fetch-http-handler": "^5.7.2",
55
- "@smithy/node-http-handler": "^4.11.3",
56
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/token-providers": "3.1146.0",
52
+ "@aws-sdk/types": "^3.974.6",
53
+ "@smithy/core": "^3.35.0",
54
+ "@smithy/fetch-http-handler": "^5.8.0",
55
+ "@smithy/node-http-handler": "^4.12.1",
56
+ "@smithy/types": "^4.19.0",
57
57
  "tslib": "^2.6.2"
58
58
  },
59
59
  "devDependencies": {
@@ -90,7 +90,7 @@ const commonParams = {
90
90
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
91
91
  };
92
92
 
93
- var version = "3.1135.0";
93
+ var version = "3.1145.0";
94
94
  var packageInfo = {
95
95
  version: version};
96
96
 
@@ -832,10 +832,10 @@ const _w = "web";
832
832
  const _wP = "wordPolicy";
833
833
  const _wPU = "wordPolicyUnits";
834
834
  const n0 = "com.amazonaws.bedrockruntime";
835
- const _s_registry = TypeRegistry.for(_s);
835
+ const _s_registry = new TypeRegistry(_s);
836
836
  var BedrockRuntimeServiceException$ = [-3, _s, "BedrockRuntimeServiceException", 0, [], []];
837
837
  _s_registry.registerError(BedrockRuntimeServiceException$, BedrockRuntimeServiceException);
838
- const n0_registry = TypeRegistry.for(n0);
838
+ const n0_registry = new TypeRegistry(n0);
839
839
  var AccessDeniedException$ = [-3, n0, _ADE,
840
840
  { [_e]: _c, [_hE]: 403 },
841
841
  [_m],
@@ -520,10 +520,10 @@ const n0 = "com.amazonaws.bedrockruntime";
520
520
  import { TypeRegistry } from "@smithy/core/schema";
521
521
  import { BedrockRuntimeServiceException } from "../models/BedrockRuntimeServiceException";
522
522
  import { AccessDeniedException, ConflictException, InternalServerException, ModelErrorException, ModelNotReadyException, ModelStreamErrorException, ModelTimeoutException, ResourceNotFoundException, ServiceQuotaExceededException, ServiceUnavailableException, ThrottlingException, ValidationException, } from "../models/errors";
523
- const _s_registry = TypeRegistry.for(_s);
523
+ const _s_registry = new TypeRegistry(_s);
524
524
  export var BedrockRuntimeServiceException$ = [-3, _s, "BedrockRuntimeServiceException", 0, [], []];
525
525
  _s_registry.registerError(BedrockRuntimeServiceException$, BedrockRuntimeServiceException);
526
- const n0_registry = TypeRegistry.for(n0);
526
+ const n0_registry = new TypeRegistry(n0);
527
527
  export var AccessDeniedException$ = [-3, n0, _ADE,
528
528
  { [_e]: _c, [_hE]: 403 },
529
529
  [_m],
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { BedrockRuntimeClient } from "./BedrockRuntimeClient";
3
3
  import { type ApplyGuardrailCommandInput, type ApplyGuardrailCommandOutput } from "./commands/ApplyGuardrailCommand";
4
4
  import { type ConverseCommandInput, type ConverseCommandOutput } from "./commands/ConverseCommand";
@@ -11,74 +11,80 @@ import { type InvokeModelWithBidirectionalStreamCommandInput, type InvokeModelWi
11
11
  import { type InvokeModelWithResponseStreamCommandInput, type InvokeModelWithResponseStreamCommandOutput } from "./commands/InvokeModelWithResponseStreamCommand";
12
12
  import { type ListAsyncInvokesCommandInput, type ListAsyncInvokesCommandOutput } from "./commands/ListAsyncInvokesCommand";
13
13
  import { type StartAsyncInvokeCommandInput, type StartAsyncInvokeCommandOutput } from "./commands/StartAsyncInvokeCommand";
14
+ /**
15
+ * @public
16
+ */
17
+ export interface BedrockRuntimeRequestOptions extends __HttpHandlerOptions {
18
+ metricsRecorder?: __MetricsRecorder<unknown>;
19
+ }
14
20
  export interface BedrockRuntime {
15
21
  /**
16
22
  * @see {@link ApplyGuardrailCommand}
17
23
  */
18
- applyGuardrail(args: ApplyGuardrailCommandInput, options?: __HttpHandlerOptions): Promise<ApplyGuardrailCommandOutput>;
24
+ applyGuardrail(args: ApplyGuardrailCommandInput, options?: BedrockRuntimeRequestOptions): Promise<ApplyGuardrailCommandOutput>;
19
25
  applyGuardrail(args: ApplyGuardrailCommandInput, cb: (err: any, data?: ApplyGuardrailCommandOutput) => void): void;
20
- applyGuardrail(args: ApplyGuardrailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ApplyGuardrailCommandOutput) => void): void;
26
+ applyGuardrail(args: ApplyGuardrailCommandInput, options: BedrockRuntimeRequestOptions, cb: (err: any, data?: ApplyGuardrailCommandOutput) => void): void;
21
27
  /**
22
28
  * @see {@link ConverseCommand}
23
29
  */
24
- converse(args: ConverseCommandInput, options?: __HttpHandlerOptions): Promise<ConverseCommandOutput>;
30
+ converse(args: ConverseCommandInput, options?: BedrockRuntimeRequestOptions): Promise<ConverseCommandOutput>;
25
31
  converse(args: ConverseCommandInput, cb: (err: any, data?: ConverseCommandOutput) => void): void;
26
- converse(args: ConverseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ConverseCommandOutput) => void): void;
32
+ converse(args: ConverseCommandInput, options: BedrockRuntimeRequestOptions, cb: (err: any, data?: ConverseCommandOutput) => void): void;
27
33
  /**
28
34
  * @see {@link ConverseStreamCommand}
29
35
  */
30
- converseStream(args: ConverseStreamCommandInput, options?: __HttpHandlerOptions): Promise<ConverseStreamCommandOutput>;
36
+ converseStream(args: ConverseStreamCommandInput, options?: BedrockRuntimeRequestOptions): Promise<ConverseStreamCommandOutput>;
31
37
  converseStream(args: ConverseStreamCommandInput, cb: (err: any, data?: ConverseStreamCommandOutput) => void): void;
32
- converseStream(args: ConverseStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ConverseStreamCommandOutput) => void): void;
38
+ converseStream(args: ConverseStreamCommandInput, options: BedrockRuntimeRequestOptions, cb: (err: any, data?: ConverseStreamCommandOutput) => void): void;
33
39
  /**
34
40
  * @see {@link CountTokensCommand}
35
41
  */
36
- countTokens(args: CountTokensCommandInput, options?: __HttpHandlerOptions): Promise<CountTokensCommandOutput>;
42
+ countTokens(args: CountTokensCommandInput, options?: BedrockRuntimeRequestOptions): Promise<CountTokensCommandOutput>;
37
43
  countTokens(args: CountTokensCommandInput, cb: (err: any, data?: CountTokensCommandOutput) => void): void;
38
- countTokens(args: CountTokensCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CountTokensCommandOutput) => void): void;
44
+ countTokens(args: CountTokensCommandInput, options: BedrockRuntimeRequestOptions, cb: (err: any, data?: CountTokensCommandOutput) => void): void;
39
45
  /**
40
46
  * @see {@link GetAsyncInvokeCommand}
41
47
  */
42
- getAsyncInvoke(args: GetAsyncInvokeCommandInput, options?: __HttpHandlerOptions): Promise<GetAsyncInvokeCommandOutput>;
48
+ getAsyncInvoke(args: GetAsyncInvokeCommandInput, options?: BedrockRuntimeRequestOptions): Promise<GetAsyncInvokeCommandOutput>;
43
49
  getAsyncInvoke(args: GetAsyncInvokeCommandInput, cb: (err: any, data?: GetAsyncInvokeCommandOutput) => void): void;
44
- getAsyncInvoke(args: GetAsyncInvokeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAsyncInvokeCommandOutput) => void): void;
50
+ getAsyncInvoke(args: GetAsyncInvokeCommandInput, options: BedrockRuntimeRequestOptions, cb: (err: any, data?: GetAsyncInvokeCommandOutput) => void): void;
45
51
  /**
46
52
  * @see {@link InvokeGuardrailChecksCommand}
47
53
  */
48
- invokeGuardrailChecks(args: InvokeGuardrailChecksCommandInput, options?: __HttpHandlerOptions): Promise<InvokeGuardrailChecksCommandOutput>;
54
+ invokeGuardrailChecks(args: InvokeGuardrailChecksCommandInput, options?: BedrockRuntimeRequestOptions): Promise<InvokeGuardrailChecksCommandOutput>;
49
55
  invokeGuardrailChecks(args: InvokeGuardrailChecksCommandInput, cb: (err: any, data?: InvokeGuardrailChecksCommandOutput) => void): void;
50
- invokeGuardrailChecks(args: InvokeGuardrailChecksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InvokeGuardrailChecksCommandOutput) => void): void;
56
+ invokeGuardrailChecks(args: InvokeGuardrailChecksCommandInput, options: BedrockRuntimeRequestOptions, cb: (err: any, data?: InvokeGuardrailChecksCommandOutput) => void): void;
51
57
  /**
52
58
  * @see {@link InvokeModelCommand}
53
59
  */
54
- invokeModel(args: InvokeModelCommandInput, options?: __HttpHandlerOptions): Promise<InvokeModelCommandOutput>;
60
+ invokeModel(args: InvokeModelCommandInput, options?: BedrockRuntimeRequestOptions): Promise<InvokeModelCommandOutput>;
55
61
  invokeModel(args: InvokeModelCommandInput, cb: (err: any, data?: InvokeModelCommandOutput) => void): void;
56
- invokeModel(args: InvokeModelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InvokeModelCommandOutput) => void): void;
62
+ invokeModel(args: InvokeModelCommandInput, options: BedrockRuntimeRequestOptions, cb: (err: any, data?: InvokeModelCommandOutput) => void): void;
57
63
  /**
58
64
  * @see {@link InvokeModelWithBidirectionalStreamCommand}
59
65
  */
60
- invokeModelWithBidirectionalStream(args: InvokeModelWithBidirectionalStreamCommandInput, options?: __HttpHandlerOptions): Promise<InvokeModelWithBidirectionalStreamCommandOutput>;
66
+ invokeModelWithBidirectionalStream(args: InvokeModelWithBidirectionalStreamCommandInput, options?: BedrockRuntimeRequestOptions): Promise<InvokeModelWithBidirectionalStreamCommandOutput>;
61
67
  invokeModelWithBidirectionalStream(args: InvokeModelWithBidirectionalStreamCommandInput, cb: (err: any, data?: InvokeModelWithBidirectionalStreamCommandOutput) => void): void;
62
- invokeModelWithBidirectionalStream(args: InvokeModelWithBidirectionalStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InvokeModelWithBidirectionalStreamCommandOutput) => void): void;
68
+ invokeModelWithBidirectionalStream(args: InvokeModelWithBidirectionalStreamCommandInput, options: BedrockRuntimeRequestOptions, cb: (err: any, data?: InvokeModelWithBidirectionalStreamCommandOutput) => void): void;
63
69
  /**
64
70
  * @see {@link InvokeModelWithResponseStreamCommand}
65
71
  */
66
- invokeModelWithResponseStream(args: InvokeModelWithResponseStreamCommandInput, options?: __HttpHandlerOptions): Promise<InvokeModelWithResponseStreamCommandOutput>;
72
+ invokeModelWithResponseStream(args: InvokeModelWithResponseStreamCommandInput, options?: BedrockRuntimeRequestOptions): Promise<InvokeModelWithResponseStreamCommandOutput>;
67
73
  invokeModelWithResponseStream(args: InvokeModelWithResponseStreamCommandInput, cb: (err: any, data?: InvokeModelWithResponseStreamCommandOutput) => void): void;
68
- invokeModelWithResponseStream(args: InvokeModelWithResponseStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InvokeModelWithResponseStreamCommandOutput) => void): void;
74
+ invokeModelWithResponseStream(args: InvokeModelWithResponseStreamCommandInput, options: BedrockRuntimeRequestOptions, cb: (err: any, data?: InvokeModelWithResponseStreamCommandOutput) => void): void;
69
75
  /**
70
76
  * @see {@link ListAsyncInvokesCommand}
71
77
  */
72
78
  listAsyncInvokes(): Promise<ListAsyncInvokesCommandOutput>;
73
- listAsyncInvokes(args: ListAsyncInvokesCommandInput, options?: __HttpHandlerOptions): Promise<ListAsyncInvokesCommandOutput>;
79
+ listAsyncInvokes(args: ListAsyncInvokesCommandInput, options?: BedrockRuntimeRequestOptions): Promise<ListAsyncInvokesCommandOutput>;
74
80
  listAsyncInvokes(args: ListAsyncInvokesCommandInput, cb: (err: any, data?: ListAsyncInvokesCommandOutput) => void): void;
75
- listAsyncInvokes(args: ListAsyncInvokesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAsyncInvokesCommandOutput) => void): void;
81
+ listAsyncInvokes(args: ListAsyncInvokesCommandInput, options: BedrockRuntimeRequestOptions, cb: (err: any, data?: ListAsyncInvokesCommandOutput) => void): void;
76
82
  /**
77
83
  * @see {@link StartAsyncInvokeCommand}
78
84
  */
79
- startAsyncInvoke(args: StartAsyncInvokeCommandInput, options?: __HttpHandlerOptions): Promise<StartAsyncInvokeCommandOutput>;
85
+ startAsyncInvoke(args: StartAsyncInvokeCommandInput, options?: BedrockRuntimeRequestOptions): Promise<StartAsyncInvokeCommandOutput>;
80
86
  startAsyncInvoke(args: StartAsyncInvokeCommandInput, cb: (err: any, data?: StartAsyncInvokeCommandOutput) => void): void;
81
- startAsyncInvoke(args: StartAsyncInvokeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartAsyncInvokeCommandOutput) => void): void;
87
+ startAsyncInvoke(args: StartAsyncInvokeCommandInput, options: BedrockRuntimeRequestOptions, cb: (err: any, data?: StartAsyncInvokeCommandOutput) => void): void;
82
88
  /**
83
89
  * @see {@link ListAsyncInvokesCommand}
84
90
  * @param args - command input.
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
3
4
  PaginationConfiguration,
4
5
  Paginator,
5
6
  } from "@smithy/types";
@@ -39,10 +40,13 @@ import {
39
40
  StartAsyncInvokeCommandInput,
40
41
  StartAsyncInvokeCommandOutput,
41
42
  } from "./commands/StartAsyncInvokeCommand";
43
+ export interface BedrockRuntimeRequestOptions extends __HttpHandlerOptions {
44
+ metricsRecorder?: __MetricsRecorder<unknown>;
45
+ }
42
46
  export interface BedrockRuntime {
43
47
  applyGuardrail(
44
48
  args: ApplyGuardrailCommandInput,
45
- options?: __HttpHandlerOptions,
49
+ options?: BedrockRuntimeRequestOptions,
46
50
  ): Promise<ApplyGuardrailCommandOutput>;
47
51
  applyGuardrail(
48
52
  args: ApplyGuardrailCommandInput,
@@ -50,22 +54,22 @@ export interface BedrockRuntime {
50
54
  ): void;
51
55
  applyGuardrail(
52
56
  args: ApplyGuardrailCommandInput,
53
- options: __HttpHandlerOptions,
57
+ options: BedrockRuntimeRequestOptions,
54
58
  cb: (err: any, data?: ApplyGuardrailCommandOutput) => void,
55
59
  ): void;
56
60
  converse(
57
61
  args: ConverseCommandInput,
58
- options?: __HttpHandlerOptions,
62
+ options?: BedrockRuntimeRequestOptions,
59
63
  ): Promise<ConverseCommandOutput>;
60
64
  converse(args: ConverseCommandInput, cb: (err: any, data?: ConverseCommandOutput) => void): void;
61
65
  converse(
62
66
  args: ConverseCommandInput,
63
- options: __HttpHandlerOptions,
67
+ options: BedrockRuntimeRequestOptions,
64
68
  cb: (err: any, data?: ConverseCommandOutput) => void,
65
69
  ): void;
66
70
  converseStream(
67
71
  args: ConverseStreamCommandInput,
68
- options?: __HttpHandlerOptions,
72
+ options?: BedrockRuntimeRequestOptions,
69
73
  ): Promise<ConverseStreamCommandOutput>;
70
74
  converseStream(
71
75
  args: ConverseStreamCommandInput,
@@ -73,12 +77,12 @@ export interface BedrockRuntime {
73
77
  ): void;
74
78
  converseStream(
75
79
  args: ConverseStreamCommandInput,
76
- options: __HttpHandlerOptions,
80
+ options: BedrockRuntimeRequestOptions,
77
81
  cb: (err: any, data?: ConverseStreamCommandOutput) => void,
78
82
  ): void;
79
83
  countTokens(
80
84
  args: CountTokensCommandInput,
81
- options?: __HttpHandlerOptions,
85
+ options?: BedrockRuntimeRequestOptions,
82
86
  ): Promise<CountTokensCommandOutput>;
83
87
  countTokens(
84
88
  args: CountTokensCommandInput,
@@ -86,12 +90,12 @@ export interface BedrockRuntime {
86
90
  ): void;
87
91
  countTokens(
88
92
  args: CountTokensCommandInput,
89
- options: __HttpHandlerOptions,
93
+ options: BedrockRuntimeRequestOptions,
90
94
  cb: (err: any, data?: CountTokensCommandOutput) => void,
91
95
  ): void;
92
96
  getAsyncInvoke(
93
97
  args: GetAsyncInvokeCommandInput,
94
- options?: __HttpHandlerOptions,
98
+ options?: BedrockRuntimeRequestOptions,
95
99
  ): Promise<GetAsyncInvokeCommandOutput>;
96
100
  getAsyncInvoke(
97
101
  args: GetAsyncInvokeCommandInput,
@@ -99,12 +103,12 @@ export interface BedrockRuntime {
99
103
  ): void;
100
104
  getAsyncInvoke(
101
105
  args: GetAsyncInvokeCommandInput,
102
- options: __HttpHandlerOptions,
106
+ options: BedrockRuntimeRequestOptions,
103
107
  cb: (err: any, data?: GetAsyncInvokeCommandOutput) => void,
104
108
  ): void;
105
109
  invokeGuardrailChecks(
106
110
  args: InvokeGuardrailChecksCommandInput,
107
- options?: __HttpHandlerOptions,
111
+ options?: BedrockRuntimeRequestOptions,
108
112
  ): Promise<InvokeGuardrailChecksCommandOutput>;
109
113
  invokeGuardrailChecks(
110
114
  args: InvokeGuardrailChecksCommandInput,
@@ -112,12 +116,12 @@ export interface BedrockRuntime {
112
116
  ): void;
113
117
  invokeGuardrailChecks(
114
118
  args: InvokeGuardrailChecksCommandInput,
115
- options: __HttpHandlerOptions,
119
+ options: BedrockRuntimeRequestOptions,
116
120
  cb: (err: any, data?: InvokeGuardrailChecksCommandOutput) => void,
117
121
  ): void;
118
122
  invokeModel(
119
123
  args: InvokeModelCommandInput,
120
- options?: __HttpHandlerOptions,
124
+ options?: BedrockRuntimeRequestOptions,
121
125
  ): Promise<InvokeModelCommandOutput>;
122
126
  invokeModel(
123
127
  args: InvokeModelCommandInput,
@@ -125,12 +129,12 @@ export interface BedrockRuntime {
125
129
  ): void;
126
130
  invokeModel(
127
131
  args: InvokeModelCommandInput,
128
- options: __HttpHandlerOptions,
132
+ options: BedrockRuntimeRequestOptions,
129
133
  cb: (err: any, data?: InvokeModelCommandOutput) => void,
130
134
  ): void;
131
135
  invokeModelWithBidirectionalStream(
132
136
  args: InvokeModelWithBidirectionalStreamCommandInput,
133
- options?: __HttpHandlerOptions,
137
+ options?: BedrockRuntimeRequestOptions,
134
138
  ): Promise<InvokeModelWithBidirectionalStreamCommandOutput>;
135
139
  invokeModelWithBidirectionalStream(
136
140
  args: InvokeModelWithBidirectionalStreamCommandInput,
@@ -138,12 +142,12 @@ export interface BedrockRuntime {
138
142
  ): void;
139
143
  invokeModelWithBidirectionalStream(
140
144
  args: InvokeModelWithBidirectionalStreamCommandInput,
141
- options: __HttpHandlerOptions,
145
+ options: BedrockRuntimeRequestOptions,
142
146
  cb: (err: any, data?: InvokeModelWithBidirectionalStreamCommandOutput) => void,
143
147
  ): void;
144
148
  invokeModelWithResponseStream(
145
149
  args: InvokeModelWithResponseStreamCommandInput,
146
- options?: __HttpHandlerOptions,
150
+ options?: BedrockRuntimeRequestOptions,
147
151
  ): Promise<InvokeModelWithResponseStreamCommandOutput>;
148
152
  invokeModelWithResponseStream(
149
153
  args: InvokeModelWithResponseStreamCommandInput,
@@ -151,13 +155,13 @@ export interface BedrockRuntime {
151
155
  ): void;
152
156
  invokeModelWithResponseStream(
153
157
  args: InvokeModelWithResponseStreamCommandInput,
154
- options: __HttpHandlerOptions,
158
+ options: BedrockRuntimeRequestOptions,
155
159
  cb: (err: any, data?: InvokeModelWithResponseStreamCommandOutput) => void,
156
160
  ): void;
157
161
  listAsyncInvokes(): Promise<ListAsyncInvokesCommandOutput>;
158
162
  listAsyncInvokes(
159
163
  args: ListAsyncInvokesCommandInput,
160
- options?: __HttpHandlerOptions,
164
+ options?: BedrockRuntimeRequestOptions,
161
165
  ): Promise<ListAsyncInvokesCommandOutput>;
162
166
  listAsyncInvokes(
163
167
  args: ListAsyncInvokesCommandInput,
@@ -165,12 +169,12 @@ export interface BedrockRuntime {
165
169
  ): void;
166
170
  listAsyncInvokes(
167
171
  args: ListAsyncInvokesCommandInput,
168
- options: __HttpHandlerOptions,
172
+ options: BedrockRuntimeRequestOptions,
169
173
  cb: (err: any, data?: ListAsyncInvokesCommandOutput) => void,
170
174
  ): void;
171
175
  startAsyncInvoke(
172
176
  args: StartAsyncInvokeCommandInput,
173
- options?: __HttpHandlerOptions,
177
+ options?: BedrockRuntimeRequestOptions,
174
178
  ): Promise<StartAsyncInvokeCommandOutput>;
175
179
  startAsyncInvoke(
176
180
  args: StartAsyncInvokeCommandInput,
@@ -178,7 +182,7 @@ export interface BedrockRuntime {
178
182
  ): void;
179
183
  startAsyncInvoke(
180
184
  args: StartAsyncInvokeCommandInput,
181
- options: __HttpHandlerOptions,
185
+ options: BedrockRuntimeRequestOptions,
182
186
  cb: (err: any, data?: StartAsyncInvokeCommandOutput) => void,
183
187
  ): void;
184
188
  paginateListAsyncInvokes(
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/core",
3
- "version": "3.978.0",
3
+ "version": "3.978.1",
4
4
  "description": "Core functions & classes shared by multiple AWS SDK clients.",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/core",
6
6
  "license": "Apache-2.0",
@@ -124,12 +124,12 @@
124
124
  "test:temp:retry": "SMITHY_NEW_RETRIES_2026=true node ./integ/retry.integ.spec && AWS_NEW_RETRIES_2026=true node ./integ/retry.integ.spec && node ./integ/retry.integ.spec"
125
125
  },
126
126
  "dependencies": {
127
- "@aws-sdk/types": "^3.974.5",
128
- "@aws-sdk/xml-builder": "^3.972.40",
127
+ "@aws-sdk/types": "^3.974.6",
128
+ "@aws-sdk/xml-builder": "^3.972.41",
129
129
  "@aws/lambda-invoke-store": "^0.3.0",
130
- "@smithy/core": "^3.33.3",
131
- "@smithy/signature-v4": "^5.6.12",
132
- "@smithy/types": "^4.17.2",
130
+ "@smithy/core": "^3.35.0",
131
+ "@smithy/signature-v4": "^5.7.3",
132
+ "@smithy/types": "^4.19.0",
133
133
  "bowser": "^2.11.0",
134
134
  "tslib": "^2.6.2"
135
135
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/eventstream-handler-node",
3
- "version": "3.972.34",
3
+ "version": "3.972.35",
4
4
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/eventstream-handler-node",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -38,9 +38,9 @@
38
38
  "test:watch": "yarn g:vitest watch"
39
39
  },
40
40
  "dependencies": {
41
- "@aws-sdk/types": "^3.974.5",
42
- "@smithy/core": "^3.33.3",
43
- "@smithy/types": "^4.17.2",
41
+ "@aws-sdk/types": "^3.974.6",
42
+ "@smithy/core": "^3.35.0",
43
+ "@smithy/types": "^4.19.0",
44
44
  "tslib": "^2.6.2"
45
45
  },
46
46
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-eventstream",
3
- "version": "3.972.29",
3
+ "version": "3.972.30",
4
4
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/middleware-eventstream",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -39,9 +39,9 @@
39
39
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
40
40
  },
41
41
  "dependencies": {
42
- "@aws-sdk/types": "^3.974.5",
43
- "@smithy/core": "^3.33.3",
44
- "@smithy/types": "^4.17.2",
42
+ "@aws-sdk/types": "^3.974.6",
43
+ "@smithy/core": "^3.35.0",
44
+ "@smithy/types": "^4.19.0",
45
45
  "tslib": "^2.6.2"
46
46
  },
47
47
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-websocket",
3
- "version": "3.972.53",
3
+ "version": "3.972.54",
4
4
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/middleware-websocket",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -40,12 +40,12 @@
40
40
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
41
41
  },
42
42
  "dependencies": {
43
- "@aws-sdk/core": "^3.978.0",
44
- "@aws-sdk/types": "^3.974.5",
45
- "@smithy/core": "^3.33.3",
46
- "@smithy/fetch-http-handler": "^5.7.2",
47
- "@smithy/signature-v4": "^5.6.12",
48
- "@smithy/types": "^4.17.2",
43
+ "@aws-sdk/core": "^3.978.1",
44
+ "@aws-sdk/types": "^3.974.6",
45
+ "@smithy/core": "^3.35.0",
46
+ "@smithy/fetch-http-handler": "^5.8.0",
47
+ "@smithy/signature-v4": "^5.7.3",
48
+ "@smithy/types": "^4.19.0",
49
49
  "tslib": "^2.6.2"
50
50
  },
51
51
  "devDependencies": {
@@ -83,7 +83,7 @@ const commonParams = {
83
83
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
84
84
  };
85
85
 
86
- var version = "3.997.44";
86
+ var version = "3.997.45";
87
87
  var packageInfo = {
88
88
  version: version};
89
89
 
@@ -311,10 +311,10 @@ const _m = "message";
311
311
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.cognitoidentity";
312
312
  const _se = "server";
313
313
  const n0 = "com.amazonaws.cognitoidentity";
314
- const _s_registry = TypeRegistry.for(_s);
314
+ const _s_registry = new TypeRegistry(_s);
315
315
  var CognitoIdentityServiceException$ = [-3, _s, "CognitoIdentityServiceException", 0, [], []];
316
316
  _s_registry.registerError(CognitoIdentityServiceException$, CognitoIdentityServiceException);
317
- const n0_registry = TypeRegistry.for(n0);
317
+ const n0_registry = new TypeRegistry(n0);
318
318
  var ExternalServiceException$ = [-3, n0, _ESE,
319
319
  { [_e]: _c, [_hE]: 400 },
320
320
  [_m],
@@ -78,7 +78,7 @@ const commonParams = {
78
78
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
79
79
  };
80
80
 
81
- var version = "3.997.44";
81
+ var version = "3.997.45";
82
82
  var packageInfo = {
83
83
  version: version};
84
84
 
@@ -302,10 +302,10 @@ const _tO = "tokenOutput";
302
302
  const _tT = "tokenType";
303
303
  const _tt = "token_type";
304
304
  const n0 = "com.amazonaws.signin";
305
- const _s_registry = TypeRegistry.for(_s);
305
+ const _s_registry = new TypeRegistry(_s);
306
306
  var SigninServiceException$ = [-3, _s, "SigninServiceException", 0, [], []];
307
307
  _s_registry.registerError(SigninServiceException$, SigninServiceException);
308
- const n0_registry = TypeRegistry.for(n0);
308
+ const n0_registry = new TypeRegistry(n0);
309
309
  var AccessDeniedException$ = [-3, n0, _ADE,
310
310
  { [_e]: _c },
311
311
  [_e, _m],