@aws-sdk/client-bedrock-agent 3.609.0 → 3.614.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 (108) hide show
  1. package/README.md +168 -0
  2. package/dist-cjs/index.js +2007 -14
  3. package/dist-es/BedrockAgent.js +42 -0
  4. package/dist-es/commands/CreateDataSourceCommand.js +2 -1
  5. package/dist-es/commands/CreateFlowAliasCommand.js +24 -0
  6. package/dist-es/commands/CreateFlowCommand.js +25 -0
  7. package/dist-es/commands/CreateFlowVersionCommand.js +25 -0
  8. package/dist-es/commands/CreatePromptCommand.js +25 -0
  9. package/dist-es/commands/CreatePromptVersionCommand.js +25 -0
  10. package/dist-es/commands/DeleteFlowAliasCommand.js +24 -0
  11. package/dist-es/commands/DeleteFlowCommand.js +24 -0
  12. package/dist-es/commands/DeleteFlowVersionCommand.js +24 -0
  13. package/dist-es/commands/DeletePromptCommand.js +24 -0
  14. package/dist-es/commands/GetDataSourceCommand.js +2 -1
  15. package/dist-es/commands/GetFlowAliasCommand.js +24 -0
  16. package/dist-es/commands/GetFlowCommand.js +25 -0
  17. package/dist-es/commands/GetFlowVersionCommand.js +25 -0
  18. package/dist-es/commands/GetPromptCommand.js +25 -0
  19. package/dist-es/commands/ListFlowAliasesCommand.js +24 -0
  20. package/dist-es/commands/ListFlowVersionsCommand.js +24 -0
  21. package/dist-es/commands/ListFlowsCommand.js +24 -0
  22. package/dist-es/commands/ListPromptsCommand.js +24 -0
  23. package/dist-es/commands/PrepareFlowCommand.js +24 -0
  24. package/dist-es/commands/UpdateDataSourceCommand.js +2 -1
  25. package/dist-es/commands/UpdateFlowAliasCommand.js +24 -0
  26. package/dist-es/commands/UpdateFlowCommand.js +25 -0
  27. package/dist-es/commands/UpdatePromptCommand.js +25 -0
  28. package/dist-es/commands/index.js +21 -0
  29. package/dist-es/models/models_0.js +418 -0
  30. package/dist-es/pagination/ListFlowAliasesPaginator.js +4 -0
  31. package/dist-es/pagination/ListFlowVersionsPaginator.js +4 -0
  32. package/dist-es/pagination/ListFlowsPaginator.js +4 -0
  33. package/dist-es/pagination/ListPromptsPaginator.js +4 -0
  34. package/dist-es/pagination/index.js +4 -0
  35. package/dist-es/protocols/Aws_restJson1.js +1041 -25
  36. package/dist-types/BedrockAgent.d.ts +149 -0
  37. package/dist-types/BedrockAgentClient.d.ts +23 -2
  38. package/dist-types/commands/CreateAgentActionGroupCommand.d.ts +7 -3
  39. package/dist-types/commands/CreateAgentCommand.d.ts +18 -1
  40. package/dist-types/commands/CreateDataSourceCommand.d.ts +280 -6
  41. package/dist-types/commands/CreateFlowAliasCommand.d.ts +103 -0
  42. package/dist-types/commands/CreateFlowCommand.d.ts +318 -0
  43. package/dist-types/commands/CreateFlowVersionCommand.d.ts +203 -0
  44. package/dist-types/commands/CreatePromptCommand.d.ts +149 -0
  45. package/dist-types/commands/CreatePromptVersionCommand.d.ts +122 -0
  46. package/dist-types/commands/DeleteFlowAliasCommand.d.ts +80 -0
  47. package/dist-types/commands/DeleteFlowCommand.d.ts +79 -0
  48. package/dist-types/commands/DeleteFlowVersionCommand.d.ts +81 -0
  49. package/dist-types/commands/DeletePromptCommand.d.ts +80 -0
  50. package/dist-types/commands/GetAgentActionGroupCommand.d.ts +1 -1
  51. package/dist-types/commands/GetAgentCommand.d.ts +6 -0
  52. package/dist-types/commands/GetAgentVersionCommand.d.ts +6 -0
  53. package/dist-types/commands/GetDataSourceCommand.d.ts +139 -2
  54. package/dist-types/commands/GetFlowAliasCommand.d.ts +87 -0
  55. package/dist-types/commands/GetFlowCommand.d.ts +202 -0
  56. package/dist-types/commands/GetFlowVersionCommand.d.ts +196 -0
  57. package/dist-types/commands/GetPromptCommand.d.ts +112 -0
  58. package/dist-types/commands/ListFlowAliasesCommand.d.ts +93 -0
  59. package/dist-types/commands/ListFlowVersionsCommand.d.ts +86 -0
  60. package/dist-types/commands/ListFlowsCommand.d.ts +85 -0
  61. package/dist-types/commands/ListPromptsCommand.d.ts +88 -0
  62. package/dist-types/commands/PrepareFlowCommand.d.ts +82 -0
  63. package/dist-types/commands/UpdateAgentActionGroupCommand.d.ts +2 -2
  64. package/dist-types/commands/UpdateAgentCommand.d.ts +12 -0
  65. package/dist-types/commands/UpdateDataSourceCommand.d.ts +280 -6
  66. package/dist-types/commands/UpdateFlowAliasCommand.d.ts +100 -0
  67. package/dist-types/commands/UpdateFlowCommand.d.ts +318 -0
  68. package/dist-types/commands/UpdatePromptCommand.d.ts +149 -0
  69. package/dist-types/commands/index.d.ts +21 -0
  70. package/dist-types/models/models_0.d.ts +4252 -772
  71. package/dist-types/pagination/ListFlowAliasesPaginator.d.ts +7 -0
  72. package/dist-types/pagination/ListFlowVersionsPaginator.d.ts +7 -0
  73. package/dist-types/pagination/ListFlowsPaginator.d.ts +7 -0
  74. package/dist-types/pagination/ListPromptsPaginator.d.ts +7 -0
  75. package/dist-types/pagination/index.d.ts +4 -0
  76. package/dist-types/protocols/Aws_restJson1.d.ts +189 -0
  77. package/dist-types/ts3.4/BedrockAgent.d.ts +359 -0
  78. package/dist-types/ts3.4/BedrockAgentClient.d.ts +128 -2
  79. package/dist-types/ts3.4/commands/CreateFlowAliasCommand.d.ts +39 -0
  80. package/dist-types/ts3.4/commands/CreateFlowCommand.d.ts +36 -0
  81. package/dist-types/ts3.4/commands/CreateFlowVersionCommand.d.ts +40 -0
  82. package/dist-types/ts3.4/commands/CreatePromptCommand.d.ts +36 -0
  83. package/dist-types/ts3.4/commands/CreatePromptVersionCommand.d.ts +40 -0
  84. package/dist-types/ts3.4/commands/DeleteFlowAliasCommand.d.ts +39 -0
  85. package/dist-types/ts3.4/commands/DeleteFlowCommand.d.ts +36 -0
  86. package/dist-types/ts3.4/commands/DeleteFlowVersionCommand.d.ts +40 -0
  87. package/dist-types/ts3.4/commands/DeletePromptCommand.d.ts +36 -0
  88. package/dist-types/ts3.4/commands/GetFlowAliasCommand.d.ts +36 -0
  89. package/dist-types/ts3.4/commands/GetFlowCommand.d.ts +32 -0
  90. package/dist-types/ts3.4/commands/GetFlowVersionCommand.d.ts +39 -0
  91. package/dist-types/ts3.4/commands/GetPromptCommand.d.ts +36 -0
  92. package/dist-types/ts3.4/commands/ListFlowAliasesCommand.d.ts +39 -0
  93. package/dist-types/ts3.4/commands/ListFlowVersionsCommand.d.ts +39 -0
  94. package/dist-types/ts3.4/commands/ListFlowsCommand.d.ts +36 -0
  95. package/dist-types/ts3.4/commands/ListPromptsCommand.d.ts +36 -0
  96. package/dist-types/ts3.4/commands/PrepareFlowCommand.d.ts +36 -0
  97. package/dist-types/ts3.4/commands/UpdateFlowAliasCommand.d.ts +39 -0
  98. package/dist-types/ts3.4/commands/UpdateFlowCommand.d.ts +36 -0
  99. package/dist-types/ts3.4/commands/UpdatePromptCommand.d.ts +36 -0
  100. package/dist-types/ts3.4/commands/index.d.ts +21 -0
  101. package/dist-types/ts3.4/models/models_0.d.ts +1179 -0
  102. package/dist-types/ts3.4/pagination/ListFlowAliasesPaginator.d.ts +11 -0
  103. package/dist-types/ts3.4/pagination/ListFlowVersionsPaginator.d.ts +11 -0
  104. package/dist-types/ts3.4/pagination/ListFlowsPaginator.d.ts +11 -0
  105. package/dist-types/ts3.4/pagination/ListPromptsPaginator.d.ts +11 -0
  106. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  107. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +252 -0
  108. package/package.json +20 -20
