@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
@@ -21,6 +21,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  // src/index.ts
22
22
  var src_exports = {};
23
23
  __export(src_exports, {
24
+ DEFAULT_UA_APP_ID: () => DEFAULT_UA_APP_ID,
24
25
  getUserAgentMiddlewareOptions: () => getUserAgentMiddlewareOptions,
25
26
  getUserAgentPlugin: () => getUserAgentPlugin,
26
27
  resolveUserAgentConfig: () => resolveUserAgentConfig,
@@ -29,10 +30,33 @@ __export(src_exports, {
29
30
  module.exports = __toCommonJS(src_exports);
30
31
 
31
32
  // src/configurations.ts
33
+ var import_core = require("@smithy/core");
34
+ var DEFAULT_UA_APP_ID = void 0;
35
+ function isValidUserAgentAppId(appId) {
36
+ if (appId === void 0) {
37
+ return true;
38
+ }
39
+ return typeof appId === "string" && appId.length <= 50;
40
+ }
41
+ __name(isValidUserAgentAppId, "isValidUserAgentAppId");
32
42
  function resolveUserAgentConfig(input) {
43
+ const normalizedAppIdProvider = (0, import_core.normalizeProvider)(input.userAgentAppId ?? DEFAULT_UA_APP_ID);
33
44
  return {
34
45
  ...input,
35
- customUserAgent: typeof input.customUserAgent === "string" ? [[input.customUserAgent]] : input.customUserAgent
46
+ customUserAgent: typeof input.customUserAgent === "string" ? [[input.customUserAgent]] : input.customUserAgent,
47
+ userAgentAppId: async () => {
48
+ var _a, _b;
49
+ const appId = await normalizedAppIdProvider();
50
+ if (!isValidUserAgentAppId(appId)) {
51
+ const logger = ((_b = (_a = input.logger) == null ? void 0 : _a.constructor) == null ? void 0 : _b.name) === "NoOpLogger" || !input.logger ? console : input.logger;
52
+ if (typeof appId !== "string") {
53
+ logger == null ? void 0 : logger.warn("userAgentAppId must be a string or undefined.");
54
+ } else if (appId.length > 50) {
55
+ logger == null ? void 0 : logger.warn("The provided userAgentAppId exceeds the maximum length of 50 characters.");
56
+ }
57
+ }
58
+ return appId;
59
+ }
36
60
  };
37
61
  }
38
62
  __name(resolveUserAgentConfig, "resolveUserAgentConfig");
@@ -41,6 +65,57 @@ __name(resolveUserAgentConfig, "resolveUserAgentConfig");
41
65
  var import_util_endpoints = require("@aws-sdk/util-endpoints");
42
66
  var import_protocol_http = require("@smithy/protocol-http");
43
67
 
68
+ // src/check-features.ts
69
+ var import_core2 = require("@aws-sdk/core");
70
+ var ACCOUNT_ID_ENDPOINT_REGEX = /\d{12}\.ddb/;
71
+ async function checkFeatures(context, config, args) {
72
+ var _a, _b, _c, _d, _e, _f, _g;
73
+ const request = args.request;
74
+ if (((_a = request == null ? void 0 : request.headers) == null ? void 0 : _a["smithy-protocol"]) === "rpc-v2-cbor") {
75
+ (0, import_core2.setFeature)(context, "PROTOCOL_RPC_V2_CBOR", "M");
76
+ }
77
+ if (typeof config.retryStrategy === "function") {
78
+ const retryStrategy = await config.retryStrategy();
79
+ if (typeof retryStrategy.acquireInitialRetryToken === "function") {
80
+ if ((_c = (_b = retryStrategy.constructor) == null ? void 0 : _b.name) == null ? void 0 : _c.includes("Adaptive")) {
81
+ (0, import_core2.setFeature)(context, "RETRY_MODE_ADAPTIVE", "F");
82
+ } else {
83
+ (0, import_core2.setFeature)(context, "RETRY_MODE_STANDARD", "E");
84
+ }
85
+ } else {
86
+ (0, import_core2.setFeature)(context, "RETRY_MODE_LEGACY", "D");
87
+ }
88
+ }
89
+ if (typeof config.accountIdEndpointMode === "function") {
90
+ const endpointV2 = context.endpointV2;
91
+ if (String((_d = endpointV2 == null ? void 0 : endpointV2.url) == null ? void 0 : _d.hostname).match(ACCOUNT_ID_ENDPOINT_REGEX)) {
92
+ (0, import_core2.setFeature)(context, "ACCOUNT_ID_ENDPOINT", "O");
93
+ }
94
+ switch (await ((_e = config.accountIdEndpointMode) == null ? void 0 : _e.call(config))) {
95
+ case "disabled":
96
+ (0, import_core2.setFeature)(context, "ACCOUNT_ID_MODE_DISABLED", "Q");
97
+ break;
98
+ case "preferred":
99
+ (0, import_core2.setFeature)(context, "ACCOUNT_ID_MODE_PREFERRED", "P");
100
+ break;
101
+ case "required":
102
+ (0, import_core2.setFeature)(context, "ACCOUNT_ID_MODE_REQUIRED", "R");
103
+ break;
104
+ }
105
+ }
106
+ const identity = (_g = (_f = context.__smithy_context) == null ? void 0 : _f.selectedHttpAuthScheme) == null ? void 0 : _g.identity;
107
+ if (identity == null ? void 0 : identity.$source) {
108
+ const credentials = identity;
109
+ if (credentials.accountId) {
110
+ (0, import_core2.setFeature)(context, "RESOLVED_ACCOUNT_ID", "T");
111
+ }
112
+ for (const [key, value] of Object.entries(credentials.$source ?? {})) {
113
+ (0, import_core2.setFeature)(context, key, value);
114
+ }
115
+ }
116
+ }
117
+ __name(checkFeatures, "checkFeatures");
118
+
44
119
  // src/constants.ts
45
120
  var USER_AGENT = "user-agent";
46
121
  var X_AMZ_USER_AGENT = "x-amz-user-agent";
@@ -50,16 +125,48 @@ var UA_NAME_ESCAPE_REGEX = /[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g;
50
125
  var UA_VALUE_ESCAPE_REGEX = /[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w\#]/g;
51
126
  var UA_ESCAPE_CHAR = "-";
52
127
 
128
+ // src/encode-features.ts
129
+ var BYTE_LIMIT = 1024;
130
+ function encodeFeatures(features) {
131
+ let buffer = "";
132
+ for (const key in features) {
133
+ const val = features[key];
134
+ if (buffer.length + val.length + 1 <= BYTE_LIMIT) {
135
+ if (buffer.length) {
136
+ buffer += "," + val;
137
+ } else {
138
+ buffer += val;
139
+ }
140
+ continue;
141
+ }
142
+ break;
143
+ }
144
+ return buffer;
145
+ }
146
+ __name(encodeFeatures, "encodeFeatures");
147
+
53
148
  // src/user-agent-middleware.ts
54
149
  var userAgentMiddleware = /* @__PURE__ */ __name((options) => (next, context) => async (args) => {
55
- var _a, _b;
150
+ var _a, _b, _c, _d;
56
151
  const { request } = args;
57
- if (!import_protocol_http.HttpRequest.isInstance(request))
152
+ if (!import_protocol_http.HttpRequest.isInstance(request)) {
58
153
  return next(args);
154
+ }
59
155
  const { headers } = request;
60
156
  const userAgent = ((_a = context == null ? void 0 : context.userAgent) == null ? void 0 : _a.map(escapeUserAgent)) || [];
61
157
  const defaultUserAgent = (await options.defaultUserAgentProvider()).map(escapeUserAgent);
62
- const customUserAgent = ((_b = options == null ? void 0 : options.customUserAgent) == null ? void 0 : _b.map(escapeUserAgent)) || [];
158
+ await checkFeatures(context, options, args);
159
+ const awsContext = context;
160
+ defaultUserAgent.push(
161
+ `m/${encodeFeatures(
162
+ Object.assign({}, (_b = context.__smithy_context) == null ? void 0 : _b.features, (_c = awsContext.__aws_sdk_context) == null ? void 0 : _c.features)
163
+ )}`
164
+ );
165
+ const customUserAgent = ((_d = options == null ? void 0 : options.customUserAgent) == null ? void 0 : _d.map(escapeUserAgent)) || [];
166
+ const appId = await options.userAgentAppId();
167
+ if (appId) {
168
+ defaultUserAgent.push(escapeUserAgent([`app/${appId}`]));
169
+ }
63
170
  const prefix = (0, import_util_endpoints.getUserAgentPrefix)();
64
171
  const sdkUserAgentValue = (prefix ? [prefix] : []).concat([...defaultUserAgent, ...userAgent, ...customUserAgent]).join(SPACE);
65
172
  const normalUAValue = [
@@ -115,6 +222,7 @@ var getUserAgentPlugin = /* @__PURE__ */ __name((config) => ({
115
222
  // Annotate the CommonJS export names for ESM import in node:
116
223
 
117
224
  0 && (module.exports = {
225
+ DEFAULT_UA_APP_ID,
118
226
  resolveUserAgentConfig,
119
227
  userAgentMiddleware,
120
228
  getUserAgentMiddlewareOptions,
@@ -0,0 +1,49 @@
1
+ import { setFeature } from "@aws-sdk/core";
2
+ const ACCOUNT_ID_ENDPOINT_REGEX = /\d{12}\.ddb/;
3
+ export async function checkFeatures(context, config, args) {
4
+ const request = args.request;
5
+ if (request?.headers?.["smithy-protocol"] === "rpc-v2-cbor") {
6
+ setFeature(context, "PROTOCOL_RPC_V2_CBOR", "M");
7
+ }
8
+ if (typeof config.retryStrategy === "function") {
9
+ const retryStrategy = await config.retryStrategy();
10
+ if (typeof retryStrategy.acquireInitialRetryToken === "function") {
11
+ if (retryStrategy.constructor?.name?.includes("Adaptive")) {
12
+ setFeature(context, "RETRY_MODE_ADAPTIVE", "F");
13
+ }
14
+ else {
15
+ setFeature(context, "RETRY_MODE_STANDARD", "E");
16
+ }
17
+ }
18
+ else {
19
+ setFeature(context, "RETRY_MODE_LEGACY", "D");
20
+ }
21
+ }
22
+ if (typeof config.accountIdEndpointMode === "function") {
23
+ const endpointV2 = context.endpointV2;
24
+ if (String(endpointV2?.url?.hostname).match(ACCOUNT_ID_ENDPOINT_REGEX)) {
25
+ setFeature(context, "ACCOUNT_ID_ENDPOINT", "O");
26
+ }
27
+ switch (await config.accountIdEndpointMode?.()) {
28
+ case "disabled":
29
+ setFeature(context, "ACCOUNT_ID_MODE_DISABLED", "Q");
30
+ break;
31
+ case "preferred":
32
+ setFeature(context, "ACCOUNT_ID_MODE_PREFERRED", "P");
33
+ break;
34
+ case "required":
35
+ setFeature(context, "ACCOUNT_ID_MODE_REQUIRED", "R");
36
+ break;
37
+ }
38
+ }
39
+ const identity = context.__smithy_context?.selectedHttpAuthScheme?.identity;
40
+ if (identity?.$source) {
41
+ const credentials = identity;
42
+ if (credentials.accountId) {
43
+ setFeature(context, "RESOLVED_ACCOUNT_ID", "T");
44
+ }
45
+ for (const [key, value] of Object.entries(credentials.$source ?? {})) {
46
+ setFeature(context, key, value);
47
+ }
48
+ }
49
+ }
@@ -1,6 +1,28 @@
1
+ import { normalizeProvider } from "@smithy/core";
2
+ export const DEFAULT_UA_APP_ID = undefined;
3
+ function isValidUserAgentAppId(appId) {
4
+ if (appId === undefined) {
5
+ return true;
6
+ }
7
+ return typeof appId === "string" && appId.length <= 50;
8
+ }
1
9
  export function resolveUserAgentConfig(input) {
10
+ const normalizedAppIdProvider = normalizeProvider(input.userAgentAppId ?? DEFAULT_UA_APP_ID);
2
11
  return {
3
12
  ...input,
4
13
  customUserAgent: typeof input.customUserAgent === "string" ? [[input.customUserAgent]] : input.customUserAgent,
14
+ userAgentAppId: async () => {
15
+ const appId = await normalizedAppIdProvider();
16
+ if (!isValidUserAgentAppId(appId)) {
17
+ const logger = input.logger?.constructor?.name === "NoOpLogger" || !input.logger ? console : input.logger;
18
+ if (typeof appId !== "string") {
19
+ logger?.warn("userAgentAppId must be a string or undefined.");
20
+ }
21
+ else if (appId.length > 50) {
22
+ logger?.warn("The provided userAgentAppId exceeds the maximum length of 50 characters.");
23
+ }
24
+ }
25
+ return appId;
26
+ },
5
27
  };
6
28
  }
@@ -0,0 +1,18 @@
1
+ const BYTE_LIMIT = 1024;
2
+ export function encodeFeatures(features) {
3
+ let buffer = "";
4
+ for (const key in features) {
5
+ const val = features[key];
6
+ if (buffer.length + val.length + 1 <= BYTE_LIMIT) {
7
+ if (buffer.length) {
8
+ buffer += "," + val;
9
+ }
10
+ else {
11
+ buffer += val;
12
+ }
13
+ continue;
14
+ }
15
+ break;
16
+ }
17
+ return buffer;
18
+ }
@@ -1,14 +1,24 @@
1
1
  import { getUserAgentPrefix } from "@aws-sdk/util-endpoints";
2
2
  import { HttpRequest } from "@smithy/protocol-http";
3
+ import { checkFeatures } from "./check-features";
3
4
  import { SPACE, UA_ESCAPE_CHAR, UA_NAME_ESCAPE_REGEX, UA_NAME_SEPARATOR, UA_VALUE_ESCAPE_REGEX, USER_AGENT, X_AMZ_USER_AGENT, } from "./constants";
5
+ import { encodeFeatures } from "./encode-features";
4
6
  export const userAgentMiddleware = (options) => (next, context) => async (args) => {
5
7
  const { request } = args;
6
- if (!HttpRequest.isInstance(request))
8
+ if (!HttpRequest.isInstance(request)) {
7
9
  return next(args);
10
+ }
8
11
  const { headers } = request;
9
12
  const userAgent = context?.userAgent?.map(escapeUserAgent) || [];
10
13
  const defaultUserAgent = (await options.defaultUserAgentProvider()).map(escapeUserAgent);
14
+ await checkFeatures(context, options, args);
15
+ const awsContext = context;
16
+ defaultUserAgent.push(`m/${encodeFeatures(Object.assign({}, context.__smithy_context?.features, awsContext.__aws_sdk_context?.features))}`);
11
17
  const customUserAgent = options?.customUserAgent?.map(escapeUserAgent) || [];
18
+ const appId = await options.userAgentAppId();
19
+ if (appId) {
20
+ defaultUserAgent.push(escapeUserAgent([`app/${appId}`]));
21
+ }
12
22
  const prefix = getUserAgentPrefix();
13
23
  const sdkUserAgentValue = (prefix ? [prefix] : [])
14
24
  .concat([...defaultUserAgent, ...userAgent, ...customUserAgent])
@@ -0,0 +1,18 @@
1
+ import type { AccountIdEndpointMode } from "@aws-sdk/core/account-id-endpoint";
2
+ import type { AwsHandlerExecutionContext } from "@aws-sdk/types";
3
+ import type { AwsCredentialIdentityProvider, BuildHandlerArguments, Provider, RetryStrategy, RetryStrategyV2 } from "@smithy/types";
4
+ /**
5
+ * @internal
6
+ */
7
+ type PreviouslyResolved = Partial<{
8
+ credentials?: AwsCredentialIdentityProvider;
9
+ accountIdEndpointMode?: Provider<AccountIdEndpointMode>;
10
+ retryStrategy?: Provider<RetryStrategy | RetryStrategyV2>;
11
+ }>;
12
+ /**
13
+ * @internal
14
+ * Check for features that don't have a middleware activation site but
15
+ * may be detected on the context, client config, or request.
16
+ */
17
+ export declare function checkFeatures(context: AwsHandlerExecutionContext, config: PreviouslyResolved, args: BuildHandlerArguments<any>): Promise<void>;
18
+ export {};
@@ -1,4 +1,8 @@
1
- import { Provider, UserAgent } from "@smithy/types";
1
+ import { Logger, Provider, UserAgent } from "@smithy/types";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const DEFAULT_UA_APP_ID: undefined;
2
6
  /**
3
7
  * @public
4
8
  */
@@ -7,10 +11,15 @@ export interface UserAgentInputConfig {
7
11
  * The custom user agent header that would be appended to default one
8
12
  */
9
13
  customUserAgent?: string | UserAgent;
14
+ /**
15
+ * The application ID used to identify the application.
16
+ */
17
+ userAgentAppId?: string | undefined | Provider<string | undefined>;
10
18
  }
11
19
  interface PreviouslyResolved {
12
20
  defaultUserAgentProvider: Provider<UserAgent>;
13
21
  runtime: string;
22
+ logger?: Logger;
14
23
  }
15
24
  export interface UserAgentResolvedConfig {
16
25
  /**
@@ -26,6 +35,10 @@ export interface UserAgentResolvedConfig {
26
35
  * The runtime environment
27
36
  */
28
37
  runtime: string;
38
+ /**
39
+ * Resolved value for input config {config.userAgentAppId}
40
+ */
41
+ userAgentAppId: Provider<string | undefined>;
29
42
  }
30
43
  export declare function resolveUserAgentConfig<T>(input: T & PreviouslyResolved & UserAgentInputConfig): T & UserAgentResolvedConfig;
31
44
  export {};
@@ -0,0 +1,5 @@
1
+ import type { AwsSdkFeatures } from "@aws-sdk/types";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare function encodeFeatures(features: AwsSdkFeatures): string;
@@ -0,0 +1,20 @@
1
+ import { AccountIdEndpointMode } from "@aws-sdk/core/account-id-endpoint";
2
+ import { AwsHandlerExecutionContext } from "@aws-sdk/types";
3
+ import {
4
+ AwsCredentialIdentityProvider,
5
+ BuildHandlerArguments,
6
+ Provider,
7
+ RetryStrategy,
8
+ RetryStrategyV2,
9
+ } from "@smithy/types";
10
+ type PreviouslyResolved = Partial<{
11
+ credentials?: AwsCredentialIdentityProvider;
12
+ accountIdEndpointMode?: Provider<AccountIdEndpointMode>;
13
+ retryStrategy?: Provider<RetryStrategy | RetryStrategyV2>;
14
+ }>;
15
+ export declare function checkFeatures(
16
+ context: AwsHandlerExecutionContext,
17
+ config: PreviouslyResolved,
18
+ args: BuildHandlerArguments<any>
19
+ ): Promise<void>;
20
+ export {};
@@ -1,15 +1,19 @@
1
- import { Provider, UserAgent } from "@smithy/types";
1
+ import { Logger, Provider, UserAgent } from "@smithy/types";
2
+ export declare const DEFAULT_UA_APP_ID: undefined;
2
3
  export interface UserAgentInputConfig {
3
4
  customUserAgent?: string | UserAgent;
5
+ userAgentAppId?: string | undefined | Provider<string | undefined>;
4
6
  }
5
7
  interface PreviouslyResolved {
6
8
  defaultUserAgentProvider: Provider<UserAgent>;
7
9
  runtime: string;
10
+ logger?: Logger;
8
11
  }
9
12
  export interface UserAgentResolvedConfig {
10
13
  defaultUserAgentProvider: Provider<UserAgent>;
11
14
  customUserAgent?: UserAgent;
12
15
  runtime: string;
16
+ userAgentAppId: Provider<string | undefined>;
13
17
  }
14
18
  export declare function resolveUserAgentConfig<T>(
15
19
  input: T & PreviouslyResolved & UserAgentInputConfig
@@ -0,0 +1,2 @@
1
+ import { AwsSdkFeatures } from "@aws-sdk/types";
2
+ export declare function encodeFeatures(features: AwsSdkFeatures): string;
@@ -1,3 +1,4 @@
1
+ import { AwsHandlerExecutionContext } from "@aws-sdk/types";
1
2
  import {
2
3
  AbsoluteLocation,
3
4
  BuildHandler,
@@ -11,7 +12,7 @@ export declare const userAgentMiddleware: (
11
12
  options: UserAgentResolvedConfig
12
13
  ) => <Output extends MetadataBearer>(
13
14
  next: BuildHandler<any, any>,
14
- context: HandlerExecutionContext
15
+ context: HandlerExecutionContext | AwsHandlerExecutionContext
15
16
  ) => BuildHandler<any, any>;
16
17
  export declare const getUserAgentMiddlewareOptions: BuildHandlerOptions &
17
18
  AbsoluteLocation;
@@ -1,3 +1,4 @@
1
+ import type { AwsHandlerExecutionContext } from "@aws-sdk/types";
1
2
  import { AbsoluteLocation, BuildHandler, BuildHandlerOptions, HandlerExecutionContext, MetadataBearer, Pluggable } from "@smithy/types";
2
3
  import { UserAgentResolvedConfig } from "./configurations";
3
4
  /**
@@ -12,6 +13,6 @@ import { UserAgentResolvedConfig } from "./configurations";
12
13
  * config or middleware setting the `userAgent` context to generate desired user
13
14
  * agent.
14
15
  */
15
- export declare const userAgentMiddleware: (options: UserAgentResolvedConfig) => <Output extends MetadataBearer>(next: BuildHandler<any, any>, context: HandlerExecutionContext) => BuildHandler<any, any>;
16
+ export declare const userAgentMiddleware: (options: UserAgentResolvedConfig) => <Output extends MetadataBearer>(next: BuildHandler<any, any>, context: HandlerExecutionContext | AwsHandlerExecutionContext) => BuildHandler<any, any>;
16
17
  export declare const getUserAgentMiddlewareOptions: BuildHandlerOptions & AbsoluteLocation;
17
18
  export declare const getUserAgentPlugin: (config: UserAgentResolvedConfig) => Pluggable<any, any>;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-user-agent",
3
- "version": "3.649.0",
3
+ "version": "3.693.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-user-agent",
@@ -9,9 +9,11 @@
9
9
  "build:types": "tsc -p tsconfig.types.json",
10
10
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
11
11
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
12
- "test": "jest --passWithNoTests",
13
- "test:integration": "jest -c jest.config.integ.js",
14
- "extract:docs": "api-extractor run --local"
12
+ "test": "yarn g:vitest run",
13
+ "test:integration": "yarn g:vitest run -c vitest.config.integ.ts",
14
+ "extract:docs": "api-extractor run --local",
15
+ "test:watch": "yarn g:vitest watch",
16
+ "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.ts"
15
17
  },
16
18
  "main": "./dist-cjs/index.js",
17
19
  "module": "./dist-es/index.js",
@@ -22,10 +24,12 @@
22
24
  },
23
25
  "license": "Apache-2.0",
24
26
  "dependencies": {
25
- "@aws-sdk/types": "3.649.0",
26
- "@aws-sdk/util-endpoints": "3.649.0",
27
- "@smithy/protocol-http": "^4.1.1",
28
- "@smithy/types": "^3.4.0",
27
+ "@aws-sdk/core": "3.693.0",
28
+ "@aws-sdk/types": "3.692.0",
29
+ "@aws-sdk/util-endpoints": "3.693.0",
30
+ "@smithy/core": "^2.5.2",
31
+ "@smithy/protocol-http": "^4.1.6",
32
+ "@smithy/types": "^3.7.0",
29
33
  "tslib": "^2.6.2"
30
34
  },
31
35
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/region-config-resolver",
3
- "version": "3.649.0",
3
+ "version": "3.693.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline region-config-resolver",
@@ -10,7 +10,8 @@
10
10
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
11
11
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
12
12
  "extract:docs": "api-extractor run --local",
13
- "test": "jest"
13
+ "test": "yarn g:vitest run",
14
+ "test:watch": "yarn g:vitest watch"
14
15
  },
15
16
  "main": "./dist-cjs/index.js",
16
17
  "module": "./dist-es/index.js",
@@ -21,11 +22,11 @@
21
22
  },
22
23
  "license": "Apache-2.0",
23
24
  "dependencies": {
24
- "@aws-sdk/types": "3.649.0",
25
- "@smithy/node-config-provider": "^3.1.5",
26
- "@smithy/types": "^3.4.0",
25
+ "@aws-sdk/types": "3.692.0",
26
+ "@smithy/node-config-provider": "^3.1.10",
27
+ "@smithy/types": "^3.7.0",
27
28
  "@smithy/util-config-provider": "^3.0.0",
28
- "@smithy/util-middleware": "^3.0.4",
29
+ "@smithy/util-middleware": "^3.0.9",
29
30
  "tslib": "^2.6.2"
30
31
  },
31
32
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.649.0",
3
+ "version": "3.693.0",
4
4
  "description": "A collection of token providers",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -14,7 +14,8 @@
14
14
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
15
15
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
16
16
  "extract:docs": "api-extractor run --local",
17
- "test": "jest"
17
+ "test": "yarn g:vitest run",
18
+ "test:watch": "yarn g:vitest watch"
18
19
  },
19
20
  "keywords": [
20
21
  "aws",
@@ -26,10 +27,10 @@
26
27
  },
27
28
  "license": "Apache-2.0",
28
29
  "dependencies": {
29
- "@aws-sdk/types": "3.649.0",
30
- "@smithy/property-provider": "^3.1.4",
31
- "@smithy/shared-ini-file-loader": "^3.1.5",
32
- "@smithy/types": "^3.4.0",
30
+ "@aws-sdk/types": "3.692.0",
31
+ "@smithy/property-provider": "^3.1.9",
32
+ "@smithy/shared-ini-file-loader": "^3.1.10",
33
+ "@smithy/types": "^3.7.0",
33
34
  "tslib": "^2.6.2"
34
35
  },
35
36
  "devDependencies": {
@@ -41,7 +42,7 @@
41
42
  "typescript": "~4.9.5"
42
43
  },
43
44
  "peerDependencies": {
44
- "@aws-sdk/client-sso-oidc": "^3.649.0"
45
+ "@aws-sdk/client-sso-oidc": "^3.693.0"
45
46
  },
46
47
  "types": "./dist-types/index.d.ts",
47
48
  "engines": {
@@ -12,6 +12,7 @@ export * from "./encode";
12
12
  export * from "./endpoint";
13
13
  export * from "./eventStream";
14
14
  export * from "./extensions";
15
+ export * from "./feature-ids";
15
16
  export * from "./http";
16
17
  export * from "./identity";
17
18
  export * from "./logger";
@@ -0,0 +1,59 @@
1
+ /**
2
+ * @internal
3
+ */
4
+ export type AwsSdkFeatures = Partial<{
5
+ RESOURCE_MODEL: "A";
6
+ WAITER: "B";
7
+ PAGINATOR: "C";
8
+ RETRY_MODE_LEGACY: "D";
9
+ RETRY_MODE_STANDARD: "E";
10
+ RETRY_MODE_ADAPTIVE: "F";
11
+ S3_EXPRESS_BUCKET: "J";
12
+ S3_ACCESS_GRANTS: "K";
13
+ GZIP_REQUEST_COMPRESSION: "L";
14
+ PROTOCOL_RPC_V2_CBOR: "M";
15
+ ENDPOINT_OVERRIDE: "N";
16
+ ACCOUNT_ID_ENDPOINT: "O";
17
+ ACCOUNT_ID_MODE_PREFERRED: "P";
18
+ ACCOUNT_ID_MODE_DISABLED: "Q";
19
+ ACCOUNT_ID_MODE_REQUIRED: "R";
20
+ SIGV4A_SIGNING: "S";
21
+ FLEXIBLE_CHECKSUMS_REQ_CRC32: "U";
22
+ FLEXIBLE_CHECKSUMS_REQ_CRC32C: "V";
23
+ FLEXIBLE_CHECKSUMS_REQ_CRC64: "W";
24
+ FLEXIBLE_CHECKSUMS_REQ_SHA1: "X";
25
+ FLEXIBLE_CHECKSUMS_REQ_SHA256: "Y";
26
+ FLEXIBLE_CHECKSUMS_REQ_WHEN_SUPPORTED: "Z";
27
+ FLEXIBLE_CHECKSUMS_REQ_WHEN_REQUIRED: "a";
28
+ FLEXIBLE_CHECKSUMS_RES_WHEN_SUPPORTED: "b";
29
+ FLEXIBLE_CHECKSUMS_RES_WHEN_REQUIRED: "c";
30
+ DDB_MAPPER: "d";
31
+ }> & AwsSdkCredentialsFeatures;
32
+ /**
33
+ * @internal
34
+ */
35
+ export type AwsSdkCredentialsFeatures = Partial<{
36
+ RESOLVED_ACCOUNT_ID: "T";
37
+ CREDENTIALS_CODE: "e";
38
+ CREDENTIALS_ENV_VARS: "g";
39
+ CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN: "h";
40
+ CREDENTIALS_STS_ASSUME_ROLE: "i";
41
+ CREDENTIALS_STS_ASSUME_ROLE_SAML: "j";
42
+ CREDENTIALS_STS_ASSUME_ROLE_WEB_ID: "k";
43
+ CREDENTIALS_STS_FEDERATION_TOKEN: "l";
44
+ CREDENTIALS_STS_SESSION_TOKEN: "m";
45
+ CREDENTIALS_PROFILE: "n";
46
+ CREDENTIALS_PROFILE_SOURCE_PROFILE: "o";
47
+ CREDENTIALS_PROFILE_NAMED_PROVIDER: "p";
48
+ CREDENTIALS_PROFILE_STS_WEB_ID_TOKEN: "q";
49
+ CREDENTIALS_PROFILE_SSO: "r";
50
+ CREDENTIALS_SSO: "s";
51
+ CREDENTIALS_PROFILE_SSO_LEGACY: "t";
52
+ CREDENTIALS_SSO_LEGACY: "u";
53
+ CREDENTIALS_PROFILE_PROCESS: "v";
54
+ CREDENTIALS_PROCESS: "w";
55
+ CREDENTIALS_BOTO2_CONFIG_FILE: "x";
56
+ CREDENTIALS_AWS_SDK_STORE: "y";
57
+ CREDENTIALS_HTTP: "z";
58
+ CREDENTIALS_IMDS: "0";
59
+ }>;
@@ -1 +1,6 @@
1
+ import type { AwsCredentialIdentity } from "@smithy/types";
2
+ import type { AwsSdkCredentialsFeatures } from "../feature-ids";
1
3
  export { AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
4
+ export type AttributedAwsCredentialIdentity = AwsCredentialIdentity & {
5
+ $source?: AwsSdkCredentialsFeatures;
6
+ };
@@ -12,6 +12,7 @@ export * from "./encode";
12
12
  export * from "./endpoint";
13
13
  export * from "./eventStream";
14
14
  export * from "./extensions";
15
+ export * from "./feature-ids";
15
16
  export * from "./http";
16
17
  export * from "./identity";
17
18
  export * from "./logger";
@@ -1 +1,13 @@
1
+ import { HandlerExecutionContext } from "@smithy/types";
2
+ import { AwsSdkFeatures } from "./feature-ids";
1
3
  export { AbsoluteLocation, BuildHandler, BuildHandlerArguments, BuildHandlerOptions, BuildHandlerOutput, BuildMiddleware, DeserializeHandler, DeserializeHandlerArguments, DeserializeHandlerOptions, DeserializeHandlerOutput, DeserializeMiddleware, FinalizeHandler, FinalizeHandlerArguments, FinalizeHandlerOutput, FinalizeRequestHandlerOptions, FinalizeRequestMiddleware, Handler, HandlerExecutionContext, HandlerOptions, InitializeHandler, InitializeHandlerArguments, InitializeHandlerOptions, InitializeHandlerOutput, InitializeMiddleware, MiddlewareStack, MiddlewareType, Pluggable, Priority, Relation, RelativeLocation, RelativeMiddlewareOptions, SerializeHandler, SerializeHandlerArguments, SerializeHandlerOptions, SerializeHandlerOutput, SerializeMiddleware, Step, Terminalware, } from "@smithy/types";
4
+ /**
5
+ * @internal
6
+ * Contains reserved keys for AWS SDK internal usage of the
7
+ * handler execution context object.
8
+ */
9
+ export interface AwsHandlerExecutionContext extends HandlerExecutionContext {
10
+ __aws_sdk_context?: {
11
+ features?: AwsSdkFeatures;
12
+ };
13
+ }