@aws-sdk/client-bedrock-agentcore 3.1073.0 → 3.1074.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.
package/dist-cjs/index.js CHANGED
@@ -1241,6 +1241,9 @@ const MemoryRecordStatus = {
1241
1241
  FAILED: "FAILED",
1242
1242
  SUCCEEDED: "SUCCEEDED",
1243
1243
  };
1244
+ const ExtractionMode = {
1245
+ SKIP: "SKIP",
1246
+ };
1244
1247
  const Role = {
1245
1248
  ASSISTANT: "ASSISTANT",
1246
1249
  OTHER: "OTHER",
@@ -1356,6 +1359,7 @@ exports.DescriptorType = DescriptorType;
1356
1359
  exports.EvaluateCommand = EvaluateCommand;
1357
1360
  exports.EventFilterCondition = EventFilterCondition;
1358
1361
  exports.ExtractionJobStatus = ExtractionJobStatus;
1362
+ exports.ExtractionMode = ExtractionMode;
1359
1363
  exports.GetABTestCommand = GetABTestCommand;
1360
1364
  exports.GetAgentCardCommand = GetAgentCardCommand;
1361
1365
  exports.GetBatchEvaluationCommand = GetBatchEvaluationCommand;
@@ -703,6 +703,7 @@ const _eM = "evaluatorMetrics";
703
703
  const _eMr = "errorMessage";
704
704
  const _eMv = "eventMetadata";
705
705
  const _eMva = "evaluationMetadata";
706
+ const _eMx = "extractionMode";
706
707
  const _eN = "evaluatorName";
707
708
  const _eOC = "enableOnCreate";
708
709
  const _eP = "enterprisePolicies";
@@ -1522,8 +1523,8 @@ const CreateABTestResponse$ = [3, n0, _CABTRr,
1522
1523
  exports.CreateABTestResponse$ = CreateABTestResponse$;
1523
1524
  const CreateEventInput$ = [3, n0, _CEI,
1524
1525
  0,
1525
- [_mI, _aI, _eTv, _p, _sI, _b, _cT, _met],
1526
- [[0, 1], 0, 4, [() => PayloadTypeList, 0], 0, () => Branch$, [0, 4], () => MetadataMap], 4
1526
+ [_mI, _aI, _eTv, _p, _sI, _b, _cT, _met, _eMx],
1527
+ [[0, 1], 0, 4, [() => PayloadTypeList, 0], 0, () => Branch$, [0, 4], () => MetadataMap, 0], 4
1527
1528
  ];
1528
1529
  exports.CreateEventInput$ = CreateEventInput$;
1529
1530
  const CreateEventOutput$ = [3, n0, _CEO,
@@ -228,6 +228,9 @@ export const MemoryRecordStatus = {
228
228
  FAILED: "FAILED",
229
229
  SUCCEEDED: "SUCCEEDED",
230
230
  };
231
+ export const ExtractionMode = {
232
+ SKIP: "SKIP",
233
+ };
231
234
  export const Role = {
232
235
  ASSISTANT: "ASSISTANT",
233
236
  OTHER: "OTHER",
@@ -703,6 +703,7 @@ const _eM = "evaluatorMetrics";
703
703
  const _eMr = "errorMessage";
704
704
  const _eMv = "eventMetadata";
705
705
  const _eMva = "evaluationMetadata";
706
+ const _eMx = "extractionMode";
706
707
  const _eN = "evaluatorName";
707
708
  const _eOC = "enableOnCreate";
708
709
  const _eP = "enterprisePolicies";
@@ -1456,8 +1457,8 @@ export var CreateABTestResponse$ = [3, n0, _CABTRr,
1456
1457
  ];
1457
1458
  export var CreateEventInput$ = [3, n0, _CEI,
1458
1459
  0,
1459
- [_mI, _aI, _eTv, _p, _sI, _b, _cT, _met],
1460
- [[0, 1], 0, 4, [() => PayloadTypeList, 0], 0, () => Branch$, [0, 4], () => MetadataMap], 4
1460
+ [_mI, _aI, _eTv, _p, _sI, _b, _cT, _met, _eMx],
1461
+ [[0, 1], 0, 4, [() => PayloadTypeList, 0], 0, () => Branch$, [0, 4], () => MetadataMap, 0], 4
1461
1462
  ];
1462
1463
  export var CreateEventOutput$ = [3, n0, _CEO,
1463
1464
  0,
@@ -64,6 +64,7 @@ declare const CreateEventCommand_base: {
64
64
  * stringValue: "STRING_VALUE",
65
65
  * },
66
66
  * },
67
+ * extractionMode: "SKIP",
67
68
  * };
68
69
  * const command = new CreateEventCommand(input);
69
70
  * const response = await client.send(command);
@@ -515,6 +515,17 @@ export declare const MemoryRecordStatus: {
515
515
  * @public
516
516
  */
517
517
  export type MemoryRecordStatus = (typeof MemoryRecordStatus)[keyof typeof MemoryRecordStatus];
518
+ /**
519
+ * @public
520
+ * @enum
521
+ */
522
+ export declare const ExtractionMode: {
523
+ readonly SKIP: "SKIP";
524
+ };
525
+ /**
526
+ * @public
527
+ */
528
+ export type ExtractionMode = (typeof ExtractionMode)[keyof typeof ExtractionMode];
518
529
  /**
519
530
  * @public
520
531
  * @enum
@@ -1,5 +1,5 @@
1
1
  import type { DocumentType as __DocumentType, StreamingBlobTypes } from "@smithy/types";
2
- import type { ABTestExecutionStatus, ABTestStatus, AutomationStreamStatus, BatchEvaluationStatus, BrowserActionStatus, BrowserEnterprisePolicyType, BrowserSessionStatus, CloudWatchLogsFilterOperator, CodeInterpreterSessionStatus, CommandExecutionStatus, ContentBlockType, HarnessBedrockApiFormat, HarnessConversationRole, HarnessOpenAiApiFormat, HarnessStopReason, HarnessToolType, HarnessToolUseStatus, HarnessToolUseType, InsightsFailureCategory, LanguageRuntime, MemoryRecordStatus, MouseButton, Oauth2FlowType, OAuthGrantType, PaymentHttpMethodType, ProgrammingLanguage, RecommendationStatus, RecommendationType, ResourceContentType, Role, ScreenshotFormat, SessionStatus, TaskStatus, ToolName } from "./enums";
2
+ import type { ABTestExecutionStatus, ABTestStatus, AutomationStreamStatus, BatchEvaluationStatus, BrowserActionStatus, BrowserEnterprisePolicyType, BrowserSessionStatus, CloudWatchLogsFilterOperator, CodeInterpreterSessionStatus, CommandExecutionStatus, ContentBlockType, ExtractionMode, HarnessBedrockApiFormat, HarnessConversationRole, HarnessOpenAiApiFormat, HarnessStopReason, HarnessToolType, HarnessToolUseStatus, HarnessToolUseType, InsightsFailureCategory, LanguageRuntime, MemoryRecordStatus, MouseButton, Oauth2FlowType, OAuthGrantType, PaymentHttpMethodType, ProgrammingLanguage, RecommendationStatus, RecommendationType, ResourceContentType, Role, ScreenshotFormat, SessionStatus, TaskStatus, ToolName } from "./enums";
3
3
  import type { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, RuntimeClientError, ServiceQuotaExceededException, ThrottlingException, ValidationException } from "./errors";
4
4
  /**
5
5
  * <p> The agent card definition for A2A descriptors, including the schema version and inline content that describes the agent's capabilities.</p>
@@ -8288,6 +8288,11 @@ export interface CreateEventInput {
8288
8288
  * @public
8289
8289
  */
8290
8290
  metadata?: Record<string, MetadataValue> | undefined;
8291
+ /**
8292
+ * <p>Controls long-term memory extraction for this event. When set to <code>SKIP</code>, the event is stored in short-term memory but is excluded from long-term memory extraction. If not specified, the event is processed for extraction as usual.</p>
8293
+ * @public
8294
+ */
8295
+ extractionMode?: ExtractionMode | undefined;
8291
8296
  }
8292
8297
  /**
8293
8298
  * <p>Contains information about an event in an AgentCore Memory resource.</p>
@@ -291,6 +291,11 @@ export declare const MemoryRecordStatus: {
291
291
  };
292
292
  export type MemoryRecordStatus =
293
293
  (typeof MemoryRecordStatus)[keyof typeof MemoryRecordStatus];
294
+ export declare const ExtractionMode: {
295
+ readonly SKIP: "SKIP";
296
+ };
297
+ export type ExtractionMode =
298
+ (typeof ExtractionMode)[keyof typeof ExtractionMode];
294
299
  export declare const Role: {
295
300
  readonly ASSISTANT: "ASSISTANT";
296
301
  readonly OTHER: "OTHER";
@@ -14,6 +14,7 @@ import {
14
14
  CodeInterpreterSessionStatus,
15
15
  CommandExecutionStatus,
16
16
  ContentBlockType,
17
+ ExtractionMode,
17
18
  HarnessBedrockApiFormat,
18
19
  HarnessConversationRole,
19
20
  HarnessOpenAiApiFormat,
@@ -3138,6 +3139,7 @@ export interface CreateEventInput {
3138
3139
  branch?: Branch | undefined;
3139
3140
  clientToken?: string | undefined;
3140
3141
  metadata?: Record<string, MetadataValue> | undefined;
3142
+ extractionMode?: ExtractionMode | undefined;
3141
3143
  }
3142
3144
  export interface Event {
3143
3145
  memoryId: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock-agentcore",
3
3
  "description": "AWS SDK for JavaScript Bedrock Agentcore Client for Node.js, Browser and React Native",
4
- "version": "3.1073.0",
4
+ "version": "3.1074.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -21,8 +21,8 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.974.22",
25
- "@aws-sdk/credential-provider-node": "^3.972.57",
24
+ "@aws-sdk/core": "^3.974.23",
25
+ "@aws-sdk/credential-provider-node": "^3.972.58",
26
26
  "@aws-sdk/types": "^3.973.13",
27
27
  "@smithy/core": "^3.24.6",
28
28
  "@smithy/fetch-http-handler": "^5.4.6",