@@ -5,13 +5,22 @@ import { CreateAgentActionGroupCommand, } from "./commands/CreateAgentActionGrou
5
5
  import { CreateAgentAliasCommand, } from "./commands/CreateAgentAliasCommand";
6
6
  import { CreateAgentCommand } from "./commands/CreateAgentCommand";
7
7
  import { CreateDataSourceCommand, } from "./commands/CreateDataSourceCommand";
8
+ import { CreateFlowAliasCommand, } from "./commands/CreateFlowAliasCommand";
9
+ import { CreateFlowCommand } from "./commands/CreateFlowCommand";
10
+ import { CreateFlowVersionCommand, } from "./commands/CreateFlowVersionCommand";
8
11
  import { CreateKnowledgeBaseCommand, } from "./commands/CreateKnowledgeBaseCommand";
12
+ import { CreatePromptCommand, } from "./commands/CreatePromptCommand";
13
+ import { CreatePromptVersionCommand, } from "./commands/CreatePromptVersionCommand";
9
14
  import { DeleteAgentActionGroupCommand, } from "./commands/DeleteAgentActionGroupCommand";
10
15
  import { DeleteAgentAliasCommand, } from "./commands/DeleteAgentAliasCommand";
11
16
  import { DeleteAgentCommand } from "./commands/DeleteAgentCommand";
