@aws-sdk/client-bedrock-agentcore 3.928.0 → 3.929.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 +1843 -2065
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/BedrockAgentCoreClient.js +2 -0
- package/dist-es/commands/BatchCreateMemoryRecordsCommand.js +3 -10
- package/dist-es/commands/BatchDeleteMemoryRecordsCommand.js +3 -9
- package/dist-es/commands/BatchUpdateMemoryRecordsCommand.js +3 -10
- package/dist-es/commands/CompleteResourceTokenAuthCommand.js +3 -10
- package/dist-es/commands/CreateEventCommand.js +3 -10
- package/dist-es/commands/DeleteEventCommand.js +3 -9
- package/dist-es/commands/DeleteMemoryRecordCommand.js +3 -9
- package/dist-es/commands/GetAgentCardCommand.js +3 -9
- package/dist-es/commands/GetBrowserSessionCommand.js +3 -9
- package/dist-es/commands/GetCodeInterpreterSessionCommand.js +3 -9
- package/dist-es/commands/GetEventCommand.js +3 -10
- package/dist-es/commands/GetMemoryRecordCommand.js +3 -10
- package/dist-es/commands/GetResourceApiKeyCommand.js +3 -10
- package/dist-es/commands/GetResourceOauth2TokenCommand.js +3 -10
- package/dist-es/commands/GetWorkloadAccessTokenCommand.js +3 -10
- package/dist-es/commands/GetWorkloadAccessTokenForJWTCommand.js +3 -10
- package/dist-es/commands/GetWorkloadAccessTokenForUserIdCommand.js +3 -10
- package/dist-es/commands/InvokeAgentRuntimeCommand.js +3 -10
- package/dist-es/commands/InvokeCodeInterpreterCommand.js +3 -10
- package/dist-es/commands/ListActorsCommand.js +3 -9
- package/dist-es/commands/ListBrowserSessionsCommand.js +3 -9
- package/dist-es/commands/ListCodeInterpreterSessionsCommand.js +3 -9
- package/dist-es/commands/ListEventsCommand.js +3 -10
- package/dist-es/commands/ListMemoryRecordsCommand.js +3 -10
- package/dist-es/commands/ListSessionsCommand.js +3 -9
- package/dist-es/commands/RetrieveMemoryRecordsCommand.js +3 -10
- package/dist-es/commands/StartBrowserSessionCommand.js +3 -9
- package/dist-es/commands/StartCodeInterpreterSessionCommand.js +3 -9
- package/dist-es/commands/StopBrowserSessionCommand.js +3 -9
- package/dist-es/commands/StopCodeInterpreterSessionCommand.js +3 -9
- package/dist-es/commands/StopRuntimeSessionCommand.js +3 -9
- package/dist-es/commands/UpdateBrowserStreamCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -190
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +1756 -0
- package/dist-types/BedrockAgentCoreClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -148
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +179 -0
- package/dist-types/ts3.4/BedrockAgentCoreClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -103
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +186 -0
- package/package.json +2 -3
- package/dist-es/protocols/Aws_restJson1.js +0 -1593
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -290
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -393
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
7
8
|
const util_base64_1 = require("@smithy/util-base64");
|
|
@@ -26,6 +27,7 @@ const getRuntimeConfig = (config) => {
|
|
|
26
27
|
},
|
|
27
28
|
],
|
|
28
29
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
30
|
+
protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.bedrockagentcore" }),
|
|
29
31
|
sdkStreamMixin: config?.sdkStreamMixin ?? util_stream_1.sdkStreamMixin,
|
|
30
32
|
serviceId: config?.serviceId ?? "Bedrock AgentCore",
|
|
31
33
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
|
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
7
8
|
import { resolveEventStreamSerdeConfig, } from "@smithy/eventstream-serde-config-resolver";
|
|
8
9
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
9
10
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
@@ -30,6 +31,7 @@ export class BedrockAgentCoreClient extends __Client {
|
|
|
30
31
|
const _config_8 = resolveHttpAuthSchemeConfig(_config_7);
|
|
31
32
|
const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []);
|
|
32
33
|
this.config = _config_9;
|
|
34
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
33
35
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
34
36
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
35
37
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_BatchCreateMemoryRecordsCommand, se_BatchCreateMemoryRecordsCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { BatchCreateMemoryRecords } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class BatchCreateMemoryRecordsCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonBedrockAgentCore", "BatchCreateMemoryRecords", {})
|
|
18
13
|
.n("BedrockAgentCoreClient", "BatchCreateMemoryRecordsCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_BatchCreateMemoryRecordsCommand)
|
|
21
|
-
.de(de_BatchCreateMemoryRecordsCommand)
|
|
14
|
+
.sc(BatchCreateMemoryRecords)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { BatchDeleteMemoryRecords } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class BatchDeleteMemoryRecordsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonBedrockAgentCore", "BatchDeleteMemoryRecords", {})
|
|
17
13
|
.n("BedrockAgentCoreClient", "BatchDeleteMemoryRecordsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_BatchDeleteMemoryRecordsCommand)
|
|
20
|
-
.de(de_BatchDeleteMemoryRecordsCommand)
|
|
14
|
+
.sc(BatchDeleteMemoryRecords)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_BatchUpdateMemoryRecordsCommand, se_BatchUpdateMemoryRecordsCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { BatchUpdateMemoryRecords } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class BatchUpdateMemoryRecordsCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonBedrockAgentCore", "BatchUpdateMemoryRecords", {})
|
|
18
13
|
.n("BedrockAgentCoreClient", "BatchUpdateMemoryRecordsCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_BatchUpdateMemoryRecordsCommand)
|
|
21
|
-
.de(de_BatchUpdateMemoryRecordsCommand)
|
|
14
|
+
.sc(BatchUpdateMemoryRecords)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_CompleteResourceTokenAuthCommand, se_CompleteResourceTokenAuthCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { CompleteResourceTokenAuth } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CompleteResourceTokenAuthCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonBedrockAgentCore", "CompleteResourceTokenAuth", {})
|
|
18
13
|
.n("BedrockAgentCoreClient", "CompleteResourceTokenAuthCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CompleteResourceTokenAuthCommand)
|
|
21
|
-
.de(de_CompleteResourceTokenAuthCommand)
|
|
14
|
+
.sc(CompleteResourceTokenAuth)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_CreateEventCommand, se_CreateEventCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { CreateEvent } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateEventCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonBedrockAgentCore", "CreateEvent", {})
|
|
18
13
|
.n("BedrockAgentCoreClient", "CreateEventCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateEventCommand)
|
|
21
|
-
.de(de_CreateEventCommand)
|
|
14
|
+
.sc(CreateEvent)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteEvent } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteEventCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonBedrockAgentCore", "DeleteEvent", {})
|
|
17
13
|
.n("BedrockAgentCoreClient", "DeleteEventCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteEventCommand)
|
|
20
|
-
.de(de_DeleteEventCommand)
|
|
14
|
+
.sc(DeleteEvent)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteMemoryRecord } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteMemoryRecordCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonBedrockAgentCore", "DeleteMemoryRecord", {})
|
|
17
13
|
.n("BedrockAgentCoreClient", "DeleteMemoryRecordCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteMemoryRecordCommand)
|
|
20
|
-
.de(de_DeleteMemoryRecordCommand)
|
|
14
|
+
.sc(DeleteMemoryRecord)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetAgentCard } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetAgentCardCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonBedrockAgentCore", "GetAgentCard", {})
|
|
17
13
|
.n("BedrockAgentCoreClient", "GetAgentCardCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetAgentCardCommand)
|
|
20
|
-
.de(de_GetAgentCardCommand)
|
|
14
|
+
.sc(GetAgentCard)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetBrowserSession } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetBrowserSessionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonBedrockAgentCore", "GetBrowserSession", {})
|
|
17
13
|
.n("BedrockAgentCoreClient", "GetBrowserSessionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetBrowserSessionCommand)
|
|
20
|
-
.de(de_GetBrowserSessionCommand)
|
|
14
|
+
.sc(GetBrowserSession)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetCodeInterpreterSession } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetCodeInterpreterSessionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonBedrockAgentCore", "GetCodeInterpreterSession", {})
|
|
17
13
|
.n("BedrockAgentCoreClient", "GetCodeInterpreterSessionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetCodeInterpreterSessionCommand)
|
|
20
|
-
.de(de_GetCodeInterpreterSessionCommand)
|
|
14
|
+
.sc(GetCodeInterpreterSession)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_GetEventCommand, se_GetEventCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { GetEvent } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetEventCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonBedrockAgentCore", "GetEvent", {})
|
|
18
13
|
.n("BedrockAgentCoreClient", "GetEventCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GetEventCommand)
|
|
21
|
-
.de(de_GetEventCommand)
|
|
14
|
+
.sc(GetEvent)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_GetMemoryRecordCommand, se_GetMemoryRecordCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { GetMemoryRecord } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetMemoryRecordCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonBedrockAgentCore", "GetMemoryRecord", {})
|
|
18
13
|
.n("BedrockAgentCoreClient", "GetMemoryRecordCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GetMemoryRecordCommand)
|
|
21
|
-
.de(de_GetMemoryRecordCommand)
|
|
14
|
+
.sc(GetMemoryRecord)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_GetResourceApiKeyCommand, se_GetResourceApiKeyCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { GetResourceApiKey } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetResourceApiKeyCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonBedrockAgentCore", "GetResourceApiKey", {})
|
|
18
13
|
.n("BedrockAgentCoreClient", "GetResourceApiKeyCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GetResourceApiKeyCommand)
|
|
21
|
-
.de(de_GetResourceApiKeyCommand)
|
|
14
|
+
.sc(GetResourceApiKey)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_GetResourceOauth2TokenCommand, se_GetResourceOauth2TokenCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { GetResourceOauth2Token } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetResourceOauth2TokenCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonBedrockAgentCore", "GetResourceOauth2Token", {})
|
|
18
13
|
.n("BedrockAgentCoreClient", "GetResourceOauth2TokenCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GetResourceOauth2TokenCommand)
|
|
21
|
-
.de(de_GetResourceOauth2TokenCommand)
|
|
14
|
+
.sc(GetResourceOauth2Token)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_GetWorkloadAccessTokenCommand, se_GetWorkloadAccessTokenCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { GetWorkloadAccessToken } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetWorkloadAccessTokenCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonBedrockAgentCore", "GetWorkloadAccessToken", {})
|
|
18
13
|
.n("BedrockAgentCoreClient", "GetWorkloadAccessTokenCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GetWorkloadAccessTokenCommand)
|
|
21
|
-
.de(de_GetWorkloadAccessTokenCommand)
|
|
14
|
+
.sc(GetWorkloadAccessToken)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_GetWorkloadAccessTokenForJWTCommand, se_GetWorkloadAccessTokenForJWTCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { GetWorkloadAccessTokenForJWT } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetWorkloadAccessTokenForJWTCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonBedrockAgentCore", "GetWorkloadAccessTokenForJWT", {})
|
|
18
13
|
.n("BedrockAgentCoreClient", "GetWorkloadAccessTokenForJWTCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GetWorkloadAccessTokenForJWTCommand)
|
|
21
|
-
.de(de_GetWorkloadAccessTokenForJWTCommand)
|
|
14
|
+
.sc(GetWorkloadAccessTokenForJWT)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_GetWorkloadAccessTokenForUserIdCommand, se_GetWorkloadAccessTokenForUserIdCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { GetWorkloadAccessTokenForUserId } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetWorkloadAccessTokenForUserIdCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonBedrockAgentCore", "GetWorkloadAccessTokenForUserId", {})
|
|
18
13
|
.n("BedrockAgentCoreClient", "GetWorkloadAccessTokenForUserIdCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GetWorkloadAccessTokenForUserIdCommand)
|
|
21
|
-
.de(de_GetWorkloadAccessTokenForUserIdCommand)
|
|
14
|
+
.sc(GetWorkloadAccessTokenForUserId)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_InvokeAgentRuntimeCommand, se_InvokeAgentRuntimeCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { InvokeAgentRuntime } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class InvokeAgentRuntimeCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonBedrockAgentCore", "InvokeAgentRuntime", {})
|
|
18
13
|
.n("BedrockAgentCoreClient", "InvokeAgentRuntimeCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_InvokeAgentRuntimeCommand)
|
|
21
|
-
.de(de_InvokeAgentRuntimeCommand)
|
|
14
|
+
.sc(InvokeAgentRuntime)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,18 +1,13 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_InvokeCodeInterpreterCommand, se_InvokeCodeInterpreterCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { InvokeCodeInterpreter } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class InvokeCodeInterpreterCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonBedrockAgentCore", "InvokeCodeInterpreter", {
|
|
18
13
|
eventStream: {
|
|
@@ -20,8 +15,6 @@ export class InvokeCodeInterpreterCommand extends $Command
|
|
|
20
15
|
},
|
|
21
16
|
})
|
|
22
17
|
.n("BedrockAgentCoreClient", "InvokeCodeInterpreterCommand")
|
|
23
|
-
.
|
|
24
|
-
.ser(se_InvokeCodeInterpreterCommand)
|
|
25
|
-
.de(de_InvokeCodeInterpreterCommand)
|
|
18
|
+
.sc(InvokeCodeInterpreter)
|
|
26
19
|
.build() {
|
|
27
20
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListActors } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListActorsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonBedrockAgentCore", "ListActors", {})
|
|
17
13
|
.n("BedrockAgentCoreClient", "ListActorsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListActorsCommand)
|
|
20
|
-
.de(de_ListActorsCommand)
|
|
14
|
+
.sc(ListActors)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListBrowserSessions } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListBrowserSessionsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonBedrockAgentCore", "ListBrowserSessions", {})
|
|
17
13
|
.n("BedrockAgentCoreClient", "ListBrowserSessionsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListBrowserSessionsCommand)
|
|
20
|
-
.de(de_ListBrowserSessionsCommand)
|
|
14
|
+
.sc(ListBrowserSessions)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|