@aws-amplify/graphql-api-construct 1.18.1 → 1.18.3-ai-next.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (785) hide show
  1. package/.jsii +6 -6
  2. package/CHANGELOG.md +10 -0
  3. package/lib/amplify-dynamodb-table-wrapper.js +1 -1
  4. package/lib/amplify-graphql-api.js +1 -1
  5. package/lib/amplify-graphql-definition.js +1 -1
  6. package/lib/sql-model-datasource-strategy.js +1 -1
  7. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/bedrock_converse_adapter.js +12 -3
  8. package/node_modules/@aws-amplify/ai-constructs/package.json +1 -1
  9. package/node_modules/@aws-amplify/backend-output-schemas/lib/auth/index.d.ts +5 -0
  10. package/node_modules/@aws-amplify/backend-output-schemas/lib/auth/v1.d.ts +5 -0
  11. package/node_modules/@aws-amplify/backend-output-schemas/lib/auth/v1.js +2 -1
  12. package/node_modules/@aws-amplify/backend-output-schemas/lib/index.d.ts +50 -0
  13. package/node_modules/@aws-amplify/backend-output-schemas/lib/index.js +15 -2
  14. package/node_modules/@aws-amplify/backend-output-schemas/lib/storage/v1.js +16 -1
  15. package/node_modules/@aws-amplify/backend-output-schemas/package.json +1 -1
  16. package/node_modules/@aws-amplify/backend-output-storage/package.json +4 -3
  17. package/node_modules/@aws-amplify/graphql-conversation-transformer/CHANGELOG.md +12 -0
  18. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/tools/process-tools.d.ts.map +1 -1
  19. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/tools/process-tools.js +4 -2
  20. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/tools/process-tools.js.map +1 -1
  21. package/node_modules/@aws-amplify/graphql-conversation-transformer/package.json +3 -3
  22. package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/assets/mapping-lambda.zip +0 -0
  23. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-lambda.zip +0 -0
  24. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-notification-lambda.zip +0 -0
  25. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-patching-lambda.zip +0 -0
  26. package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/predictionsLambdaFunction.zip +0 -0
  27. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/streaming-lambda.zip +0 -0
  28. package/node_modules/@aws-amplify/graphql-transformer/CHANGELOG.md +8 -0
  29. package/node_modules/@aws-amplify/graphql-transformer/package.json +3 -3
  30. package/node_modules/@aws-amplify/graphql-transformer-interfaces/tsconfig.tsbuildinfo +1 -1
  31. package/node_modules/@aws-amplify/plugin-types/lib/auth_resources.d.ts +40 -0
  32. package/node_modules/@aws-amplify/plugin-types/lib/auth_resources.js +1 -1
  33. package/node_modules/@aws-amplify/plugin-types/lib/index.d.ts +1 -0
  34. package/node_modules/@aws-amplify/plugin-types/lib/index.js +2 -1
  35. package/node_modules/@aws-amplify/plugin-types/package.json +2 -2
  36. package/node_modules/@aws-crypto/crc32/node_modules/@aws-sdk/types/dist-es/feature-ids.js +1 -0
  37. package/node_modules/@aws-crypto/crc32/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
  38. package/node_modules/@aws-crypto/crc32/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +59 -0
  39. package/node_modules/@aws-crypto/crc32/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +5 -0
  40. package/node_modules/@aws-crypto/crc32/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
  41. package/node_modules/@aws-crypto/crc32/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +12 -0
  42. package/node_modules/@aws-crypto/crc32/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +54 -0
  43. package/node_modules/@aws-crypto/crc32/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +5 -0
  44. package/node_modules/@aws-crypto/crc32/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
  45. package/node_modules/@aws-crypto/crc32/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +7 -0
  46. package/node_modules/@aws-crypto/crc32/node_modules/@aws-sdk/types/package.json +2 -2
  47. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-sdk/types/dist-es/feature-ids.js +1 -0
  48. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
  49. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +59 -0
  50. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +5 -0
  51. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
  52. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +12 -0
  53. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +54 -0
  54. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +5 -0
  55. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
  56. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +7 -0
  57. package/node_modules/@aws-crypto/sha256-browser/node_modules/@aws-sdk/types/package.json +2 -2
  58. package/node_modules/@aws-crypto/sha256-js/node_modules/@aws-sdk/types/dist-es/feature-ids.js +1 -0
  59. package/node_modules/@aws-crypto/sha256-js/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
  60. package/node_modules/@aws-crypto/sha256-js/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +59 -0
  61. package/node_modules/@aws-crypto/sha256-js/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +5 -0
  62. package/node_modules/@aws-crypto/sha256-js/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
  63. package/node_modules/@aws-crypto/sha256-js/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +12 -0
  64. package/node_modules/@aws-crypto/sha256-js/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +54 -0
  65. package/node_modules/@aws-crypto/sha256-js/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +5 -0
  66. package/node_modules/@aws-crypto/sha256-js/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
  67. package/node_modules/@aws-crypto/sha256-js/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +7 -0
  68. package/node_modules/@aws-crypto/sha256-js/node_modules/@aws-sdk/types/package.json +2 -2
  69. package/node_modules/@aws-crypto/util/node_modules/@aws-sdk/types/dist-es/feature-ids.js +1 -0
  70. package/node_modules/@aws-crypto/util/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
  71. package/node_modules/@aws-crypto/util/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +59 -0
  72. package/node_modules/@aws-crypto/util/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +5 -0
  73. package/node_modules/@aws-crypto/util/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
  74. package/node_modules/@aws-crypto/util/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +12 -0
  75. package/node_modules/@aws-crypto/util/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +54 -0
  76. package/node_modules/@aws-crypto/util/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +5 -0
  77. package/node_modules/@aws-crypto/util/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
  78. package/node_modules/@aws-crypto/util/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +7 -0
  79. package/node_modules/@aws-crypto/util/node_modules/@aws-sdk/types/package.json +2 -2
  80. package/node_modules/@aws-sdk/client-bedrock-runtime/README.md +1 -1
  81. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/index.js +44 -5
  82. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.browser.js +1 -1
  83. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.js +2 -1
  84. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ConverseCommand.js +2 -1
  85. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ConverseStreamCommand.js +2 -2
  86. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/models_0.js +28 -0
  87. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/protocols/Aws_restJson1.js +5 -6
  88. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.browser.js +2 -2
  89. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.js +3 -2
  90. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/ApplyGuardrailCommand.d.ts +35 -0
  91. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/ConverseCommand.d.ts +55 -1
  92. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/ConverseStreamCommand.d.ts +55 -1
  93. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/InvokeModelCommand.d.ts +13 -2
  94. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/InvokeModelWithResponseStreamCommand.d.ts +13 -2
  95. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/models/models_0.d.ts +248 -119
  96. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/runtimeConfig.browser.d.ts +2 -1
  97. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/runtimeConfig.d.ts +2 -1
  98. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/runtimeConfig.native.d.ts +2 -1
  99. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/commands/ApplyGuardrailCommand.d.ts +12 -1
  100. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/commands/ConverseCommand.d.ts +12 -1
  101. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/commands/ConverseStreamCommand.d.ts +12 -1
  102. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/commands/InvokeModelCommand.d.ts +13 -2
  103. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/commands/InvokeModelWithResponseStreamCommand.d.ts +13 -2
  104. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/models/models_0.d.ts +124 -71
  105. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
  106. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
  107. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
  108. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/README.md +1 -1
  109. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +4 -5
  110. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.browser.js +1 -1
  111. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +2 -1
  112. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-es/protocols/Aws_restJson1.js +1 -6
  113. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.browser.js +2 -2
  114. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +3 -2
  115. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +11 -0
  116. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +11 -0
  117. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +11 -0
  118. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +11 -0
  119. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +18 -18
  120. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +2 -1
  121. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +2 -1
  122. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +2 -1
  123. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/GetRoleCredentialsCommand.d.ts +12 -1
  124. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountRolesCommand.d.ts +12 -1
  125. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +12 -1
  126. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/LogoutCommand.d.ts +12 -1
  127. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/models_0.d.ts +18 -18
  128. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
  129. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
  130. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
  131. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/package.json +32 -32
  132. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/README.md +1 -1
  133. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.browser.js +1 -1
  134. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +2 -1
  135. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js +0 -5
  136. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.browser.js +2 -2
  137. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +3 -2
  138. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +11 -0
  139. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenWithIAMCommand.d.ts +11 -0
  140. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +11 -0
  141. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +11 -0
  142. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/models_0.d.ts +74 -74
  143. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +2 -1
  144. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +2 -1
  145. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +2 -1
  146. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +12 -1
  147. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenWithIAMCommand.d.ts +12 -1
  148. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/RegisterClientCommand.d.ts +12 -1
  149. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/StartDeviceAuthorizationCommand.d.ts +12 -1
  150. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/models_0.d.ts +74 -74
  151. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
  152. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
  153. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
  154. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso-oidc/package.json +34 -34
  155. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/account-id-endpoint.d.ts +7 -0
  156. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/client.d.ts +7 -0
  157. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +3 -3
  158. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +36 -5
  159. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +6 -1
  160. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +1 -1
  161. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-es/submodules/client/emitWarningIfUnsupportedVersion.js +5 -3
  162. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +2 -0
  163. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-es/submodules/client/setCredentialFeature.js +7 -0
  164. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js +11 -0
  165. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +6 -1
  166. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-types/submodules/client/emitWarningIfUnsupportedVersion.d.ts +3 -0
  167. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +2 -0
  168. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-types/submodules/client/setCredentialFeature.d.ts +7 -0
  169. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-types/submodules/client/setFeature.d.ts +12 -0
  170. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/emitWarningIfUnsupportedVersion.d.ts +3 -0
  171. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +2 -0
  172. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setCredentialFeature.d.ts +11 -0
  173. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setFeature.d.ts +6 -0
  174. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/httpAuthSchemes.d.ts +7 -0
  175. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/package.json +20 -13
  176. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/core/protocols.d.ts +7 -0
  177. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +4 -1
  178. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js +4 -1
  179. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-env/package.json +7 -5
  180. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +2 -1
  181. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +2 -1
  182. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-http/package.json +12 -10
  183. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +29 -13
  184. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +3 -2
  185. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js +5 -3
  186. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js +2 -1
  187. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +1 -1
  188. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js +10 -2
  189. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js +5 -3
  190. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js +2 -1
  191. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +2 -2
  192. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveSsoCredentials.d.ts +2 -2
  193. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +2 -2
  194. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveSsoCredentials.d.ts +3 -2
  195. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-ini/package.json +15 -13
  196. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-node/package.json +15 -14
  197. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +4 -1
  198. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js +4 -1
  199. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-process/package.json +8 -6
  200. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +8 -1
  201. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +9 -1
  202. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-sso/package.json +10 -8
  203. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +6 -1
  204. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +6 -1
  205. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/credential-provider-web-identity/package.json +10 -8
  206. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-host-header/package.json +8 -6
  207. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-logger/package.json +7 -5
  208. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-recursion-detection/package.json +8 -6
  209. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +112 -4
  210. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js +49 -0
  211. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js +22 -0
  212. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-user-agent/dist-es/encode-features.js +18 -0
  213. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js +11 -1
  214. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-user-agent/dist-types/check-features.d.ts +18 -0
  215. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-user-agent/dist-types/configurations.d.ts +14 -1
  216. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-user-agent/dist-types/encode-features.d.ts +5 -0
  217. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/check-features.d.ts +20 -0
  218. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/configurations.d.ts +5 -1
  219. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/encode-features.d.ts +2 -0
  220. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/user-agent-middleware.d.ts +2 -1
  221. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-user-agent/dist-types/user-agent-middleware.d.ts +2 -1
  222. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-user-agent/package.json +12 -8
  223. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/region-config-resolver/package.json +7 -6
  224. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/token-providers/package.json +8 -7
  225. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/types/dist-es/feature-ids.js +1 -0
  226. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
  227. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +59 -0
  228. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +5 -0
  229. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
  230. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +12 -0
  231. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +54 -0
  232. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +5 -0
  233. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
  234. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +7 -0
  235. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/types/package.json +2 -2
  236. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-endpoints/package.json +8 -6
  237. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +9 -4
  238. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.native.js +9 -4
  239. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js +7 -2
  240. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.native.js +7 -2
  241. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts +9 -1
  242. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts +9 -1
  243. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.d.ts +12 -1
  244. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.native.d.ts +12 -1
  245. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-browser/package.json +5 -4
  246. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +46 -39
  247. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-node/dist-es/defaultUserAgent.js +29 -0
  248. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-node/dist-es/index.js +2 -39
  249. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-node/dist-es/nodeAppIdConfigOptions.js +8 -0
  250. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-node/dist-types/defaultUserAgent.d.ts +23 -0
  251. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-node/dist-types/index.d.ts +2 -20
  252. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-node/dist-types/nodeAppIdConfigOptions.d.ts +13 -0
  253. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/defaultUserAgent.d.ts +21 -0
  254. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/index.d.ts +2 -12
  255. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/nodeAppIdConfigOptions.d.ts +6 -0
  256. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/util-user-agent-node/package.json +7 -5
  257. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/LICENSE +201 -0
  258. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/README.md +11 -0
  259. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-cjs/create-request.js +1 -0
  260. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-cjs/fetch-http-handler.js +1 -0
  261. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +237 -0
  262. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-cjs/request-timeout.js +1 -0
  263. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-cjs/stream-collector.js +1 -0
  264. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-es/create-request.js +3 -0
  265. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +139 -0
  266. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-es/index.js +2 -0
  267. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-es/request-timeout.js +11 -0
  268. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +27 -0
  269. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-types/create-request.d.ts +6 -0
  270. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +39 -0
  271. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-types/index.d.ts +2 -0
  272. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-types/request-timeout.d.ts +1 -0
  273. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts +2 -0
  274. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/create-request.d.ts +6 -0
  275. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +39 -0
  276. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/index.d.ts +2 -0
  277. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/request-timeout.d.ts +1 -0
  278. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/stream-collector.d.ts +2 -0
  279. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/fetch-http-handler/package.json +65 -0
  280. package/node_modules/@aws-sdk/client-bedrock-runtime/package.json +39 -39
  281. package/node_modules/@aws-sdk/client-sts/README.md +9 -1
  282. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +99 -14
  283. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.browser.js +1 -1
  284. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +2 -1
  285. package/node_modules/@aws-sdk/client-sts/dist-es/STS.js +2 -0
  286. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRootCommand.js +23 -0
  287. package/node_modules/@aws-sdk/client-sts/dist-es/commands/index.js +1 -0
  288. package/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js +10 -2
  289. package/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js +4 -0
  290. package/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +53 -0
  291. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.browser.js +2 -2
  292. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +3 -2
  293. package/node_modules/@aws-sdk/client-sts/dist-types/STS.d.ts +7 -0
  294. package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +3 -2
  295. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +24 -13
  296. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +19 -8
  297. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +26 -30
  298. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRootCommand.d.ts +129 -0
  299. package/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +13 -2
  300. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +11 -0
  301. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +11 -0
  302. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +19 -8
  303. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +17 -6
  304. package/node_modules/@aws-sdk/client-sts/dist-types/commands/index.d.ts +1 -0
  305. package/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +202 -88
  306. package/node_modules/@aws-sdk/client-sts/dist-types/protocols/Aws_query.d.ts +9 -0
  307. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +2 -1
  308. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +2 -1
  309. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +2 -1
  310. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STS.d.ts +17 -0
  311. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +6 -0
  312. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +12 -1
  313. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +12 -1
  314. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +12 -1
  315. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRootCommand.d.ts +47 -0
  316. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +12 -1
  317. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +12 -1
  318. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +12 -1
  319. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +12 -1
  320. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +12 -1
  321. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/index.d.ts +1 -0
  322. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/models_0.d.ts +68 -56
  323. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/protocols/Aws_query.d.ts +12 -0
  324. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
  325. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
  326. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
  327. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/README.md +1 -1
  328. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +4 -5
  329. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.browser.js +1 -1
  330. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +2 -1
  331. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-es/protocols/Aws_restJson1.js +1 -6
  332. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.browser.js +2 -2
  333. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +3 -2
  334. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +11 -0
  335. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +11 -0
  336. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +11 -0
  337. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +11 -0
  338. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +18 -18
  339. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +2 -1
  340. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +2 -1
  341. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +2 -1
  342. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/GetRoleCredentialsCommand.d.ts +12 -1
  343. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountRolesCommand.d.ts +12 -1
  344. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +12 -1
  345. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/LogoutCommand.d.ts +12 -1
  346. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/models_0.d.ts +18 -18
  347. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
  348. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
  349. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
  350. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso/package.json +32 -32
  351. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/README.md +1 -1
  352. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.browser.js +1 -1
  353. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +2 -1
  354. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js +0 -5
  355. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.browser.js +2 -2
  356. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +3 -2
  357. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +11 -0
  358. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenWithIAMCommand.d.ts +11 -0
  359. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +11 -0
  360. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +11 -0
  361. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/models_0.d.ts +74 -74
  362. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +2 -1
  363. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +2 -1
  364. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +2 -1
  365. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +12 -1
  366. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenWithIAMCommand.d.ts +12 -1
  367. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/RegisterClientCommand.d.ts +12 -1
  368. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/StartDeviceAuthorizationCommand.d.ts +12 -1
  369. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/models_0.d.ts +74 -74
  370. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
  371. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
  372. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
  373. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/client-sso-oidc/package.json +34 -34
  374. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/account-id-endpoint.d.ts +7 -0
  375. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/client.d.ts +7 -0
  376. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +3 -3
  377. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +36 -5
  378. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +6 -1
  379. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +1 -1
  380. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-es/submodules/client/emitWarningIfUnsupportedVersion.js +5 -3
  381. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +2 -0
  382. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-es/submodules/client/setCredentialFeature.js +7 -0
  383. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js +11 -0
  384. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +6 -1
  385. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-types/submodules/client/emitWarningIfUnsupportedVersion.d.ts +3 -0
  386. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +2 -0
  387. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-types/submodules/client/setCredentialFeature.d.ts +7 -0
  388. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-types/submodules/client/setFeature.d.ts +12 -0
  389. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/emitWarningIfUnsupportedVersion.d.ts +3 -0
  390. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +2 -0
  391. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setCredentialFeature.d.ts +11 -0
  392. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setFeature.d.ts +6 -0
  393. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/httpAuthSchemes.d.ts +7 -0
  394. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/package.json +20 -13
  395. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/core/protocols.d.ts +7 -0
  396. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +4 -1
  397. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js +4 -1
  398. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-env/package.json +7 -5
  399. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +2 -1
  400. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +2 -1
  401. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-http/package.json +12 -10
  402. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +29 -13
  403. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +3 -2
  404. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js +5 -3
  405. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js +2 -1
  406. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +1 -1
  407. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js +10 -2
  408. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js +5 -3
  409. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js +2 -1
  410. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +2 -2
  411. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveSsoCredentials.d.ts +2 -2
  412. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +2 -2
  413. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveSsoCredentials.d.ts +3 -2
  414. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-ini/package.json +15 -13
  415. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-node/package.json +15 -14
  416. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +4 -1
  417. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js +4 -1
  418. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-process/package.json +8 -6
  419. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +8 -1
  420. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +9 -1
  421. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-sso/package.json +10 -8
  422. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +6 -1
  423. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +6 -1
  424. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/credential-provider-web-identity/package.json +10 -8
  425. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-host-header/package.json +8 -6
  426. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-logger/package.json +7 -5
  427. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-recursion-detection/package.json +8 -6
  428. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +112 -4
  429. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js +49 -0
  430. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js +22 -0
  431. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-user-agent/dist-es/encode-features.js +18 -0
  432. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js +11 -1
  433. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-user-agent/dist-types/check-features.d.ts +18 -0
  434. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-user-agent/dist-types/configurations.d.ts +14 -1
  435. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-user-agent/dist-types/encode-features.d.ts +5 -0
  436. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/check-features.d.ts +20 -0
  437. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/configurations.d.ts +5 -1
  438. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/encode-features.d.ts +2 -0
  439. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/user-agent-middleware.d.ts +2 -1
  440. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-user-agent/dist-types/user-agent-middleware.d.ts +2 -1
  441. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-user-agent/package.json +12 -8
  442. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/region-config-resolver/package.json +7 -6
  443. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/token-providers/package.json +8 -7
  444. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/types/dist-es/feature-ids.js +1 -0
  445. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
  446. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +59 -0
  447. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +5 -0
  448. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
  449. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +12 -0
  450. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +54 -0
  451. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +5 -0
  452. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
  453. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +7 -0
  454. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/types/package.json +2 -2
  455. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-endpoints/package.json +8 -6
  456. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +9 -4
  457. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.native.js +9 -4
  458. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js +7 -2
  459. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.native.js +7 -2
  460. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts +9 -1
  461. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts +9 -1
  462. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.d.ts +12 -1
  463. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.native.d.ts +12 -1
  464. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-browser/package.json +5 -4
  465. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +46 -39
  466. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-node/dist-es/defaultUserAgent.js +29 -0
  467. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-node/dist-es/index.js +2 -39
  468. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-node/dist-es/nodeAppIdConfigOptions.js +8 -0
  469. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-node/dist-types/defaultUserAgent.d.ts +23 -0
  470. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-node/dist-types/index.d.ts +2 -20
  471. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-node/dist-types/nodeAppIdConfigOptions.d.ts +13 -0
  472. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/defaultUserAgent.d.ts +21 -0
  473. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/index.d.ts +2 -12
  474. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/nodeAppIdConfigOptions.d.ts +6 -0
  475. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/util-user-agent-node/package.json +7 -5
  476. package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/LICENSE +201 -0
  477. package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/README.md +11 -0
  478. package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-cjs/create-request.js +1 -0
  479. package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-cjs/fetch-http-handler.js +1 -0
  480. package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +237 -0
  481. package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-cjs/request-timeout.js +1 -0
  482. package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-cjs/stream-collector.js +1 -0
  483. package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-es/create-request.js +3 -0
  484. package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +139 -0
  485. package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-es/index.js +2 -0
  486. package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-es/request-timeout.js +11 -0
  487. package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +27 -0
  488. package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-types/create-request.d.ts +6 -0
  489. package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +39 -0
  490. package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-types/index.d.ts +2 -0
  491. package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-types/request-timeout.d.ts +1 -0
  492. package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts +2 -0
  493. package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/create-request.d.ts +6 -0
  494. package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +39 -0
  495. package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/index.d.ts +2 -0
  496. package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/request-timeout.d.ts +1 -0
  497. package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/stream-collector.d.ts +2 -0
  498. package/node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler/package.json +65 -0
  499. package/node_modules/@aws-sdk/client-sts/package.json +36 -36
  500. package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +1 -0
  501. package/node_modules/@aws-sdk/util-locate-window/package.json +3 -2
  502. package/node_modules/@smithy/abort-controller/package.json +4 -3
  503. package/node_modules/@smithy/config-resolver/package.json +7 -6
  504. package/node_modules/@smithy/core/cbor.d.ts +7 -0
  505. package/node_modules/@smithy/core/dist-cjs/index.js +79 -158
  506. package/node_modules/@smithy/core/dist-cjs/setFeature.js +1 -0
  507. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +2 -2
  508. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +164 -0
  509. package/node_modules/@smithy/core/dist-es/index.js +4 -3
  510. package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +1 -2
  511. package/node_modules/@smithy/core/dist-es/middleware-http-signing/getHttpSigningMiddleware.js +1 -2
  512. package/node_modules/@smithy/core/dist-es/protocols/requestBuilder.js +1 -67
  513. package/node_modules/@smithy/core/dist-es/setFeature.js +11 -0
  514. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +1 -1
  515. package/node_modules/@smithy/core/dist-es/submodules/protocols/collect-stream-body.js +11 -0
  516. package/node_modules/@smithy/core/dist-es/submodules/protocols/extended-encode-uri-component.js +5 -0
  517. package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +4 -0
  518. package/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js +67 -0
  519. package/node_modules/@smithy/core/dist-es/submodules/protocols/resolve-path.js +19 -0
  520. package/node_modules/@smithy/core/dist-types/index.d.ts +4 -3
  521. package/node_modules/@smithy/core/dist-types/protocols/requestBuilder.d.ts +2 -48
  522. package/node_modules/@smithy/core/dist-types/setFeature.d.ts +12 -0
  523. package/node_modules/@smithy/core/dist-types/submodules/protocols/collect-stream-body.d.ts +10 -0
  524. package/node_modules/@smithy/core/dist-types/submodules/protocols/extended-encode-uri-component.d.ts +7 -0
  525. package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +4 -0
  526. package/node_modules/@smithy/core/dist-types/submodules/protocols/requestBuilder.d.ts +51 -0
  527. package/node_modules/@smithy/core/dist-types/submodules/protocols/resolve-path.d.ts +4 -0
  528. package/node_modules/@smithy/core/dist-types/ts3.4/index.d.ts +4 -3
  529. package/node_modules/@smithy/core/dist-types/ts3.4/protocols/requestBuilder.d.ts +2 -48
  530. package/node_modules/@smithy/core/dist-types/ts3.4/setFeature.d.ts +12 -0
  531. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/collect-stream-body.d.ts +10 -0
  532. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/extended-encode-uri-component.d.ts +7 -0
  533. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +4 -0
  534. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/requestBuilder.d.ts +51 -0
  535. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/resolve-path.d.ts +4 -0
  536. package/node_modules/@smithy/core/package.json +22 -13
  537. package/node_modules/@smithy/core/protocols.d.ts +7 -0
  538. package/node_modules/@smithy/core/protocols.js +6 -0
  539. package/node_modules/@smithy/credential-provider-imds/package.json +7 -7
  540. package/node_modules/@smithy/eventstream-codec/package.json +4 -3
  541. package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -3
  542. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +5 -4
  543. package/node_modules/@smithy/eventstream-serde-node/package.json +3 -3
  544. package/node_modules/@smithy/eventstream-serde-universal/package.json +5 -4
  545. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +5 -2
  546. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +3 -1
  547. package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
  548. package/node_modules/@smithy/hash-node/package.json +4 -3
  549. package/node_modules/@smithy/invalid-dependency/package.json +4 -3
  550. package/node_modules/@smithy/middleware-content-length/package.json +5 -4
  551. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +4 -0
  552. package/node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js +4 -0
  553. package/node_modules/@smithy/middleware-endpoint/package.json +11 -9
  554. package/node_modules/@smithy/middleware-retry/package.json +12 -10
  555. package/node_modules/@smithy/middleware-serde/package.json +6 -4
  556. package/node_modules/@smithy/middleware-stack/package.json +4 -3
  557. package/node_modules/@smithy/node-config-provider/package.json +6 -5
  558. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +27 -15
  559. package/node_modules/@smithy/node-http-handler/dist-cjs/timing.js +1 -0
  560. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +13 -5
  561. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +1 -1
  562. package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +9 -2
  563. package/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +5 -4
  564. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +2 -1
  565. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +2 -1
  566. package/node_modules/@smithy/node-http-handler/dist-es/timing.js +4 -0
  567. package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +4 -3
  568. package/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +8 -0
  569. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +8 -0
  570. package/node_modules/@smithy/node-http-handler/package.json +7 -6
  571. package/node_modules/@smithy/property-provider/package.json +4 -3
  572. package/node_modules/@smithy/protocol-http/package.json +4 -3
  573. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  574. package/node_modules/@smithy/querystring-parser/package.json +4 -3
  575. package/node_modules/@smithy/service-error-classification/package.json +4 -3
  576. package/node_modules/@smithy/shared-ini-file-loader/package.json +4 -3
  577. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +10 -11
  578. package/node_modules/@smithy/signature-v4/dist-es/SignatureV4.js +2 -2
  579. package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +7 -5
  580. package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +2 -1
  581. package/node_modules/@smithy/signature-v4/dist-types/moveHeadersToQuery.d.ts +1 -0
  582. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/moveHeadersToQuery.d.ts +1 -0
  583. package/node_modules/@smithy/signature-v4/package.json +6 -5
  584. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +88 -58
  585. package/node_modules/@smithy/smithy-client/dist-cjs/is-serializable-header-value.js +1 -0
  586. package/node_modules/@smithy/smithy-client/dist-cjs/quote-header.js +1 -0
  587. package/node_modules/@smithy/smithy-client/dist-cjs/split-header.js +1 -0
  588. package/node_modules/@smithy/smithy-client/dist-es/collect-stream-body.js +1 -11
  589. package/node_modules/@smithy/smithy-client/dist-es/extended-encode-uri-component.js +1 -5
  590. package/node_modules/@smithy/smithy-client/dist-es/index.js +5 -2
  591. package/node_modules/@smithy/smithy-client/dist-es/is-serializable-header-value.js +3 -0
  592. package/node_modules/@smithy/smithy-client/dist-es/quote-header.js +6 -0
  593. package/node_modules/@smithy/smithy-client/dist-es/resolve-path.js +1 -19
  594. package/node_modules/@smithy/smithy-client/dist-es/split-header.js +37 -0
  595. package/node_modules/@smithy/smithy-client/dist-types/collect-stream-body.d.ts +2 -7
  596. package/node_modules/@smithy/smithy-client/dist-types/extended-encode-uri-component.d.ts +2 -4
  597. package/node_modules/@smithy/smithy-client/dist-types/index.d.ts +6 -3
  598. package/node_modules/@smithy/smithy-client/dist-types/is-serializable-header-value.d.ts +5 -0
  599. package/node_modules/@smithy/smithy-client/dist-types/quote-header.d.ts +6 -0
  600. package/node_modules/@smithy/smithy-client/dist-types/resolve-path.d.ts +2 -1
  601. package/node_modules/@smithy/smithy-client/dist-types/split-header.d.ts +5 -0
  602. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/collect-stream-body.d.ts +2 -7
  603. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extended-encode-uri-component.d.ts +2 -4
  604. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/index.d.ts +6 -3
  605. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/is-serializable-header-value.d.ts +5 -0
  606. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/quote-header.d.ts +6 -0
  607. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/resolve-path.d.ts +2 -1
  608. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/split-header.d.ts +5 -0
  609. package/node_modules/@smithy/smithy-client/package.json +9 -7
  610. package/node_modules/@smithy/types/dist-cjs/feature-ids.js +1 -0
  611. package/node_modules/@smithy/types/dist-es/feature-ids.js +1 -0
  612. package/node_modules/@smithy/types/dist-es/index.js +1 -0
  613. package/node_modules/@smithy/types/dist-types/feature-ids.d.ts +16 -0
  614. package/node_modules/@smithy/types/dist-types/http.d.ts +1 -0
  615. package/node_modules/@smithy/types/dist-types/index.d.ts +1 -0
  616. package/node_modules/@smithy/types/dist-types/middleware.d.ts +30 -6
  617. package/node_modules/@smithy/types/dist-types/signature.d.ts +5 -0
  618. package/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts +3 -2
  619. package/node_modules/@smithy/types/dist-types/ts3.4/feature-ids.d.ts +16 -0
  620. package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +1 -0
  621. package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +1 -0
  622. package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +26 -2
  623. package/node_modules/@smithy/types/dist-types/ts3.4/signature.d.ts +5 -0
  624. package/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +3 -2
  625. package/node_modules/@smithy/types/package.json +1 -1
  626. package/node_modules/@smithy/url-parser/package.json +5 -4
  627. package/node_modules/@smithy/util-defaults-mode-browser/package.json +6 -5
  628. package/node_modules/@smithy/util-defaults-mode-node/package.json +9 -8
  629. package/node_modules/@smithy/util-endpoints/package.json +7 -5
  630. package/node_modules/@smithy/util-middleware/package.json +4 -3
  631. package/node_modules/@smithy/util-retry/dist-cjs/index.js +5 -1
  632. package/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js +2 -1
  633. package/node_modules/@smithy/util-retry/dist-types/DefaultRateLimiter.d.ts +4 -0
  634. package/node_modules/@smithy/util-retry/dist-types/ts3.4/DefaultRateLimiter.d.ts +4 -0
  635. package/node_modules/@smithy/util-retry/package.json +5 -4
  636. package/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js +7 -0
  637. package/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js +49 -0
  638. package/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js +40 -0
  639. package/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js +13 -0
  640. package/node_modules/@smithy/util-stream/dist-cjs/index.js +6 -1
  641. package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +1 -2
  642. package/node_modules/@smithy/util-stream/dist-cjs/splitStream.js +1 -1
  643. package/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js +6 -1
  644. package/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.browser.js +3 -0
  645. package/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.js +44 -0
  646. package/node_modules/@smithy/util-stream/dist-es/checksum/createChecksumStream.browser.js +35 -0
  647. package/node_modules/@smithy/util-stream/dist-es/checksum/createChecksumStream.js +9 -0
  648. package/node_modules/@smithy/util-stream/dist-es/index.js +2 -0
  649. package/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js +0 -1
  650. package/node_modules/@smithy/util-stream/dist-es/splitStream.js +2 -2
  651. package/node_modules/@smithy/util-stream/dist-es/stream-type-check.js +3 -0
  652. package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.browser.d.ts +37 -0
  653. package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +61 -0
  654. package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.browser.d.ts +15 -0
  655. package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.d.ts +12 -0
  656. package/node_modules/@smithy/util-stream/dist-types/index.d.ts +2 -0
  657. package/node_modules/@smithy/util-stream/dist-types/stream-type-check.d.ts +4 -0
  658. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.browser.d.ts +37 -0
  659. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +60 -0
  660. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.browser.d.ts +15 -0
  661. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.d.ts +12 -0
  662. package/node_modules/@smithy/util-stream/dist-types/ts3.4/index.d.ts +2 -0
  663. package/node_modules/@smithy/util-stream/dist-types/ts3.4/stream-type-check.d.ts +4 -0
  664. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/LICENSE +201 -0
  665. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/README.md +11 -0
  666. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-cjs/create-request.js +1 -0
  667. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-cjs/fetch-http-handler.js +1 -0
  668. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +237 -0
  669. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-cjs/request-timeout.js +1 -0
  670. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-cjs/stream-collector.js +1 -0
  671. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-es/create-request.js +3 -0
  672. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +139 -0
  673. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-es/index.js +2 -0
  674. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-es/request-timeout.js +11 -0
  675. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +27 -0
  676. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/create-request.d.ts +6 -0
  677. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +39 -0
  678. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/index.d.ts +2 -0
  679. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/request-timeout.d.ts +1 -0
  680. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts +2 -0
  681. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/create-request.d.ts +6 -0
  682. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +39 -0
  683. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/index.d.ts +2 -0
  684. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/request-timeout.d.ts +1 -0
  685. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/stream-collector.d.ts +2 -0
  686. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/package.json +65 -0
  687. package/node_modules/@smithy/util-stream/package.json +16 -6
  688. package/node_modules/tslib/modules/index.d.ts +1 -0
  689. package/node_modules/tslib/modules/index.js +2 -0
  690. package/node_modules/tslib/package.json +1 -1
  691. package/node_modules/tslib/tslib.d.ts +7 -0
  692. package/node_modules/tslib/tslib.es6.js +24 -1
  693. package/node_modules/tslib/tslib.es6.mjs +24 -1
  694. package/node_modules/tslib/tslib.js +56 -1
  695. package/package.json +5 -5
  696. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/README.md +0 -4
  697. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/auth/index.d.ts +0 -118
  698. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/auth/index.js +0 -10
  699. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/auth/v1.d.ts +0 -117
  700. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/auth/v1.js +0 -31
  701. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/custom/index.d.ts +0 -23
  702. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/custom/index.js +0 -10
  703. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/custom/v1.d.ts +0 -22
  704. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/custom/v1.js +0 -11
  705. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/function/index.d.ts +0 -23
  706. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/function/index.js +0 -10
  707. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/function/v1.d.ts +0 -22
  708. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/function/v1.js +0 -11
  709. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/graphql/index.d.ts +0 -59
  710. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/graphql/index.js +0 -12
  711. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/graphql/v1.d.ts +0 -59
  712. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/graphql/v1.js +0 -25
  713. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/index.d.ts +0 -515
  714. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/index.js +0 -112
  715. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/platform/index.d.ts +0 -2
  716. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/platform/index.js +0 -18
  717. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/platform/stack_metadata_schemas.d.ts +0 -42
  718. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/platform/stack_metadata_schemas.js +0 -22
  719. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/stack/index.d.ts +0 -28
  720. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/stack/index.js +0 -10
  721. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/stack/v1.d.ts +0 -27
  722. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/stack/v1.js +0 -12
  723. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/storage/index.d.ts +0 -33
  724. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/storage/index.js +0 -10
  725. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/storage/v1.d.ts +0 -32
  726. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/storage/v1.js +0 -33
  727. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/package.json +0 -27
  728. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/README.md +0 -9
  729. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/amplify_function.d.ts +0 -4
  730. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/amplify_function.js +0 -3
  731. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/auth_resources.d.ts +0 -66
  732. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/auth_resources.js +0 -3
  733. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/aws_client_provider.d.ts +0 -5
  734. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/aws_client_provider.js +0 -3
  735. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_identifier.d.ts +0 -56
  736. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_identifier.js +0 -3
  737. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_output.d.ts +0 -6
  738. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_output.js +0 -3
  739. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_secret_resolver.d.ts +0 -22
  740. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_secret_resolver.js +0 -3
  741. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_stack_creator.d.ts +0 -8
  742. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_stack_creator.js +0 -3
  743. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_stack_resolver.d.ts +0 -7
  744. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_stack_resolver.js +0 -3
  745. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/construct_container.d.ts +0 -35
  746. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/construct_container.js +0 -3
  747. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/construct_factory.d.ts +0 -24
  748. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/construct_factory.js +0 -3
  749. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/deep_partial.d.ts +0 -17
  750. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/deep_partial.js +0 -3
  751. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/deployment_type.d.ts +0 -8
  752. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/deployment_type.js +0 -3
  753. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/function_resources.d.ts +0 -8
  754. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/function_resources.js +0 -3
  755. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/import_path_verifier.d.ts +0 -14
  756. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/import_path_verifier.js +0 -3
  757. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/index.d.ts +0 -24
  758. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/index.js +0 -40
  759. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/output_retrieval_strategy.d.ts +0 -11
  760. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/output_retrieval_strategy.js +0 -3
  761. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/output_storage_strategy.d.ts +0 -10
  762. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/output_storage_strategy.js +0 -3
  763. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/package_manager_controller.d.ts +0 -16
  764. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/package_manager_controller.js +0 -3
  765. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_access_acceptor.d.ts +0 -27
  766. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_access_acceptor.js +0 -3
  767. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_name_validator.d.ts +0 -10
  768. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_name_validator.js +0 -3
  769. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_provider.d.ts +0 -10
  770. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_provider.js +0 -3
  771. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/ssm_environment_entries_generator.d.ts +0 -5
  772. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/ssm_environment_entries_generator.js +0 -3
  773. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/stable_backend_identifiers.d.ts +0 -4
  774. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/stable_backend_identifiers.js +0 -3
  775. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/package.json +0 -24
  776. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/middleware-user-agent/dist-types/tsdoc-metadata.json +0 -11
  777. package/node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/region-config-resolver/dist-types/tsdoc-metadata.json +0 -11
  778. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/middleware-user-agent/dist-types/tsdoc-metadata.json +0 -11
  779. package/node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/region-config-resolver/dist-types/tsdoc-metadata.json +0 -11
  780. /package/node_modules/@aws-amplify/{ai-constructs/node_modules/@aws-amplify/backend-output-schemas → backend-output-schemas}/lib/ai/conversation/index.d.ts +0 -0
  781. /package/node_modules/@aws-amplify/{ai-constructs/node_modules/@aws-amplify/backend-output-schemas → backend-output-schemas}/lib/ai/conversation/index.js +0 -0
  782. /package/node_modules/@aws-amplify/{ai-constructs/node_modules/@aws-amplify/backend-output-schemas → backend-output-schemas}/lib/ai/conversation/v1.d.ts +0 -0
  783. /package/node_modules/@aws-amplify/{ai-constructs/node_modules/@aws-amplify/backend-output-schemas → backend-output-schemas}/lib/ai/conversation/v1.js +0 -0
  784. /package/node_modules/@aws-amplify/{ai-constructs/node_modules/@aws-amplify/plugin-types → plugin-types}/lib/stack_provider.d.ts +0 -0
  785. /package/node_modules/@aws-amplify/{ai-constructs/node_modules/@aws-amplify/plugin-types → plugin-types}/lib/stack_provider.js +0 -0