12
17
  import { DeleteAgentVersionCommand, } from "./commands/DeleteAgentVersionCommand";
13
18
  import { DeleteDataSourceCommand, } from "./commands/DeleteDataSourceCommand";
19
+ import { DeleteFlowAliasCommand, } from "./commands/DeleteFlowAliasCommand";
20
+ import { DeleteFlowCommand } from "./commands/DeleteFlowCommand";
21
+ import { DeleteFlowVersionCommand, } from "./commands/DeleteFlowVersionCommand";
14
22
  import { DeleteKnowledgeBaseCommand, } from "./commands/DeleteKnowledgeBaseCommand";
23
+ import { DeletePromptCommand, } from "./commands/DeletePromptCommand";
15
24
  import { DisassociateAgentKnowledgeBaseCommand, } from "./commands/DisassociateAgentKnowledgeBaseCommand";
16
25
  import { GetAgentActionGroupCommand, } from "./commands/GetAgentActionGroupCommand";
17
26
  import { GetAgentAliasCommand, } from "./commands/GetAgentAliasCommand";
@@ -19,18 +28,27 @@ import { GetAgentCommand } from "./commands/GetAgentCommand";
19
28
  import { GetAgentKnowledgeBaseCommand, } from "./commands/GetAgentKnowledgeBaseCommand";
20
29
  import { GetAgentVersionCommand, } from "./commands/GetAgentVersionCommand";
21
30
  import { GetDataSourceCommand, } from "./commands/GetDataSourceCommand";
