@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.
- package/README.md +40 -0
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/index.js +432 -77
- package/dist-es/BedrockAgentCore.js +10 -0
- package/dist-es/commands/BatchCreateMemoryRecordsCommand.js +23 -0
- package/dist-es/commands/BatchDeleteMemoryRecordsCommand.js +22 -0
- package/dist-es/commands/BatchUpdateMemoryRecordsCommand.js +23 -0
- package/dist-es/commands/GetAgentCardCommand.js +22 -0
- package/dist-es/commands/StopRuntimeSessionCommand.js +22 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +111 -56
- package/dist-es/protocols/Aws_restJson1.js +193 -6
- package/dist-types/BedrockAgentCore.d.ts +35 -0
- package/dist-types/BedrockAgentCoreClient.d.ts +7 -2
- package/dist-types/commands/BatchCreateMemoryRecordsCommand.d.ts +123 -0
- package/dist-types/commands/BatchDeleteMemoryRecordsCommand.d.ts +114 -0
- package/dist-types/commands/BatchUpdateMemoryRecordsCommand.d.ts +122 -0
- package/dist-types/commands/CreateEventCommand.d.ts +10 -0
- package/dist-types/commands/GetAgentCardCommand.d.ts +99 -0
- package/dist-types/commands/GetEventCommand.d.ts +5 -0
- package/dist-types/commands/GetResourceApiKeyCommand.d.ts +1 -1
- package/dist-types/commands/GetResourceOauth2TokenCommand.d.ts +1 -1
- package/dist-types/commands/GetWorkloadAccessTokenCommand.d.ts +1 -1
- package/dist-types/commands/GetWorkloadAccessTokenForJWTCommand.d.ts +1 -1
- package/dist-types/commands/GetWorkloadAccessTokenForUserIdCommand.d.ts +1 -1
- package/dist-types/commands/ListEventsCommand.d.ts +18 -0
- package/dist-types/commands/StopRuntimeSessionCommand.d.ts +105 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +632 -186
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/BedrockAgentCore.d.ts +85 -0
- package/dist-types/ts3.4/BedrockAgentCoreClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/BatchCreateMemoryRecordsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchDeleteMemoryRecordsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchUpdateMemoryRecordsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAgentCardCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/StopRuntimeSessionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +225 -70
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +42 -42
|
@@ -14,40 +14,23 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
14
14
|
export interface ActorSummary {
|
|
15
15
|
actorId: string | undefined;
|
|
16
16
|
}
|
|
17
|
-
export
|
|
18
|
-
readonly name: "InternalServerException";
|
|
19
|
-
readonly $fault: "server";
|
|
20
|
-
constructor(
|
|
21
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
22
|
-
);
|
|
23
|
-
}
|
|
24
|
-
export interface InvokeAgentRuntimeRequest {
|
|
25
|
-
contentType?: string | undefined;
|
|
26
|
-
accept?: string | undefined;
|
|
27
|
-
mcpSessionId?: string | undefined;
|
|
17
|
+
export interface GetAgentCardRequest {
|
|
28
18
|
runtimeSessionId?: string | undefined;
|
|
29
|
-
mcpProtocolVersion?: string | undefined;
|
|
30
|
-
runtimeUserId?: string | undefined;
|
|
31
|
-
traceId?: string | undefined;
|
|
32
|
-
traceParent?: string | undefined;
|
|
33
|
-
traceState?: string | undefined;
|
|
34
|
-
baggage?: string | undefined;
|
|
35
19
|
agentRuntimeArn: string | undefined;
|
|
36
20
|
qualifier?: string | undefined;
|
|
37
|
-
payload: Uint8Array | undefined;
|
|
38
21
|
}
|
|
39
|
-
export interface
|
|
22
|
+
export interface GetAgentCardResponse {
|
|
40
23
|
runtimeSessionId?: string | undefined;
|
|
41
|
-
|
|
42
|
-
mcpProtocolVersion?: string | undefined;
|
|
43
|
-
traceId?: string | undefined;
|
|
44
|
-
traceParent?: string | undefined;
|
|
45
|
-
traceState?: string | undefined;
|
|
46
|
-
baggage?: string | undefined;
|
|
47
|
-
contentType: string | undefined;
|
|
48
|
-
response?: StreamingBlobTypes | undefined;
|
|
24
|
+
agentCard: __DocumentType | undefined;
|
|
49
25
|
statusCode?: number | undefined;
|
|
50
26
|
}
|
|
27
|
+
export declare class InternalServerException extends __BaseException {
|
|
28
|
+
readonly name: "InternalServerException";
|
|
29
|
+
readonly $fault: "server";
|
|
30
|
+
constructor(
|
|
31
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
32
|
+
);
|
|
33
|
+
}
|
|
51
34
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
52
35
|
readonly name: "ResourceNotFoundException";
|
|
53
36
|
readonly $fault: "client";
|
|
@@ -96,6 +79,55 @@ export declare class ValidationException extends __BaseException {
|
|
|
96
79
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
97
80
|
);
|
|
98
81
|
}
|
|
82
|
+
export interface InvokeAgentRuntimeRequest {
|
|
83
|
+
contentType?: string | undefined;
|
|
84
|
+
accept?: string | undefined;
|
|
85
|
+
mcpSessionId?: string | undefined;
|
|
86
|
+
runtimeSessionId?: string | undefined;
|
|
87
|
+
mcpProtocolVersion?: string | undefined;
|
|
88
|
+
runtimeUserId?: string | undefined;
|
|
89
|
+
traceId?: string | undefined;
|
|
90
|
+
traceParent?: string | undefined;
|
|
91
|
+
traceState?: string | undefined;
|
|
92
|
+
baggage?: string | undefined;
|
|
93
|
+
agentRuntimeArn: string | undefined;
|
|
94
|
+
qualifier?: string | undefined;
|
|
95
|
+
payload: Uint8Array | undefined;
|
|
96
|
+
}
|
|
97
|
+
export interface InvokeAgentRuntimeResponse {
|
|
98
|
+
runtimeSessionId?: string | undefined;
|
|
99
|
+
mcpSessionId?: string | undefined;
|
|
100
|
+
mcpProtocolVersion?: string | undefined;
|
|
101
|
+
traceId?: string | undefined;
|
|
102
|
+
traceParent?: string | undefined;
|
|
103
|
+
traceState?: string | undefined;
|
|
104
|
+
baggage?: string | undefined;
|
|
105
|
+
contentType: string | undefined;
|
|
106
|
+
response?: StreamingBlobTypes | undefined;
|
|
107
|
+
statusCode?: number | undefined;
|
|
108
|
+
}
|
|
109
|
+
export declare class ConflictException extends __BaseException {
|
|
110
|
+
readonly name: "ConflictException";
|
|
111
|
+
readonly $fault: "client";
|
|
112
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
113
|
+
}
|
|
114
|
+
export interface StopRuntimeSessionRequest {
|
|
115
|
+
runtimeSessionId: string | undefined;
|
|
116
|
+
agentRuntimeArn: string | undefined;
|
|
117
|
+
qualifier?: string | undefined;
|
|
118
|
+
clientToken?: string | undefined;
|
|
119
|
+
}
|
|
120
|
+
export interface StopRuntimeSessionResponse {
|
|
121
|
+
runtimeSessionId?: string | undefined;
|
|
122
|
+
statusCode?: number | undefined;
|
|
123
|
+
}
|
|
124
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
125
|
+
readonly name: "UnauthorizedException";
|
|
126
|
+
readonly $fault: "client";
|
|
127
|
+
constructor(
|
|
128
|
+
opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
|
|
129
|
+
);
|
|
130
|
+
}
|
|
99
131
|
export interface GetBrowserSessionRequest {
|
|
100
132
|
browserIdentifier: string | undefined;
|
|
101
133
|
sessionId: string | undefined;
|
|
@@ -157,11 +189,6 @@ export interface ListBrowserSessionsResponse {
|
|
|
157
189
|
items: BrowserSessionSummary[] | undefined;
|
|
158
190
|
nextToken?: string | undefined;
|
|
159
191
|
}
|
|
160
|
-
export declare class ConflictException extends __BaseException {
|
|
161
|
-
readonly name: "ConflictException";
|
|
162
|
-
readonly $fault: "client";
|
|
163
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
164
|
-
}
|
|
165
192
|
export interface StartBrowserSessionRequest {
|
|
166
193
|
browserIdentifier: string | undefined;
|
|
167
194
|
name?: string | undefined;
|
|
@@ -282,13 +309,6 @@ export interface GetResourceApiKeyRequest {
|
|
|
282
309
|
export interface GetResourceApiKeyResponse {
|
|
283
310
|
apiKey: string | undefined;
|
|
284
311
|
}
|
|
285
|
-
export declare class UnauthorizedException extends __BaseException {
|
|
286
|
-
readonly name: "UnauthorizedException";
|
|
287
|
-
readonly $fault: "client";
|
|
288
|
-
constructor(
|
|
289
|
-
opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
|
|
290
|
-
);
|
|
291
|
-
}
|
|
292
312
|
export declare const Oauth2FlowType: {
|
|
293
313
|
readonly M2M: "M2M";
|
|
294
314
|
readonly USER_FEDERATION: "USER_FEDERATION";
|
|
@@ -552,10 +572,111 @@ export interface InvokeCodeInterpreterResponse {
|
|
|
552
572
|
sessionId?: string | undefined;
|
|
553
573
|
stream: AsyncIterable<CodeInterpreterStreamOutput> | undefined;
|
|
554
574
|
}
|
|
575
|
+
export type MemoryContent =
|
|
576
|
+
| MemoryContent.TextMember
|
|
577
|
+
| MemoryContent.$UnknownMember;
|
|
578
|
+
export declare namespace MemoryContent {
|
|
579
|
+
interface TextMember {
|
|
580
|
+
text: string;
|
|
581
|
+
$unknown?: never;
|
|
582
|
+
}
|
|
583
|
+
interface $UnknownMember {
|
|
584
|
+
text?: never;
|
|
585
|
+
$unknown: [string, any];
|
|
586
|
+
}
|
|
587
|
+
interface Visitor<T> {
|
|
588
|
+
text: (value: string) => T;
|
|
589
|
+
_: (name: string, value: any) => T;
|
|
590
|
+
}
|
|
591
|
+
const visit: <T>(value: MemoryContent, visitor: Visitor<T>) => T;
|
|
592
|
+
}
|
|
593
|
+
export interface MemoryRecordCreateInput {
|
|
594
|
+
requestIdentifier: string | undefined;
|
|
595
|
+
namespaces: string[] | undefined;
|
|
596
|
+
content: MemoryContent | undefined;
|
|
597
|
+
timestamp: Date | undefined;
|
|
598
|
+
memoryStrategyId?: string | undefined;
|
|
599
|
+
}
|
|
600
|
+
export interface BatchCreateMemoryRecordsInput {
|
|
601
|
+
memoryId: string | undefined;
|
|
602
|
+
records: MemoryRecordCreateInput[] | undefined;
|
|
603
|
+
clientToken?: string | undefined;
|
|
604
|
+
}
|
|
605
|
+
export declare const MemoryRecordStatus: {
|
|
606
|
+
readonly FAILED: "FAILED";
|
|
607
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
608
|
+
};
|
|
609
|
+
export type MemoryRecordStatus =
|
|
610
|
+
(typeof MemoryRecordStatus)[keyof typeof MemoryRecordStatus];
|
|
611
|
+
export interface MemoryRecordOutput {
|
|
612
|
+
memoryRecordId: string | undefined;
|
|
613
|
+
status: MemoryRecordStatus | undefined;
|
|
614
|
+
requestIdentifier?: string | undefined;
|
|
615
|
+
errorCode?: number | undefined;
|
|
616
|
+
errorMessage?: string | undefined;
|
|
617
|
+
}
|
|
618
|
+
export interface BatchCreateMemoryRecordsOutput {
|
|
619
|
+
successfulRecords: MemoryRecordOutput[] | undefined;
|
|
620
|
+
failedRecords: MemoryRecordOutput[] | undefined;
|
|
621
|
+
}
|
|
622
|
+
export declare class ServiceException extends __BaseException {
|
|
623
|
+
readonly name: "ServiceException";
|
|
624
|
+
readonly $fault: "server";
|
|
625
|
+
constructor(opts: __ExceptionOptionType<ServiceException, __BaseException>);
|
|
626
|
+
}
|
|
627
|
+
export declare class ThrottledException extends __BaseException {
|
|
628
|
+
readonly name: "ThrottledException";
|
|
629
|
+
readonly $fault: "client";
|
|
630
|
+
constructor(opts: __ExceptionOptionType<ThrottledException, __BaseException>);
|
|
631
|
+
}
|
|
632
|
+
export interface MemoryRecordDeleteInput {
|
|
633
|
+
memoryRecordId: string | undefined;
|
|
634
|
+
}
|
|
635
|
+
export interface BatchDeleteMemoryRecordsInput {
|
|
636
|
+
memoryId: string | undefined;
|
|
637
|
+
records: MemoryRecordDeleteInput[] | undefined;
|
|
638
|
+
}
|
|
639
|
+
export interface BatchDeleteMemoryRecordsOutput {
|
|
640
|
+
successfulRecords: MemoryRecordOutput[] | undefined;
|
|
641
|
+
failedRecords: MemoryRecordOutput[] | undefined;
|
|
642
|
+
}
|
|
643
|
+
export interface MemoryRecordUpdateInput {
|
|
644
|
+
memoryRecordId: string | undefined;
|
|
645
|
+
timestamp: Date | undefined;
|
|
646
|
+
content?: MemoryContent | undefined;
|
|
647
|
+
namespaces?: string[] | undefined;
|
|
648
|
+
memoryStrategyId?: string | undefined;
|
|
649
|
+
}
|
|
650
|
+
export interface BatchUpdateMemoryRecordsInput {
|
|
651
|
+
memoryId: string | undefined;
|
|
652
|
+
records: MemoryRecordUpdateInput[] | undefined;
|
|
653
|
+
}
|
|
654
|
+
export interface BatchUpdateMemoryRecordsOutput {
|
|
655
|
+
successfulRecords: MemoryRecordOutput[] | undefined;
|
|
656
|
+
failedRecords: MemoryRecordOutput[] | undefined;
|
|
657
|
+
}
|
|
555
658
|
export interface Branch {
|
|
556
659
|
rootEventId?: string | undefined;
|
|
557
660
|
name: string | undefined;
|
|
558
661
|
}
|
|
662
|
+
export type MetadataValue =
|
|
663
|
+
| MetadataValue.StringValueMember
|
|
664
|
+
| MetadataValue.$UnknownMember;
|
|
665
|
+
export declare namespace MetadataValue {
|
|
666
|
+
interface StringValueMember {
|
|
667
|
+
stringValue: string;
|
|
668
|
+
$unknown?: never;
|
|
669
|
+
}
|
|
670
|
+
interface $UnknownMember {
|
|
671
|
+
stringValue?: never;
|
|
672
|
+
$unknown: [string, any];
|
|
673
|
+
}
|
|
674
|
+
interface Visitor<T> {
|
|
675
|
+
stringValue: (value: string) => T;
|
|
676
|
+
_: (name: string, value: any) => T;
|
|
677
|
+
}
|
|
678
|
+
const visit: <T>(value: MetadataValue, visitor: Visitor<T>) => T;
|
|
679
|
+
}
|
|
559
680
|
export type Content = Content.TextMember | Content.$UnknownMember;
|
|
560
681
|
export declare namespace Content {
|
|
561
682
|
interface TextMember {
|
|
@@ -618,6 +739,7 @@ export interface CreateEventInput {
|
|
|
618
739
|
payload: PayloadType[] | undefined;
|
|
619
740
|
branch?: Branch | undefined;
|
|
620
741
|
clientToken?: string | undefined;
|
|
742
|
+
metadata?: Record<string, MetadataValue> | undefined;
|
|
621
743
|
}
|
|
622
744
|
export interface Event {
|
|
623
745
|
memoryId: string | undefined;
|
|
@@ -627,6 +749,7 @@ export interface Event {
|
|
|
627
749
|
eventTimestamp: Date | undefined;
|
|
628
750
|
payload: PayloadType[] | undefined;
|
|
629
751
|
branch?: Branch | undefined;
|
|
752
|
+
metadata?: Record<string, MetadataValue> | undefined;
|
|
630
753
|
}
|
|
631
754
|
export interface CreateEventOutput {
|
|
632
755
|
event: Event | undefined;
|
|
@@ -638,16 +761,6 @@ export declare class InvalidInputException extends __BaseException {
|
|
|
638
761
|
opts: __ExceptionOptionType<InvalidInputException, __BaseException>
|
|
639
762
|
);
|
|
640
763
|
}
|
|
641
|
-
export declare class ServiceException extends __BaseException {
|
|
642
|
-
readonly name: "ServiceException";
|
|
643
|
-
readonly $fault: "server";
|
|
644
|
-
constructor(opts: __ExceptionOptionType<ServiceException, __BaseException>);
|
|
645
|
-
}
|
|
646
|
-
export declare class ThrottledException extends __BaseException {
|
|
647
|
-
readonly name: "ThrottledException";
|
|
648
|
-
readonly $fault: "client";
|
|
649
|
-
constructor(opts: __ExceptionOptionType<ThrottledException, __BaseException>);
|
|
650
|
-
}
|
|
651
764
|
export interface DeleteEventInput {
|
|
652
765
|
memoryId: string | undefined;
|
|
653
766
|
sessionId: string | undefined;
|
|
@@ -677,24 +790,6 @@ export interface GetMemoryRecordInput {
|
|
|
677
790
|
memoryId: string | undefined;
|
|
678
791
|
memoryRecordId: string | undefined;
|
|
679
792
|
}
|
|
680
|
-
export type MemoryContent =
|
|
681
|
-
| MemoryContent.TextMember
|
|
682
|
-
| MemoryContent.$UnknownMember;
|
|
683
|
-
export declare namespace MemoryContent {
|
|
684
|
-
interface TextMember {
|
|
685
|
-
text: string;
|
|
686
|
-
$unknown?: never;
|
|
687
|
-
}
|
|
688
|
-
interface $UnknownMember {
|
|
689
|
-
text?: never;
|
|
690
|
-
$unknown: [string, any];
|
|
691
|
-
}
|
|
692
|
-
interface Visitor<T> {
|
|
693
|
-
text: (value: string) => T;
|
|
694
|
-
_: (name: string, value: any) => T;
|
|
695
|
-
}
|
|
696
|
-
const visit: <T>(value: MemoryContent, visitor: Visitor<T>) => T;
|
|
697
|
-
}
|
|
698
793
|
export interface MemoryRecord {
|
|
699
794
|
memoryRecordId: string | undefined;
|
|
700
795
|
content: MemoryContent | undefined;
|
|
@@ -718,8 +813,56 @@ export interface BranchFilter {
|
|
|
718
813
|
name: string | undefined;
|
|
719
814
|
includeParentBranches?: boolean | undefined;
|
|
720
815
|
}
|
|
816
|
+
export type LeftExpression =
|
|
817
|
+
| LeftExpression.MetadataKeyMember
|
|
818
|
+
| LeftExpression.$UnknownMember;
|
|
819
|
+
export declare namespace LeftExpression {
|
|
820
|
+
interface MetadataKeyMember {
|
|
821
|
+
metadataKey: string;
|
|
822
|
+
$unknown?: never;
|
|
823
|
+
}
|
|
824
|
+
interface $UnknownMember {
|
|
825
|
+
metadataKey?: never;
|
|
826
|
+
$unknown: [string, any];
|
|
827
|
+
}
|
|
828
|
+
interface Visitor<T> {
|
|
829
|
+
metadataKey: (value: string) => T;
|
|
830
|
+
_: (name: string, value: any) => T;
|
|
831
|
+
}
|
|
832
|
+
const visit: <T>(value: LeftExpression, visitor: Visitor<T>) => T;
|
|
833
|
+
}
|
|
834
|
+
export declare const OperatorType: {
|
|
835
|
+
readonly EQUALS_TO: "EQUALS_TO";
|
|
836
|
+
readonly EXISTS: "EXISTS";
|
|
837
|
+
readonly NOT_EXISTS: "NOT_EXISTS";
|
|
838
|
+
};
|
|
839
|
+
export type OperatorType = (typeof OperatorType)[keyof typeof OperatorType];
|
|
840
|
+
export type RightExpression =
|
|
841
|
+
| RightExpression.MetadataValueMember
|
|
842
|
+
| RightExpression.$UnknownMember;
|
|
843
|
+
export declare namespace RightExpression {
|
|
844
|
+
interface MetadataValueMember {
|
|
845
|
+
metadataValue: MetadataValue;
|
|
846
|
+
$unknown?: never;
|
|
847
|
+
}
|
|
848
|
+
interface $UnknownMember {
|
|
849
|
+
metadataValue?: never;
|
|
850
|
+
$unknown: [string, any];
|
|
851
|
+
}
|
|
852
|
+
interface Visitor<T> {
|
|
853
|
+
metadataValue: (value: MetadataValue) => T;
|
|
854
|
+
_: (name: string, value: any) => T;
|
|
855
|
+
}
|
|
856
|
+
const visit: <T>(value: RightExpression, visitor: Visitor<T>) => T;
|
|
857
|
+
}
|
|
858
|
+
export interface EventMetadataFilterExpression {
|
|
859
|
+
left: LeftExpression | undefined;
|
|
860
|
+
operator: OperatorType | undefined;
|
|
861
|
+
right?: RightExpression | undefined;
|
|
862
|
+
}
|
|
721
863
|
export interface FilterInput {
|
|
722
864
|
branch?: BranchFilter | undefined;
|
|
865
|
+
eventMetadata?: EventMetadataFilterExpression[] | undefined;
|
|
723
866
|
}
|
|
724
867
|
export interface ListEventsInput {
|
|
725
868
|
memoryId: string | undefined;
|
|
@@ -829,6 +972,21 @@ export declare const CodeInterpreterStreamOutputFilterSensitiveLog: (
|
|
|
829
972
|
export declare const InvokeCodeInterpreterResponseFilterSensitiveLog: (
|
|
830
973
|
obj: InvokeCodeInterpreterResponse
|
|
831
974
|
) => any;
|
|
975
|
+
export declare const MemoryContentFilterSensitiveLog: (
|
|
976
|
+
obj: MemoryContent
|
|
977
|
+
) => any;
|
|
978
|
+
export declare const MemoryRecordCreateInputFilterSensitiveLog: (
|
|
979
|
+
obj: MemoryRecordCreateInput
|
|
980
|
+
) => any;
|
|
981
|
+
export declare const BatchCreateMemoryRecordsInputFilterSensitiveLog: (
|
|
982
|
+
obj: BatchCreateMemoryRecordsInput
|
|
983
|
+
) => any;
|
|
984
|
+
export declare const MemoryRecordUpdateInputFilterSensitiveLog: (
|
|
985
|
+
obj: MemoryRecordUpdateInput
|
|
986
|
+
) => any;
|
|
987
|
+
export declare const BatchUpdateMemoryRecordsInputFilterSensitiveLog: (
|
|
988
|
+
obj: BatchUpdateMemoryRecordsInput
|
|
989
|
+
) => any;
|
|
832
990
|
export declare const ContentFilterSensitiveLog: (obj: Content) => any;
|
|
833
991
|
export declare const ConversationalFilterSensitiveLog: (
|
|
834
992
|
obj: Conversational
|
|
@@ -844,9 +1002,6 @@ export declare const CreateEventOutputFilterSensitiveLog: (
|
|
|
844
1002
|
export declare const GetEventOutputFilterSensitiveLog: (
|
|
845
1003
|
obj: GetEventOutput
|
|
846
1004
|
) => any;
|
|
847
|
-
export declare const MemoryContentFilterSensitiveLog: (
|
|
848
|
-
obj: MemoryContent
|
|
849
|
-
) => any;
|
|
850
1005
|
export declare const MemoryRecordFilterSensitiveLog: (obj: MemoryRecord) => any;
|
|
851
1006
|
export declare const GetMemoryRecordOutputFilterSensitiveLog: (
|
|
852
1007
|
obj: GetMemoryRecordOutput
|
|
@@ -7,6 +7,18 @@ import {
|
|
|
7
7
|
SdkStreamSerdeContext as __SdkStreamSerdeContext,
|
|
8
8
|
SerdeContext as __SerdeContext,
|
|
9
9
|
} from "@smithy/types";
|
|
10
|
+
import {
|
|
11
|
+
BatchCreateMemoryRecordsCommandInput,
|
|
12
|
+
BatchCreateMemoryRecordsCommandOutput,
|
|
13
|
+
} from "../commands/BatchCreateMemoryRecordsCommand";
|
|
14
|
+
import {
|
|
15
|
+
BatchDeleteMemoryRecordsCommandInput,
|
|
16
|
+
BatchDeleteMemoryRecordsCommandOutput,
|
|
17
|
+
} from "../commands/BatchDeleteMemoryRecordsCommand";
|
|
18
|
+
import {
|
|
19
|
+
BatchUpdateMemoryRecordsCommandInput,
|
|
20
|
+
BatchUpdateMemoryRecordsCommandOutput,
|
|
21
|
+
} from "../commands/BatchUpdateMemoryRecordsCommand";
|
|
10
22
|
import {
|
|
11
23
|
CreateEventCommandInput,
|
|
12
24
|
CreateEventCommandOutput,
|
|
@@ -19,6 +31,10 @@ import {
|
|
|
19
31
|
DeleteMemoryRecordCommandInput,
|
|
20
32
|
DeleteMemoryRecordCommandOutput,
|
|
21
33
|
} from "../commands/DeleteMemoryRecordCommand";
|
|
34
|
+
import {
|
|
35
|
+
GetAgentCardCommandInput,
|
|
36
|
+
GetAgentCardCommandOutput,
|
|
37
|
+
} from "../commands/GetAgentCardCommand";
|
|
22
38
|
import {
|
|
23
39
|
GetBrowserSessionCommandInput,
|
|
24
40
|
GetBrowserSessionCommandOutput,
|
|
@@ -107,10 +123,26 @@ import {
|
|
|
107
123
|
StopCodeInterpreterSessionCommandInput,
|
|
108
124
|
StopCodeInterpreterSessionCommandOutput,
|
|
109
125
|
} from "../commands/StopCodeInterpreterSessionCommand";
|
|
126
|
+
import {
|
|
127
|
+
StopRuntimeSessionCommandInput,
|
|
128
|
+
StopRuntimeSessionCommandOutput,
|
|
129
|
+
} from "../commands/StopRuntimeSessionCommand";
|
|
110
130
|
import {
|
|
111
131
|
UpdateBrowserStreamCommandInput,
|
|
112
132
|
UpdateBrowserStreamCommandOutput,
|
|
113
133
|
} from "../commands/UpdateBrowserStreamCommand";
|
|
134
|
+
export declare const se_BatchCreateMemoryRecordsCommand: (
|
|
135
|
+
input: BatchCreateMemoryRecordsCommandInput,
|
|
136
|
+
context: __SerdeContext
|
|
137
|
+
) => Promise<__HttpRequest>;
|
|
138
|
+
export declare const se_BatchDeleteMemoryRecordsCommand: (
|
|
139
|
+
input: BatchDeleteMemoryRecordsCommandInput,
|
|
140
|
+
context: __SerdeContext
|
|
141
|
+
) => Promise<__HttpRequest>;
|
|
142
|
+
export declare const se_BatchUpdateMemoryRecordsCommand: (
|
|
143
|
+
input: BatchUpdateMemoryRecordsCommandInput,
|
|
144
|
+
context: __SerdeContext
|
|
145
|
+
) => Promise<__HttpRequest>;
|
|
114
146
|
export declare const se_CreateEventCommand: (
|
|
115
147
|
input: CreateEventCommandInput,
|
|
116
148
|
context: __SerdeContext
|
|
@@ -123,6 +155,10 @@ export declare const se_DeleteMemoryRecordCommand: (
|
|
|
123
155
|
input: DeleteMemoryRecordCommandInput,
|
|
124
156
|
context: __SerdeContext
|
|
125
157
|
) => Promise<__HttpRequest>;
|
|
158
|
+
export declare const se_GetAgentCardCommand: (
|
|
159
|
+
input: GetAgentCardCommandInput,
|
|
160
|
+
context: __SerdeContext
|
|
161
|
+
) => Promise<__HttpRequest>;
|
|
126
162
|
export declare const se_GetBrowserSessionCommand: (
|
|
127
163
|
input: GetBrowserSessionCommandInput,
|
|
128
164
|
context: __SerdeContext
|
|
@@ -211,10 +247,26 @@ export declare const se_StopCodeInterpreterSessionCommand: (
|
|
|
211
247
|
input: StopCodeInterpreterSessionCommandInput,
|
|
212
248
|
context: __SerdeContext
|
|
213
249
|
) => Promise<__HttpRequest>;
|
|
250
|
+
export declare const se_StopRuntimeSessionCommand: (
|
|
251
|
+
input: StopRuntimeSessionCommandInput,
|
|
252
|
+
context: __SerdeContext
|
|
253
|
+
) => Promise<__HttpRequest>;
|
|
214
254
|
export declare const se_UpdateBrowserStreamCommand: (
|
|
215
255
|
input: UpdateBrowserStreamCommandInput,
|
|
216
256
|
context: __SerdeContext
|
|
217
257
|
) => Promise<__HttpRequest>;
|
|
258
|
+
export declare const de_BatchCreateMemoryRecordsCommand: (
|
|
259
|
+
output: __HttpResponse,
|
|
260
|
+
context: __SerdeContext
|
|
261
|
+
) => Promise<BatchCreateMemoryRecordsCommandOutput>;
|
|
262
|
+
export declare const de_BatchDeleteMemoryRecordsCommand: (
|
|
263
|
+
output: __HttpResponse,
|
|
264
|
+
context: __SerdeContext
|
|
265
|
+
) => Promise<BatchDeleteMemoryRecordsCommandOutput>;
|
|
266
|
+
export declare const de_BatchUpdateMemoryRecordsCommand: (
|
|
267
|
+
output: __HttpResponse,
|
|
268
|
+
context: __SerdeContext
|
|
269
|
+
) => Promise<BatchUpdateMemoryRecordsCommandOutput>;
|
|
218
270
|
export declare const de_CreateEventCommand: (
|
|
219
271
|
output: __HttpResponse,
|
|
220
272
|
context: __SerdeContext
|
|
@@ -227,6 +279,10 @@ export declare const de_DeleteMemoryRecordCommand: (
|
|
|
227
279
|
output: __HttpResponse,
|
|
228
280
|
context: __SerdeContext
|
|
229
281
|
) => Promise<DeleteMemoryRecordCommandOutput>;
|
|
282
|
+
export declare const de_GetAgentCardCommand: (
|
|
283
|
+
output: __HttpResponse,
|
|
284
|
+
context: __SerdeContext
|
|
285
|
+
) => Promise<GetAgentCardCommandOutput>;
|
|
230
286
|
export declare const de_GetBrowserSessionCommand: (
|
|
231
287
|
output: __HttpResponse,
|
|
232
288
|
context: __SerdeContext
|
|
@@ -315,6 +371,10 @@ export declare const de_StopCodeInterpreterSessionCommand: (
|
|
|
315
371
|
output: __HttpResponse,
|
|
316
372
|
context: __SerdeContext
|
|
317
373
|
) => Promise<StopCodeInterpreterSessionCommandOutput>;
|
|
374
|
+
export declare const de_StopRuntimeSessionCommand: (
|
|
375
|
+
output: __HttpResponse,
|
|
376
|
+
context: __SerdeContext
|
|
377
|
+
) => Promise<StopRuntimeSessionCommandOutput>;
|
|
318
378
|
export declare const de_UpdateBrowserStreamCommand: (
|
|
319
379
|
output: __HttpResponse,
|
|
320
380
|
context: __SerdeContext
|
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.
|
|
4
|
+
"version": "3.904.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",
|
|
@@ -20,47 +20,47 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
-
"@smithy/config-resolver": "^4.
|
|
35
|
-
"@smithy/core": "^3.
|
|
36
|
-
"@smithy/eventstream-serde-browser": "^4.
|
|
37
|
-
"@smithy/eventstream-serde-config-resolver": "^4.
|
|
38
|
-
"@smithy/eventstream-serde-node": "^4.
|
|
39
|
-
"@smithy/fetch-http-handler": "^5.
|
|
40
|
-
"@smithy/hash-node": "^4.
|
|
41
|
-
"@smithy/invalid-dependency": "^4.
|
|
42
|
-
"@smithy/middleware-content-length": "^4.
|
|
43
|
-
"@smithy/middleware-endpoint": "^4.
|
|
44
|
-
"@smithy/middleware-retry": "^4.
|
|
45
|
-
"@smithy/middleware-serde": "^4.
|
|
46
|
-
"@smithy/middleware-stack": "^4.
|
|
47
|
-
"@smithy/node-config-provider": "^4.
|
|
48
|
-
"@smithy/node-http-handler": "^4.
|
|
49
|
-
"@smithy/protocol-http": "^5.
|
|
50
|
-
"@smithy/smithy-client": "^4.
|
|
51
|
-
"@smithy/types": "^4.
|
|
52
|
-
"@smithy/url-parser": "^4.
|
|
53
|
-
"@smithy/util-base64": "^4.
|
|
54
|
-
"@smithy/util-body-length-browser": "^4.
|
|
55
|
-
"@smithy/util-body-length-node": "^4.
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^4.
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^4.
|
|
58
|
-
"@smithy/util-endpoints": "^3.
|
|
59
|
-
"@smithy/util-middleware": "^4.
|
|
60
|
-
"@smithy/util-retry": "^4.
|
|
61
|
-
"@smithy/util-stream": "^4.
|
|
62
|
-
"@smithy/util-utf8": "^4.
|
|
63
|
-
"@smithy/uuid": "^1.
|
|
23
|
+
"@aws-sdk/core": "3.901.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.901.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.901.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.901.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.901.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.901.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.901.0",
|
|
30
|
+
"@aws-sdk/types": "3.901.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.901.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.901.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.901.0",
|
|
34
|
+
"@smithy/config-resolver": "^4.3.0",
|
|
35
|
+
"@smithy/core": "^3.14.0",
|
|
36
|
+
"@smithy/eventstream-serde-browser": "^4.2.0",
|
|
37
|
+
"@smithy/eventstream-serde-config-resolver": "^4.3.0",
|
|
38
|
+
"@smithy/eventstream-serde-node": "^4.2.0",
|
|
39
|
+
"@smithy/fetch-http-handler": "^5.3.0",
|
|
40
|
+
"@smithy/hash-node": "^4.2.0",
|
|
41
|
+
"@smithy/invalid-dependency": "^4.2.0",
|
|
42
|
+
"@smithy/middleware-content-length": "^4.2.0",
|
|
43
|
+
"@smithy/middleware-endpoint": "^4.3.0",
|
|
44
|
+
"@smithy/middleware-retry": "^4.4.0",
|
|
45
|
+
"@smithy/middleware-serde": "^4.2.0",
|
|
46
|
+
"@smithy/middleware-stack": "^4.2.0",
|
|
47
|
+
"@smithy/node-config-provider": "^4.3.0",
|
|
48
|
+
"@smithy/node-http-handler": "^4.3.0",
|
|
49
|
+
"@smithy/protocol-http": "^5.3.0",
|
|
50
|
+
"@smithy/smithy-client": "^4.7.0",
|
|
51
|
+
"@smithy/types": "^4.6.0",
|
|
52
|
+
"@smithy/url-parser": "^4.2.0",
|
|
53
|
+
"@smithy/util-base64": "^4.2.0",
|
|
54
|
+
"@smithy/util-body-length-browser": "^4.2.0",
|
|
55
|
+
"@smithy/util-body-length-node": "^4.2.0",
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^4.2.0",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^4.2.0",
|
|
58
|
+
"@smithy/util-endpoints": "^3.2.0",
|
|
59
|
+
"@smithy/util-middleware": "^4.2.0",
|
|
60
|
+
"@smithy/util-retry": "^4.2.0",
|
|
61
|
+
"@smithy/util-stream": "^4.4.0",
|
|
62
|
+
"@smithy/util-utf8": "^4.2.0",
|
|
63
|
+
"@smithy/uuid": "^1.1.0",
|
|
64
64
|
"tslib": "^2.6.2"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|