@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,237 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var src_exports = {};
22
+ __export(src_exports, {
23
+ FetchHttpHandler: () => FetchHttpHandler,
24
+ keepAliveSupport: () => keepAliveSupport,
25
+ streamCollector: () => streamCollector
26
+ });
27
+ module.exports = __toCommonJS(src_exports);
28
+
29
+ // src/fetch-http-handler.ts
30
+ var import_protocol_http = require("@smithy/protocol-http");
31
+ var import_querystring_builder = require("@smithy/querystring-builder");
32
+
33
+ // src/create-request.ts
34
+ function createRequest(url, requestOptions) {
35
+ return new Request(url, requestOptions);
36
+ }
37
+ __name(createRequest, "createRequest");
38
+
39
+ // src/request-timeout.ts
40
+ function requestTimeout(timeoutInMs = 0) {
41
+ return new Promise((resolve, reject) => {
42
+ if (timeoutInMs) {
43
+ setTimeout(() => {
44
+ const timeoutError = new Error(`Request did not complete within ${timeoutInMs} ms`);
45
+ timeoutError.name = "TimeoutError";
46
+ reject(timeoutError);
47
+ }, timeoutInMs);
48
+ }
49
+ });
50
+ }
51
+ __name(requestTimeout, "requestTimeout");
52
+
53
+ // src/fetch-http-handler.ts
54
+ var keepAliveSupport = {
55
+ supported: void 0
56
+ };
57
+ var _FetchHttpHandler = class _FetchHttpHandler {
58
+ /**
59
+ * @returns the input if it is an HttpHandler of any class,
60
+ * or instantiates a new instance of this handler.
61
+ */
62
+ static create(instanceOrOptions) {
63
+ if (typeof (instanceOrOptions == null ? void 0 : instanceOrOptions.handle) === "function") {
64
+ return instanceOrOptions;
65
+ }
66
+ return new _FetchHttpHandler(instanceOrOptions);
67
+ }
68
+ constructor(options) {
69
+ if (typeof options === "function") {
70
+ this.configProvider = options().then((opts) => opts || {});
71
+ } else {
72
+ this.config = options ?? {};
73
+ this.configProvider = Promise.resolve(this.config);
74
+ }
75
+ if (keepAliveSupport.supported === void 0) {
76
+ keepAliveSupport.supported = Boolean(
77
+ typeof Request !== "undefined" && "keepalive" in createRequest("https://[::1]")
78
+ );
79
+ }
80
+ }
81
+ destroy() {
82
+ }
83
+ async handle(request, { abortSignal } = {}) {
84
+ var _a;
85
+ if (!this.config) {
86
+ this.config = await this.configProvider;
87
+ }
88
+ const requestTimeoutInMs = this.config.requestTimeout;
89
+ const keepAlive = this.config.keepAlive === true;
90
+ const credentials = this.config.credentials;
91
+ if (abortSignal == null ? void 0 : abortSignal.aborted) {
92
+ const abortError = new Error("Request aborted");
93
+ abortError.name = "AbortError";
94
+ return Promise.reject(abortError);
95
+ }
96
+ let path = request.path;
97
+ const queryString = (0, import_querystring_builder.buildQueryString)(request.query || {});
98
+ if (queryString) {
99
+ path += `?${queryString}`;
100
+ }
101
+ if (request.fragment) {
102
+ path += `#${request.fragment}`;
103
+ }
104
+ let auth = "";
105
+ if (request.username != null || request.password != null) {
106
+ const username = request.username ?? "";
107
+ const password = request.password ?? "";
108
+ auth = `${username}:${password}@`;
109
+ }
110
+ const { port, method } = request;
111
+ const url = `${request.protocol}//${auth}${request.hostname}${port ? `:${port}` : ""}${path}`;
112
+ const body = method === "GET" || method === "HEAD" ? void 0 : request.body;
113
+ const requestOptions = {
114
+ body,
115
+ headers: new Headers(request.headers),
116
+ method,
117
+ credentials
118
+ };
119
+ if ((_a = this.config) == null ? void 0 : _a.cache) {
120
+ requestOptions.cache = this.config.cache;
121
+ }
122
+ if (body) {
123
+ requestOptions.duplex = "half";
124
+ }
125
+ if (typeof AbortController !== "undefined") {
126
+ requestOptions.signal = abortSignal;
127
+ }
128
+ if (keepAliveSupport.supported) {
129
+ requestOptions.keepalive = keepAlive;
130
+ }
131
+ if (typeof this.config.requestInit === "function") {
132
+ Object.assign(requestOptions, this.config.requestInit(request));
133
+ }
134
+ let removeSignalEventListener = /* @__PURE__ */ __name(() => {
135
+ }, "removeSignalEventListener");
136
+ const fetchRequest = createRequest(url, requestOptions);
137
+ const raceOfPromises = [
138
+ fetch(fetchRequest).then((response) => {
139
+ const fetchHeaders = response.headers;
140
+ const transformedHeaders = {};
141
+ for (const pair of fetchHeaders.entries()) {
142
+ transformedHeaders[pair[0]] = pair[1];
143
+ }
144
+ const hasReadableStream = response.body != void 0;
145
+ if (!hasReadableStream) {
146
+ return response.blob().then((body2) => ({
147
+ response: new import_protocol_http.HttpResponse({
148
+ headers: transformedHeaders,
149
+ reason: response.statusText,
150
+ statusCode: response.status,
151
+ body: body2
152
+ })
153
+ }));
154
+ }
155
+ return {
156
+ response: new import_protocol_http.HttpResponse({
157
+ headers: transformedHeaders,
158
+ reason: response.statusText,
159
+ statusCode: response.status,
160
+ body: response.body
161
+ })
162
+ };
163
+ }),
164
+ requestTimeout(requestTimeoutInMs)
165
+ ];
166
+ if (abortSignal) {
167
+ raceOfPromises.push(
168
+ new Promise((resolve, reject) => {
169
+ const onAbort = /* @__PURE__ */ __name(() => {
170
+ const abortError = new Error("Request aborted");
171
+ abortError.name = "AbortError";
172
+ reject(abortError);
173
+ }, "onAbort");
174
+ if (typeof abortSignal.addEventListener === "function") {
175
+ const signal = abortSignal;
176
+ signal.addEventListener("abort", onAbort, { once: true });
177
+ removeSignalEventListener = /* @__PURE__ */ __name(() => signal.removeEventListener("abort", onAbort), "removeSignalEventListener");
178
+ } else {
179
+ abortSignal.onabort = onAbort;
180
+ }
181
+ })
182
+ );
183
+ }
184
+ return Promise.race(raceOfPromises).finally(removeSignalEventListener);
185
+ }
186
+ updateHttpClientConfig(key, value) {
187
+ this.config = void 0;
188
+ this.configProvider = this.configProvider.then((config) => {
189
+ config[key] = value;
190
+ return config;
191
+ });
192
+ }
193
+ httpHandlerConfigs() {
194
+ return this.config ?? {};
195
+ }
196
+ };
197
+ __name(_FetchHttpHandler, "FetchHttpHandler");
198
+ var FetchHttpHandler = _FetchHttpHandler;
199
+
200
+ // src/stream-collector.ts
201
+ var streamCollector = /* @__PURE__ */ __name(async (stream) => {
202
+ var _a;
203
+ if (typeof Blob === "function" && stream instanceof Blob || ((_a = stream.constructor) == null ? void 0 : _a.name) === "Blob") {
204
+ return new Uint8Array(await stream.arrayBuffer());
205
+ }
206
+ return collectStream(stream);
207
+ }, "streamCollector");
208
+ async function collectStream(stream) {
209
+ const chunks = [];
210
+ const reader = stream.getReader();
211
+ let isDone = false;
212
+ let length = 0;
213
+ while (!isDone) {
214
+ const { done, value } = await reader.read();
215
+ if (value) {
216
+ chunks.push(value);
217
+ length += value.length;
218
+ }
219
+ isDone = done;
220
+ }
221
+ const collected = new Uint8Array(length);
222
+ let offset = 0;
223
+ for (const chunk of chunks) {
224
+ collected.set(chunk, offset);
225
+ offset += chunk.length;
226
+ }
227
+ return collected;
228
+ }
229
+ __name(collectStream, "collectStream");
230
+ // Annotate the CommonJS export names for ESM import in node:
231
+
232
+ 0 && (module.exports = {
233
+ keepAliveSupport,
234
+ FetchHttpHandler,
235
+ streamCollector
236
+ });
237
+
@@ -0,0 +1,3 @@
1
+ export function createRequest(url, requestOptions) {
2
+ return new Request(url, requestOptions);
3
+ }
@@ -0,0 +1,139 @@
1
+ import { HttpResponse } from "@smithy/protocol-http";
2
+ import { buildQueryString } from "@smithy/querystring-builder";
3
+ import { createRequest } from "./create-request";
4
+ import { requestTimeout } from "./request-timeout";
5
+ export const keepAliveSupport = {
6
+ supported: undefined,
7
+ };
8
+ export class FetchHttpHandler {
9
+ static create(instanceOrOptions) {
10
+ if (typeof instanceOrOptions?.handle === "function") {
11
+ return instanceOrOptions;
12
+ }
13
+ return new FetchHttpHandler(instanceOrOptions);
14
+ }
15
+ constructor(options) {
16
+ if (typeof options === "function") {
17
+ this.configProvider = options().then((opts) => opts || {});
18
+ }
19
+ else {
20
+ this.config = options ?? {};
21
+ this.configProvider = Promise.resolve(this.config);
22
+ }
23
+ if (keepAliveSupport.supported === undefined) {
24
+ keepAliveSupport.supported = Boolean(typeof Request !== "undefined" && "keepalive" in createRequest("https://[::1]"));
25
+ }
26
+ }
27
+ destroy() {
28
+ }
29
+ async handle(request, { abortSignal } = {}) {
30
+ if (!this.config) {
31
+ this.config = await this.configProvider;
32
+ }
33
+ const requestTimeoutInMs = this.config.requestTimeout;
34
+ const keepAlive = this.config.keepAlive === true;
35
+ const credentials = this.config.credentials;
36
+ if (abortSignal?.aborted) {
37
+ const abortError = new Error("Request aborted");
38
+ abortError.name = "AbortError";
39
+ return Promise.reject(abortError);
40
+ }
41
+ let path = request.path;
42
+ const queryString = buildQueryString(request.query || {});
43
+ if (queryString) {
44
+ path += `?${queryString}`;
45
+ }
46
+ if (request.fragment) {
47
+ path += `#${request.fragment}`;
48
+ }
49
+ let auth = "";
50
+ if (request.username != null || request.password != null) {
51
+ const username = request.username ?? "";
52
+ const password = request.password ?? "";
53
+ auth = `${username}:${password}@`;
54
+ }
55
+ const { port, method } = request;
56
+ const url = `${request.protocol}//${auth}${request.hostname}${port ? `:${port}` : ""}${path}`;
57
+ const body = method === "GET" || method === "HEAD" ? undefined : request.body;
58
+ const requestOptions = {
59
+ body,
60
+ headers: new Headers(request.headers),
61
+ method: method,
62
+ credentials,
63
+ };
64
+ if (this.config?.cache) {
65
+ requestOptions.cache = this.config.cache;
66
+ }
67
+ if (body) {
68
+ requestOptions.duplex = "half";
69
+ }
70
+ if (typeof AbortController !== "undefined") {
71
+ requestOptions.signal = abortSignal;
72
+ }
73
+ if (keepAliveSupport.supported) {
74
+ requestOptions.keepalive = keepAlive;
75
+ }
76
+ if (typeof this.config.requestInit === "function") {
77
+ Object.assign(requestOptions, this.config.requestInit(request));
78
+ }
79
+ let removeSignalEventListener = () => { };
80
+ const fetchRequest = createRequest(url, requestOptions);
81
+ const raceOfPromises = [
82
+ fetch(fetchRequest).then((response) => {
83
+ const fetchHeaders = response.headers;
84
+ const transformedHeaders = {};
85
+ for (const pair of fetchHeaders.entries()) {
86
+ transformedHeaders[pair[0]] = pair[1];
87
+ }
88
+ const hasReadableStream = response.body != undefined;
89
+ if (!hasReadableStream) {
90
+ return response.blob().then((body) => ({
91
+ response: new HttpResponse({
92
+ headers: transformedHeaders,
93
+ reason: response.statusText,
94
+ statusCode: response.status,
95
+ body,
96
+ }),
97
+ }));
98
+ }
99
+ return {
100
+ response: new HttpResponse({
101
+ headers: transformedHeaders,
102
+ reason: response.statusText,
103
+ statusCode: response.status,
104
+ body: response.body,
105
+ }),
106
+ };
107
+ }),
108
+ requestTimeout(requestTimeoutInMs),
109
+ ];
110
+ if (abortSignal) {
111
+ raceOfPromises.push(new Promise((resolve, reject) => {
112
+ const onAbort = () => {
113
+ const abortError = new Error("Request aborted");
114
+ abortError.name = "AbortError";
115
+ reject(abortError);
116
+ };
117
+ if (typeof abortSignal.addEventListener === "function") {
118
+ const signal = abortSignal;
119
+ signal.addEventListener("abort", onAbort, { once: true });
120
+ removeSignalEventListener = () => signal.removeEventListener("abort", onAbort);
121
+ }
122
+ else {
123
+ abortSignal.onabort = onAbort;
124
+ }
125
+ }));
126
+ }
127
+ return Promise.race(raceOfPromises).finally(removeSignalEventListener);
128
+ }
129
+ updateHttpClientConfig(key, value) {
130
+ this.config = undefined;
131
+ this.configProvider = this.configProvider.then((config) => {
132
+ config[key] = value;
133
+ return config;
134
+ });
135
+ }
136
+ httpHandlerConfigs() {
137
+ return this.config ?? {};
138
+ }
139
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./fetch-http-handler";
2
+ export * from "./stream-collector";
@@ -0,0 +1,11 @@
1
+ export function requestTimeout(timeoutInMs = 0) {
2
+ return new Promise((resolve, reject) => {
3
+ if (timeoutInMs) {
4
+ setTimeout(() => {
5
+ const timeoutError = new Error(`Request did not complete within ${timeoutInMs} ms`);
6
+ timeoutError.name = "TimeoutError";
7
+ reject(timeoutError);
8
+ }, timeoutInMs);
9
+ }
10
+ });
11
+ }
@@ -0,0 +1,27 @@
1
+ export const streamCollector = async (stream) => {
2
+ if ((typeof Blob === "function" && stream instanceof Blob) || stream.constructor?.name === "Blob") {
3
+ return new Uint8Array(await stream.arrayBuffer());
4
+ }
5
+ return collectStream(stream);
6
+ };
7
+ async function collectStream(stream) {
8
+ const chunks = [];
9
+ const reader = stream.getReader();
10
+ let isDone = false;
11
+ let length = 0;
12
+ while (!isDone) {
13
+ const { done, value } = await reader.read();
14
+ if (value) {
15
+ chunks.push(value);
16
+ length += value.length;
17
+ }
18
+ isDone = done;
19
+ }
20
+ const collected = new Uint8Array(length);
21
+ let offset = 0;
22
+ for (const chunk of chunks) {
23
+ collected.set(chunk, offset);
24
+ offset += chunk.length;
25
+ }
26
+ return collected;
27
+ }
@@ -0,0 +1,6 @@
1
+ import { AdditionalRequestParameters } from "./fetch-http-handler";
2
+ /**
3
+ * @internal
4
+ * For mocking/interception.
5
+ */
6
+ export declare function createRequest(url: string, requestOptions?: RequestInit & AdditionalRequestParameters): Request;
@@ -0,0 +1,39 @@
1
+ import { HttpHandler, HttpRequest, HttpResponse } from "@smithy/protocol-http";
2
+ import type { FetchHttpHandlerOptions } from "@smithy/types";
3
+ import { HttpHandlerOptions, Provider } from "@smithy/types";
4
+ export { FetchHttpHandlerOptions };
5
+ type FetchHttpHandlerConfig = FetchHttpHandlerOptions;
6
+ /**
7
+ * @internal
8
+ * Detection of keepalive support. Can be overridden for testing.
9
+ */
10
+ export declare const keepAliveSupport: {
11
+ supported: boolean | undefined;
12
+ };
13
+ /**
14
+ * @internal
15
+ */
16
+ export type AdditionalRequestParameters = {
17
+ duplex?: "half";
18
+ };
19
+ /**
20
+ * @public
21
+ *
22
+ * HttpHandler implementation using browsers' `fetch` global function.
23
+ */
24
+ export declare class FetchHttpHandler implements HttpHandler<FetchHttpHandlerConfig> {
25
+ private config?;
26
+ private configProvider;
27
+ /**
28
+ * @returns the input if it is an HttpHandler of any class,
29
+ * or instantiates a new instance of this handler.
30
+ */
31
+ static create(instanceOrOptions?: HttpHandler<any> | FetchHttpHandlerOptions | Provider<FetchHttpHandlerOptions | void>): FetchHttpHandler | HttpHandler<any>;
32
+ constructor(options?: FetchHttpHandlerOptions | Provider<FetchHttpHandlerOptions | void>);
33
+ destroy(): void;
34
+ handle(request: HttpRequest, { abortSignal }?: HttpHandlerOptions): Promise<{
35
+ response: HttpResponse;
36
+ }>;
37
+ updateHttpClientConfig(key: keyof FetchHttpHandlerConfig, value: FetchHttpHandlerConfig[typeof key]): void;
38
+ httpHandlerConfigs(): FetchHttpHandlerConfig;
39
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./fetch-http-handler";
2
+ export * from "./stream-collector";
@@ -0,0 +1 @@
1
+ export declare function requestTimeout(timeoutInMs?: number): Promise<never>;
@@ -0,0 +1,2 @@
1
+ import { StreamCollector } from "@smithy/types";
2
+ export declare const streamCollector: StreamCollector;
@@ -0,0 +1,6 @@
1
+ import { AdditionalRequestParameters } from "./fetch-http-handler";
2
+ /**
3
+ * @internal
4
+ * For mocking/interception.
5
+ */
6
+ export declare function createRequest(url: string, requestOptions?: RequestInit & AdditionalRequestParameters): Request;
@@ -0,0 +1,39 @@
1
+ import { HttpHandler, HttpRequest, HttpResponse } from "@smithy/protocol-http";
2
+ import { FetchHttpHandlerOptions } from "@smithy/types";
3
+ import { HttpHandlerOptions, Provider } from "@smithy/types";
4
+ export { FetchHttpHandlerOptions };
5
+ type FetchHttpHandlerConfig = FetchHttpHandlerOptions;
6
+ /**
7
+ * @internal
8
+ * Detection of keepalive support. Can be overridden for testing.
9
+ */
10
+ export declare const keepAliveSupport: {
11
+ supported: boolean | undefined;
12
+ };
13
+ /**
14
+ * @internal
15
+ */
16
+ export type AdditionalRequestParameters = {
17
+ duplex?: "half";
18
+ };
19
+ /**
20
+ * @public
21
+ *
22
+ * HttpHandler implementation using browsers' `fetch` global function.
23
+ */
24
+ export declare class FetchHttpHandler implements HttpHandler<FetchHttpHandlerConfig> {
25
+ private config?;
26
+ private configProvider;
27
+ /**
28
+ * @returns the input if it is an HttpHandler of any class,
29
+ * or instantiates a new instance of this handler.
30
+ */
31
+ static create(instanceOrOptions?: HttpHandler<any> | FetchHttpHandlerOptions | Provider<FetchHttpHandlerOptions | void>): FetchHttpHandler | HttpHandler<any>;
32
+ constructor(options?: FetchHttpHandlerOptions | Provider<FetchHttpHandlerOptions | void>);
33
+ destroy(): void;
34
+ handle(request: HttpRequest, { abortSignal }?: HttpHandlerOptions): Promise<{
35
+ response: HttpResponse;
36
+ }>;
37
+ updateHttpClientConfig(key: keyof FetchHttpHandlerConfig, value: FetchHttpHandlerConfig[typeof key]): void;
38
+ httpHandlerConfigs(): FetchHttpHandlerConfig;
39
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./fetch-http-handler";
2
+ export * from "./stream-collector";
@@ -0,0 +1 @@
1
+ export declare function requestTimeout(timeoutInMs?: number): Promise<never>;
@@ -0,0 +1,2 @@
1
+ import { StreamCollector } from "@smithy/types";
2
+ export declare const streamCollector: StreamCollector;
@@ -0,0 +1,65 @@
1
+ {
2
+ "name": "@smithy/fetch-http-handler",
3
+ "version": "4.1.1",
4
+ "description": "Provides a way to make requests",
5
+ "scripts": {
6
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
7
+ "build:cjs": "node ../../scripts/inline fetch-http-handler",
8
+ "build:es": "yarn g:tsc -p tsconfig.es.json",
9
+ "build:types": "yarn g:tsc -p tsconfig.types.json",
10
+ "build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
11
+ "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
12
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
13
+ "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
14
+ "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
15
+ "extract:docs": "api-extractor run --local",
16
+ "test": "yarn g:vitest run && yarn test:browser",
17
+ "test:watch": "yarn g:vitest watch",
18
+ "test:browser": "yarn g:vitest run -c vitest.config.browser.ts",
19
+ "test:browser:watch": "yarn g:vitest watch -c vitest.config.browser.ts"
20
+ },
21
+ "author": {
22
+ "name": "AWS SDK for JavaScript Team",
23
+ "url": "https://aws.amazon.com/javascript/"
24
+ },
25
+ "license": "Apache-2.0",
26
+ "main": "./dist-cjs/index.js",
27
+ "module": "./dist-es/index.js",
28
+ "types": "./dist-types/index.d.ts",
29
+ "dependencies": {
30
+ "@smithy/protocol-http": "^4.1.7",
31
+ "@smithy/querystring-builder": "^3.0.10",
32
+ "@smithy/types": "^3.7.1",
33
+ "@smithy/util-base64": "^3.0.0",
34
+ "tslib": "^2.6.2"
35
+ },
36
+ "devDependencies": {
37
+ "@smithy/abort-controller": "^3.1.8",
38
+ "concurrently": "7.0.0",
39
+ "downlevel-dts": "0.10.1",
40
+ "rimraf": "3.0.2",
41
+ "typedoc": "0.23.23"
42
+ },
43
+ "typesVersions": {
44
+ "<4.0": {
45
+ "dist-types/*": [
46
+ "dist-types/ts3.4/*"
47
+ ]
48
+ }
49
+ },
50
+ "files": [
51
+ "dist-*/**"
52
+ ],
53
+ "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/fetch-http-handler",
54
+ "repository": {
55
+ "type": "git",
56
+ "url": "https://github.com/awslabs/smithy-typescript.git",
57
+ "directory": "packages/fetch-http-handler"
58
+ },
59
+ "typedoc": {
60
+ "entryPoint": "src/index.ts"
61
+ },
62
+ "publishConfig": {
63
+ "directory": ".release/package"
64
+ }
65
+ }