31
+ import { GetFlowAliasCommand, } from "./commands/GetFlowAliasCommand";
32
+ import { GetFlowCommand } from "./commands/GetFlowCommand";
33
+ import { GetFlowVersionCommand, } from "./commands/GetFlowVersionCommand";
22
34
  import { GetIngestionJobCommand, } from "./commands/GetIngestionJobCommand";
23
35
  import { GetKnowledgeBaseCommand, } from "./commands/GetKnowledgeBaseCommand";
36
+ import { GetPromptCommand } from "./commands/GetPromptCommand";
24
37
  import { ListAgentActionGroupsCommand, } from "./commands/ListAgentActionGroupsCommand";
25
38
  import { ListAgentAliasesCommand, } from "./commands/ListAgentAliasesCommand";
26
39
  import { ListAgentKnowledgeBasesCommand, } from "./commands/ListAgentKnowledgeBasesCommand";
27
40
  import { ListAgentsCommand } from "./commands/ListAgentsCommand";
28
41
  import { ListAgentVersionsCommand, } from "./commands/ListAgentVersionsCommand";
29
42
  import { ListDataSourcesCommand, } from "./commands/ListDataSourcesCommand";
43
+ import { ListFlowAliasesCommand, } from "./commands/ListFlowAliasesCommand";
44
+ import { ListFlowsCommand } from "./commands/ListFlowsCommand";
45
+ import { ListFlowVersionsCommand, } from "./commands/ListFlowVersionsCommand";
30
46
  import { ListIngestionJobsCommand, } from "./commands/ListIngestionJobsCommand";
31
47
  import { ListKnowledgeBasesCommand, } from "./commands/ListKnowledgeBasesCommand";
48
+ import { ListPromptsCommand } from "./commands/ListPromptsCommand";
32
49
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
33
50
  import { PrepareAgentCommand, } from "./commands/PrepareAgentCommand";
51
+ import { PrepareFlowCommand } from "./commands/PrepareFlowCommand";
34
52
  import { StartIngestionJobCommand, } from "./commands/StartIngestionJobCommand";
35
53
  import { TagResourceCommand } from "./commands/TagResourceCommand";
36
54
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
@@ -39,20 +57,32 @@ import { UpdateAgentAliasCommand, } from "./commands/UpdateAgentAliasCommand";
39
57
  import { UpdateAgentCommand } from "./commands/UpdateAgentCommand";
40
58
  import { UpdateAgentKnowledgeBaseCommand, } from "./commands/UpdateAgentKnowledgeBaseCommand";
41
59
  import { UpdateDataSourceCommand, } from "./commands/UpdateDataSourceCommand";
60
+ import { UpdateFlowAliasCommand, } from "./commands/UpdateFlowAliasCommand";
61
+ import { UpdateFlowCommand } from "./commands/UpdateFlowCommand";
42
62
  import { UpdateKnowledgeBaseCommand, } from "./commands/UpdateKnowledgeBaseCommand";