@@ -0,0 +1,3 @@
1
+ const ReadableStreamRef = typeof ReadableStream === "function" ? ReadableStream : function () { };
2
+ export class ChecksumStream extends ReadableStreamRef {
3
+ }
@@ -0,0 +1,44 @@
1
+ import { toBase64 } from "@smithy/util-base64";
2
+ import { Duplex } from "stream";
3
+ export class ChecksumStream extends Duplex {
4
+ constructor({ expectedChecksum, checksum, source, checksumSourceLocation, base64Encoder, }) {
5
+ super();
6
+ if (typeof source.pipe === "function") {
7
+ this.source = source;
8
+ }
9
+ else {
10
+ throw new Error(`@smithy/util-stream: unsupported source type ${source?.constructor?.name ?? source} in ChecksumStream.`);
11
+ }
12
+ this.base64Encoder = base64Encoder ?? toBase64;
13
+ this.expectedChecksum = expectedChecksum;
14
+ this.checksum = checksum;
15
+ this.checksumSourceLocation = checksumSourceLocation;
16
+ this.source.pipe(this);
17
+ }
18
+ _read(size) { }
19
+ _write(chunk, encoding, callback) {
20
+ try {
21
+ this.checksum.update(chunk);
22
+ this.push(chunk);
23
+ }
24
+ catch (e) {
25
+ return callback(e);
26
+ }
27
+ return callback();
28
+ }
29
+ async _final(callback) {
30
+ try {
31
+ const digest = await this.checksum.digest();
32
+ const received = this.base64Encoder(digest);
33
+ if (this.expectedChecksum !== received) {
34
+ return callback(new Error(`Checksum mismatch: expected "${this.expectedChecksum}" but received "${received}"` +
35
+ ` in response header "${this.checksumSourceLocation}".`));
36
+ }
37
+ }
38
+ catch (e) {
39
+ return callback(e);
40
+ }
41
+ this.push(null);
42
+ return callback();
43
+ }
44
+ }
@@ -0,0 +1,35 @@
1
+ import { toBase64 } from "@smithy/util-base64";
2
+ import { isReadableStream } from "../stream-type-check";
3
+ import { ChecksumStream } from "./ChecksumStream.browser";
4
+ export const createChecksumStream = ({ expectedChecksum, checksum, source, checksumSourceLocation, base64Encoder, }) => {
5
+ if (!isReadableStream(source)) {
6
+ throw new Error(`@smithy/util-stream: unsupported source type ${source?.constructor?.name ?? source} in ChecksumStream.`);
7
+ }
8
+ const encoder = base64Encoder ?? toBase64;
9
+ if (typeof TransformStream !== "function") {
10
+ throw new Error("@smithy/util-stream: unable to instantiate ChecksumStream because API unavailable: ReadableStream/TransformStream.");
11
+ }
12
+ const transform = new TransformStream({
13
+ start() { },
14
+ async transform(chunk, controller) {
15
+ checksum.update(chunk);
16
+ controller.enqueue(chunk);
17
+ },
18
+ async flush(controller) {
19
+ const digest = await checksum.digest();
20
+ const received = encoder(digest);
21
+ if (expectedChecksum !== received) {
22
+ const error = new Error(`Checksum mismatch: expected "${expectedChecksum}" but received "${received}"` +
23
+ ` in response header "${checksumSourceLocation}".`);
24
+ controller.error(error);
25
+ }
26
+ else {
27
+ controller.terminate();
28
+ }
29
+ },
30
+ });
31
+ source.pipeThrough(transform);
32
+ const readable = transform.readable;
33
+ Object.setPrototypeOf(readable, ChecksumStream.prototype);
34
+ return readable;
35
+ };
@@ -0,0 +1,9 @@
1
+ import { isReadableStream } from "../stream-type-check";
2
+ import { ChecksumStream } from "./ChecksumStream";
3
+ import { createChecksumStream as createChecksumStreamWeb } from "./createChecksumStream.browser";
4
+ export function createChecksumStream(init) {
5
+ if (typeof ReadableStream === "function" && isReadableStream(init.source)) {
6
+ return createChecksumStreamWeb(init);
7
+ }
8
+ return new ChecksumStream(init);
9
+ }
@@ -4,3 +4,5 @@ export * from "./sdk-stream-mixin";
4
4
  export * from "./splitStream";
