@aws-sdk/client-bedrock-agentcore 3.952.0 → 3.954.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/dist-cjs/index.js +555 -386
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/BatchCreateMemoryRecordsCommand.js +2 -2
  4. package/dist-es/commands/BatchDeleteMemoryRecordsCommand.js +2 -2
  5. package/dist-es/commands/BatchUpdateMemoryRecordsCommand.js +2 -2
  6. package/dist-es/commands/CompleteResourceTokenAuthCommand.js +2 -2
  7. package/dist-es/commands/CreateEventCommand.js +2 -2
  8. package/dist-es/commands/DeleteEventCommand.js +2 -2
  9. package/dist-es/commands/DeleteMemoryRecordCommand.js +2 -2
  10. package/dist-es/commands/EvaluateCommand.js +2 -2
  11. package/dist-es/commands/GetAgentCardCommand.js +2 -2
  12. package/dist-es/commands/GetBrowserSessionCommand.js +2 -2
  13. package/dist-es/commands/GetCodeInterpreterSessionCommand.js +2 -2
  14. package/dist-es/commands/GetEventCommand.js +2 -2
  15. package/dist-es/commands/GetMemoryRecordCommand.js +2 -2
  16. package/dist-es/commands/GetResourceApiKeyCommand.js +2 -2
  17. package/dist-es/commands/GetResourceOauth2TokenCommand.js +2 -2
  18. package/dist-es/commands/GetWorkloadAccessTokenCommand.js +2 -2
  19. package/dist-es/commands/GetWorkloadAccessTokenForJWTCommand.js +2 -2
  20. package/dist-es/commands/GetWorkloadAccessTokenForUserIdCommand.js +2 -2
  21. package/dist-es/commands/InvokeAgentRuntimeCommand.js +2 -2
  22. package/dist-es/commands/InvokeCodeInterpreterCommand.js +2 -2
  23. package/dist-es/commands/ListActorsCommand.js +2 -2
  24. package/dist-es/commands/ListBrowserSessionsCommand.js +2 -2
  25. package/dist-es/commands/ListCodeInterpreterSessionsCommand.js +2 -2
  26. package/dist-es/commands/ListEventsCommand.js +2 -2
  27. package/dist-es/commands/ListMemoryExtractionJobsCommand.js +2 -2
  28. package/dist-es/commands/ListMemoryRecordsCommand.js +2 -2
  29. package/dist-es/commands/ListSessionsCommand.js +2 -2
  30. package/dist-es/commands/RetrieveMemoryRecordsCommand.js +2 -2
  31. package/dist-es/commands/StartBrowserSessionCommand.js +2 -2
  32. package/dist-es/commands/StartCodeInterpreterSessionCommand.js +2 -2
  33. package/dist-es/commands/StartMemoryExtractionJobCommand.js +2 -2
  34. package/dist-es/commands/StopBrowserSessionCommand.js +2 -2
  35. package/dist-es/commands/StopCodeInterpreterSessionCommand.js +2 -2
  36. package/dist-es/commands/StopRuntimeSessionCommand.js +2 -2
  37. package/dist-es/commands/UpdateBrowserStreamCommand.js +2 -2
  38. package/dist-es/index.js +1 -0
  39. package/dist-es/runtimeConfig.shared.js +6 -1
  40. package/dist-es/schemas/schemas_0.js +330 -330
  41. package/dist-types/BedrockAgentCoreClient.d.ts +1 -10
  42. package/dist-types/index.d.ts +1 -0
  43. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  44. package/dist-types/runtimeConfig.d.ts +6 -2
  45. package/dist-types/runtimeConfig.native.d.ts +6 -2
  46. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  47. package/dist-types/schemas/schemas_0.d.ts +170 -209
  48. package/dist-types/ts3.4/BedrockAgentCoreClient.d.ts +0 -4
  49. package/dist-types/ts3.4/index.d.ts +1 -0
  50. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  51. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  52. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  53. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  54. package/dist-types/ts3.4/schemas/schemas_0.d.ts +169 -211
  55. package/package.json +38 -38
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./BedrockAgentCoreClient";
2
2
  export * from "./BedrockAgentCore";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -24,7 +24,12 @@ export const getRuntimeConfig = (config) => {
24
24
  },
25
25
  ],
26
26
  logger: config?.logger ?? new NoOpLogger(),
27
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.bedrockagentcore" }),
27
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
28
+ protocolSettings: config?.protocolSettings ?? {
29
+ defaultNamespace: "com.amazonaws.bedrockagentcore",
30
+ version: "2024-02-28",
31
+ serviceTarget: "AmazonBedrockAgentCore",
32
+ },
28
33
  sdkStreamMixin: config?.sdkStreamMixin ?? sdkStreamMixin,
29
34
  serviceId: config?.serviceId ?? "Bedrock AgentCore",
30
35
  urlParser: config?.urlParser ?? parseUrl,