63
+ import { UpdatePromptCommand, } from "./commands/UpdatePromptCommand";
43
64
  const commands = {
44
65
  AssociateAgentKnowledgeBaseCommand,
45
66
  CreateAgentCommand,
46
67
  CreateAgentActionGroupCommand,
47
68
  CreateAgentAliasCommand,
48
69
  CreateDataSourceCommand,
70
+ CreateFlowCommand,
71
+ CreateFlowAliasCommand,
72
+ CreateFlowVersionCommand,
49
73
  CreateKnowledgeBaseCommand,
74
+ CreatePromptCommand,
75
+ CreatePromptVersionCommand,
50
76
  DeleteAgentCommand,
51
77
  DeleteAgentActionGroupCommand,
52
78
  DeleteAgentAliasCommand,
53
79
  DeleteAgentVersionCommand,
54
80
  DeleteDataSourceCommand,
81
+ DeleteFlowCommand,
82
+ DeleteFlowAliasCommand,
83
+ DeleteFlowVersionCommand,
55
84
  DeleteKnowledgeBaseCommand,
85
+ DeletePromptCommand,
56
86
  DisassociateAgentKnowledgeBaseCommand,
57
87
  GetAgentCommand,
58
88
  GetAgentActionGroupCommand,
@@ -60,18 +90,27 @@ const commands = {
60
90
  GetAgentKnowledgeBaseCommand,
61
91
  GetAgentVersionCommand,
62
92
  GetDataSourceCommand,
93
+ GetFlowCommand,
94
+ GetFlowAliasCommand,
95
+ GetFlowVersionCommand,
63
96
  GetIngestionJobCommand,
64
97
  GetKnowledgeBaseCommand,
98
+ GetPromptCommand,
65
99
  ListAgentActionGroupsCommand,
66
100
  ListAgentAliasesCommand,
67
101
  ListAgentKnowledgeBasesCommand,
68
102
  ListAgentsCommand,
69
103
  ListAgentVersionsCommand,
70
104
  ListDataSourcesCommand,
105
+ ListFlowAliasesCommand,
106
+ ListFlowsCommand,
107
+ ListFlowVersionsCommand,
71
108
  ListIngestionJobsCommand,
72
109
  ListKnowledgeBasesCommand,
110
+ ListPromptsCommand,
73
111
  ListTagsForResourceCommand,
74
112
  PrepareAgentCommand,
113
+ PrepareFlowCommand,
75
114
  StartIngestionJobCommand,
76
115
  TagResourceCommand,
77
116
  UntagResourceCommand,
@@ -80,7 +119,10 @@ const commands = {
80
119
  UpdateAgentAliasCommand,
81
120
  UpdateAgentKnowledgeBaseCommand,
82
121
  UpdateDataSourceCommand,
122
+ UpdateFlowCommand,
123
+ UpdateFlowAliasCommand,
83
124
  UpdateKnowledgeBaseCommand,
125
+ UpdatePromptCommand,
84
126
  };
85
127
  export class BedrockAgent extends BedrockAgentClient {
86
128
  }
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { CreateDataSourceRequestFilterSensitiveLog, CreateDataSourceResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_CreateDataSourceCommand, se_CreateDataSourceCommand } from "../protocols/Aws_restJson1";
6
7
  export { $Command };
7
8
  export class CreateDataSourceCommand extends $Command
@@ -17,7 +18,7 @@ export class CreateDataSourceCommand extends $Command
17
18
  })
18
19
  .s("AmazonBedrockAgentBuildTimeLambda", "CreateDataSource", {})
19
20
  .n("BedrockAgentClient", "CreateDataSourceCommand")
20
- .f(void 0, void 0)
21
+ .f(CreateDataSourceRequestFilterSensitiveLog, CreateDataSourceResponseFilterSensitiveLog)
21
22
  .ser(se_CreateDataSourceCommand)
22
23
  .de(de_CreateDataSourceCommand)
