@aws-sdk/client-bedrock-agentcore 3.1038.0 → 3.1040.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 +105 -7
- package/dist-cjs/index.js +275 -0
- package/dist-cjs/schemas/schemas_0.js +851 -99
- package/dist-es/BedrockAgentCore.js +34 -0
- package/dist-es/commands/CreateABTestCommand.js +16 -0
- package/dist-es/commands/DeleteABTestCommand.js +16 -0
- package/dist-es/commands/DeleteBatchEvaluationCommand.js +16 -0
- package/dist-es/commands/DeleteRecommendationCommand.js +16 -0
- package/dist-es/commands/GetABTestCommand.js +16 -0
- package/dist-es/commands/GetBatchEvaluationCommand.js +16 -0
- package/dist-es/commands/GetRecommendationCommand.js +16 -0
- package/dist-es/commands/ListABTestsCommand.js +16 -0
- package/dist-es/commands/ListBatchEvaluationsCommand.js +16 -0
- package/dist-es/commands/ListRecommendationsCommand.js +16 -0
- package/dist-es/commands/StartBatchEvaluationCommand.js +16 -0
- package/dist-es/commands/StartRecommendationCommand.js +16 -0
- package/dist-es/commands/StopBatchEvaluationCommand.js +16 -0
- package/dist-es/commands/UpdateABTestCommand.js +16 -0
- package/dist-es/commands/index.js +14 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +60 -0
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/pagination/ListABTestsPaginator.js +4 -0
- package/dist-es/pagination/ListBatchEvaluationsPaginator.js +4 -0
- package/dist-es/pagination/ListRecommendationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/schemas/schemas_0.js +843 -93
- package/dist-types/BedrockAgentCore.d.ts +122 -0
- package/dist-types/BedrockAgentCoreClient.d.ts +16 -2
- package/dist-types/commands/BatchCreateMemoryRecordsCommand.d.ts +10 -0
- package/dist-types/commands/BatchUpdateMemoryRecordsCommand.d.ts +10 -0
- package/dist-types/commands/CreateABTestCommand.d.ts +134 -0
- package/dist-types/commands/DeleteABTestCommand.d.ts +97 -0
- package/dist-types/commands/DeleteBatchEvaluationCommand.d.ts +97 -0
- package/dist-types/commands/DeleteRecommendationCommand.d.ts +93 -0
- package/dist-types/commands/GetABTestCommand.d.ts +165 -0
- package/dist-types/commands/GetBatchEvaluationCommand.d.ts +148 -0
- package/dist-types/commands/GetMemoryRecordCommand.d.ts +7 -2
- package/dist-types/commands/GetRecommendationCommand.d.ts +220 -0
- package/dist-types/commands/GetResourceOauth2TokenCommand.d.ts +7 -1
- package/dist-types/commands/ListABTestsCommand.d.ts +103 -0
- package/dist-types/commands/ListBatchEvaluationsCommand.d.ts +126 -0
- package/dist-types/commands/ListMemoryRecordsCommand.d.ts +25 -2
- package/dist-types/commands/ListRecommendationsCommand.d.ts +100 -0
- package/dist-types/commands/RetrieveMemoryRecordsCommand.d.ts +16 -6
- package/dist-types/commands/SearchRegistryRecordsCommand.d.ts +2 -1
- package/dist-types/commands/StartBatchEvaluationCommand.d.ts +172 -0
- package/dist-types/commands/StartRecommendationCommand.d.ts +300 -0
- package/dist-types/commands/StopBatchEvaluationCommand.d.ts +98 -0
- package/dist-types/commands/UpdateABTestCommand.d.ts +136 -0
- package/dist-types/commands/index.d.ts +14 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +116 -0
- package/dist-types/models/models_0.d.ts +2595 -386
- package/dist-types/models/models_1.d.ts +147 -0
- package/dist-types/pagination/ListABTestsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListBatchEvaluationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRecommendationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/schemas/schemas_0.d.ts +99 -0
- package/dist-types/ts3.4/BedrockAgentCore.d.ts +262 -0
- package/dist-types/ts3.4/BedrockAgentCoreClient.d.ts +84 -0
- package/dist-types/ts3.4/commands/CreateABTestCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteABTestCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteBatchEvaluationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteRecommendationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetABTestCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetBatchEvaluationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetRecommendationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListABTestsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListBatchEvaluationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SearchRegistryRecordsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/StartBatchEvaluationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartRecommendationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StopBatchEvaluationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateABTestCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +14 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +73 -0
- package/dist-types/ts3.4/models/models_0.d.ts +801 -43
- package/dist-types/ts3.4/models/models_1.d.ts +40 -0
- package/dist-types/ts3.4/pagination/ListABTestsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListBatchEvaluationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRecommendationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +99 -0
- package/package.json +7 -7
|
@@ -4,15 +4,22 @@ import { BatchCreateMemoryRecordsCommand, } from "./commands/BatchCreateMemoryRe
|
|
|
4
4
|
import { BatchDeleteMemoryRecordsCommand, } from "./commands/BatchDeleteMemoryRecordsCommand";
|
|
5
5
|
import { BatchUpdateMemoryRecordsCommand, } from "./commands/BatchUpdateMemoryRecordsCommand";
|
|
6
6
|
import { CompleteResourceTokenAuthCommand, } from "./commands/CompleteResourceTokenAuthCommand";
|
|
7
|
+
import { CreateABTestCommand, } from "./commands/CreateABTestCommand";
|
|
7
8
|
import { CreateEventCommand, } from "./commands/CreateEventCommand";
|
|
9
|
+
import { DeleteABTestCommand, } from "./commands/DeleteABTestCommand";
|
|
10
|
+
import { DeleteBatchEvaluationCommand, } from "./commands/DeleteBatchEvaluationCommand";
|
|
8
11
|
import { DeleteEventCommand, } from "./commands/DeleteEventCommand";
|
|
9
12
|
import { DeleteMemoryRecordCommand, } from "./commands/DeleteMemoryRecordCommand";
|
|
13
|
+
import { DeleteRecommendationCommand, } from "./commands/DeleteRecommendationCommand";
|
|
10
14
|
import { EvaluateCommand } from "./commands/EvaluateCommand";
|
|
15
|
+
import { GetABTestCommand } from "./commands/GetABTestCommand";
|
|
11
16
|
import { GetAgentCardCommand, } from "./commands/GetAgentCardCommand";
|
|
17
|
+
import { GetBatchEvaluationCommand, } from "./commands/GetBatchEvaluationCommand";
|
|
12
18
|
import { GetBrowserSessionCommand, } from "./commands/GetBrowserSessionCommand";
|
|
13
19
|
import { GetCodeInterpreterSessionCommand, } from "./commands/GetCodeInterpreterSessionCommand";
|
|
14
20
|
import { GetEventCommand } from "./commands/GetEventCommand";
|
|
15
21
|
import { GetMemoryRecordCommand, } from "./commands/GetMemoryRecordCommand";
|
|
22
|
+
import { GetRecommendationCommand, } from "./commands/GetRecommendationCommand";
|
|
16
23
|
import { GetResourceApiKeyCommand, } from "./commands/GetResourceApiKeyCommand";
|
|
17
24
|
import { GetResourceOauth2TokenCommand, } from "./commands/GetResourceOauth2TokenCommand";
|
|
18
25
|
import { GetWorkloadAccessTokenCommand, } from "./commands/GetWorkloadAccessTokenCommand";
|
|
@@ -23,27 +30,37 @@ import { InvokeAgentRuntimeCommandCommand, } from "./commands/InvokeAgentRuntime
|
|
|
23
30
|
import { InvokeBrowserCommand, } from "./commands/InvokeBrowserCommand";
|
|
24
31
|
import { InvokeCodeInterpreterCommand, } from "./commands/InvokeCodeInterpreterCommand";
|
|
25
32
|
import { InvokeHarnessCommand, } from "./commands/InvokeHarnessCommand";
|
|
33
|
+
import { ListABTestsCommand, } from "./commands/ListABTestsCommand";
|
|
26
34
|
import { ListActorsCommand, } from "./commands/ListActorsCommand";
|
|
35
|
+
import { ListBatchEvaluationsCommand, } from "./commands/ListBatchEvaluationsCommand";
|
|
27
36
|
import { ListBrowserSessionsCommand, } from "./commands/ListBrowserSessionsCommand";
|
|
28
37
|
import { ListCodeInterpreterSessionsCommand, } from "./commands/ListCodeInterpreterSessionsCommand";
|
|
29
38
|
import { ListEventsCommand, } from "./commands/ListEventsCommand";
|
|
30
39
|
import { ListMemoryExtractionJobsCommand, } from "./commands/ListMemoryExtractionJobsCommand";
|
|
31
40
|
import { ListMemoryRecordsCommand, } from "./commands/ListMemoryRecordsCommand";
|
|
41
|
+
import { ListRecommendationsCommand, } from "./commands/ListRecommendationsCommand";
|
|
32
42
|
import { ListSessionsCommand, } from "./commands/ListSessionsCommand";
|
|
33
43
|
import { RetrieveMemoryRecordsCommand, } from "./commands/RetrieveMemoryRecordsCommand";
|
|
34
44
|
import { SaveBrowserSessionProfileCommand, } from "./commands/SaveBrowserSessionProfileCommand";
|
|
35
45
|
import { SearchRegistryRecordsCommand, } from "./commands/SearchRegistryRecordsCommand";
|
|
46
|
+
import { StartBatchEvaluationCommand, } from "./commands/StartBatchEvaluationCommand";
|
|
36
47
|
import { StartBrowserSessionCommand, } from "./commands/StartBrowserSessionCommand";
|
|
37
48
|
import { StartCodeInterpreterSessionCommand, } from "./commands/StartCodeInterpreterSessionCommand";
|
|
38
49
|
import { StartMemoryExtractionJobCommand, } from "./commands/StartMemoryExtractionJobCommand";
|
|
50
|
+
import { StartRecommendationCommand, } from "./commands/StartRecommendationCommand";
|
|
51
|
+
import { StopBatchEvaluationCommand, } from "./commands/StopBatchEvaluationCommand";
|
|
39
52
|
import { StopBrowserSessionCommand, } from "./commands/StopBrowserSessionCommand";
|
|
40
53
|
import { StopCodeInterpreterSessionCommand, } from "./commands/StopCodeInterpreterSessionCommand";
|
|
41
54
|
import { StopRuntimeSessionCommand, } from "./commands/StopRuntimeSessionCommand";
|
|
55
|
+
import { UpdateABTestCommand, } from "./commands/UpdateABTestCommand";
|
|
42
56
|
import { UpdateBrowserStreamCommand, } from "./commands/UpdateBrowserStreamCommand";
|
|
57
|
+
import { paginateListABTests } from "./pagination/ListABTestsPaginator";
|
|
43
58
|
import { paginateListActors } from "./pagination/ListActorsPaginator";
|
|
59
|
+
import { paginateListBatchEvaluations } from "./pagination/ListBatchEvaluationsPaginator";
|
|
44
60
|
import { paginateListEvents } from "./pagination/ListEventsPaginator";
|
|
45
61
|
import { paginateListMemoryExtractionJobs } from "./pagination/ListMemoryExtractionJobsPaginator";
|
|
46
62
|
import { paginateListMemoryRecords } from "./pagination/ListMemoryRecordsPaginator";
|
|
63
|
+
import { paginateListRecommendations } from "./pagination/ListRecommendationsPaginator";
|
|
47
64
|
import { paginateListSessions } from "./pagination/ListSessionsPaginator";
|
|
48
65
|
import { paginateRetrieveMemoryRecords } from "./pagination/RetrieveMemoryRecordsPaginator";
|
|
49
66
|
const commands = {
|
|
@@ -51,15 +68,22 @@ const commands = {
|
|
|
51
68
|
BatchDeleteMemoryRecordsCommand,
|
|
52
69
|
BatchUpdateMemoryRecordsCommand,
|
|
53
70
|
CompleteResourceTokenAuthCommand,
|
|
71
|
+
CreateABTestCommand,
|
|
54
72
|
CreateEventCommand,
|
|
73
|
+
DeleteABTestCommand,
|
|
74
|
+
DeleteBatchEvaluationCommand,
|
|
55
75
|
DeleteEventCommand,
|
|
56
76
|
DeleteMemoryRecordCommand,
|
|
77
|
+
DeleteRecommendationCommand,
|
|
57
78
|
EvaluateCommand,
|
|
79
|
+
GetABTestCommand,
|
|
58
80
|
GetAgentCardCommand,
|
|
81
|
+
GetBatchEvaluationCommand,
|
|
59
82
|
GetBrowserSessionCommand,
|
|
60
83
|
GetCodeInterpreterSessionCommand,
|
|
61
84
|
GetEventCommand,
|
|
62
85
|
GetMemoryRecordCommand,
|
|
86
|
+
GetRecommendationCommand,
|
|
63
87
|
GetResourceApiKeyCommand,
|
|
64
88
|
GetResourceOauth2TokenCommand,
|
|
65
89
|
GetWorkloadAccessTokenCommand,
|
|
@@ -70,29 +94,39 @@ const commands = {
|
|
|
70
94
|
InvokeBrowserCommand,
|
|
71
95
|
InvokeCodeInterpreterCommand,
|
|
72
96
|
InvokeHarnessCommand,
|
|
97
|
+
ListABTestsCommand,
|
|
73
98
|
ListActorsCommand,
|
|
99
|
+
ListBatchEvaluationsCommand,
|
|
74
100
|
ListBrowserSessionsCommand,
|
|
75
101
|
ListCodeInterpreterSessionsCommand,
|
|
76
102
|
ListEventsCommand,
|
|
77
103
|
ListMemoryExtractionJobsCommand,
|
|
78
104
|
ListMemoryRecordsCommand,
|
|
105
|
+
ListRecommendationsCommand,
|
|
79
106
|
ListSessionsCommand,
|
|
80
107
|
RetrieveMemoryRecordsCommand,
|
|
81
108
|
SaveBrowserSessionProfileCommand,
|
|
82
109
|
SearchRegistryRecordsCommand,
|
|
110
|
+
StartBatchEvaluationCommand,
|
|
83
111
|
StartBrowserSessionCommand,
|
|
84
112
|
StartCodeInterpreterSessionCommand,
|
|
85
113
|
StartMemoryExtractionJobCommand,
|
|
114
|
+
StartRecommendationCommand,
|
|
115
|
+
StopBatchEvaluationCommand,
|
|
86
116
|
StopBrowserSessionCommand,
|
|
87
117
|
StopCodeInterpreterSessionCommand,
|
|
88
118
|
StopRuntimeSessionCommand,
|
|
119
|
+
UpdateABTestCommand,
|
|
89
120
|
UpdateBrowserStreamCommand,
|
|
90
121
|
};
|
|
91
122
|
const paginators = {
|
|
123
|
+
paginateListABTests,
|
|
92
124
|
paginateListActors,
|
|
125
|
+
paginateListBatchEvaluations,
|
|
93
126
|
paginateListEvents,
|
|
94
127
|
paginateListMemoryExtractionJobs,
|
|
95
128
|
paginateListMemoryRecords,
|
|
129
|
+
paginateListRecommendations,
|
|
96
130
|
paginateListSessions,
|
|
97
131
|
paginateRetrieveMemoryRecords,
|
|
98
132
|
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { CreateABTest$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CreateABTestCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentCore", "CreateABTest", {})
|
|
13
|
+
.n("BedrockAgentCoreClient", "CreateABTestCommand")
|
|
14
|
+
.sc(CreateABTest$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DeleteABTest$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteABTestCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentCore", "DeleteABTest", {})
|
|
13
|
+
.n("BedrockAgentCoreClient", "DeleteABTestCommand")
|
|
14
|
+
.sc(DeleteABTest$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DeleteBatchEvaluation$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteBatchEvaluationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentCore", "DeleteBatchEvaluation", {})
|
|
13
|
+
.n("BedrockAgentCoreClient", "DeleteBatchEvaluationCommand")
|
|
14
|
+
.sc(DeleteBatchEvaluation$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DeleteRecommendation$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteRecommendationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentCore", "DeleteRecommendation", {})
|
|
13
|
+
.n("BedrockAgentCoreClient", "DeleteRecommendationCommand")
|
|
14
|
+
.sc(DeleteRecommendation$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetABTest$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetABTestCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentCore", "GetABTest", {})
|
|
13
|
+
.n("BedrockAgentCoreClient", "GetABTestCommand")
|
|
14
|
+
.sc(GetABTest$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetBatchEvaluation$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetBatchEvaluationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentCore", "GetBatchEvaluation", {})
|
|
13
|
+
.n("BedrockAgentCoreClient", "GetBatchEvaluationCommand")
|
|
14
|
+
.sc(GetBatchEvaluation$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetRecommendation$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetRecommendationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentCore", "GetRecommendation", {})
|
|
13
|
+
.n("BedrockAgentCoreClient", "GetRecommendationCommand")
|
|
14
|
+
.sc(GetRecommendation$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListABTests$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListABTestsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentCore", "ListABTests", {})
|
|
13
|
+
.n("BedrockAgentCoreClient", "ListABTestsCommand")
|
|
14
|
+
.sc(ListABTests$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListBatchEvaluations$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListBatchEvaluationsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentCore", "ListBatchEvaluations", {})
|
|
13
|
+
.n("BedrockAgentCoreClient", "ListBatchEvaluationsCommand")
|
|
14
|
+
.sc(ListBatchEvaluations$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListRecommendations$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListRecommendationsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentCore", "ListRecommendations", {})
|
|
13
|
+
.n("BedrockAgentCoreClient", "ListRecommendationsCommand")
|
|
14
|
+
.sc(ListRecommendations$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { StartBatchEvaluation$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class StartBatchEvaluationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentCore", "StartBatchEvaluation", {})
|
|
13
|
+
.n("BedrockAgentCoreClient", "StartBatchEvaluationCommand")
|
|
14
|
+
.sc(StartBatchEvaluation$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { StartRecommendation$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class StartRecommendationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentCore", "StartRecommendation", {})
|
|
13
|
+
.n("BedrockAgentCoreClient", "StartRecommendationCommand")
|
|
14
|
+
.sc(StartRecommendation$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { StopBatchEvaluation$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class StopBatchEvaluationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentCore", "StopBatchEvaluation", {})
|
|
13
|
+
.n("BedrockAgentCoreClient", "StopBatchEvaluationCommand")
|
|
14
|
+
.sc(StopBatchEvaluation$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { UpdateABTest$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UpdateABTestCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentCore", "UpdateABTest", {})
|
|
13
|
+
.n("BedrockAgentCoreClient", "UpdateABTestCommand")
|
|
14
|
+
.sc(UpdateABTest$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -2,15 +2,22 @@ export * from "./BatchCreateMemoryRecordsCommand";
|
|
|
2
2
|
export * from "./BatchDeleteMemoryRecordsCommand";
|
|
3
3
|
export * from "./BatchUpdateMemoryRecordsCommand";
|
|
4
4
|
export * from "./CompleteResourceTokenAuthCommand";
|
|
5
|
+
export * from "./CreateABTestCommand";
|
|
5
6
|
export * from "./CreateEventCommand";
|
|
7
|
+
export * from "./DeleteABTestCommand";
|
|
8
|
+
export * from "./DeleteBatchEvaluationCommand";
|
|
6
9
|
export * from "./DeleteEventCommand";
|
|
7
10
|
export * from "./DeleteMemoryRecordCommand";
|
|
11
|
+
export * from "./DeleteRecommendationCommand";
|
|
8
12
|
export * from "./EvaluateCommand";
|
|
13
|
+
export * from "./GetABTestCommand";
|
|
9
14
|
export * from "./GetAgentCardCommand";
|
|
15
|
+
export * from "./GetBatchEvaluationCommand";
|
|
10
16
|
export * from "./GetBrowserSessionCommand";
|
|
11
17
|
export * from "./GetCodeInterpreterSessionCommand";
|
|
12
18
|
export * from "./GetEventCommand";
|
|
13
19
|
export * from "./GetMemoryRecordCommand";
|
|
20
|
+
export * from "./GetRecommendationCommand";
|
|
14
21
|
export * from "./GetResourceApiKeyCommand";
|
|
15
22
|
export * from "./GetResourceOauth2TokenCommand";
|
|
16
23
|
export * from "./GetWorkloadAccessTokenCommand";
|
|
@@ -21,20 +28,27 @@ export * from "./InvokeAgentRuntimeCommandCommand";
|
|
|
21
28
|
export * from "./InvokeBrowserCommand";
|
|
22
29
|
export * from "./InvokeCodeInterpreterCommand";
|
|
23
30
|
export * from "./InvokeHarnessCommand";
|
|
31
|
+
export * from "./ListABTestsCommand";
|
|
24
32
|
export * from "./ListActorsCommand";
|
|
33
|
+
export * from "./ListBatchEvaluationsCommand";
|
|
25
34
|
export * from "./ListBrowserSessionsCommand";
|
|
26
35
|
export * from "./ListCodeInterpreterSessionsCommand";
|
|
27
36
|
export * from "./ListEventsCommand";
|
|
28
37
|
export * from "./ListMemoryExtractionJobsCommand";
|
|
29
38
|
export * from "./ListMemoryRecordsCommand";
|
|
39
|
+
export * from "./ListRecommendationsCommand";
|
|
30
40
|
export * from "./ListSessionsCommand";
|
|
31
41
|
export * from "./RetrieveMemoryRecordsCommand";
|
|
32
42
|
export * from "./SaveBrowserSessionProfileCommand";
|
|
33
43
|
export * from "./SearchRegistryRecordsCommand";
|
|
44
|
+
export * from "./StartBatchEvaluationCommand";
|
|
34
45
|
export * from "./StartBrowserSessionCommand";
|
|
35
46
|
export * from "./StartCodeInterpreterSessionCommand";
|
|
36
47
|
export * from "./StartMemoryExtractionJobCommand";
|
|
48
|
+
export * from "./StartRecommendationCommand";
|
|
49
|
+
export * from "./StopBatchEvaluationCommand";
|
|
37
50
|
export * from "./StopBrowserSessionCommand";
|
|
38
51
|
export * from "./StopCodeInterpreterSessionCommand";
|
|
39
52
|
export * from "./StopRuntimeSessionCommand";
|
|
53
|
+
export * from "./UpdateABTestCommand";
|
|
40
54
|
export * from "./UpdateBrowserStreamCommand";
|
package/dist-es/index.js
CHANGED
package/dist-es/models/enums.js
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
export const ABTestExecutionStatus = {
|
|
2
|
+
NOT_STARTED: "NOT_STARTED",
|
|
3
|
+
PAUSED: "PAUSED",
|
|
4
|
+
RUNNING: "RUNNING",
|
|
5
|
+
STOPPED: "STOPPED",
|
|
6
|
+
};
|
|
7
|
+
export const ABTestStatus = {
|
|
8
|
+
ACTIVE: "ACTIVE",
|
|
9
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
10
|
+
CREATING: "CREATING",
|
|
11
|
+
DELETE_FAILED: "DELETE_FAILED",
|
|
12
|
+
DELETING: "DELETING",
|
|
13
|
+
FAILED: "FAILED",
|
|
14
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
15
|
+
UPDATING: "UPDATING",
|
|
16
|
+
};
|
|
1
17
|
export const ValidationExceptionReason = {
|
|
2
18
|
CANNOT_PARSE: "CannotParse",
|
|
3
19
|
FIELD_VALIDATION_FAILED: "FieldValidationFailed",
|
|
@@ -9,6 +25,16 @@ export const CommandExecutionStatus = {
|
|
|
9
25
|
COMPLETED: "COMPLETED",
|
|
10
26
|
TIMED_OUT: "TIMED_OUT",
|
|
11
27
|
};
|
|
28
|
+
export const CloudWatchLogsFilterOperator = {
|
|
29
|
+
CONTAINS: "Contains",
|
|
30
|
+
EQUALS: "Equals",
|
|
31
|
+
GREATER_THAN: "GreaterThan",
|
|
32
|
+
GREATER_THAN_OR_EQUAL: "GreaterThanOrEqual",
|
|
33
|
+
LESS_THAN: "LessThan",
|
|
34
|
+
LESS_THAN_OR_EQUAL: "LessThanOrEqual",
|
|
35
|
+
NOT_CONTAINS: "NotContains",
|
|
36
|
+
NOT_EQUALS: "NotEquals",
|
|
37
|
+
};
|
|
12
38
|
export const BrowserEnterprisePolicyType = {
|
|
13
39
|
MANAGED: "MANAGED",
|
|
14
40
|
RECOMMENDED: "RECOMMENDED",
|
|
@@ -37,8 +63,30 @@ export const CodeInterpreterSessionStatus = {
|
|
|
37
63
|
READY: "READY",
|
|
38
64
|
TERMINATED: "TERMINATED",
|
|
39
65
|
};
|
|
66
|
+
export const BatchEvaluationStatus = {
|
|
67
|
+
COMPLETED: "COMPLETED",
|
|
68
|
+
COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS",
|
|
69
|
+
DELETING: "DELETING",
|
|
70
|
+
FAILED: "FAILED",
|
|
71
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
72
|
+
PENDING: "PENDING",
|
|
73
|
+
STOPPED: "STOPPED",
|
|
74
|
+
STOPPING: "STOPPING",
|
|
75
|
+
};
|
|
76
|
+
export const RecommendationStatus = {
|
|
77
|
+
COMPLETED: "COMPLETED",
|
|
78
|
+
DELETING: "DELETING",
|
|
79
|
+
FAILED: "FAILED",
|
|
80
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
81
|
+
PENDING: "PENDING",
|
|
82
|
+
};
|
|
83
|
+
export const RecommendationType = {
|
|
84
|
+
SYSTEM_PROMPT_RECOMMENDATION: "SYSTEM_PROMPT_RECOMMENDATION",
|
|
85
|
+
TOOL_DESCRIPTION_RECOMMENDATION: "TOOL_DESCRIPTION_RECOMMENDATION",
|
|
86
|
+
};
|
|
40
87
|
export const Oauth2FlowType = {
|
|
41
88
|
M2M: "M2M",
|
|
89
|
+
ON_BEHALF_OF_TOKEN_EXCHANGE: "ON_BEHALF_OF_TOKEN_EXCHANGE",
|
|
42
90
|
USER_FEDERATION: "USER_FEDERATION",
|
|
43
91
|
};
|
|
44
92
|
export const SessionStatus = {
|
|
@@ -141,6 +189,18 @@ export const OperatorType = {
|
|
|
141
189
|
export const ExtractionJobStatus = {
|
|
142
190
|
FAILED: "FAILED",
|
|
143
191
|
};
|
|
192
|
+
export const MemoryRecordOperatorType = {
|
|
193
|
+
AFTER: "AFTER",
|
|
194
|
+
BEFORE: "BEFORE",
|
|
195
|
+
CONTAINS: "CONTAINS",
|
|
196
|
+
EQUALS_TO: "EQUALS_TO",
|
|
197
|
+
EXISTS: "EXISTS",
|
|
198
|
+
GREATER_THAN: "GREATER_THAN",
|
|
199
|
+
GREATER_THAN_OR_EQUALS: "GREATER_THAN_OR_EQUALS",
|
|
200
|
+
LESS_THAN: "LESS_THAN",
|
|
201
|
+
LESS_THAN_OR_EQUALS: "LESS_THAN_OR_EQUALS",
|
|
202
|
+
NOT_EXISTS: "NOT_EXISTS",
|
|
203
|
+
};
|
|
144
204
|
export const EventFilterCondition = {
|
|
145
205
|
HAS_EVENTS: "HAS_EVENTS",
|
|
146
206
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { BedrockAgentCoreClient } from "../BedrockAgentCoreClient";
|
|
3
|
+
import { ListABTestsCommand } from "../commands/ListABTestsCommand";
|
|
4
|
+
export const paginateListABTests = createPaginator(BedrockAgentCoreClient, ListABTestsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { BedrockAgentCoreClient } from "../BedrockAgentCoreClient";
|
|
3
|
+
import { ListBatchEvaluationsCommand, } from "../commands/ListBatchEvaluationsCommand";
|
|
4
|
+
export const paginateListBatchEvaluations = createPaginator(BedrockAgentCoreClient, ListBatchEvaluationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { BedrockAgentCoreClient } from "../BedrockAgentCoreClient";
|
|
3
|
+
import { ListRecommendationsCommand, } from "../commands/ListRecommendationsCommand";
|
|
4
|
+
export const paginateListRecommendations = createPaginator(BedrockAgentCoreClient, ListRecommendationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
|
+
export * from "./ListABTestsPaginator";
|
|
2
3
|
export * from "./ListActorsPaginator";
|
|
4
|
+
export * from "./ListBatchEvaluationsPaginator";
|
|
3
5
|
export * from "./ListEventsPaginator";
|
|
4
6
|
export * from "./ListMemoryExtractionJobsPaginator";
|
|
5
7
|
export * from "./ListMemoryRecordsPaginator";
|
|
8
|
+
export * from "./ListRecommendationsPaginator";
|
|
6
9
|
export * from "./ListSessionsPaginator";
|
|
7
10
|
export * from "./RetrieveMemoryRecordsPaginator";
|