@aws-sdk/client-bedrock-agent 3.927.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.
Files changed (99) hide show
  1. package/dist-cjs/index.js +4469 -4748
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/BedrockAgentClient.js +2 -0
  4. package/dist-es/commands/AssociateAgentCollaboratorCommand.js +3 -10
  5. package/dist-es/commands/AssociateAgentKnowledgeBaseCommand.js +3 -9
  6. package/dist-es/commands/CreateAgentActionGroupCommand.js +3 -10
  7. package/dist-es/commands/CreateAgentAliasCommand.js +3 -9
  8. package/dist-es/commands/CreateAgentCommand.js +3 -10
  9. package/dist-es/commands/CreateDataSourceCommand.js +3 -10
  10. package/dist-es/commands/CreateFlowAliasCommand.js +3 -9
  11. package/dist-es/commands/CreateFlowCommand.js +3 -10
  12. package/dist-es/commands/CreateFlowVersionCommand.js +3 -10
  13. package/dist-es/commands/CreateKnowledgeBaseCommand.js +3 -10
  14. package/dist-es/commands/CreatePromptCommand.js +3 -10
  15. package/dist-es/commands/CreatePromptVersionCommand.js +3 -10
  16. package/dist-es/commands/DeleteAgentActionGroupCommand.js +3 -9
  17. package/dist-es/commands/DeleteAgentAliasCommand.js +3 -9
  18. package/dist-es/commands/DeleteAgentCommand.js +3 -9
  19. package/dist-es/commands/DeleteAgentVersionCommand.js +3 -9
  20. package/dist-es/commands/DeleteDataSourceCommand.js +3 -9
  21. package/dist-es/commands/DeleteFlowAliasCommand.js +3 -9
  22. package/dist-es/commands/DeleteFlowCommand.js +3 -9
  23. package/dist-es/commands/DeleteFlowVersionCommand.js +3 -9
  24. package/dist-es/commands/DeleteKnowledgeBaseCommand.js +3 -9
  25. package/dist-es/commands/DeleteKnowledgeBaseDocumentsCommand.js +3 -9
  26. package/dist-es/commands/DeletePromptCommand.js +3 -9
  27. package/dist-es/commands/DisassociateAgentCollaboratorCommand.js +3 -9
  28. package/dist-es/commands/DisassociateAgentKnowledgeBaseCommand.js +3 -9
  29. package/dist-es/commands/GetAgentActionGroupCommand.js +3 -10
  30. package/dist-es/commands/GetAgentAliasCommand.js +3 -9
  31. package/dist-es/commands/GetAgentCollaboratorCommand.js +3 -10
  32. package/dist-es/commands/GetAgentCommand.js +3 -10
  33. package/dist-es/commands/GetAgentKnowledgeBaseCommand.js +3 -9
  34. package/dist-es/commands/GetAgentVersionCommand.js +3 -10
  35. package/dist-es/commands/GetDataSourceCommand.js +3 -10
  36. package/dist-es/commands/GetFlowAliasCommand.js +3 -9
  37. package/dist-es/commands/GetFlowCommand.js +3 -10
  38. package/dist-es/commands/GetFlowVersionCommand.js +3 -10
  39. package/dist-es/commands/GetIngestionJobCommand.js +3 -9
  40. package/dist-es/commands/GetKnowledgeBaseCommand.js +3 -10
  41. package/dist-es/commands/GetKnowledgeBaseDocumentsCommand.js +3 -9
  42. package/dist-es/commands/GetPromptCommand.js +3 -10
  43. package/dist-es/commands/IngestKnowledgeBaseDocumentsCommand.js +3 -10
  44. package/dist-es/commands/ListAgentActionGroupsCommand.js +3 -9
  45. package/dist-es/commands/ListAgentAliasesCommand.js +3 -9
  46. package/dist-es/commands/ListAgentCollaboratorsCommand.js +3 -10
  47. package/dist-es/commands/ListAgentKnowledgeBasesCommand.js +3 -9
  48. package/dist-es/commands/ListAgentVersionsCommand.js +3 -9
  49. package/dist-es/commands/ListAgentsCommand.js +3 -9
  50. package/dist-es/commands/ListDataSourcesCommand.js +3 -9
  51. package/dist-es/commands/ListFlowAliasesCommand.js +3 -9
  52. package/dist-es/commands/ListFlowVersionsCommand.js +3 -9
  53. package/dist-es/commands/ListFlowsCommand.js +3 -9
  54. package/dist-es/commands/ListIngestionJobsCommand.js +3 -9
  55. package/dist-es/commands/ListKnowledgeBaseDocumentsCommand.js +3 -9
  56. package/dist-es/commands/ListKnowledgeBasesCommand.js +3 -9
  57. package/dist-es/commands/ListPromptsCommand.js +3 -9
  58. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  59. package/dist-es/commands/PrepareAgentCommand.js +3 -9
  60. package/dist-es/commands/PrepareFlowCommand.js +3 -9
  61. package/dist-es/commands/StartIngestionJobCommand.js +3 -9
  62. package/dist-es/commands/StopIngestionJobCommand.js +3 -9
  63. package/dist-es/commands/TagResourceCommand.js +3 -9
  64. package/dist-es/commands/UntagResourceCommand.js +3 -9
  65. package/dist-es/commands/UpdateAgentActionGroupCommand.js +3 -10
  66. package/dist-es/commands/UpdateAgentAliasCommand.js +3 -9
  67. package/dist-es/commands/UpdateAgentCollaboratorCommand.js +3 -10
  68. package/dist-es/commands/UpdateAgentCommand.js +3 -10
  69. package/dist-es/commands/UpdateAgentKnowledgeBaseCommand.js +3 -9
  70. package/dist-es/commands/UpdateDataSourceCommand.js +3 -10
  71. package/dist-es/commands/UpdateFlowAliasCommand.js +3 -9
  72. package/dist-es/commands/UpdateFlowCommand.js +3 -10
  73. package/dist-es/commands/UpdateKnowledgeBaseCommand.js +3 -10
  74. package/dist-es/commands/UpdatePromptCommand.js +3 -10
  75. package/dist-es/commands/ValidateFlowDefinitionCommand.js +3 -10
  76. package/dist-es/models/models_0.js +0 -453
  77. package/dist-es/models/models_1.js +0 -277
  78. package/dist-es/runtimeConfig.shared.js +2 -0
  79. package/dist-es/schemas/schemas_0.js +4319 -0
  80. package/dist-types/BedrockAgentClient.d.ts +10 -1
  81. package/dist-types/models/models_0.d.ts +0 -276
  82. package/dist-types/models/models_1.d.ts +0 -196
  83. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  84. package/dist-types/runtimeConfig.d.ts +1 -0
  85. package/dist-types/runtimeConfig.native.d.ts +1 -0
  86. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  87. package/dist-types/schemas/schemas_0.d.ts +550 -0
  88. package/dist-types/ts3.4/BedrockAgentClient.d.ts +4 -0
  89. package/dist-types/ts3.4/models/models_0.d.ts +0 -193
  90. package/dist-types/ts3.4/models/models_1.d.ts +0 -145
  91. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  92. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  93. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  94. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  95. package/dist-types/ts3.4/schemas/schemas_0.d.ts +557 -0
  96. package/package.json +5 -6
  97. package/dist-es/protocols/Aws_restJson1.js +0 -3385
  98. package/dist-types/protocols/Aws_restJson1.d.ts +0 -650
  99. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -869