23
24
  .build() {
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_CreateFlowAliasCommand, se_CreateFlowAliasCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class CreateFlowAliasCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonBedrockAgentBuildTimeLambda", "CreateFlowAlias", {})
19
+ .n("BedrockAgentClient", "CreateFlowAliasCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateFlowAliasCommand)
22
+ .de(de_CreateFlowAliasCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,25 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { CreateFlowRequestFilterSensitiveLog, CreateFlowResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_CreateFlowCommand, se_CreateFlowCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class CreateFlowCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AmazonBedrockAgentBuildTimeLambda", "CreateFlow", {})
20
+ .n("BedrockAgentClient", "CreateFlowCommand")
21
+ .f(CreateFlowRequestFilterSensitiveLog, CreateFlowResponseFilterSensitiveLog)
22
+ .ser(se_CreateFlowCommand)
23
+ .de(de_CreateFlowCommand)
24
+ .build() {
25
+ }
@@ -0,0 +1,25 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { CreateFlowVersionResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_CreateFlowVersionCommand, se_CreateFlowVersionCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class CreateFlowVersionCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AmazonBedrockAgentBuildTimeLambda", "CreateFlowVersion", {})
20
+ .n("BedrockAgentClient", "CreateFlowVersionCommand")
21
+ .f(void 0, CreateFlowVersionResponseFilterSensitiveLog)
22
+ .ser(se_CreateFlowVersionCommand)
23
+ .de(de_CreateFlowVersionCommand)
24
+ .build() {
25
+ }
@@ -0,0 +1,25 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { CreatePromptRequestFilterSensitiveLog, CreatePromptResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_CreatePromptCommand, se_CreatePromptCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class CreatePromptCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AmazonBedrockAgentBuildTimeLambda", "CreatePrompt", {})
20
+ .n("BedrockAgentClient", "CreatePromptCommand")
21
+ .f(CreatePromptRequestFilterSensitiveLog, CreatePromptResponseFilterSensitiveLog)
22
+ .ser(se_CreatePromptCommand)
23
+ .de(de_CreatePromptCommand)
24
+ .build() {
25
+ }
@@ -0,0 +1,25 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { CreatePromptVersionResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_CreatePromptVersionCommand, se_CreatePromptVersionCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class CreatePromptVersionCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AmazonBedrockAgentBuildTimeLambda", "CreatePromptVersion", {})
20
+ .n("BedrockAgentClient", "CreatePromptVersionCommand")
21
+ .f(void 0, CreatePromptVersionResponseFilterSensitiveLog)
22
+ .ser(se_CreatePromptVersionCommand)
23
+ .de(de_CreatePromptVersionCommand)
24
+ .build() {
25
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteFlowAliasCommand, se_DeleteFlowAliasCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeleteFlowAliasCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonBedrockAgentBuildTimeLambda", "DeleteFlowAlias", {})
19
+ .n("BedrockAgentClient", "DeleteFlowAliasCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteFlowAliasCommand)
22
+ .de(de_DeleteFlowAliasCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteFlowCommand, se_DeleteFlowCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeleteFlowCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonBedrockAgentBuildTimeLambda", "DeleteFlow", {})
19
+ .n("BedrockAgentClient", "DeleteFlowCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteFlowCommand)
22
+ .de(de_DeleteFlowCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteFlowVersionCommand, se_DeleteFlowVersionCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeleteFlowVersionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonBedrockAgentBuildTimeLambda", "DeleteFlowVersion", {})
19
+ .n("BedrockAgentClient", "DeleteFlowVersionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteFlowVersionCommand)
22
+ .de(de_DeleteFlowVersionCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeletePromptCommand, se_DeletePromptCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeletePromptCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonBedrockAgentBuildTimeLambda", "DeletePrompt", {})
19
+ .n("BedrockAgentClient", "DeletePromptCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeletePromptCommand)
22
+ .de(de_DeletePromptCommand)
23
+ .build() {
24
+ }
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { GetDataSourceResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_GetDataSourceCommand, se_GetDataSourceCommand } from "../protocols/Aws_restJson1";
6
7
  export { $Command };
7
8
  export class GetDataSourceCommand extends $Command
@@ -17,7 +18,7 @@ export class GetDataSourceCommand extends $Command
17
18
  })
18
19
  .s("AmazonBedrockAgentBuildTimeLambda", "GetDataSource", {})
19
20
  .n("BedrockAgentClient", "GetDataSourceCommand")
20
- .f(void 0, void 0)
21
+ .f(void 0, GetDataSourceResponseFilterSensitiveLog)
21
22
  .ser(se_GetDataSourceCommand)
22
23
  .de(de_GetDataSourceCommand)
23
24
  .build() {
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetFlowAliasCommand, se_GetFlowAliasCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetFlowAliasCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonBedrockAgentBuildTimeLambda", "GetFlowAlias", {})
19
+ .n("BedrockAgentClient", "GetFlowAliasCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetFlowAliasCommand)
22
+ .de(de_GetFlowAliasCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,25 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { GetFlowResponseFilterSensitiveLog } from "../models/models_0";
6
+ import { de_GetFlowCommand, se_GetFlowCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class GetFlowCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AmazonBedrockAgentBuildTimeLambda", "GetFlow", {})
20
+ .n("BedrockAgentClient", "GetFlowCommand")
21
+ .f(void 0, GetFlowResponseFilterSensitiveLog)
22
+ .ser(se_GetFlowCommand)
23
+ .de(de_GetFlowCommand)
24
+ .build() {
25
+ }
@@ -0,0 +1,25 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { GetFlowVersionResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_GetFlowVersionCommand, se_GetFlowVersionCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class GetFlowVersionCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AmazonBedrockAgentBuildTimeLambda", "GetFlowVersion", {})
20
+ .n("BedrockAgentClient", "GetFlowVersionCommand")
21
+ .f(void 0, GetFlowVersionResponseFilterSensitiveLog)
22
+ .ser(se_GetFlowVersionCommand)
23
+ .de(de_GetFlowVersionCommand)
24
+ .build() {
25
+ }
@@ -0,0 +1,25 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { GetPromptResponseFilterSensitiveLog } from "../models/models_0";
6
+ import { de_GetPromptCommand, se_GetPromptCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class GetPromptCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AmazonBedrockAgentBuildTimeLambda", "GetPrompt", {})
20
+ .n("BedrockAgentClient", "GetPromptCommand")
21
+ .f(void 0, GetPromptResponseFilterSensitiveLog)
22
+ .ser(se_GetPromptCommand)
23
+ .de(de_GetPromptCommand)
24
+ .build() {
25
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListFlowAliasesCommand, se_ListFlowAliasesCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListFlowAliasesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonBedrockAgentBuildTimeLambda", "ListFlowAliases", {})
19
+ .n("BedrockAgentClient", "ListFlowAliasesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListFlowAliasesCommand)
22
+ .de(de_ListFlowAliasesCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListFlowVersionsCommand, se_ListFlowVersionsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListFlowVersionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonBedrockAgentBuildTimeLambda", "ListFlowVersions", {})
19
+ .n("BedrockAgentClient", "ListFlowVersionsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListFlowVersionsCommand)
22
+ .de(de_ListFlowVersionsCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListFlowsCommand, se_ListFlowsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListFlowsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonBedrockAgentBuildTimeLambda", "ListFlows", {})
19
+ .n("BedrockAgentClient", "ListFlowsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListFlowsCommand)
22
+ .de(de_ListFlowsCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListPromptsCommand, se_ListPromptsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListPromptsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonBedrockAgentBuildTimeLambda", "ListPrompts", {})
19
+ .n("BedrockAgentClient", "ListPromptsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListPromptsCommand)
22
+ .de(de_ListPromptsCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_PrepareFlowCommand, se_PrepareFlowCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class PrepareFlowCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonBedrockAgentBuildTimeLambda", "PrepareFlow", {})
19
+ .n("BedrockAgentClient", "PrepareFlowCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_PrepareFlowCommand)
22
+ .de(de_PrepareFlowCommand)
23
+ .build() {
24
+ }
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { UpdateDataSourceRequestFilterSensitiveLog, UpdateDataSourceResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_UpdateDataSourceCommand, se_UpdateDataSourceCommand } from "../protocols/Aws_restJson1";
6
7
  export { $Command };
7
8
  export class UpdateDataSourceCommand extends $Command
@@ -17,7 +18,7 @@ export class UpdateDataSourceCommand extends $Command
17
18
  })
18
19
  .s("AmazonBedrockAgentBuildTimeLambda", "UpdateDataSource", {})
19
20
  .n("BedrockAgentClient", "UpdateDataSourceCommand")
20
- .f(void 0, void 0)
21
+ .f(UpdateDataSourceRequestFilterSensitiveLog, UpdateDataSourceResponseFilterSensitiveLog)
21
22
  .ser(se_UpdateDataSourceCommand)
22
23
  .de(de_UpdateDataSourceCommand)
23
24
  .build() {