@aws-sdk/client-bedrock-agent 3.928.0 → 3.929.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +2 -3
  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
@@ -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_DeletePromptCommand, se_DeletePromptCommand } from "../protocols/Aws_restJson1";
4
+ import { DeletePrompt } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeletePromptCommand 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", "DeletePrompt", {})
17
13
  .n("BedrockAgentClient", "DeletePromptCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeletePromptCommand)
20
- .de(de_DeletePromptCommand)
14
+ .sc(DeletePrompt)
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_DisassociateAgentCollaboratorCommand, se_DisassociateAgentCollaboratorCommand, } from "../protocols/Aws_restJson1";
4
+ import { DisassociateAgentCollaborator } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DisassociateAgentCollaboratorCommand 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", "DisassociateAgentCollaborator", {})
17
13
  .n("BedrockAgentClient", "DisassociateAgentCollaboratorCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DisassociateAgentCollaboratorCommand)
20
- .de(de_DisassociateAgentCollaboratorCommand)
14
+ .sc(DisassociateAgentCollaborator)
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_DisassociateAgentKnowledgeBaseCommand, se_DisassociateAgentKnowledgeBaseCommand, } from "../protocols/Aws_restJson1";
4
+ import { DisassociateAgentKnowledgeBase } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DisassociateAgentKnowledgeBaseCommand 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", "DisassociateAgentKnowledgeBase", {})
17
13
  .n("BedrockAgentClient", "DisassociateAgentKnowledgeBaseCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DisassociateAgentKnowledgeBaseCommand)
20
- .de(de_DisassociateAgentKnowledgeBaseCommand)
14
+ .sc(DisassociateAgentKnowledgeBase)
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 { GetAgentActionGroupResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_GetAgentActionGroupCommand, se_GetAgentActionGroupCommand } from "../protocols/Aws_restJson1";
4
+ import { GetAgentActionGroup } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetAgentActionGroupCommand 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", "GetAgentActionGroup", {})
18
13
  .n("BedrockAgentClient", "GetAgentActionGroupCommand")
19
- .f(void 0, GetAgentActionGroupResponseFilterSensitiveLog)
20
- .ser(se_GetAgentActionGroupCommand)
21
- .de(de_GetAgentActionGroupCommand)
14
+ .sc(GetAgentActionGroup)
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_GetAgentAliasCommand, se_GetAgentAliasCommand } from "../protocols/Aws_restJson1";
4
+ import { GetAgentAlias } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetAgentAliasCommand 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", "GetAgentAlias", {})
17
13
  .n("BedrockAgentClient", "GetAgentAliasCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetAgentAliasCommand)
20
- .de(de_GetAgentAliasCommand)
14
+ .sc(GetAgentAlias)
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 { GetAgentCollaboratorResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_GetAgentCollaboratorCommand, se_GetAgentCollaboratorCommand } from "../protocols/Aws_restJson1";
4
+ import { GetAgentCollaborator } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetAgentCollaboratorCommand 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", "GetAgentCollaborator", {})
18
13
  .n("BedrockAgentClient", "GetAgentCollaboratorCommand")
19
- .f(void 0, GetAgentCollaboratorResponseFilterSensitiveLog)
20
- .ser(se_GetAgentCollaboratorCommand)
21
- .de(de_GetAgentCollaboratorCommand)
14
+ .sc(GetAgentCollaborator)
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 { GetAgentResponseFilterSensitiveLog } from "../models/models_0";
6
- import { de_GetAgentCommand, se_GetAgentCommand } from "../protocols/Aws_restJson1";
4
+ import { GetAgent } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetAgentCommand 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", "GetAgent", {})
18
13
  .n("BedrockAgentClient", "GetAgentCommand")
19
- .f(void 0, GetAgentResponseFilterSensitiveLog)
20
- .ser(se_GetAgentCommand)
21
- .de(de_GetAgentCommand)
14
+ .sc(GetAgent)
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_GetAgentKnowledgeBaseCommand, se_GetAgentKnowledgeBaseCommand } from "../protocols/Aws_restJson1";
4
+ import { GetAgentKnowledgeBase } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetAgentKnowledgeBaseCommand 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", "GetAgentKnowledgeBase", {})
17
13
  .n("BedrockAgentClient", "GetAgentKnowledgeBaseCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetAgentKnowledgeBaseCommand)
20
- .de(de_GetAgentKnowledgeBaseCommand)
14
+ .sc(GetAgentKnowledgeBase)
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 { GetAgentVersionResponseFilterSensitiveLog, } from "../models/models_1";
6
- import { de_GetAgentVersionCommand, se_GetAgentVersionCommand } from "../protocols/Aws_restJson1";
4
+ import { GetAgentVersion } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetAgentVersionCommand 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", "GetAgentVersion", {})
18
13
  .n("BedrockAgentClient", "GetAgentVersionCommand")
19
- .f(void 0, GetAgentVersionResponseFilterSensitiveLog)
20
- .ser(se_GetAgentVersionCommand)
21
- .de(de_GetAgentVersionCommand)
14
+ .sc(GetAgentVersion)
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 { GetDataSourceResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_GetDataSourceCommand, se_GetDataSourceCommand } from "../protocols/Aws_restJson1";
4
+ import { GetDataSource } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetDataSourceCommand 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", "GetDataSource", {})
18
13
  .n("BedrockAgentClient", "GetDataSourceCommand")
19
- .f(void 0, GetDataSourceResponseFilterSensitiveLog)
20
- .ser(se_GetDataSourceCommand)
21
- .de(de_GetDataSourceCommand)
14
+ .sc(GetDataSource)
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_GetFlowAliasCommand, se_GetFlowAliasCommand } from "../protocols/Aws_restJson1";
4
+ import { GetFlowAlias } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetFlowAliasCommand 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", "GetFlowAlias", {})
17
13
  .n("BedrockAgentClient", "GetFlowAliasCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetFlowAliasCommand)
20
- .de(de_GetFlowAliasCommand)
14
+ .sc(GetFlowAlias)
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 { GetFlowResponseFilterSensitiveLog } from "../models/models_1";
6
- import { de_GetFlowCommand, se_GetFlowCommand } from "../protocols/Aws_restJson1";
4
+ import { GetFlow } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetFlowCommand 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", "GetFlow", {})
18
13
  .n("BedrockAgentClient", "GetFlowCommand")
19
- .f(void 0, GetFlowResponseFilterSensitiveLog)
20
- .ser(se_GetFlowCommand)
21
- .de(de_GetFlowCommand)
14
+ .sc(GetFlow)
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 { GetFlowVersionResponseFilterSensitiveLog } from "../models/models_1";
6
- import { de_GetFlowVersionCommand, se_GetFlowVersionCommand } from "../protocols/Aws_restJson1";
4
+ import { GetFlowVersion } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetFlowVersionCommand 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", "GetFlowVersion", {})
18
13
  .n("BedrockAgentClient", "GetFlowVersionCommand")
19
- .f(void 0, GetFlowVersionResponseFilterSensitiveLog)
20
- .ser(se_GetFlowVersionCommand)
21
- .de(de_GetFlowVersionCommand)
14
+ .sc(GetFlowVersion)
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_GetIngestionJobCommand, se_GetIngestionJobCommand } from "../protocols/Aws_restJson1";
4
+ import { GetIngestionJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetIngestionJobCommand 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", "GetIngestionJob", {})
17
13
  .n("BedrockAgentClient", "GetIngestionJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetIngestionJobCommand)
20
- .de(de_GetIngestionJobCommand)
14
+ .sc(GetIngestionJob)
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 { GetKnowledgeBaseResponseFilterSensitiveLog, } from "../models/models_1";
6
- import { de_GetKnowledgeBaseCommand, se_GetKnowledgeBaseCommand } from "../protocols/Aws_restJson1";
4
+ import { GetKnowledgeBase } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetKnowledgeBaseCommand 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", "GetKnowledgeBase", {})
18
13
  .n("BedrockAgentClient", "GetKnowledgeBaseCommand")
19
- .f(void 0, GetKnowledgeBaseResponseFilterSensitiveLog)
20
- .ser(se_GetKnowledgeBaseCommand)
21
- .de(de_GetKnowledgeBaseCommand)
14
+ .sc(GetKnowledgeBase)
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_GetKnowledgeBaseDocumentsCommand, se_GetKnowledgeBaseDocumentsCommand } from "../protocols/Aws_restJson1";
4
+ import { GetKnowledgeBaseDocuments } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetKnowledgeBaseDocumentsCommand 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", "GetKnowledgeBaseDocuments", {})
17
13
  .n("BedrockAgentClient", "GetKnowledgeBaseDocumentsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetKnowledgeBaseDocumentsCommand)
20
- .de(de_GetKnowledgeBaseDocumentsCommand)
14
+ .sc(GetKnowledgeBaseDocuments)
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 { GetPromptResponseFilterSensitiveLog } from "../models/models_1";
6
- import { de_GetPromptCommand, se_GetPromptCommand } from "../protocols/Aws_restJson1";
4
+ import { GetPrompt } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetPromptCommand 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", "GetPrompt", {})
18
13
  .n("BedrockAgentClient", "GetPromptCommand")
19
- .f(void 0, GetPromptResponseFilterSensitiveLog)
20
- .ser(se_GetPromptCommand)
21
- .de(de_GetPromptCommand)
14
+ .sc(GetPrompt)
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 { IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog, } from "../models/models_1";
6
- import { de_IngestKnowledgeBaseDocumentsCommand, se_IngestKnowledgeBaseDocumentsCommand, } from "../protocols/Aws_restJson1";
4
+ import { IngestKnowledgeBaseDocuments } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class IngestKnowledgeBaseDocumentsCommand 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", "IngestKnowledgeBaseDocuments", {})
18
13
  .n("BedrockAgentClient", "IngestKnowledgeBaseDocumentsCommand")
19
- .f(IngestKnowledgeBaseDocumentsRequestFilterSensitiveLog, void 0)
20
- .ser(se_IngestKnowledgeBaseDocumentsCommand)
21
- .de(de_IngestKnowledgeBaseDocumentsCommand)
14
+ .sc(IngestKnowledgeBaseDocuments)
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_ListAgentActionGroupsCommand, se_ListAgentActionGroupsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListAgentActionGroups } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListAgentActionGroupsCommand 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", "ListAgentActionGroups", {})
17
13
  .n("BedrockAgentClient", "ListAgentActionGroupsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListAgentActionGroupsCommand)
20
- .de(de_ListAgentActionGroupsCommand)
14
+ .sc(ListAgentActionGroups)
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_ListAgentAliasesCommand, se_ListAgentAliasesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListAgentAliases } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListAgentAliasesCommand 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", "ListAgentAliases", {})
17
13
  .n("BedrockAgentClient", "ListAgentAliasesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListAgentAliasesCommand)
20
- .de(de_ListAgentAliasesCommand)
14
+ .sc(ListAgentAliases)
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 { ListAgentCollaboratorsResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_ListAgentCollaboratorsCommand, se_ListAgentCollaboratorsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListAgentCollaborators } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class ListAgentCollaboratorsCommand 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", "ListAgentCollaborators", {})
18
13
  .n("BedrockAgentClient", "ListAgentCollaboratorsCommand")
19
- .f(void 0, ListAgentCollaboratorsResponseFilterSensitiveLog)
20
- .ser(se_ListAgentCollaboratorsCommand)
21
- .de(de_ListAgentCollaboratorsCommand)
14
+ .sc(ListAgentCollaborators)
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_ListAgentKnowledgeBasesCommand, se_ListAgentKnowledgeBasesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListAgentKnowledgeBases } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListAgentKnowledgeBasesCommand 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", "ListAgentKnowledgeBases", {})
17
13
  .n("BedrockAgentClient", "ListAgentKnowledgeBasesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListAgentKnowledgeBasesCommand)
20
- .de(de_ListAgentKnowledgeBasesCommand)
14
+ .sc(ListAgentKnowledgeBases)
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_ListAgentVersionsCommand, se_ListAgentVersionsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListAgentVersions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListAgentVersionsCommand 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", "ListAgentVersions", {})
17
13
  .n("BedrockAgentClient", "ListAgentVersionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListAgentVersionsCommand)
20
- .de(de_ListAgentVersionsCommand)
14
+ .sc(ListAgentVersions)
21
15
  .build() {
22
16
  }