@aws-sdk/client-bedrock-agentcore 3.899.0 → 3.904.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 (42) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/endpoint/ruleset.js +1 -1
  3. package/dist-cjs/index.js +432 -77
  4. package/dist-es/BedrockAgentCore.js +10 -0
  5. package/dist-es/commands/BatchCreateMemoryRecordsCommand.js +23 -0
  6. package/dist-es/commands/BatchDeleteMemoryRecordsCommand.js +22 -0
  7. package/dist-es/commands/BatchUpdateMemoryRecordsCommand.js +23 -0
  8. package/dist-es/commands/GetAgentCardCommand.js +22 -0
  9. package/dist-es/commands/StopRuntimeSessionCommand.js +22 -0
  10. package/dist-es/commands/index.js +5 -0
  11. package/dist-es/endpoint/ruleset.js +1 -1
  12. package/dist-es/models/models_0.js +111 -56
  13. package/dist-es/protocols/Aws_restJson1.js +193 -6
  14. package/dist-types/BedrockAgentCore.d.ts +35 -0
  15. package/dist-types/BedrockAgentCoreClient.d.ts +7 -2
  16. package/dist-types/commands/BatchCreateMemoryRecordsCommand.d.ts +123 -0
  17. package/dist-types/commands/BatchDeleteMemoryRecordsCommand.d.ts +114 -0
  18. package/dist-types/commands/BatchUpdateMemoryRecordsCommand.d.ts +122 -0
  19. package/dist-types/commands/CreateEventCommand.d.ts +10 -0
  20. package/dist-types/commands/GetAgentCardCommand.d.ts +99 -0
  21. package/dist-types/commands/GetEventCommand.d.ts +5 -0
  22. package/dist-types/commands/GetResourceApiKeyCommand.d.ts +1 -1
  23. package/dist-types/commands/GetResourceOauth2TokenCommand.d.ts +1 -1
  24. package/dist-types/commands/GetWorkloadAccessTokenCommand.d.ts +1 -1
  25. package/dist-types/commands/GetWorkloadAccessTokenForJWTCommand.d.ts +1 -1
  26. package/dist-types/commands/GetWorkloadAccessTokenForUserIdCommand.d.ts +1 -1
  27. package/dist-types/commands/ListEventsCommand.d.ts +18 -0
  28. package/dist-types/commands/StopRuntimeSessionCommand.d.ts +105 -0
  29. package/dist-types/commands/index.d.ts +5 -0
  30. package/dist-types/models/models_0.d.ts +632 -186
  31. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  32. package/dist-types/ts3.4/BedrockAgentCore.d.ts +85 -0
  33. package/dist-types/ts3.4/BedrockAgentCoreClient.d.ts +30 -0
  34. package/dist-types/ts3.4/commands/BatchCreateMemoryRecordsCommand.d.ts +51 -0
  35. package/dist-types/ts3.4/commands/BatchDeleteMemoryRecordsCommand.d.ts +51 -0
  36. package/dist-types/ts3.4/commands/BatchUpdateMemoryRecordsCommand.d.ts +51 -0
  37. package/dist-types/ts3.4/commands/GetAgentCardCommand.d.ts +47 -0
  38. package/dist-types/ts3.4/commands/StopRuntimeSessionCommand.d.ts +51 -0
  39. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  40. package/dist-types/ts3.4/models/models_0.d.ts +225 -70
  41. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  42. package/package.json +42 -42
package/README.md CHANGED
@@ -203,6 +203,30 @@ see LICENSE for more information.
203
203
 
204
204
  ## Client Commands (Operations List)
205
205
 
206
+ <details>
207
+ <summary>
208
+ BatchCreateMemoryRecords
209
+ </summary>
210
+
211
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agentcore/command/BatchCreateMemoryRecordsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/BatchCreateMemoryRecordsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/BatchCreateMemoryRecordsCommandOutput/)
212
+
213
+ </details>
214
+ <details>
215
+ <summary>
216
+ BatchDeleteMemoryRecords
217
+ </summary>
218
+
219
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agentcore/command/BatchDeleteMemoryRecordsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/BatchDeleteMemoryRecordsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/BatchDeleteMemoryRecordsCommandOutput/)
220
+
221
+ </details>
222
+ <details>
223
+ <summary>
224
+ BatchUpdateMemoryRecords
225
+ </summary>
226
+
227
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agentcore/command/BatchUpdateMemoryRecordsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/BatchUpdateMemoryRecordsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/BatchUpdateMemoryRecordsCommandOutput/)
228
+
229
+ </details>
206
230
  <details>
207
231
  <summary>
208
232
  CreateEvent
@@ -226,6 +250,14 @@ DeleteMemoryRecord
226
250
 
227
251
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agentcore/command/DeleteMemoryRecordCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/DeleteMemoryRecordCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/DeleteMemoryRecordCommandOutput/)
228
252
 
253
+ </details>
254
+ <details>
255
+ <summary>
256
+ GetAgentCard
257
+ </summary>
258
+
259
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agentcore/command/GetAgentCardCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/GetAgentCardCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/GetAgentCardCommandOutput/)
260
+
229
261
  </details>
230
262
  <details>
231
263
  <summary>
@@ -402,6 +434,14 @@ StopCodeInterpreterSession
402
434
 
403
435
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agentcore/command/StopCodeInterpreterSessionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/StopCodeInterpreterSessionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/StopCodeInterpreterSessionCommandOutput/)
404
436
 
437
+ </details>
438
+ <details>
439
+ <summary>
440
+ StopRuntimeSession
441
+ </summary>
442
+
443
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agentcore/command/StopRuntimeSessionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/StopRuntimeSessionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/StopRuntimeSessionCommandOutput/)
444
+
405
445
  </details>
406
446
  <details>
407
447
  <summary>
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
4
  const s = "required", t = "fn", u = "argv", v = "ref";
5
- const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
5
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "string" }, i = { [s]: true, "default": false, "type": "boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
6
6
  const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://bedrock-agentcore-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://bedrock-agentcore-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://bedrock-agentcore.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://bedrock-agentcore.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
7
7
  exports.ruleSet = _data;