@aws-sdk/client-bedrock-agentcore 3.928.0 → 3.930.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 (56) hide show
  1. package/dist-cjs/index.js +1843 -2155
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/BedrockAgentCoreClient.js +2 -0
  4. package/dist-es/commands/BatchCreateMemoryRecordsCommand.js +3 -10
  5. package/dist-es/commands/BatchDeleteMemoryRecordsCommand.js +3 -9
  6. package/dist-es/commands/BatchUpdateMemoryRecordsCommand.js +3 -10
  7. package/dist-es/commands/CompleteResourceTokenAuthCommand.js +3 -10
  8. package/dist-es/commands/CreateEventCommand.js +3 -10
  9. package/dist-es/commands/DeleteEventCommand.js +3 -9
  10. package/dist-es/commands/DeleteMemoryRecordCommand.js +3 -9
  11. package/dist-es/commands/GetAgentCardCommand.js +3 -9
  12. package/dist-es/commands/GetBrowserSessionCommand.js +3 -9
  13. package/dist-es/commands/GetCodeInterpreterSessionCommand.js +3 -9
  14. package/dist-es/commands/GetEventCommand.js +3 -10
  15. package/dist-es/commands/GetMemoryRecordCommand.js +3 -10
  16. package/dist-es/commands/GetResourceApiKeyCommand.js +3 -10
  17. package/dist-es/commands/GetResourceOauth2TokenCommand.js +3 -10
  18. package/dist-es/commands/GetWorkloadAccessTokenCommand.js +3 -10
  19. package/dist-es/commands/GetWorkloadAccessTokenForJWTCommand.js +3 -10
  20. package/dist-es/commands/GetWorkloadAccessTokenForUserIdCommand.js +3 -10
  21. package/dist-es/commands/InvokeAgentRuntimeCommand.js +3 -10
  22. package/dist-es/commands/InvokeCodeInterpreterCommand.js +3 -10
  23. package/dist-es/commands/ListActorsCommand.js +3 -9
  24. package/dist-es/commands/ListBrowserSessionsCommand.js +3 -9
  25. package/dist-es/commands/ListCodeInterpreterSessionsCommand.js +3 -9
  26. package/dist-es/commands/ListEventsCommand.js +3 -10
  27. package/dist-es/commands/ListMemoryRecordsCommand.js +3 -10
  28. package/dist-es/commands/ListSessionsCommand.js +3 -9
  29. package/dist-es/commands/RetrieveMemoryRecordsCommand.js +3 -10
  30. package/dist-es/commands/StartBrowserSessionCommand.js +3 -9
  31. package/dist-es/commands/StartCodeInterpreterSessionCommand.js +3 -9
  32. package/dist-es/commands/StopBrowserSessionCommand.js +3 -9
  33. package/dist-es/commands/StopCodeInterpreterSessionCommand.js +3 -9
  34. package/dist-es/commands/StopRuntimeSessionCommand.js +3 -9
  35. package/dist-es/commands/UpdateBrowserStreamCommand.js +3 -9
  36. package/dist-es/models/models_0.js +0 -280
  37. package/dist-es/runtimeConfig.shared.js +2 -0
  38. package/dist-es/schemas/schemas_0.js +1756 -0
  39. package/dist-types/BedrockAgentCoreClient.d.ts +10 -1
  40. package/dist-types/models/models_0.d.ts +36 -157
  41. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  42. package/dist-types/runtimeConfig.d.ts +1 -0
  43. package/dist-types/runtimeConfig.native.d.ts +1 -0
  44. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  45. package/dist-types/schemas/schemas_0.d.ts +179 -0
  46. package/dist-types/ts3.4/BedrockAgentCoreClient.d.ts +4 -0
  47. package/dist-types/ts3.4/models/models_0.d.ts +0 -115
  48. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  49. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  50. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  51. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  52. package/dist-types/ts3.4/schemas/schemas_0.d.ts +186 -0
  53. package/package.json +37 -38
  54. package/dist-es/protocols/Aws_restJson1.js +0 -1593
  55. package/dist-types/protocols/Aws_restJson1.d.ts +0 -290
  56. 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 { BatchCreateMemoryRecordsInputFilterSensitiveLog, } from "../models/models_0";
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
- .f(BatchCreateMemoryRecordsInputFilterSensitiveLog, void 0)
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 { de_BatchDeleteMemoryRecordsCommand, se_BatchDeleteMemoryRecordsCommand } from "../protocols/Aws_restJson1";
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
- .f(void 0, void 0)
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 { BatchUpdateMemoryRecordsInputFilterSensitiveLog, } from "../models/models_0";
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
- .f(BatchUpdateMemoryRecordsInputFilterSensitiveLog, void 0)
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 { CompleteResourceTokenAuthRequestFilterSensitiveLog, } from "../models/models_0";
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
- .f(CompleteResourceTokenAuthRequestFilterSensitiveLog, void 0)
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 { CreateEventInputFilterSensitiveLog, CreateEventOutputFilterSensitiveLog, } from "../models/models_0";
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
- .f(CreateEventInputFilterSensitiveLog, CreateEventOutputFilterSensitiveLog)
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 { de_DeleteEventCommand, se_DeleteEventCommand } from "../protocols/Aws_restJson1";
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
- .f(void 0, void 0)
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 { de_DeleteMemoryRecordCommand, se_DeleteMemoryRecordCommand } from "../protocols/Aws_restJson1";
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
- .f(void 0, void 0)
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 { de_GetAgentCardCommand, se_GetAgentCardCommand } from "../protocols/Aws_restJson1";
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
- .f(void 0, void 0)
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 { de_GetBrowserSessionCommand, se_GetBrowserSessionCommand } from "../protocols/Aws_restJson1";
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
- .f(void 0, void 0)
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 { de_GetCodeInterpreterSessionCommand, se_GetCodeInterpreterSessionCommand } from "../protocols/Aws_restJson1";
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
- .f(void 0, void 0)
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 { GetEventOutputFilterSensitiveLog } from "../models/models_0";
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
- .f(void 0, GetEventOutputFilterSensitiveLog)
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 { GetMemoryRecordOutputFilterSensitiveLog, } from "../models/models_0";
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
- .f(void 0, GetMemoryRecordOutputFilterSensitiveLog)
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 { GetResourceApiKeyRequestFilterSensitiveLog, GetResourceApiKeyResponseFilterSensitiveLog, } from "../models/models_0";
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
- .f(GetResourceApiKeyRequestFilterSensitiveLog, GetResourceApiKeyResponseFilterSensitiveLog)
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 { GetResourceOauth2TokenRequestFilterSensitiveLog, GetResourceOauth2TokenResponseFilterSensitiveLog, } from "../models/models_0";
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
- .f(GetResourceOauth2TokenRequestFilterSensitiveLog, GetResourceOauth2TokenResponseFilterSensitiveLog)
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 { GetWorkloadAccessTokenResponseFilterSensitiveLog, } from "../models/models_0";
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
- .f(void 0, GetWorkloadAccessTokenResponseFilterSensitiveLog)
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 { GetWorkloadAccessTokenForJWTRequestFilterSensitiveLog, GetWorkloadAccessTokenForJWTResponseFilterSensitiveLog, } from "../models/models_0";
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
- .f(GetWorkloadAccessTokenForJWTRequestFilterSensitiveLog, GetWorkloadAccessTokenForJWTResponseFilterSensitiveLog)
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 { GetWorkloadAccessTokenForUserIdResponseFilterSensitiveLog, } from "../models/models_0";
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
- .f(void 0, GetWorkloadAccessTokenForUserIdResponseFilterSensitiveLog)
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 { InvokeAgentRuntimeRequestFilterSensitiveLog, InvokeAgentRuntimeResponseFilterSensitiveLog, } from "../models/models_0";
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
- .f(InvokeAgentRuntimeRequestFilterSensitiveLog, InvokeAgentRuntimeResponseFilterSensitiveLog)
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 { InvokeCodeInterpreterRequestFilterSensitiveLog, InvokeCodeInterpreterResponseFilterSensitiveLog, } from "../models/models_0";
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
- .f(InvokeCodeInterpreterRequestFilterSensitiveLog, InvokeCodeInterpreterResponseFilterSensitiveLog)
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 { de_ListActorsCommand, se_ListActorsCommand } from "../protocols/Aws_restJson1";
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
- .f(void 0, void 0)
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 { de_ListBrowserSessionsCommand, se_ListBrowserSessionsCommand } from "../protocols/Aws_restJson1";
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
- .f(void 0, void 0)
19
- .ser(se_ListBrowserSessionsCommand)
20
- .de(de_ListBrowserSessionsCommand)
14
+ .sc(ListBrowserSessions)
21
15
  .build() {
22
16
  }