@aws-sdk/client-bedrock-agentcore 3.893.0 → 3.895.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/dist-cjs/index.js +2696 -10
  2. package/package.json +7 -7
  3. package/dist-cjs/BedrockAgentCore.js +0 -63
  4. package/dist-cjs/BedrockAgentCoreClient.js +0 -54
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
  6. package/dist-cjs/commands/CreateEventCommand.js +0 -27
  7. package/dist-cjs/commands/DeleteEventCommand.js +0 -26
  8. package/dist-cjs/commands/DeleteMemoryRecordCommand.js +0 -26
  9. package/dist-cjs/commands/GetBrowserSessionCommand.js +0 -26
  10. package/dist-cjs/commands/GetCodeInterpreterSessionCommand.js +0 -26
  11. package/dist-cjs/commands/GetEventCommand.js +0 -27
  12. package/dist-cjs/commands/GetMemoryRecordCommand.js +0 -27
  13. package/dist-cjs/commands/GetResourceApiKeyCommand.js +0 -27
  14. package/dist-cjs/commands/GetResourceOauth2TokenCommand.js +0 -27
  15. package/dist-cjs/commands/GetWorkloadAccessTokenCommand.js +0 -27
  16. package/dist-cjs/commands/GetWorkloadAccessTokenForJWTCommand.js +0 -27
  17. package/dist-cjs/commands/GetWorkloadAccessTokenForUserIdCommand.js +0 -27
  18. package/dist-cjs/commands/InvokeAgentRuntimeCommand.js +0 -27
  19. package/dist-cjs/commands/InvokeCodeInterpreterCommand.js +0 -31
  20. package/dist-cjs/commands/ListActorsCommand.js +0 -26
  21. package/dist-cjs/commands/ListBrowserSessionsCommand.js +0 -26
  22. package/dist-cjs/commands/ListCodeInterpreterSessionsCommand.js +0 -26
  23. package/dist-cjs/commands/ListEventsCommand.js +0 -27
  24. package/dist-cjs/commands/ListMemoryRecordsCommand.js +0 -27
  25. package/dist-cjs/commands/ListSessionsCommand.js +0 -26
  26. package/dist-cjs/commands/RetrieveMemoryRecordsCommand.js +0 -27
  27. package/dist-cjs/commands/StartBrowserSessionCommand.js +0 -26
  28. package/dist-cjs/commands/StartCodeInterpreterSessionCommand.js +0 -26
  29. package/dist-cjs/commands/StopBrowserSessionCommand.js +0 -26
  30. package/dist-cjs/commands/StopCodeInterpreterSessionCommand.js +0 -26
  31. package/dist-cjs/commands/UpdateBrowserStreamCommand.js +0 -26
  32. package/dist-cjs/commands/index.js +0 -29
  33. package/dist-cjs/endpoint/EndpointParameters.js +0 -17
  34. package/dist-cjs/extensionConfiguration.js +0 -2
  35. package/dist-cjs/models/BedrockAgentCoreServiceException.js +0 -12
  36. package/dist-cjs/models/index.js +0 -4
  37. package/dist-cjs/models/models_0.js +0 -468
  38. package/dist-cjs/pagination/Interfaces.js +0 -2
  39. package/dist-cjs/pagination/ListActorsPaginator.js +0 -7
  40. package/dist-cjs/pagination/ListEventsPaginator.js +0 -7
  41. package/dist-cjs/pagination/ListMemoryRecordsPaginator.js +0 -7
  42. package/dist-cjs/pagination/ListSessionsPaginator.js +0 -7
  43. package/dist-cjs/pagination/RetrieveMemoryRecordsPaginator.js +0 -7
  44. package/dist-cjs/pagination/index.js +0 -9
  45. package/dist-cjs/protocols/Aws_restJson1.js +0 -1422
  46. package/dist-cjs/runtimeExtensions.js +0 -13
