@aws-sdk/client-bedrock-agentcore 3.936.0 → 3.937.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 (32) hide show
  1. package/README.md +17 -1
  2. package/dist-cjs/index.js +131 -3
  3. package/dist-es/BedrockAgentCore.js +4 -0
  4. package/dist-es/commands/ListMemoryExtractionJobsCommand.js +16 -0
  5. package/dist-es/commands/StartMemoryExtractionJobCommand.js +16 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/enums.js +3 -0
  8. package/dist-es/pagination/ListMemoryExtractionJobsPaginator.js +4 -0
  9. package/dist-es/pagination/index.js +1 -0
  10. package/dist-es/schemas/schemas_0.js +96 -3
  11. package/dist-types/BedrockAgentCore.d.ts +15 -1
  12. package/dist-types/BedrockAgentCoreClient.d.ts +5 -3
  13. package/dist-types/commands/ListMemoryExtractionJobsCommand.d.ts +118 -0
  14. package/dist-types/commands/StartMemoryExtractionJobCommand.d.ts +96 -0
  15. package/dist-types/commands/index.d.ts +2 -0
  16. package/dist-types/index.d.ts +1 -1
  17. package/dist-types/models/enums.d.ts +11 -0
  18. package/dist-types/models/models_0.d.ts +207 -10
  19. package/dist-types/pagination/ListMemoryExtractionJobsPaginator.d.ts +7 -0
  20. package/dist-types/pagination/index.d.ts +1 -0
  21. package/dist-types/schemas/schemas_0.d.ts +14 -0
  22. package/dist-types/ts3.4/BedrockAgentCore.d.ts +34 -0
  23. package/dist-types/ts3.4/BedrockAgentCoreClient.d.ts +12 -0
  24. package/dist-types/ts3.4/commands/ListMemoryExtractionJobsCommand.d.ts +51 -0
  25. package/dist-types/ts3.4/commands/StartMemoryExtractionJobCommand.d.ts +51 -0
  26. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  27. package/dist-types/ts3.4/models/enums.d.ts +5 -0
  28. package/dist-types/ts3.4/models/models_0.d.ts +58 -0
  29. package/dist-types/ts3.4/pagination/ListMemoryExtractionJobsPaginator.d.ts +11 -0
  30. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  31. package/dist-types/ts3.4/schemas/schemas_0.d.ts +14 -0
  32. package/package.json +1 -1