@@ -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");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.bedrockagent" }),
28
30
  serviceId: config?.serviceId ?? "Bedrock Agent",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -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 { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class BedrockAgentClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  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 { AssociateAgentCollaboratorRequestFilterSensitiveLog, AssociateAgentCollaboratorResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_AssociateAgentCollaboratorCommand, se_AssociateAgentCollaboratorCommand } from "../protocols/Aws_restJson1";
4
+ import { AssociateAgentCollaborator } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class AssociateAgentCollaboratorCommand 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("AmazonBedrockAgentBuildTimeLambda", "AssociateAgentCollaborator", {})
18
13
  .n("BedrockAgentClient", "AssociateAgentCollaboratorCommand")
19
- .f(AssociateAgentCollaboratorRequestFilterSensitiveLog, AssociateAgentCollaboratorResponseFilterSensitiveLog)
20
- .ser(se_AssociateAgentCollaboratorCommand)
21
- .de(de_AssociateAgentCollaboratorCommand)
14
+ .sc(AssociateAgentCollaborator)
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_AssociateAgentKnowledgeBaseCommand, se_AssociateAgentKnowledgeBaseCommand, } from "../protocols/Aws_restJson1";
4
+ import { AssociateAgentKnowledgeBase } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AssociateAgentKnowledgeBaseCommand 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("AmazonBedrockAgentBuildTimeLambda", "AssociateAgentKnowledgeBase", {})
17
13
  .n("BedrockAgentClient", "AssociateAgentKnowledgeBaseCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AssociateAgentKnowledgeBaseCommand)
20
- .de(de_AssociateAgentKnowledgeBaseCommand)
14
+ .sc(AssociateAgentKnowledgeBase)
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 { CreateAgentActionGroupRequestFilterSensitiveLog, CreateAgentActionGroupResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CreateAgentActionGroupCommand, se_CreateAgentActionGroupCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateAgentActionGroup } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateAgentActionGroupCommand 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("AmazonBedrockAgentBuildTimeLambda", "CreateAgentActionGroup", {})
18
13
  .n("BedrockAgentClient", "CreateAgentActionGroupCommand")
19
- .f(CreateAgentActionGroupRequestFilterSensitiveLog, CreateAgentActionGroupResponseFilterSensitiveLog)
20
- .ser(se_CreateAgentActionGroupCommand)
21
- .de(de_CreateAgentActionGroupCommand)
14
+ .sc(CreateAgentActionGroup)
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_CreateAgentAliasCommand, se_CreateAgentAliasCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateAgentAlias } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateAgentAliasCommand 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("AmazonBedrockAgentBuildTimeLambda", "CreateAgentAlias", {})
17
13
  .n("BedrockAgentClient", "CreateAgentAliasCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateAgentAliasCommand)
20
- .de(de_CreateAgentAliasCommand)
14
+ .sc(CreateAgentAlias)
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 { CreateAgentRequestFilterSensitiveLog, CreateAgentResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CreateAgentCommand, se_CreateAgentCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateAgent } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateAgentCommand 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("AmazonBedrockAgentBuildTimeLambda", "CreateAgent", {})
18
13
  .n("BedrockAgentClient", "CreateAgentCommand")
19
- .f(CreateAgentRequestFilterSensitiveLog, CreateAgentResponseFilterSensitiveLog)
20
- .ser(se_CreateAgentCommand)
21
- .de(de_CreateAgentCommand)
14
+ .sc(CreateAgent)
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 { CreateDataSourceRequestFilterSensitiveLog, CreateDataSourceResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CreateDataSourceCommand, se_CreateDataSourceCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateDataSource } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateDataSourceCommand 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("AmazonBedrockAgentBuildTimeLambda", "CreateDataSource", {})
18
13
  .n("BedrockAgentClient", "CreateDataSourceCommand")
19
- .f(CreateDataSourceRequestFilterSensitiveLog, CreateDataSourceResponseFilterSensitiveLog)
20
- .ser(se_CreateDataSourceCommand)
21
- .de(de_CreateDataSourceCommand)
14
+ .sc(CreateDataSource)
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_CreateFlowAliasCommand, se_CreateFlowAliasCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateFlowAlias } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateFlowAliasCommand 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("AmazonBedrockAgentBuildTimeLambda", "CreateFlowAlias", {})
17
13
  .n("BedrockAgentClient", "CreateFlowAliasCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateFlowAliasCommand)
20
- .de(de_CreateFlowAliasCommand)
14
+ .sc(CreateFlowAlias)
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 { CreateFlowRequestFilterSensitiveLog, CreateFlowResponseFilterSensitiveLog, } from "../models/models_1";
6
- import { de_CreateFlowCommand, se_CreateFlowCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateFlow } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateFlowCommand 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("AmazonBedrockAgentBuildTimeLambda", "CreateFlow", {})
18
13
  .n("BedrockAgentClient", "CreateFlowCommand")
19
- .f(CreateFlowRequestFilterSensitiveLog, CreateFlowResponseFilterSensitiveLog)
20
- .ser(se_CreateFlowCommand)
21
- .de(de_CreateFlowCommand)
14
+ .sc(CreateFlow)
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 { CreateFlowVersionResponseFilterSensitiveLog } from "../models/models_1";
6
- import { de_CreateFlowVersionCommand, se_CreateFlowVersionCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateFlowVersion } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateFlowVersionCommand 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("AmazonBedrockAgentBuildTimeLambda", "CreateFlowVersion", {})
18
13
  .n("BedrockAgentClient", "CreateFlowVersionCommand")
19
- .f(void 0, CreateFlowVersionResponseFilterSensitiveLog)
20
- .ser(se_CreateFlowVersionCommand)
21
- .de(de_CreateFlowVersionCommand)
14
+ .sc(CreateFlowVersion)
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 { CreateKnowledgeBaseRequestFilterSensitiveLog, CreateKnowledgeBaseResponseFilterSensitiveLog, } from "../models/models_1";
6
- import { de_CreateKnowledgeBaseCommand, se_CreateKnowledgeBaseCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateKnowledgeBase } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateKnowledgeBaseCommand 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("AmazonBedrockAgentBuildTimeLambda", "CreateKnowledgeBase", {})
18
13
  .n("BedrockAgentClient", "CreateKnowledgeBaseCommand")
19
- .f(CreateKnowledgeBaseRequestFilterSensitiveLog, CreateKnowledgeBaseResponseFilterSensitiveLog)
20
- .ser(se_CreateKnowledgeBaseCommand)
21
- .de(de_CreateKnowledgeBaseCommand)
14
+ .sc(CreateKnowledgeBase)
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 { CreatePromptRequestFilterSensitiveLog, CreatePromptResponseFilterSensitiveLog, } from "../models/models_1";
6
- import { de_CreatePromptCommand, se_CreatePromptCommand } from "../protocols/Aws_restJson1";
4
+ import { CreatePrompt } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreatePromptCommand 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("AmazonBedrockAgentBuildTimeLambda", "CreatePrompt", {})
18
13
  .n("BedrockAgentClient", "CreatePromptCommand")
19
- .f(CreatePromptRequestFilterSensitiveLog, CreatePromptResponseFilterSensitiveLog)
20
- .ser(se_CreatePromptCommand)
21
- .de(de_CreatePromptCommand)
14
+ .sc(CreatePrompt)
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 { CreatePromptVersionResponseFilterSensitiveLog, } from "../models/models_1";
6
- import { de_CreatePromptVersionCommand, se_CreatePromptVersionCommand } from "../protocols/Aws_restJson1";
4
+ import { CreatePromptVersion } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreatePromptVersionCommand 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("AmazonBedrockAgentBuildTimeLambda", "CreatePromptVersion", {})
18
13
  .n("BedrockAgentClient", "CreatePromptVersionCommand")
19
- .f(void 0, CreatePromptVersionResponseFilterSensitiveLog)
20
- .ser(se_CreatePromptVersionCommand)
21
- .de(de_CreatePromptVersionCommand)
14
+ .sc(CreatePromptVersion)
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_DeleteAgentActionGroupCommand, se_DeleteAgentActionGroupCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteAgentActionGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteAgentActionGroupCommand 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("AmazonBedrockAgentBuildTimeLambda", "DeleteAgentActionGroup", {})
17
13
  .n("BedrockAgentClient", "DeleteAgentActionGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteAgentActionGroupCommand)
20
- .de(de_DeleteAgentActionGroupCommand)
14
+ .sc(DeleteAgentActionGroup)
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_DeleteAgentAliasCommand, se_DeleteAgentAliasCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteAgentAlias } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteAgentAliasCommand 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("AmazonBedrockAgentBuildTimeLambda", "DeleteAgentAlias", {})
17
13
  .n("BedrockAgentClient", "DeleteAgentAliasCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteAgentAliasCommand)
20
- .de(de_DeleteAgentAliasCommand)
14
+ .sc(DeleteAgentAlias)
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_DeleteAgentCommand, se_DeleteAgentCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteAgent } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteAgentCommand 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("AmazonBedrockAgentBuildTimeLambda", "DeleteAgent", {})
17
13
  .n("BedrockAgentClient", "DeleteAgentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteAgentCommand)
20
- .de(de_DeleteAgentCommand)
14
+ .sc(DeleteAgent)
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_DeleteAgentVersionCommand, se_DeleteAgentVersionCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteAgentVersion } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteAgentVersionCommand 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("AmazonBedrockAgentBuildTimeLambda", "DeleteAgentVersion", {})
17
13
  .n("BedrockAgentClient", "DeleteAgentVersionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteAgentVersionCommand)
20
- .de(de_DeleteAgentVersionCommand)
14
+ .sc(DeleteAgentVersion)
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_DeleteDataSourceCommand, se_DeleteDataSourceCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteDataSource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteDataSourceCommand 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("AmazonBedrockAgentBuildTimeLambda", "DeleteDataSource", {})
17
13
  .n("BedrockAgentClient", "DeleteDataSourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteDataSourceCommand)
20
- .de(de_DeleteDataSourceCommand)
14
+ .sc(DeleteDataSource)
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_DeleteFlowAliasCommand, se_DeleteFlowAliasCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteFlowAlias } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteFlowAliasCommand 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("AmazonBedrockAgentBuildTimeLambda", "DeleteFlowAlias", {})
17
13
  .n("BedrockAgentClient", "DeleteFlowAliasCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteFlowAliasCommand)
20
- .de(de_DeleteFlowAliasCommand)
14
+ .sc(DeleteFlowAlias)
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_DeleteFlowCommand, se_DeleteFlowCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteFlow } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteFlowCommand 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("AmazonBedrockAgentBuildTimeLambda", "DeleteFlow", {})
17
13
  .n("BedrockAgentClient", "DeleteFlowCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteFlowCommand)
20
- .de(de_DeleteFlowCommand)
14
+ .sc(DeleteFlow)
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_DeleteFlowVersionCommand, se_DeleteFlowVersionCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteFlowVersion } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteFlowVersionCommand 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("AmazonBedrockAgentBuildTimeLambda", "DeleteFlowVersion", {})
17
13
  .n("BedrockAgentClient", "DeleteFlowVersionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteFlowVersionCommand)
20
- .de(de_DeleteFlowVersionCommand)
14
+ .sc(DeleteFlowVersion)
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_DeleteKnowledgeBaseCommand, se_DeleteKnowledgeBaseCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteKnowledgeBase } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteKnowledgeBaseCommand 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("AmazonBedrockAgentBuildTimeLambda", "DeleteKnowledgeBase", {})
17
13
  .n("BedrockAgentClient", "DeleteKnowledgeBaseCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteKnowledgeBaseCommand)
20
- .de(de_DeleteKnowledgeBaseCommand)
14
+ .sc(DeleteKnowledgeBase)
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_DeleteKnowledgeBaseDocumentsCommand, se_DeleteKnowledgeBaseDocumentsCommand, } from "../protocols/Aws_restJson1";
4
+ import { DeleteKnowledgeBaseDocuments } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteKnowledgeBaseDocumentsCommand 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("AmazonBedrockAgentBuildTimeLambda", "DeleteKnowledgeBaseDocuments", {})
17
13
  .n("BedrockAgentClient", "DeleteKnowledgeBaseDocumentsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteKnowledgeBaseDocumentsCommand)
20
- .de(de_DeleteKnowledgeBaseDocumentsCommand)
14
+ .sc(DeleteKnowledgeBaseDocuments)
21
15
  .build() {
22
16
  }