package/package.json CHANGED
@@ -1,10 +1,10 @@
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.893.0",
4
+ "version": "3.895.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
- "build:cjs": "tsc -p tsconfig.cjs.json",
7
+ "build:cjs": "node ../../scripts/compilation/inline client-bedrock-agentcore",
8
8
  "build:es": "tsc -p tsconfig.es.json",
9
9
  "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
10
10
  "build:types": "tsc -p tsconfig.types.json",
@@ -20,17 +20,17 @@
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.893.0",
24
- "@aws-sdk/credential-provider-node": "3.893.0",
23
+ "@aws-sdk/core": "3.894.0",
24
+ "@aws-sdk/credential-provider-node": "3.895.0",
25
25
  "@aws-sdk/middleware-host-header": "3.893.0",
26
26
  "@aws-sdk/middleware-logger": "3.893.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.893.0",
28
- "@aws-sdk/middleware-user-agent": "3.893.0",
28
+ "@aws-sdk/middleware-user-agent": "3.895.0",
29
29
  "@aws-sdk/region-config-resolver": "3.893.0",
30
30
  "@aws-sdk/types": "3.893.0",
31
- "@aws-sdk/util-endpoints": "3.893.0",
31
+ "@aws-sdk/util-endpoints": "3.895.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.893.0",
33
- "@aws-sdk/util-user-agent-node": "3.893.0",
33
+ "@aws-sdk/util-user-agent-node": "3.895.0",
34
34
  "@smithy/config-resolver": "^4.2.2",
35
35
  "@smithy/core": "^3.11.1",
36
36
  "@smithy/eventstream-serde-browser": "^4.1.1",