5
5
  export * from "./headStream";
6
6
  export * from "./stream-type-check";
7
+ export * from "./checksum/createChecksumStream";
8
+ export * from "./checksum/ChecksumStream";
@@ -1,7 +1,6 @@
1
1
  import { streamCollector } from "@smithy/node-http-handler";
2
2
  import { fromArrayBuffer } from "@smithy/util-buffer-from";
3
3
  import { Readable } from "stream";
4
- import { TextDecoder } from "util";
5
4
  import { sdkStreamMixin as sdkStreamMixinReadableStream } from "./sdk-stream-mixin.browser";
6
5
  const ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED = "The stream has already been transformed.";
7
6
  export const sdkStreamMixin = (stream) => {
@@ -1,8 +1,8 @@
1
1
  import { PassThrough } from "stream";
2
2
  import { splitStream as splitWebStream } from "./splitStream.browser";
3
- import { isReadableStream } from "./stream-type-check";
3
+ import { isBlob, isReadableStream } from "./stream-type-check";
4
4
  export async function splitStream(stream) {
5
- if (isReadableStream(stream)) {
5
+ if (isReadableStream(stream) || isBlob(stream)) {
6
6
  return splitWebStream(stream);
7
7
  }
8
8
  const stream1 = new PassThrough();
@@ -1,2 +1,5 @@
1
1
  export const isReadableStream = (stream) => typeof ReadableStream === "function" &&
2
2
  (stream?.constructor?.name === ReadableStream.name || stream instanceof ReadableStream);
3
+ export const isBlob = (blob) => {
4
+ return typeof Blob === "function" && (blob?.constructor?.name === Blob.name || blob instanceof Blob);
5
+ };
@@ -0,0 +1,37 @@
1
+ import { Checksum, Encoder } from "@smithy/types";
2
+ /**
3
+ * @internal
4
+ */
5
+ export interface ChecksumStreamInit {
6
+ /**
7
+ * Base64 value of the expected checksum.
8
+ */
9
+ expectedChecksum: string;
10
+ /**
11
+ * For error messaging, the location from which the checksum value was read.
12
+ */
13
+ checksumSourceLocation: string;
14
+ /**
15
+ * The checksum calculator.
16
+ */
17
+ checksum: Checksum;
18
+ /**
19
+ * The stream to be checked.
20
+ */
21
+ source: ReadableStream;
22
+ /**
23
+ * Optional base 64 encoder if calling from a request context.
24
+ */
25
+ base64Encoder?: Encoder;
26
+ }
27
+ declare const ChecksumStream_base: any;
28
+ /**
29
+ * This stub exists so that the readable returned by createChecksumStream
30
+ * identifies as "ChecksumStream" in alignment with the Node.js
31
+ * implementation.
32
+ *
33
+ * @extends ReadableStream
34
+ */
35
+ export declare class ChecksumStream extends ChecksumStream_base {
36
+ }
37
+ export {};
@@ -0,0 +1,61 @@
1
+ /// <reference types="node" />
2
+ /// <reference types="node" />
3
+ import { Checksum, Encoder } from "@smithy/types";
4
+ import { Duplex, Readable } from "stream";
5
+ /**
6
+ * @internal
7
+ */
8
+ export interface ChecksumStreamInit<T extends Readable | ReadableStream> {
9
+ /**
10
+ * Base64 value of the expected checksum.
11
+ */
12
+ expectedChecksum: string;
13
+ /**
14
+ * For error messaging, the location from which the checksum value was read.
15
+ */
16
+ checksumSourceLocation: string;
17
+ /**
18
+ * The checksum calculator.
19
+ */
20
+ checksum: Checksum;
21
+ /**
22
+ * The stream to be checked.
23
+ */
24
+ source: T;
25
+ /**
26
+ * Optional base 64 encoder if calling from a request context.
27
+ */
28
+ base64Encoder?: Encoder;
29
+ }
30
+ /**
31
+ * @internal
32
+ *
33
+ * Wrapper for throwing checksum errors for streams without
34
+ * buffering the stream.
35
+ *
36
+ */
37
+ export declare class ChecksumStream extends Duplex {
38
+ private expectedChecksum;
39
+ private checksumSourceLocation;
40
+ private checksum;
41
+ private source?;
42
+ private base64Encoder;
43
+ constructor({ expectedChecksum, checksum, source, checksumSourceLocation, base64Encoder, }: ChecksumStreamInit<Readable>);
44
+ /**
45
+ * @internal do not call this directly.
46
+ */
47
+ _read(size: number): void;
48
+ /**
49
+ * @internal do not call this directly.
50
+ *
51
+ * When the upstream source flows data to this stream,
52
+ * calculate a step update of the checksum.
53
+ */
54
+ _write(chunk: Buffer, encoding: string, callback: (err?: Error) => void): void;
55
+ /**
56
+ * @internal do not call this directly.
57
+ *
58
+ * When the upstream source finishes, perform the checksum comparison.
59
+ */
60
+ _final(callback: (err?: Error) => void): Promise<void>;
61
+ }
@@ -0,0 +1,15 @@
1
+ import { ChecksumStreamInit } from "./ChecksumStream.browser";
2
+ /**
3
+ * @internal
4
+ * Alias prevents compiler from turning
5
+ * ReadableStream into ReadableStream<any>, which is incompatible
6
+ * with the NodeJS.ReadableStream global type.
7
+ */
8
+ export type ReadableStreamType = ReadableStream;
9
+ /**
10
+ * @internal
11
+ *
12
+ * Creates a stream adapter for throwing checksum errors for streams without
13
+ * buffering the stream.
14
+ */
15
+ export declare const createChecksumStream: ({ expectedChecksum, checksum, source, checksumSourceLocation, base64Encoder, }: ChecksumStreamInit) => ReadableStreamType;
@@ -0,0 +1,12 @@
1
+ /// <reference types="node" />
2
+ import { Readable } from "stream";
3
+ import { ChecksumStreamInit } from "./ChecksumStream";
4
+ import { ReadableStreamType } from "./createChecksumStream.browser";
5
+ /**
6
+ * @internal
7
+ *
8
+ * Creates a stream mirroring the input stream's interface, but
9
+ * performs checksumming when reading to the end of the stream.
10
+ */
11
+ export declare function createChecksumStream(init: ChecksumStreamInit<ReadableStreamType>): ReadableStreamType;
12
+ export declare function createChecksumStream(init: ChecksumStreamInit<Readable>): Readable;
@@ -4,3 +4,5 @@ export * from "./sdk-stream-mixin";
4
4
  export * from "./splitStream";
5
5
  export * from "./headStream";
6
6
  export * from "./stream-type-check";
7
+ export * from "./checksum/createChecksumStream";
8
+ export * from "./checksum/ChecksumStream";
@@ -9,4 +9,8 @@ type ReadableStreamType = ReadableStream;
9
9
  * @internal
10
10
  */
11
11
  export declare const isReadableStream: (stream: unknown) => stream is ReadableStreamType;
12
+ /**
13
+ * @internal
14
+ */
15
+ export declare const isBlob: (blob: unknown) => blob is Blob;
12
16
  export {};
@@ -0,0 +1,37 @@
1
+ import { Checksum, Encoder } from "@smithy/types";
2
+ /**
3
+ * @internal
4
+ */
5
+ export interface ChecksumStreamInit {
6
+ /**
7
+ * Base64 value of the expected checksum.
8
+ */
9
+ expectedChecksum: string;
10
+ /**
11
+ * For error messaging, the location from which the checksum value was read.
12
+ */
13
+ checksumSourceLocation: string;
14
+ /**
15
+ * The checksum calculator.
16
+ */
17
+ checksum: Checksum;
18
+ /**
19
+ * The stream to be checked.
20
+ */
21
+ source: ReadableStream;
22
+ /**
23
+ * Optional base 64 encoder if calling from a request context.
24
+ */
25
+ base64Encoder?: Encoder;
26
+ }
27
+ declare const ChecksumStream_base: any;
28
+ /**
29
+ * This stub exists so that the readable returned by createChecksumStream
30
+ * identifies as "ChecksumStream" in alignment with the Node.js
31
+ * implementation.
32
+ *
33
+ * @extends ReadableStream
34
+ */
35
+ export declare class ChecksumStream extends ChecksumStream_base {
36
+ }
37
+ export {};
@@ -0,0 +1,60 @@
1
+ /// <reference types="node" />
2
+ import { Checksum, Encoder } from "@smithy/types";
3
+ import { Duplex, Readable } from "stream";
4
+ /**
5
+ * @internal
6
+ */
7
+ export interface ChecksumStreamInit<T extends Readable | ReadableStream> {
8
+ /**
9
+ * Base64 value of the expected checksum.
10
+ */
11
+ expectedChecksum: string;
12
+ /**
13
+ * For error messaging, the location from which the checksum value was read.
14
+ */
15
+ checksumSourceLocation: string;
16
+ /**
17
+ * The checksum calculator.
18
+ */
19
+ checksum: Checksum;
20
+ /**
21
+ * The stream to be checked.
22
+ */
23
+ source: T;
24
+ /**
25
+ * Optional base 64 encoder if calling from a request context.
26
+ */
27
+ base64Encoder?: Encoder;
28
+ }
29
+ /**
30
+ * @internal
31
+ *
32
+ * Wrapper for throwing checksum errors for streams without
33
+ * buffering the stream.
34
+ *
35
+ */
36
+ export declare class ChecksumStream extends Duplex {
37
+ private expectedChecksum;
38
+ private checksumSourceLocation;
39
+ private checksum;
40
+ private source?;
41
+ private base64Encoder;
42
+ constructor({ expectedChecksum, checksum, source, checksumSourceLocation, base64Encoder, }: ChecksumStreamInit<Readable>);
43
+ /**
44
+ * @internal do not call this directly.
45
+ */
46
+ _read(size: number): void;
47
+ /**
48
+ * @internal do not call this directly.
49
+ *
50
+ * When the upstream source flows data to this stream,
51
+ * calculate a step update of the checksum.
52
+ */
53
+ _write(chunk: Buffer, encoding: string, callback: (err?: Error) => void): void;
54
+ /**
55
+ * @internal do not call this directly.
56
+ *
57
+ * When the upstream source finishes, perform the checksum comparison.
58
+ */
59
+ _final(callback: (err?: Error) => void): Promise<void>;
60
+ }
@@ -0,0 +1,15 @@
1
+ import { ChecksumStreamInit } from "./ChecksumStream.browser";
2
+ /**
3
+ * @internal
4
+ * Alias prevents compiler from turning
5
+ * ReadableStream into ReadableStream<any>, which is incompatible
6
+ * with the NodeJS.ReadableStream global type.
7
+ */
8
+ export type ReadableStreamType = ReadableStream;
9
+ /**
10
+ * @internal
11
+ *
12
+ * Creates a stream adapter for throwing checksum errors for streams without
13
+ * buffering the stream.
14
+ */
15
+ export declare const createChecksumStream: ({ expectedChecksum, checksum, source, checksumSourceLocation, base64Encoder, }: ChecksumStreamInit) => ReadableStreamType;
@@ -0,0 +1,12 @@
1
+ /// <reference types="node" />
2
+ import { Readable } from "stream";
3
+ import { ChecksumStreamInit } from "./ChecksumStream";
4
+ import { ReadableStreamType } from "./createChecksumStream.browser";
5
+ /**
6
+ * @internal
7
+ *
8
+ * Creates a stream mirroring the input stream's interface, but
9
+ * performs checksumming when reading to the end of the stream.
10
+ */
11
+ export declare function createChecksumStream(init: ChecksumStreamInit<ReadableStreamType>): ReadableStreamType;
12
+ export declare function createChecksumStream(init: ChecksumStreamInit<Readable>): Readable;
@@ -4,3 +4,5 @@ export * from "./sdk-stream-mixin";
4
4
  export * from "./splitStream";
5
5
  export * from "./headStream";
6
6
  export * from "./stream-type-check";
7
+ export * from "./checksum/createChecksumStream";
8
+ export * from "./checksum/ChecksumStream";
@@ -9,4 +9,8 @@ type ReadableStreamType = ReadableStream;
9
9
  * @internal
10
10
  */
11
11
  export declare const isReadableStream: (stream: unknown) => stream is ReadableStreamType;
12
+ /**
13
+ * @internal
14
+ */
15
+ export declare const isBlob: (blob: unknown) => blob is Blob;
12
16
  export {};
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "{}"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,11 @@
1
+ # @smithy/fetch-http-handler
2
+
3
+ [![NPM version](https://img.shields.io/npm/v/@smithy/fetch-http-handler/latest.svg)](https://www.npmjs.com/package/@smithy/fetch-http-handler)
4
+ [![NPM downloads](https://img.shields.io/npm/dm/@smithy/fetch-http-handler.svg)](https://www.npmjs.com/package/@smithy/fetch-http-handler)
5
+
6
+ This is the default `requestHandler` used for browser applications.
7
+ Since Node.js introduced experimental Web Streams API in v16.5.0 and made it stable in v21.0.0,
8
+ you can consider using `fetch-http-handler` in Node.js, although it's not recommended.
9
+
10
+ For the Node.js default `requestHandler` implementation, see instead
11
+ [`@smithy/node-http-handler`](https://www.npmjs.com/package/@smithy/node-http-handler).