@@ -7,6 +7,7 @@ import {
7
7
  BrowserSessionStatus,
8
8
  CodeInterpreterSessionStatus,
9
9
  ContentBlockType,
10
+ ExtractionJobStatus,
10
11
  MemoryRecordStatus,
11
12
  Oauth2FlowType,
12
13
  OperatorType,
@@ -763,6 +764,52 @@ export interface ListEventsOutput {
763
764
  events: Event[] | undefined;
764
765
  nextToken?: string | undefined;
765
766
  }
767
+ export interface ExtractionJobFilterInput {
768
+ strategyId?: string | undefined;
769
+ sessionId?: string | undefined;
770
+ actorId?: string | undefined;
771
+ status?: ExtractionJobStatus | undefined;
772
+ }
773
+ export interface ListMemoryExtractionJobsInput {
774
+ memoryId: string | undefined;
775
+ maxResults?: number | undefined;
776
+ filter?: ExtractionJobFilterInput | undefined;
777
+ nextToken?: string | undefined;
778
+ }
779
+ export interface MessageMetadata {
780
+ eventId: string | undefined;
781
+ messageIndex: number | undefined;
782
+ }
783
+ export type ExtractionJobMessages =
784
+ | ExtractionJobMessages.MessagesListMember
785
+ | ExtractionJobMessages.$UnknownMember;
786
+ export declare namespace ExtractionJobMessages {
787
+ interface MessagesListMember {
788
+ messagesList: MessageMetadata[];
789
+ $unknown?: never;
790
+ }
791
+ interface $UnknownMember {
792
+ messagesList?: never;
793
+ $unknown: [string, any];
794
+ }
795
+ interface Visitor<T> {
796
+ messagesList: (value: MessageMetadata[]) => T;
797
+ _: (name: string, value: any) => T;
798
+ }
799
+ }
800
+ export interface ExtractionJobMetadata {
801
+ jobID: string | undefined;
802
+ messages: ExtractionJobMessages | undefined;
803
+ status?: ExtractionJobStatus | undefined;
804
+ failureReason?: string | undefined;
805
+ strategyId?: string | undefined;
806
+ sessionId?: string | undefined;
807
+ actorId?: string | undefined;
808
+ }
809
+ export interface ListMemoryExtractionJobsOutput {
810
+ jobs: ExtractionJobMetadata[] | undefined;
811
+ nextToken?: string | undefined;
812
+ }
766
813
  export interface ListMemoryRecordsInput {
767
814
  memoryId: string | undefined;
768
815
  namespace: string | undefined;
@@ -813,3 +860,14 @@ export interface RetrieveMemoryRecordsOutput {
813
860
  memoryRecordSummaries: MemoryRecordSummary[] | undefined;
814
861
  nextToken?: string | undefined;
815
862
  }
863
+ export interface ExtractionJob {
864
+ jobId: string | undefined;
865
+ }
866
+ export interface StartMemoryExtractionJobInput {
867
+ memoryId: string | undefined;
868
+ extractionJob: ExtractionJob | undefined;
869
+ clientToken?: string | undefined;
870
+ }
871
+ export interface StartMemoryExtractionJobOutput {
872
+ jobId: string | undefined;
873
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListMemoryExtractionJobsCommandInput,
4
+ ListMemoryExtractionJobsCommandOutput,
5
+ } from "../commands/ListMemoryExtractionJobsCommand";
6
+ import { BedrockAgentCorePaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListMemoryExtractionJobs: (
8
+ config: BedrockAgentCorePaginationConfiguration,
9
+ input: ListMemoryExtractionJobsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListMemoryExtractionJobsCommandOutput>;
@@ -1,6 +1,7 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListActorsPaginator";
3
3
  export * from "./ListEventsPaginator";
4
+ export * from "./ListMemoryExtractionJobsPaginator";
4
5
  export * from "./ListMemoryRecordsPaginator";
5
6
  export * from "./ListSessionsPaginator";
6
7
  export * from "./RetrieveMemoryRecordsPaginator";
@@ -11,6 +11,7 @@ export declare var ApiKeyType: StaticSimpleSchema;
11
11
  export declare var AuthorizationUrlType: StaticSimpleSchema;
12
12
  export declare var Body: StaticSimpleSchema;
13
13
  export declare var CustomRequestValueType: StaticSimpleSchema;
14
+ export declare var Document: StaticSimpleSchema;
14
15
  export declare var ResponseStream: StaticSimpleSchema;
15
16
  export declare var SensitiveString: StaticSimpleSchema;
16
17
  export declare var State: StaticSimpleSchema;
@@ -45,6 +46,9 @@ export declare var DeleteMemoryRecordInput: StaticStructureSchema;
45
46
  export declare var DeleteMemoryRecordOutput: StaticStructureSchema;
46
47
  export declare var Event: StaticStructureSchema;
47
48
  export declare var EventMetadataFilterExpression: StaticStructureSchema;
49
+ export declare var ExtractionJob: StaticStructureSchema;
50
+ export declare var ExtractionJobFilterInput: StaticStructureSchema;
51
+ export declare var ExtractionJobMetadata: StaticStructureSchema;
48
52
  export declare var FilterInput: StaticStructureSchema;
49
53
  export declare var GetAgentCardRequest: StaticStructureSchema;
50
54
  export declare var GetAgentCardResponse: StaticStructureSchema;
@@ -81,6 +85,8 @@ export declare var ListCodeInterpreterSessionsRequest: StaticStructureSchema;
81
85
  export declare var ListCodeInterpreterSessionsResponse: StaticStructureSchema;
82
86
  export declare var ListEventsInput: StaticStructureSchema;
83
87
  export declare var ListEventsOutput: StaticStructureSchema;
88
+ export declare var ListMemoryExtractionJobsInput: StaticStructureSchema;
89
+ export declare var ListMemoryExtractionJobsOutput: StaticStructureSchema;
84
90
  export declare var ListMemoryRecordsInput: StaticStructureSchema;
85
91
  export declare var ListMemoryRecordsOutput: StaticStructureSchema;
86
92
  export declare var ListSessionsInput: StaticStructureSchema;
@@ -92,6 +98,7 @@ export declare var MemoryRecordDeleteInput: StaticStructureSchema;
92
98
  export declare var MemoryRecordOutput: StaticStructureSchema;
93
99
  export declare var MemoryRecordSummary: StaticStructureSchema;
94
100
  export declare var MemoryRecordUpdateInput: StaticStructureSchema;
101
+ export declare var MessageMetadata: StaticStructureSchema;
95
102
  export declare var ResourceContent: StaticStructureSchema;
96
103
  export declare var ResourceNotFoundException: StaticErrorSchema;
97
104
  export declare var RetrieveMemoryRecordsInput: StaticStructureSchema;
@@ -105,6 +112,8 @@ export declare var StartBrowserSessionRequest: StaticStructureSchema;
105
112
  export declare var StartBrowserSessionResponse: StaticStructureSchema;
106
113
  export declare var StartCodeInterpreterSessionRequest: StaticStructureSchema;
107
114
  export declare var StartCodeInterpreterSessionResponse: StaticStructureSchema;
115
+ export declare var StartMemoryExtractionJobInput: StaticStructureSchema;
116
+ export declare var StartMemoryExtractionJobOutput: StaticStructureSchema;
108
117
  export declare var StopBrowserSessionRequest: StaticStructureSchema;
109
118
  export declare var StopBrowserSessionResponse: StaticStructureSchema;
110
119
  export declare var StopCodeInterpreterSessionRequest: StaticStructureSchema;
@@ -129,12 +138,14 @@ export declare var CodeInterpreterSessionSummaries: StaticListSchema;
129
138
  export declare var ContentBlockList: StaticListSchema;
130
139
  export declare var EventList: StaticListSchema;
131
140
  export declare var EventMetadataFilterList: StaticListSchema;
141
+ export declare var ExtractionJobMetadataList: StaticListSchema;
132
142
  export declare var InputContentBlockList: StaticListSchema;
133
143
  export declare var MemoryRecordsCreateInputList: StaticListSchema;
134
144
  export declare var MemoryRecordsDeleteInputList: StaticListSchema;
135
145
  export declare var MemoryRecordsOutputList: StaticListSchema;
136
146
  export declare var MemoryRecordSummaryList: StaticListSchema;
137
147
  export declare var MemoryRecordsUpdateInputList: StaticListSchema;
148
+ export declare var MessagesList: StaticListSchema;
138
149
  export declare var NamespacesList: number;
139
150
  export declare var PayloadTypeList: StaticListSchema;
140
151
  export declare var ScopesListType: number;
@@ -145,6 +156,7 @@ export declare var CustomRequestParametersType: StaticMapSchema;
145
156
  export declare var MetadataMap: StaticMapSchema;
146
157
  export declare var CodeInterpreterStreamOutput: StaticStructureSchema;
147
158
  export declare var Content: StaticStructureSchema;
159
+ export declare var ExtractionJobMessages: StaticStructureSchema;
148
160
  export declare var LeftExpression: StaticStructureSchema;
149
161
  export declare var MemoryContent: StaticStructureSchema;
150
162
  export declare var MetadataValue: StaticStructureSchema;
@@ -175,11 +187,13 @@ export declare var ListActors: StaticOperationSchema;
175
187
  export declare var ListBrowserSessions: StaticOperationSchema;
176
188
  export declare var ListCodeInterpreterSessions: StaticOperationSchema;
177
189
  export declare var ListEvents: StaticOperationSchema;
190
+ export declare var ListMemoryExtractionJobs: StaticOperationSchema;
178
191
  export declare var ListMemoryRecords: StaticOperationSchema;
179
192
  export declare var ListSessions: StaticOperationSchema;
180
193
  export declare var RetrieveMemoryRecords: StaticOperationSchema;
181
194
  export declare var StartBrowserSession: StaticOperationSchema;
182
195
  export declare var StartCodeInterpreterSession: StaticOperationSchema;
196
+ export declare var StartMemoryExtractionJob: StaticOperationSchema;
183
197
  export declare var StopBrowserSession: StaticOperationSchema;
184
198
  export declare var StopCodeInterpreterSession: StaticOperationSchema;
185
199
  export declare var StopRuntimeSession: StaticOperationSchema;
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.936.0",
4
+ "version": "3.937.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-bedrock-agentcore",