@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_ListAgentsCommand, se_ListAgentsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListAgents } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListAgentsCommand 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", "ListAgents", {})
17
13
  .n("BedrockAgentClient", "ListAgentsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListAgentsCommand)
20
- .de(de_ListAgentsCommand)
14
+ .sc(ListAgents)
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_ListDataSourcesCommand, se_ListDataSourcesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListDataSources } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDataSourcesCommand 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", "ListDataSources", {})
17
13
  .n("BedrockAgentClient", "ListDataSourcesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDataSourcesCommand)
20
- .de(de_ListDataSourcesCommand)
14
+ .sc(ListDataSources)
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_ListFlowAliasesCommand, se_ListFlowAliasesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListFlowAliases } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListFlowAliasesCommand 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", "ListFlowAliases", {})
17
13
  .n("BedrockAgentClient", "ListFlowAliasesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListFlowAliasesCommand)
20
- .de(de_ListFlowAliasesCommand)
14
+ .sc(ListFlowAliases)
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_ListFlowVersionsCommand, se_ListFlowVersionsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListFlowVersions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListFlowVersionsCommand 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", "ListFlowVersions", {})
17
13
  .n("BedrockAgentClient", "ListFlowVersionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListFlowVersionsCommand)
20
- .de(de_ListFlowVersionsCommand)
14
+ .sc(ListFlowVersions)
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_ListFlowsCommand, se_ListFlowsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListFlows } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListFlowsCommand 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", "ListFlows", {})
17
13
  .n("BedrockAgentClient", "ListFlowsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListFlowsCommand)
20
- .de(de_ListFlowsCommand)
14
+ .sc(ListFlows)
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_ListIngestionJobsCommand, se_ListIngestionJobsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListIngestionJobs } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListIngestionJobsCommand 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", "ListIngestionJobs", {})
17
13
  .n("BedrockAgentClient", "ListIngestionJobsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListIngestionJobsCommand)
20
- .de(de_ListIngestionJobsCommand)
14
+ .sc(ListIngestionJobs)
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_ListKnowledgeBaseDocumentsCommand, se_ListKnowledgeBaseDocumentsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListKnowledgeBaseDocuments } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListKnowledgeBaseDocumentsCommand 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", "ListKnowledgeBaseDocuments", {})
17
13
  .n("BedrockAgentClient", "ListKnowledgeBaseDocumentsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListKnowledgeBaseDocumentsCommand)
20
- .de(de_ListKnowledgeBaseDocumentsCommand)
14
+ .sc(ListKnowledgeBaseDocuments)
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_ListKnowledgeBasesCommand, se_ListKnowledgeBasesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListKnowledgeBases } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListKnowledgeBasesCommand 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", "ListKnowledgeBases", {})
17
13
  .n("BedrockAgentClient", "ListKnowledgeBasesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListKnowledgeBasesCommand)
20
- .de(de_ListKnowledgeBasesCommand)
14
+ .sc(ListKnowledgeBases)
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_ListPromptsCommand, se_ListPromptsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListPrompts } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListPromptsCommand 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", "ListPrompts", {})
17
13
  .n("BedrockAgentClient", "ListPromptsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListPromptsCommand)
20
- .de(de_ListPromptsCommand)
14
+ .sc(ListPrompts)
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_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand 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", "ListTagsForResource", {})
17
13
  .n("BedrockAgentClient", "ListTagsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourceCommand)
20
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
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_PrepareAgentCommand, se_PrepareAgentCommand } from "../protocols/Aws_restJson1";
4
+ import { PrepareAgent } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PrepareAgentCommand 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", "PrepareAgent", {})
17
13
  .n("BedrockAgentClient", "PrepareAgentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PrepareAgentCommand)
20
- .de(de_PrepareAgentCommand)
14
+ .sc(PrepareAgent)
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_PrepareFlowCommand, se_PrepareFlowCommand } from "../protocols/Aws_restJson1";
4
+ import { PrepareFlow } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PrepareFlowCommand 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", "PrepareFlow", {})
17
13
  .n("BedrockAgentClient", "PrepareFlowCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PrepareFlowCommand)
20
- .de(de_PrepareFlowCommand)
14
+ .sc(PrepareFlow)
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_StartIngestionJobCommand, se_StartIngestionJobCommand } from "../protocols/Aws_restJson1";
4
+ import { StartIngestionJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartIngestionJobCommand 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", "StartIngestionJob", {})
17
13
  .n("BedrockAgentClient", "StartIngestionJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartIngestionJobCommand)
20
- .de(de_StartIngestionJobCommand)
14
+ .sc(StartIngestionJob)
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_StopIngestionJobCommand, se_StopIngestionJobCommand } from "../protocols/Aws_restJson1";
4
+ import { StopIngestionJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StopIngestionJobCommand 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", "StopIngestionJob", {})
17
13
  .n("BedrockAgentClient", "StopIngestionJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StopIngestionJobCommand)
20
- .de(de_StopIngestionJobCommand)
14
+ .sc(StopIngestionJob)
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_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand 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", "TagResource", {})
17
13
  .n("BedrockAgentClient", "TagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagResourceCommand)
20
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
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_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand 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", "UntagResource", {})
17
13
  .n("BedrockAgentClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
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 { UpdateAgentActionGroupRequestFilterSensitiveLog, UpdateAgentActionGroupResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_UpdateAgentActionGroupCommand, se_UpdateAgentActionGroupCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateAgentActionGroup } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UpdateAgentActionGroupCommand 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", "UpdateAgentActionGroup", {})
18
13
  .n("BedrockAgentClient", "UpdateAgentActionGroupCommand")
19
- .f(UpdateAgentActionGroupRequestFilterSensitiveLog, UpdateAgentActionGroupResponseFilterSensitiveLog)
20
- .ser(se_UpdateAgentActionGroupCommand)
21
- .de(de_UpdateAgentActionGroupCommand)
14
+ .sc(UpdateAgentActionGroup)
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_UpdateAgentAliasCommand, se_UpdateAgentAliasCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateAgentAlias } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateAgentAliasCommand 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", "UpdateAgentAlias", {})
17
13
  .n("BedrockAgentClient", "UpdateAgentAliasCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateAgentAliasCommand)
20
- .de(de_UpdateAgentAliasCommand)
14
+ .sc(UpdateAgentAlias)
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 { UpdateAgentCollaboratorRequestFilterSensitiveLog, UpdateAgentCollaboratorResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_UpdateAgentCollaboratorCommand, se_UpdateAgentCollaboratorCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateAgentCollaborator } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UpdateAgentCollaboratorCommand 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", "UpdateAgentCollaborator", {})
18
13
  .n("BedrockAgentClient", "UpdateAgentCollaboratorCommand")
19
- .f(UpdateAgentCollaboratorRequestFilterSensitiveLog, UpdateAgentCollaboratorResponseFilterSensitiveLog)
20
- .ser(se_UpdateAgentCollaboratorCommand)
21
- .de(de_UpdateAgentCollaboratorCommand)
14
+ .sc(UpdateAgentCollaborator)
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 { UpdateAgentRequestFilterSensitiveLog, UpdateAgentResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_UpdateAgentCommand, se_UpdateAgentCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateAgent } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UpdateAgentCommand 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", "UpdateAgent", {})
18
13
  .n("BedrockAgentClient", "UpdateAgentCommand")
19
- .f(UpdateAgentRequestFilterSensitiveLog, UpdateAgentResponseFilterSensitiveLog)
20
- .ser(se_UpdateAgentCommand)
21
- .de(de_UpdateAgentCommand)
14
+ .sc(UpdateAgent)
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_UpdateAgentKnowledgeBaseCommand, se_UpdateAgentKnowledgeBaseCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateAgentKnowledgeBase } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateAgentKnowledgeBaseCommand 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", "UpdateAgentKnowledgeBase", {})
17
13
  .n("BedrockAgentClient", "UpdateAgentKnowledgeBaseCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateAgentKnowledgeBaseCommand)
20
- .de(de_UpdateAgentKnowledgeBaseCommand)
14
+ .sc(UpdateAgentKnowledgeBase)
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 { UpdateDataSourceRequestFilterSensitiveLog, UpdateDataSourceResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_UpdateDataSourceCommand, se_UpdateDataSourceCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateDataSource } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UpdateDataSourceCommand 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", "UpdateDataSource", {})
18
13
  .n("BedrockAgentClient", "UpdateDataSourceCommand")
19
- .f(UpdateDataSourceRequestFilterSensitiveLog, UpdateDataSourceResponseFilterSensitiveLog)
20
- .ser(se_UpdateDataSourceCommand)
21
- .de(de_UpdateDataSourceCommand)
14
+ .sc(UpdateDataSource)
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_UpdateFlowAliasCommand, se_UpdateFlowAliasCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateFlowAlias } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateFlowAliasCommand 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", "UpdateFlowAlias", {})
17
13
  .n("BedrockAgentClient", "UpdateFlowAliasCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateFlowAliasCommand)
20
- .de(de_UpdateFlowAliasCommand)
14
+ .sc(UpdateFlowAlias)
21
15
  .build() {
22
16
  }