@@ -1,63 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BedrockAgentCore = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- const BedrockAgentCoreClient_1 = require("./BedrockAgentCoreClient");
6
- const CreateEventCommand_1 = require("./commands/CreateEventCommand");
7
- const DeleteEventCommand_1 = require("./commands/DeleteEventCommand");
8
- const DeleteMemoryRecordCommand_1 = require("./commands/DeleteMemoryRecordCommand");
9
- const GetBrowserSessionCommand_1 = require("./commands/GetBrowserSessionCommand");
10
- const GetCodeInterpreterSessionCommand_1 = require("./commands/GetCodeInterpreterSessionCommand");
11
- const GetEventCommand_1 = require("./commands/GetEventCommand");
12
- const GetMemoryRecordCommand_1 = require("./commands/GetMemoryRecordCommand");
13
- const GetResourceApiKeyCommand_1 = require("./commands/GetResourceApiKeyCommand");
14
- const GetResourceOauth2TokenCommand_1 = require("./commands/GetResourceOauth2TokenCommand");
15
- const GetWorkloadAccessTokenCommand_1 = require("./commands/GetWorkloadAccessTokenCommand");
16
- const GetWorkloadAccessTokenForJWTCommand_1 = require("./commands/GetWorkloadAccessTokenForJWTCommand");
17
- const GetWorkloadAccessTokenForUserIdCommand_1 = require("./commands/GetWorkloadAccessTokenForUserIdCommand");
18
- const InvokeAgentRuntimeCommand_1 = require("./commands/InvokeAgentRuntimeCommand");
19
- const InvokeCodeInterpreterCommand_1 = require("./commands/InvokeCodeInterpreterCommand");
20
- const ListActorsCommand_1 = require("./commands/ListActorsCommand");
21
- const ListBrowserSessionsCommand_1 = require("./commands/ListBrowserSessionsCommand");
22
- const ListCodeInterpreterSessionsCommand_1 = require("./commands/ListCodeInterpreterSessionsCommand");
23
- const ListEventsCommand_1 = require("./commands/ListEventsCommand");
24
- const ListMemoryRecordsCommand_1 = require("./commands/ListMemoryRecordsCommand");
25
- const ListSessionsCommand_1 = require("./commands/ListSessionsCommand");
26
- const RetrieveMemoryRecordsCommand_1 = require("./commands/RetrieveMemoryRecordsCommand");
27
- const StartBrowserSessionCommand_1 = require("./commands/StartBrowserSessionCommand");
28
- const StartCodeInterpreterSessionCommand_1 = require("./commands/StartCodeInterpreterSessionCommand");
29
- const StopBrowserSessionCommand_1 = require("./commands/StopBrowserSessionCommand");
30
- const StopCodeInterpreterSessionCommand_1 = require("./commands/StopCodeInterpreterSessionCommand");
31
- const UpdateBrowserStreamCommand_1 = require("./commands/UpdateBrowserStreamCommand");
32
- const commands = {
33
- CreateEventCommand: CreateEventCommand_1.CreateEventCommand,
34
- DeleteEventCommand: DeleteEventCommand_1.DeleteEventCommand,
35
- DeleteMemoryRecordCommand: DeleteMemoryRecordCommand_1.DeleteMemoryRecordCommand,
36
- GetBrowserSessionCommand: GetBrowserSessionCommand_1.GetBrowserSessionCommand,
37
- GetCodeInterpreterSessionCommand: GetCodeInterpreterSessionCommand_1.GetCodeInterpreterSessionCommand,
38
- GetEventCommand: GetEventCommand_1.GetEventCommand,
39
- GetMemoryRecordCommand: GetMemoryRecordCommand_1.GetMemoryRecordCommand,
40
- GetResourceApiKeyCommand: GetResourceApiKeyCommand_1.GetResourceApiKeyCommand,
41
- GetResourceOauth2TokenCommand: GetResourceOauth2TokenCommand_1.GetResourceOauth2TokenCommand,
42
- GetWorkloadAccessTokenCommand: GetWorkloadAccessTokenCommand_1.GetWorkloadAccessTokenCommand,
43
- GetWorkloadAccessTokenForJWTCommand: GetWorkloadAccessTokenForJWTCommand_1.GetWorkloadAccessTokenForJWTCommand,
44
- GetWorkloadAccessTokenForUserIdCommand: GetWorkloadAccessTokenForUserIdCommand_1.GetWorkloadAccessTokenForUserIdCommand,
45
- InvokeAgentRuntimeCommand: InvokeAgentRuntimeCommand_1.InvokeAgentRuntimeCommand,
46
- InvokeCodeInterpreterCommand: InvokeCodeInterpreterCommand_1.InvokeCodeInterpreterCommand,
47
- ListActorsCommand: ListActorsCommand_1.ListActorsCommand,
48
- ListBrowserSessionsCommand: ListBrowserSessionsCommand_1.ListBrowserSessionsCommand,
49
- ListCodeInterpreterSessionsCommand: ListCodeInterpreterSessionsCommand_1.ListCodeInterpreterSessionsCommand,
50
- ListEventsCommand: ListEventsCommand_1.ListEventsCommand,
51
- ListMemoryRecordsCommand: ListMemoryRecordsCommand_1.ListMemoryRecordsCommand,
52
- ListSessionsCommand: ListSessionsCommand_1.ListSessionsCommand,
53
- RetrieveMemoryRecordsCommand: RetrieveMemoryRecordsCommand_1.RetrieveMemoryRecordsCommand,
54
- StartBrowserSessionCommand: StartBrowserSessionCommand_1.StartBrowserSessionCommand,
55
- StartCodeInterpreterSessionCommand: StartCodeInterpreterSessionCommand_1.StartCodeInterpreterSessionCommand,
56
- StopBrowserSessionCommand: StopBrowserSessionCommand_1.StopBrowserSessionCommand,
57
- StopCodeInterpreterSessionCommand: StopCodeInterpreterSessionCommand_1.StopCodeInterpreterSessionCommand,
58
- UpdateBrowserStreamCommand: UpdateBrowserStreamCommand_1.UpdateBrowserStreamCommand,
59
- };
60
- class BedrockAgentCore extends BedrockAgentCoreClient_1.BedrockAgentCoreClient {
61
- }
62
- exports.BedrockAgentCore = BedrockAgentCore;
63
- (0, smithy_client_1.createAggregatedClient)(commands, BedrockAgentCore);
@@ -1,54 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BedrockAgentCoreClient = exports.__Client = void 0;
4
- const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
5
- const middleware_logger_1 = require("@aws-sdk/middleware-logger");
6
- const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
7
- const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
8
- const config_resolver_1 = require("@smithy/config-resolver");
9
- const core_1 = require("@smithy/core");
10
- const eventstream_serde_config_resolver_1 = require("@smithy/eventstream-serde-config-resolver");
11
- const middleware_content_length_1 = require("@smithy/middleware-content-length");
12
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
13
- const middleware_retry_1 = require("@smithy/middleware-retry");
14
- const smithy_client_1 = require("@smithy/smithy-client");
15
- Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
16
- const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
17
- const EndpointParameters_1 = require("./endpoint/EndpointParameters");
18
- const runtimeConfig_1 = require("./runtimeConfig");
19
- const runtimeExtensions_1 = require("./runtimeExtensions");
20
- class BedrockAgentCoreClient extends smithy_client_1.Client {
21
- config;
22
- constructor(...[configuration]) {
23
- const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
24
- super(_config_0);
25
- this.initConfig = _config_0;
26
- const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
27
- const _config_2 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_1);
28
- const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
29
- const _config_4 = (0, config_resolver_1.resolveRegionConfig)(_config_3);
30
- const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
31
- const _config_6 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_5);
32
- const _config_7 = (0, eventstream_serde_config_resolver_1.resolveEventStreamSerdeConfig)(_config_6);
33
- const _config_8 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_7);
34
- const _config_9 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_8, configuration?.extensions || []);
35
- this.config = _config_9;
36
- this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
37
- this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
38
- this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
39
- this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
40
- this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
41
- this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
42
- this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
43
- httpAuthSchemeParametersProvider: httpAuthSchemeProvider_1.defaultBedrockAgentCoreHttpAuthSchemeParametersProvider,
44
- identityProviderConfigProvider: async (config) => new core_1.DefaultIdentityProviderConfig({
45
- "aws.auth#sigv4": config.credentials,
46
- }),
47
- }));
48
- this.middlewareStack.use((0, core_1.getHttpSigningPlugin)(this.config));
49
- }
50
- destroy() {
51
- super.destroy();
52
- }
53
- }
54
- exports.BedrockAgentCoreClient = BedrockAgentCoreClient;
@@ -1,43 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveHttpAuthRuntimeConfig = exports.getHttpAuthExtensionConfiguration = void 0;
4
- const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
5
- const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
6
- let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
7
- let _credentials = runtimeConfig.credentials;
8
- return {
9
- setHttpAuthScheme(httpAuthScheme) {
10
- const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
11
- if (index === -1) {
12
- _httpAuthSchemes.push(httpAuthScheme);
13
- }
14
- else {
15
- _httpAuthSchemes.splice(index, 1, httpAuthScheme);
16
- }
17
- },
18
- httpAuthSchemes() {
19
- return _httpAuthSchemes;
20
- },
21
- setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
22
- _httpAuthSchemeProvider = httpAuthSchemeProvider;
23
- },
24
- httpAuthSchemeProvider() {
25
- return _httpAuthSchemeProvider;
26
- },
27
- setCredentials(credentials) {
28
- _credentials = credentials;
29
- },
30
- credentials() {
31
- return _credentials;
32
- },
33
- };
34
- };
35
- exports.getHttpAuthExtensionConfiguration = getHttpAuthExtensionConfiguration;
36
- const resolveHttpAuthRuntimeConfig = (config) => {
37
- return {
38
- httpAuthSchemes: config.httpAuthSchemes(),
39
- httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
40
- credentials: config.credentials(),
41
- };
42
- };
43
- exports.resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig;
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateEventCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const models_0_1 = require("../models/models_0");
10
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class CreateEventCommand extends smithy_client_1.Command
12
- .classBuilder()
13
- .ep(EndpointParameters_1.commonParams)
14
- .m(function (Command, cs, config, o) {
15
- return [
16
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
17
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
18
- ];
19
- })
20
- .s("AmazonBedrockAgentCore", "CreateEvent", {})
21
- .n("BedrockAgentCoreClient", "CreateEventCommand")
22
- .f(models_0_1.CreateEventInputFilterSensitiveLog, models_0_1.CreateEventOutputFilterSensitiveLog)
23
- .ser(Aws_restJson1_1.se_CreateEventCommand)
24
- .de(Aws_restJson1_1.de_CreateEventCommand)
25
- .build() {
26
- }
27
- exports.CreateEventCommand = CreateEventCommand;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteEventCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DeleteEventCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("AmazonBedrockAgentCore", "DeleteEvent", {})
20
- .n("BedrockAgentCoreClient", "DeleteEventCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_restJson1_1.se_DeleteEventCommand)
23
- .de(Aws_restJson1_1.de_DeleteEventCommand)
24
- .build() {
25
- }
26
- exports.DeleteEventCommand = DeleteEventCommand;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteMemoryRecordCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DeleteMemoryRecordCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("AmazonBedrockAgentCore", "DeleteMemoryRecord", {})
20
- .n("BedrockAgentCoreClient", "DeleteMemoryRecordCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_restJson1_1.se_DeleteMemoryRecordCommand)
23
- .de(Aws_restJson1_1.de_DeleteMemoryRecordCommand)
24
- .build() {
25
- }
26
- exports.DeleteMemoryRecordCommand = DeleteMemoryRecordCommand;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetBrowserSessionCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetBrowserSessionCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("AmazonBedrockAgentCore", "GetBrowserSession", {})
20
- .n("BedrockAgentCoreClient", "GetBrowserSessionCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_restJson1_1.se_GetBrowserSessionCommand)
23
- .de(Aws_restJson1_1.de_GetBrowserSessionCommand)
24
- .build() {
25
- }
26
- exports.GetBrowserSessionCommand = GetBrowserSessionCommand;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetCodeInterpreterSessionCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetCodeInterpreterSessionCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("AmazonBedrockAgentCore", "GetCodeInterpreterSession", {})
20
- .n("BedrockAgentCoreClient", "GetCodeInterpreterSessionCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_restJson1_1.se_GetCodeInterpreterSessionCommand)
23
- .de(Aws_restJson1_1.de_GetCodeInterpreterSessionCommand)
24
- .build() {
25
- }
26
- exports.GetCodeInterpreterSessionCommand = GetCodeInterpreterSessionCommand;
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetEventCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const models_0_1 = require("../models/models_0");
10
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class GetEventCommand extends smithy_client_1.Command
12
- .classBuilder()
13
- .ep(EndpointParameters_1.commonParams)
14
- .m(function (Command, cs, config, o) {
15
- return [
16
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
17
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
18
- ];
19
- })
20
- .s("AmazonBedrockAgentCore", "GetEvent", {})
21
- .n("BedrockAgentCoreClient", "GetEventCommand")
22
- .f(void 0, models_0_1.GetEventOutputFilterSensitiveLog)
23
- .ser(Aws_restJson1_1.se_GetEventCommand)
24
- .de(Aws_restJson1_1.de_GetEventCommand)
25
- .build() {
26
- }
27
- exports.GetEventCommand = GetEventCommand;
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetMemoryRecordCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const models_0_1 = require("../models/models_0");
10
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class GetMemoryRecordCommand extends smithy_client_1.Command
12
- .classBuilder()
13
- .ep(EndpointParameters_1.commonParams)
14
- .m(function (Command, cs, config, o) {
15
- return [
16
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
17
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
18
- ];
19
- })
20
- .s("AmazonBedrockAgentCore", "GetMemoryRecord", {})
21
- .n("BedrockAgentCoreClient", "GetMemoryRecordCommand")
22
- .f(void 0, models_0_1.GetMemoryRecordOutputFilterSensitiveLog)
23
- .ser(Aws_restJson1_1.se_GetMemoryRecordCommand)
24
- .de(Aws_restJson1_1.de_GetMemoryRecordCommand)
25
- .build() {
26
- }
27
- exports.GetMemoryRecordCommand = GetMemoryRecordCommand;
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetResourceApiKeyCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const models_0_1 = require("../models/models_0");
10
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class GetResourceApiKeyCommand extends smithy_client_1.Command
12
- .classBuilder()
13
- .ep(EndpointParameters_1.commonParams)
14
- .m(function (Command, cs, config, o) {
15
- return [
16
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
17
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
18
- ];
19
- })
20
- .s("AmazonBedrockAgentCore", "GetResourceApiKey", {})
21
- .n("BedrockAgentCoreClient", "GetResourceApiKeyCommand")
22
- .f(models_0_1.GetResourceApiKeyRequestFilterSensitiveLog, models_0_1.GetResourceApiKeyResponseFilterSensitiveLog)
23
- .ser(Aws_restJson1_1.se_GetResourceApiKeyCommand)
24
- .de(Aws_restJson1_1.de_GetResourceApiKeyCommand)
25
- .build() {
26
- }
27
- exports.GetResourceApiKeyCommand = GetResourceApiKeyCommand;
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetResourceOauth2TokenCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const models_0_1 = require("../models/models_0");
10
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class GetResourceOauth2TokenCommand extends smithy_client_1.Command
12
- .classBuilder()
13
- .ep(EndpointParameters_1.commonParams)
14
- .m(function (Command, cs, config, o) {
15
- return [
16
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
17
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
18
- ];
19
- })
20
- .s("AmazonBedrockAgentCore", "GetResourceOauth2Token", {})
21
- .n("BedrockAgentCoreClient", "GetResourceOauth2TokenCommand")
22
- .f(models_0_1.GetResourceOauth2TokenRequestFilterSensitiveLog, models_0_1.GetResourceOauth2TokenResponseFilterSensitiveLog)
23
- .ser(Aws_restJson1_1.se_GetResourceOauth2TokenCommand)
24
- .de(Aws_restJson1_1.de_GetResourceOauth2TokenCommand)
25
- .build() {
26
- }
27
- exports.GetResourceOauth2TokenCommand = GetResourceOauth2TokenCommand;
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetWorkloadAccessTokenCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const models_0_1 = require("../models/models_0");
10
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class GetWorkloadAccessTokenCommand extends smithy_client_1.Command
12
- .classBuilder()
13
- .ep(EndpointParameters_1.commonParams)
14
- .m(function (Command, cs, config, o) {
15
- return [
16
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
17
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
18
- ];
19
- })
20
- .s("AmazonBedrockAgentCore", "GetWorkloadAccessToken", {})
21
- .n("BedrockAgentCoreClient", "GetWorkloadAccessTokenCommand")
22
- .f(void 0, models_0_1.GetWorkloadAccessTokenResponseFilterSensitiveLog)
23
- .ser(Aws_restJson1_1.se_GetWorkloadAccessTokenCommand)
24
- .de(Aws_restJson1_1.de_GetWorkloadAccessTokenCommand)
25
- .build() {
26
- }
27
- exports.GetWorkloadAccessTokenCommand = GetWorkloadAccessTokenCommand;
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetWorkloadAccessTokenForJWTCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const models_0_1 = require("../models/models_0");
10
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class GetWorkloadAccessTokenForJWTCommand extends smithy_client_1.Command
12
- .classBuilder()
13
- .ep(EndpointParameters_1.commonParams)
14
- .m(function (Command, cs, config, o) {
15
- return [
16
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
17
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
18
- ];
19
- })
20
- .s("AmazonBedrockAgentCore", "GetWorkloadAccessTokenForJWT", {})
21
- .n("BedrockAgentCoreClient", "GetWorkloadAccessTokenForJWTCommand")
22
- .f(models_0_1.GetWorkloadAccessTokenForJWTRequestFilterSensitiveLog, models_0_1.GetWorkloadAccessTokenForJWTResponseFilterSensitiveLog)
23
- .ser(Aws_restJson1_1.se_GetWorkloadAccessTokenForJWTCommand)
24
- .de(Aws_restJson1_1.de_GetWorkloadAccessTokenForJWTCommand)
25
- .build() {
26
- }
27
- exports.GetWorkloadAccessTokenForJWTCommand = GetWorkloadAccessTokenForJWTCommand;
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetWorkloadAccessTokenForUserIdCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const models_0_1 = require("../models/models_0");
10
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class GetWorkloadAccessTokenForUserIdCommand extends smithy_client_1.Command
12
- .classBuilder()
13
- .ep(EndpointParameters_1.commonParams)
14
- .m(function (Command, cs, config, o) {
15
- return [
16
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
17
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
18
- ];
19
- })
20
- .s("AmazonBedrockAgentCore", "GetWorkloadAccessTokenForUserId", {})
21
- .n("BedrockAgentCoreClient", "GetWorkloadAccessTokenForUserIdCommand")
22
- .f(void 0, models_0_1.GetWorkloadAccessTokenForUserIdResponseFilterSensitiveLog)
23
- .ser(Aws_restJson1_1.se_GetWorkloadAccessTokenForUserIdCommand)
24
- .de(Aws_restJson1_1.de_GetWorkloadAccessTokenForUserIdCommand)
25
- .build() {
26
- }
27
- exports.GetWorkloadAccessTokenForUserIdCommand = GetWorkloadAccessTokenForUserIdCommand;
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InvokeAgentRuntimeCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const models_0_1 = require("../models/models_0");
10
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class InvokeAgentRuntimeCommand extends smithy_client_1.Command
12
- .classBuilder()
13
- .ep(EndpointParameters_1.commonParams)
14
- .m(function (Command, cs, config, o) {
15
- return [
16
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
17
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
18
- ];
19
- })
20
- .s("AmazonBedrockAgentCore", "InvokeAgentRuntime", {})
21
- .n("BedrockAgentCoreClient", "InvokeAgentRuntimeCommand")
22
- .f(models_0_1.InvokeAgentRuntimeRequestFilterSensitiveLog, models_0_1.InvokeAgentRuntimeResponseFilterSensitiveLog)
23
- .ser(Aws_restJson1_1.se_InvokeAgentRuntimeCommand)
24
- .de(Aws_restJson1_1.de_InvokeAgentRuntimeCommand)
25
- .build() {
26
- }
27
- exports.InvokeAgentRuntimeCommand = InvokeAgentRuntimeCommand;
@@ -1,31 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InvokeCodeInterpreterCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const models_0_1 = require("../models/models_0");
10
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class InvokeCodeInterpreterCommand extends smithy_client_1.Command
12
- .classBuilder()
13
- .ep(EndpointParameters_1.commonParams)
14
- .m(function (Command, cs, config, o) {
15
- return [
16
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
17
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
18
- ];
19
- })
20
- .s("AmazonBedrockAgentCore", "InvokeCodeInterpreter", {
21
- eventStream: {
22
- output: true,
23
- },
24
- })
25
- .n("BedrockAgentCoreClient", "InvokeCodeInterpreterCommand")
26
- .f(models_0_1.InvokeCodeInterpreterRequestFilterSensitiveLog, models_0_1.InvokeCodeInterpreterResponseFilterSensitiveLog)
27
- .ser(Aws_restJson1_1.se_InvokeCodeInterpreterCommand)
28
- .de(Aws_restJson1_1.de_InvokeCodeInterpreterCommand)
29
- .build() {
30
- }
31
- exports.InvokeCodeInterpreterCommand = InvokeCodeInterpreterCommand;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListActorsCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListActorsCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("AmazonBedrockAgentCore", "ListActors", {})
20
- .n("BedrockAgentCoreClient", "ListActorsCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_restJson1_1.se_ListActorsCommand)
23
- .de(Aws_restJson1_1.de_ListActorsCommand)
24
- .build() {
25
- }
26
- exports.ListActorsCommand = ListActorsCommand;