@aws-sdk/client-bedrock-agent 3.461.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 (271) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +526 -0
  3. package/dist-cjs/BedrockAgent.js +91 -0
  4. package/dist-cjs/BedrockAgentClient.js +43 -0
  5. package/dist-cjs/commands/AssociateAgentKnowledgeBaseCommand.js +51 -0
  6. package/dist-cjs/commands/CreateAgentActionGroupCommand.js +52 -0
  7. package/dist-cjs/commands/CreateAgentAliasCommand.js +51 -0
  8. package/dist-cjs/commands/CreateAgentCommand.js +52 -0
  9. package/dist-cjs/commands/CreateDataSourceCommand.js +51 -0
  10. package/dist-cjs/commands/CreateKnowledgeBaseCommand.js +51 -0
  11. package/dist-cjs/commands/DeleteAgentActionGroupCommand.js +51 -0
  12. package/dist-cjs/commands/DeleteAgentAliasCommand.js +51 -0
  13. package/dist-cjs/commands/DeleteAgentCommand.js +51 -0
  14. package/dist-cjs/commands/DeleteAgentVersionCommand.js +51 -0
  15. package/dist-cjs/commands/DeleteDataSourceCommand.js +51 -0
  16. package/dist-cjs/commands/DeleteKnowledgeBaseCommand.js +51 -0
  17. package/dist-cjs/commands/DisassociateAgentKnowledgeBaseCommand.js +51 -0
  18. package/dist-cjs/commands/GetAgentActionGroupCommand.js +52 -0
  19. package/dist-cjs/commands/GetAgentAliasCommand.js +51 -0
  20. package/dist-cjs/commands/GetAgentCommand.js +52 -0
  21. package/dist-cjs/commands/GetAgentKnowledgeBaseCommand.js +51 -0
  22. package/dist-cjs/commands/GetAgentVersionCommand.js +52 -0
  23. package/dist-cjs/commands/GetDataSourceCommand.js +51 -0
  24. package/dist-cjs/commands/GetIngestionJobCommand.js +51 -0
  25. package/dist-cjs/commands/GetKnowledgeBaseCommand.js +51 -0
  26. package/dist-cjs/commands/ListAgentActionGroupsCommand.js +51 -0
  27. package/dist-cjs/commands/ListAgentAliasesCommand.js +51 -0
  28. package/dist-cjs/commands/ListAgentKnowledgeBasesCommand.js +51 -0
  29. package/dist-cjs/commands/ListAgentVersionsCommand.js +51 -0
  30. package/dist-cjs/commands/ListAgentsCommand.js +51 -0
  31. package/dist-cjs/commands/ListDataSourcesCommand.js +51 -0
  32. package/dist-cjs/commands/ListIngestionJobsCommand.js +51 -0
  33. package/dist-cjs/commands/ListKnowledgeBasesCommand.js +51 -0
  34. package/dist-cjs/commands/ListTagsForResourceCommand.js +51 -0
  35. package/dist-cjs/commands/PrepareAgentCommand.js +51 -0
  36. package/dist-cjs/commands/StartIngestionJobCommand.js +51 -0
  37. package/dist-cjs/commands/TagResourceCommand.js +51 -0
  38. package/dist-cjs/commands/UntagResourceCommand.js +51 -0
  39. package/dist-cjs/commands/UpdateAgentActionGroupCommand.js +52 -0
  40. package/dist-cjs/commands/UpdateAgentAliasCommand.js +51 -0
  41. package/dist-cjs/commands/UpdateAgentCommand.js +52 -0
  42. package/dist-cjs/commands/UpdateAgentKnowledgeBaseCommand.js +51 -0
  43. package/dist-cjs/commands/UpdateDataSourceCommand.js +51 -0
  44. package/dist-cjs/commands/UpdateKnowledgeBaseCommand.js +51 -0
  45. package/dist-cjs/commands/index.js +43 -0
  46. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  47. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  48. package/dist-cjs/endpoint/ruleset.js +7 -0
  49. package/dist-cjs/extensionConfiguration.js +2 -0
  50. package/dist-cjs/index.js +12 -0
  51. package/dist-cjs/models/BedrockAgentServiceException.js +12 -0
  52. package/dist-cjs/models/index.js +4 -0
  53. package/dist-cjs/models/models_0.js +293 -0
  54. package/dist-cjs/pagination/Interfaces.js +2 -0
  55. package/dist-cjs/pagination/ListAgentActionGroupsPaginator.js +29 -0
  56. package/dist-cjs/pagination/ListAgentAliasesPaginator.js +29 -0
  57. package/dist-cjs/pagination/ListAgentKnowledgeBasesPaginator.js +29 -0
  58. package/dist-cjs/pagination/ListAgentVersionsPaginator.js +29 -0
  59. package/dist-cjs/pagination/ListAgentsPaginator.js +29 -0
  60. package/dist-cjs/pagination/ListDataSourcesPaginator.js +29 -0
  61. package/dist-cjs/pagination/ListIngestionJobsPaginator.js +29 -0
  62. package/dist-cjs/pagination/ListKnowledgeBasesPaginator.js +29 -0
  63. package/dist-cjs/pagination/index.js +12 -0
  64. package/dist-cjs/protocols/Aws_restJson1.js +3362 -0
  65. package/dist-cjs/runtimeConfig.browser.js +39 -0
  66. package/dist-cjs/runtimeConfig.js +50 -0
  67. package/dist-cjs/runtimeConfig.native.js +15 -0
  68. package/dist-cjs/runtimeConfig.shared.js +24 -0
  69. package/dist-cjs/runtimeExtensions.js +22 -0
  70. package/dist-es/BedrockAgent.js +87 -0
  71. package/dist-es/BedrockAgentClient.js +39 -0
  72. package/dist-es/commands/AssociateAgentKnowledgeBaseCommand.js +47 -0
  73. package/dist-es/commands/CreateAgentActionGroupCommand.js +48 -0
  74. package/dist-es/commands/CreateAgentAliasCommand.js +47 -0
  75. package/dist-es/commands/CreateAgentCommand.js +48 -0
  76. package/dist-es/commands/CreateDataSourceCommand.js +47 -0
  77. package/dist-es/commands/CreateKnowledgeBaseCommand.js +47 -0
  78. package/dist-es/commands/DeleteAgentActionGroupCommand.js +47 -0
  79. package/dist-es/commands/DeleteAgentAliasCommand.js +47 -0
  80. package/dist-es/commands/DeleteAgentCommand.js +47 -0
  81. package/dist-es/commands/DeleteAgentVersionCommand.js +47 -0
  82. package/dist-es/commands/DeleteDataSourceCommand.js +47 -0
  83. package/dist-es/commands/DeleteKnowledgeBaseCommand.js +47 -0
  84. package/dist-es/commands/DisassociateAgentKnowledgeBaseCommand.js +47 -0
  85. package/dist-es/commands/GetAgentActionGroupCommand.js +48 -0
  86. package/dist-es/commands/GetAgentAliasCommand.js +47 -0
  87. package/dist-es/commands/GetAgentCommand.js +48 -0
  88. package/dist-es/commands/GetAgentKnowledgeBaseCommand.js +47 -0
  89. package/dist-es/commands/GetAgentVersionCommand.js +48 -0
  90. package/dist-es/commands/GetDataSourceCommand.js +47 -0
  91. package/dist-es/commands/GetIngestionJobCommand.js +47 -0
  92. package/dist-es/commands/GetKnowledgeBaseCommand.js +47 -0
  93. package/dist-es/commands/ListAgentActionGroupsCommand.js +47 -0
  94. package/dist-es/commands/ListAgentAliasesCommand.js +47 -0
  95. package/dist-es/commands/ListAgentKnowledgeBasesCommand.js +47 -0
  96. package/dist-es/commands/ListAgentVersionsCommand.js +47 -0
  97. package/dist-es/commands/ListAgentsCommand.js +47 -0
  98. package/dist-es/commands/ListDataSourcesCommand.js +47 -0
  99. package/dist-es/commands/ListIngestionJobsCommand.js +47 -0
  100. package/dist-es/commands/ListKnowledgeBasesCommand.js +47 -0
  101. package/dist-es/commands/ListTagsForResourceCommand.js +47 -0
  102. package/dist-es/commands/PrepareAgentCommand.js +47 -0
  103. package/dist-es/commands/StartIngestionJobCommand.js +47 -0
  104. package/dist-es/commands/TagResourceCommand.js +47 -0
  105. package/dist-es/commands/UntagResourceCommand.js +47 -0
  106. package/dist-es/commands/UpdateAgentActionGroupCommand.js +48 -0
  107. package/dist-es/commands/UpdateAgentAliasCommand.js +47 -0
  108. package/dist-es/commands/UpdateAgentCommand.js +48 -0
  109. package/dist-es/commands/UpdateAgentKnowledgeBaseCommand.js +47 -0
  110. package/dist-es/commands/UpdateDataSourceCommand.js +47 -0
  111. package/dist-es/commands/UpdateKnowledgeBaseCommand.js +47 -0
  112. package/dist-es/commands/index.js +40 -0
  113. package/dist-es/endpoint/EndpointParameters.js +8 -0
  114. package/dist-es/endpoint/endpointResolver.js +8 -0
  115. package/dist-es/endpoint/ruleset.js +4 -0
  116. package/dist-es/extensionConfiguration.js +1 -0
  117. package/dist-es/index.js +7 -0
  118. package/dist-es/models/BedrockAgentServiceException.js +8 -0
  119. package/dist-es/models/index.js +1 -0
  120. package/dist-es/models/models_0.js +267 -0
  121. package/dist-es/pagination/Interfaces.js +1 -0
  122. package/dist-es/pagination/ListAgentActionGroupsPaginator.js +25 -0
  123. package/dist-es/pagination/ListAgentAliasesPaginator.js +25 -0
  124. package/dist-es/pagination/ListAgentKnowledgeBasesPaginator.js +25 -0
  125. package/dist-es/pagination/ListAgentVersionsPaginator.js +25 -0
  126. package/dist-es/pagination/ListAgentsPaginator.js +25 -0
  127. package/dist-es/pagination/ListDataSourcesPaginator.js +25 -0
  128. package/dist-es/pagination/ListIngestionJobsPaginator.js +25 -0
  129. package/dist-es/pagination/ListKnowledgeBasesPaginator.js +25 -0
  130. package/dist-es/pagination/index.js +9 -0
  131. package/dist-es/protocols/Aws_restJson1.js +3278 -0
  132. package/dist-es/runtimeConfig.browser.js +34 -0
  133. package/dist-es/runtimeConfig.js +45 -0
  134. package/dist-es/runtimeConfig.native.js +11 -0
  135. package/dist-es/runtimeConfig.shared.js +20 -0
  136. package/dist-es/runtimeExtensions.js +18 -0
  137. package/dist-types/BedrockAgent.d.ts +291 -0
  138. package/dist-types/BedrockAgentClient.d.ts +210 -0
  139. package/dist-types/commands/AssociateAgentKnowledgeBaseCommand.d.ts +106 -0
  140. package/dist-types/commands/CreateAgentActionGroupCommand.d.ts +131 -0
  141. package/dist-types/commands/CreateAgentAliasCommand.d.ts +131 -0
  142. package/dist-types/commands/CreateAgentCommand.d.ts +165 -0
  143. package/dist-types/commands/CreateDataSourceCommand.d.ts +147 -0
  144. package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +183 -0
  145. package/dist-types/commands/DeleteAgentActionGroupCommand.d.ts +92 -0
  146. package/dist-types/commands/DeleteAgentAliasCommand.d.ts +91 -0
  147. package/dist-types/commands/DeleteAgentCommand.d.ts +93 -0
  148. package/dist-types/commands/DeleteAgentVersionCommand.d.ts +95 -0
  149. package/dist-types/commands/DeleteDataSourceCommand.d.ts +94 -0
  150. package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +92 -0
  151. package/dist-types/commands/DisassociateAgentKnowledgeBaseCommand.d.ts +91 -0
  152. package/dist-types/commands/GetAgentActionGroupCommand.d.ts +111 -0
  153. package/dist-types/commands/GetAgentAliasCommand.d.ts +115 -0
  154. package/dist-types/commands/GetAgentCommand.d.ts +131 -0
  155. package/dist-types/commands/GetAgentKnowledgeBaseCommand.d.ts +98 -0
  156. package/dist-types/commands/GetAgentVersionCommand.d.ts +130 -0
  157. package/dist-types/commands/GetDataSourceCommand.d.ts +118 -0
  158. package/dist-types/commands/GetIngestionJobCommand.d.ts +108 -0
  159. package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +137 -0
  160. package/dist-types/commands/ListAgentActionGroupsCommand.d.ts +100 -0
  161. package/dist-types/commands/ListAgentAliasesCommand.d.ts +105 -0
  162. package/dist-types/commands/ListAgentKnowledgeBasesCommand.d.ts +99 -0
  163. package/dist-types/commands/ListAgentVersionsCommand.d.ts +100 -0
  164. package/dist-types/commands/ListAgentsCommand.d.ts +96 -0
  165. package/dist-types/commands/ListDataSourcesCommand.d.ts +100 -0
  166. package/dist-types/commands/ListIngestionJobsCommand.d.ts +122 -0
  167. package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +95 -0
  168. package/dist-types/commands/ListTagsForResourceCommand.d.ts +90 -0
  169. package/dist-types/commands/PrepareAgentCommand.d.ts +97 -0
  170. package/dist-types/commands/StartIngestionJobCommand.d.ts +115 -0
  171. package/dist-types/commands/TagResourceCommand.d.ts +92 -0
  172. package/dist-types/commands/UntagResourceCommand.d.ts +89 -0
  173. package/dist-types/commands/UpdateAgentActionGroupCommand.d.ts +131 -0
  174. package/dist-types/commands/UpdateAgentAliasCommand.d.ts +128 -0
  175. package/dist-types/commands/UpdateAgentCommand.d.ts +165 -0
  176. package/dist-types/commands/UpdateAgentKnowledgeBaseCommand.d.ts +103 -0
  177. package/dist-types/commands/UpdateDataSourceCommand.d.ts +144 -0
  178. package/dist-types/commands/UpdateKnowledgeBaseCommand.d.ts +180 -0
  179. package/dist-types/commands/index.d.ts +40 -0
  180. package/dist-types/endpoint/EndpointParameters.d.ts +22 -0
  181. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  182. package/dist-types/endpoint/ruleset.d.ts +2 -0
  183. package/dist-types/extensionConfiguration.d.ts +8 -0
  184. package/dist-types/index.d.ts +16 -0
  185. package/dist-types/models/BedrockAgentServiceException.d.ts +13 -0
  186. package/dist-types/models/index.d.ts +1 -0
  187. package/dist-types/models/models_0.d.ts +3256 -0
  188. package/dist-types/pagination/Interfaces.d.ts +8 -0
  189. package/dist-types/pagination/ListAgentActionGroupsPaginator.d.ts +7 -0
  190. package/dist-types/pagination/ListAgentAliasesPaginator.d.ts +7 -0
  191. package/dist-types/pagination/ListAgentKnowledgeBasesPaginator.d.ts +7 -0
  192. package/dist-types/pagination/ListAgentVersionsPaginator.d.ts +7 -0
  193. package/dist-types/pagination/ListAgentsPaginator.d.ts +7 -0
  194. package/dist-types/pagination/ListDataSourcesPaginator.d.ts +7 -0
  195. package/dist-types/pagination/ListIngestionJobsPaginator.d.ts +7 -0
  196. package/dist-types/pagination/ListKnowledgeBasesPaginator.d.ts +7 -0
  197. package/dist-types/pagination/index.d.ts +9 -0
  198. package/dist-types/protocols/Aws_restJson1.d.ts +362 -0
  199. package/dist-types/runtimeConfig.browser.d.ts +46 -0
  200. package/dist-types/runtimeConfig.d.ts +46 -0
  201. package/dist-types/runtimeConfig.native.d.ts +45 -0
  202. package/dist-types/runtimeConfig.shared.d.ts +19 -0
  203. package/dist-types/runtimeExtensions.d.ts +17 -0
  204. package/dist-types/ts3.4/BedrockAgent.d.ts +687 -0
  205. package/dist-types/ts3.4/BedrockAgentClient.d.ts +359 -0
  206. package/dist-types/ts3.4/commands/AssociateAgentKnowledgeBaseCommand.d.ts +42 -0
  207. package/dist-types/ts3.4/commands/CreateAgentActionGroupCommand.d.ts +42 -0
  208. package/dist-types/ts3.4/commands/CreateAgentAliasCommand.d.ts +38 -0
  209. package/dist-types/ts3.4/commands/CreateAgentCommand.d.ts +35 -0
  210. package/dist-types/ts3.4/commands/CreateDataSourceCommand.d.ts +38 -0
  211. package/dist-types/ts3.4/commands/CreateKnowledgeBaseCommand.d.ts +39 -0
  212. package/dist-types/ts3.4/commands/DeleteAgentActionGroupCommand.d.ts +42 -0
  213. package/dist-types/ts3.4/commands/DeleteAgentAliasCommand.d.ts +38 -0
  214. package/dist-types/ts3.4/commands/DeleteAgentCommand.d.ts +35 -0
  215. package/dist-types/ts3.4/commands/DeleteAgentVersionCommand.d.ts +39 -0
  216. package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +38 -0
  217. package/dist-types/ts3.4/commands/DeleteKnowledgeBaseCommand.d.ts +39 -0
  218. package/dist-types/ts3.4/commands/DisassociateAgentKnowledgeBaseCommand.d.ts +42 -0
  219. package/dist-types/ts3.4/commands/GetAgentActionGroupCommand.d.ts +39 -0
  220. package/dist-types/ts3.4/commands/GetAgentAliasCommand.d.ts +38 -0
  221. package/dist-types/ts3.4/commands/GetAgentCommand.d.ts +35 -0
  222. package/dist-types/ts3.4/commands/GetAgentKnowledgeBaseCommand.d.ts +42 -0
  223. package/dist-types/ts3.4/commands/GetAgentVersionCommand.d.ts +38 -0
  224. package/dist-types/ts3.4/commands/GetDataSourceCommand.d.ts +38 -0
  225. package/dist-types/ts3.4/commands/GetIngestionJobCommand.d.ts +38 -0
  226. package/dist-types/ts3.4/commands/GetKnowledgeBaseCommand.d.ts +38 -0
  227. package/dist-types/ts3.4/commands/ListAgentActionGroupsCommand.d.ts +42 -0
  228. package/dist-types/ts3.4/commands/ListAgentAliasesCommand.d.ts +38 -0
  229. package/dist-types/ts3.4/commands/ListAgentKnowledgeBasesCommand.d.ts +42 -0
  230. package/dist-types/ts3.4/commands/ListAgentVersionsCommand.d.ts +39 -0
  231. package/dist-types/ts3.4/commands/ListAgentsCommand.d.ts +35 -0
  232. package/dist-types/ts3.4/commands/ListDataSourcesCommand.d.ts +38 -0
  233. package/dist-types/ts3.4/commands/ListIngestionJobsCommand.d.ts +39 -0
  234. package/dist-types/ts3.4/commands/ListKnowledgeBasesCommand.d.ts +39 -0
  235. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  236. package/dist-types/ts3.4/commands/PrepareAgentCommand.d.ts +35 -0
  237. package/dist-types/ts3.4/commands/StartIngestionJobCommand.d.ts +39 -0
  238. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
  239. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
  240. package/dist-types/ts3.4/commands/UpdateAgentActionGroupCommand.d.ts +42 -0
  241. package/dist-types/ts3.4/commands/UpdateAgentAliasCommand.d.ts +38 -0
  242. package/dist-types/ts3.4/commands/UpdateAgentCommand.d.ts +35 -0
  243. package/dist-types/ts3.4/commands/UpdateAgentKnowledgeBaseCommand.d.ts +42 -0
  244. package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +38 -0
  245. package/dist-types/ts3.4/commands/UpdateKnowledgeBaseCommand.d.ts +39 -0
  246. package/dist-types/ts3.4/commands/index.d.ts +40 -0
  247. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
  248. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  249. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  250. package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
  251. package/dist-types/ts3.4/index.d.ts +10 -0
  252. package/dist-types/ts3.4/models/BedrockAgentServiceException.d.ts +8 -0
  253. package/dist-types/ts3.4/models/index.d.ts +1 -0
  254. package/dist-types/ts3.4/models/models_0.d.ts +915 -0
  255. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  256. package/dist-types/ts3.4/pagination/ListAgentActionGroupsPaginator.d.ts +11 -0
  257. package/dist-types/ts3.4/pagination/ListAgentAliasesPaginator.d.ts +11 -0
  258. package/dist-types/ts3.4/pagination/ListAgentKnowledgeBasesPaginator.d.ts +11 -0
  259. package/dist-types/ts3.4/pagination/ListAgentVersionsPaginator.d.ts +11 -0
  260. package/dist-types/ts3.4/pagination/ListAgentsPaginator.d.ts +11 -0
  261. package/dist-types/ts3.4/pagination/ListDataSourcesPaginator.d.ts +11 -0
  262. package/dist-types/ts3.4/pagination/ListIngestionJobsPaginator.d.ts +11 -0
  263. package/dist-types/ts3.4/pagination/ListKnowledgeBasesPaginator.d.ts +11 -0
  264. package/dist-types/ts3.4/pagination/index.d.ts +9 -0
  265. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +485 -0
  266. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
  267. package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
  268. package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
  269. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
  270. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  271. package/package.json +104 -0
@@ -0,0 +1,108 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
5
+ import { GetIngestionJobRequest, GetIngestionJobResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetIngestionJobCommand}.
14
+ */
15
+ export interface GetIngestionJobCommandInput extends GetIngestionJobRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetIngestionJobCommand}.
21
+ */
22
+ export interface GetIngestionJobCommandOutput extends GetIngestionJobResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * Get an ingestion job
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { BedrockAgentClient, GetIngestionJobCommand } from "@aws-sdk/client-bedrock-agent"; // ES Modules import
31
+ * // const { BedrockAgentClient, GetIngestionJobCommand } = require("@aws-sdk/client-bedrock-agent"); // CommonJS import
32
+ * const client = new BedrockAgentClient(config);
33
+ * const input = { // GetIngestionJobRequest
34
+ * knowledgeBaseId: "STRING_VALUE", // required
35
+ * dataSourceId: "STRING_VALUE", // required
36
+ * ingestionJobId: "STRING_VALUE", // required
37
+ * };
38
+ * const command = new GetIngestionJobCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // GetIngestionJobResponse
41
+ * // ingestionJob: { // IngestionJob
42
+ * // knowledgeBaseId: "STRING_VALUE", // required
43
+ * // dataSourceId: "STRING_VALUE", // required
44
+ * // ingestionJobId: "STRING_VALUE", // required
45
+ * // description: "STRING_VALUE",
46
+ * // status: "STARTING" || "IN_PROGRESS" || "COMPLETE" || "FAILED", // required
47
+ * // statistics: { // IngestionJobStatistics
48
+ * // numberOfDocumentsScanned: Number("long"),
49
+ * // numberOfNewDocumentsIndexed: Number("long"),
50
+ * // numberOfModifiedDocumentsIndexed: Number("long"),
51
+ * // numberOfDocumentsDeleted: Number("long"),
52
+ * // numberOfDocumentsFailed: Number("long"),
53
+ * // },
54
+ * // failureReasons: [ // FailureReasons
55
+ * // "STRING_VALUE",
56
+ * // ],
57
+ * // startedAt: new Date("TIMESTAMP"), // required
58
+ * // updatedAt: new Date("TIMESTAMP"), // required
59
+ * // },
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param GetIngestionJobCommandInput - {@link GetIngestionJobCommandInput}
65
+ * @returns {@link GetIngestionJobCommandOutput}
66
+ * @see {@link GetIngestionJobCommandInput} for command's `input` shape.
67
+ * @see {@link GetIngestionJobCommandOutput} for command's `response` shape.
68
+ * @see {@link BedrockAgentClientResolvedConfig | config} for BedrockAgentClient's `config` shape.
69
+ *
70
+ * @throws {@link AccessDeniedException} (client fault)
71
+ * This exception is thrown when a request is denied per access permissions
72
+ *
73
+ * @throws {@link InternalServerException} (server fault)
74
+ * This exception is thrown if there was an unexpected error during processing of request
75
+ *
76
+ * @throws {@link ResourceNotFoundException} (client fault)
77
+ * This exception is thrown when a resource referenced by the operation does not exist
78
+ *
79
+ * @throws {@link ThrottlingException} (client fault)
80
+ * This exception is thrown when the number of requests exceeds the limit
81
+ *
82
+ * @throws {@link ValidationException} (client fault)
83
+ * This exception is thrown when the request's input validation fails
84
+ *
85
+ * @throws {@link BedrockAgentServiceException}
86
+ * <p>Base exception class for all service exceptions from BedrockAgent service.</p>
87
+ *
88
+ */
89
+ export declare class GetIngestionJobCommand extends $Command<GetIngestionJobCommandInput, GetIngestionJobCommandOutput, BedrockAgentClientResolvedConfig> {
90
+ readonly input: GetIngestionJobCommandInput;
91
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
92
+ /**
93
+ * @public
94
+ */
95
+ constructor(input: GetIngestionJobCommandInput);
96
+ /**
97
+ * @internal
98
+ */
99
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BedrockAgentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetIngestionJobCommandInput, GetIngestionJobCommandOutput>;
100
+ /**
101
+ * @internal
102
+ */
103
+ private serialize;
104
+ /**
105
+ * @internal
106
+ */
107
+ private deserialize;
108
+ }
@@ -0,0 +1,137 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
5
+ import { GetKnowledgeBaseRequest, GetKnowledgeBaseResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetKnowledgeBaseCommand}.
14
+ */
15
+ export interface GetKnowledgeBaseCommandInput extends GetKnowledgeBaseRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetKnowledgeBaseCommand}.
21
+ */
22
+ export interface GetKnowledgeBaseCommandOutput extends GetKnowledgeBaseResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * Get an existing knowledge base
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { BedrockAgentClient, GetKnowledgeBaseCommand } from "@aws-sdk/client-bedrock-agent"; // ES Modules import
31
+ * // const { BedrockAgentClient, GetKnowledgeBaseCommand } = require("@aws-sdk/client-bedrock-agent"); // CommonJS import
32
+ * const client = new BedrockAgentClient(config);
33
+ * const input = { // GetKnowledgeBaseRequest
34
+ * knowledgeBaseId: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new GetKnowledgeBaseCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // GetKnowledgeBaseResponse
39
+ * // knowledgeBase: { // KnowledgeBase
40
+ * // knowledgeBaseId: "STRING_VALUE", // required
41
+ * // name: "STRING_VALUE", // required
42
+ * // knowledgeBaseArn: "STRING_VALUE", // required
43
+ * // description: "STRING_VALUE",
44
+ * // roleArn: "STRING_VALUE", // required
45
+ * // knowledgeBaseConfiguration: { // KnowledgeBaseConfiguration
46
+ * // type: "VECTOR", // required
47
+ * // vectorKnowledgeBaseConfiguration: { // VectorKnowledgeBaseConfiguration
48
+ * // embeddingModelArn: "STRING_VALUE", // required
49
+ * // },
50
+ * // },
51
+ * // storageConfiguration: { // StorageConfiguration
52
+ * // type: "OPENSEARCH_SERVERLESS" || "PINECONE" || "REDIS_ENTERPRISE_CLOUD", // required
53
+ * // opensearchServerlessConfiguration: { // OpenSearchServerlessConfiguration
54
+ * // collectionArn: "STRING_VALUE", // required
55
+ * // vectorIndexName: "STRING_VALUE", // required
56
+ * // fieldMapping: { // OpenSearchServerlessFieldMapping
57
+ * // vectorField: "STRING_VALUE", // required
58
+ * // textField: "STRING_VALUE", // required
59
+ * // metadataField: "STRING_VALUE", // required
60
+ * // },
61
+ * // },
62
+ * // pineconeConfiguration: { // PineconeConfiguration
63
+ * // connectionString: "STRING_VALUE", // required
64
+ * // credentialsSecretArn: "STRING_VALUE", // required
65
+ * // namespace: "STRING_VALUE",
66
+ * // fieldMapping: { // PineconeFieldMapping
67
+ * // textField: "STRING_VALUE", // required
68
+ * // metadataField: "STRING_VALUE", // required
69
+ * // },
70
+ * // },
71
+ * // redisEnterpriseCloudConfiguration: { // RedisEnterpriseCloudConfiguration
72
+ * // endpoint: "STRING_VALUE", // required
73
+ * // vectorIndexName: "STRING_VALUE", // required
74
+ * // credentialsSecretArn: "STRING_VALUE", // required
75
+ * // fieldMapping: { // RedisEnterpriseCloudFieldMapping
76
+ * // vectorField: "STRING_VALUE", // required
77
+ * // textField: "STRING_VALUE", // required
78
+ * // metadataField: "STRING_VALUE", // required
79
+ * // },
80
+ * // },
81
+ * // },
82
+ * // status: "CREATING" || "ACTIVE" || "DELETING" || "UPDATING" || "FAILED", // required
83
+ * // createdAt: new Date("TIMESTAMP"), // required
84
+ * // updatedAt: new Date("TIMESTAMP"), // required
85
+ * // failureReasons: [ // FailureReasons
86
+ * // "STRING_VALUE",
87
+ * // ],
88
+ * // },
89
+ * // };
90
+ *
91
+ * ```
92
+ *
93
+ * @param GetKnowledgeBaseCommandInput - {@link GetKnowledgeBaseCommandInput}
94
+ * @returns {@link GetKnowledgeBaseCommandOutput}
95
+ * @see {@link GetKnowledgeBaseCommandInput} for command's `input` shape.
96
+ * @see {@link GetKnowledgeBaseCommandOutput} for command's `response` shape.
97
+ * @see {@link BedrockAgentClientResolvedConfig | config} for BedrockAgentClient's `config` shape.
98
+ *
99
+ * @throws {@link AccessDeniedException} (client fault)
100
+ * This exception is thrown when a request is denied per access permissions
101
+ *
102
+ * @throws {@link InternalServerException} (server fault)
103
+ * This exception is thrown if there was an unexpected error during processing of request
104
+ *
105
+ * @throws {@link ResourceNotFoundException} (client fault)
106
+ * This exception is thrown when a resource referenced by the operation does not exist
107
+ *
108
+ * @throws {@link ThrottlingException} (client fault)
109
+ * This exception is thrown when the number of requests exceeds the limit
110
+ *
111
+ * @throws {@link ValidationException} (client fault)
112
+ * This exception is thrown when the request's input validation fails
113
+ *
114
+ * @throws {@link BedrockAgentServiceException}
115
+ * <p>Base exception class for all service exceptions from BedrockAgent service.</p>
116
+ *
117
+ */
118
+ export declare class GetKnowledgeBaseCommand extends $Command<GetKnowledgeBaseCommandInput, GetKnowledgeBaseCommandOutput, BedrockAgentClientResolvedConfig> {
119
+ readonly input: GetKnowledgeBaseCommandInput;
120
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
121
+ /**
122
+ * @public
123
+ */
124
+ constructor(input: GetKnowledgeBaseCommandInput);
125
+ /**
126
+ * @internal
127
+ */
128
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BedrockAgentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetKnowledgeBaseCommandInput, GetKnowledgeBaseCommandOutput>;
129
+ /**
130
+ * @internal
131
+ */
132
+ private serialize;
133
+ /**
134
+ * @internal
135
+ */
136
+ private deserialize;
137
+ }
@@ -0,0 +1,100 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
5
+ import { ListAgentActionGroupsRequest, ListAgentActionGroupsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListAgentActionGroupsCommand}.
14
+ */
15
+ export interface ListAgentActionGroupsCommandInput extends ListAgentActionGroupsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListAgentActionGroupsCommand}.
21
+ */
22
+ export interface ListAgentActionGroupsCommandOutput extends ListAgentActionGroupsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * Lists an Action Group for existing Amazon Bedrock Agent Version
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { BedrockAgentClient, ListAgentActionGroupsCommand } from "@aws-sdk/client-bedrock-agent"; // ES Modules import
31
+ * // const { BedrockAgentClient, ListAgentActionGroupsCommand } = require("@aws-sdk/client-bedrock-agent"); // CommonJS import
32
+ * const client = new BedrockAgentClient(config);
33
+ * const input = { // ListAgentActionGroupsRequest
34
+ * agentId: "STRING_VALUE", // required
35
+ * agentVersion: "STRING_VALUE", // required
36
+ * maxResults: Number("int"),
37
+ * nextToken: "STRING_VALUE",
38
+ * };
39
+ * const command = new ListAgentActionGroupsCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // ListAgentActionGroupsResponse
42
+ * // actionGroupSummaries: [ // ActionGroupSummaries // required
43
+ * // { // ActionGroupSummary
44
+ * // actionGroupId: "STRING_VALUE", // required
45
+ * // actionGroupName: "STRING_VALUE", // required
46
+ * // actionGroupState: "ENABLED" || "DISABLED", // required
47
+ * // description: "STRING_VALUE",
48
+ * // updatedAt: new Date("TIMESTAMP"), // required
49
+ * // },
50
+ * // ],
51
+ * // nextToken: "STRING_VALUE",
52
+ * // };
53
+ *
54
+ * ```
55
+ *
56
+ * @param ListAgentActionGroupsCommandInput - {@link ListAgentActionGroupsCommandInput}
57
+ * @returns {@link ListAgentActionGroupsCommandOutput}
58
+ * @see {@link ListAgentActionGroupsCommandInput} for command's `input` shape.
59
+ * @see {@link ListAgentActionGroupsCommandOutput} for command's `response` shape.
60
+ * @see {@link BedrockAgentClientResolvedConfig | config} for BedrockAgentClient's `config` shape.
61
+ *
62
+ * @throws {@link AccessDeniedException} (client fault)
63
+ * This exception is thrown when a request is denied per access permissions
64
+ *
65
+ * @throws {@link InternalServerException} (server fault)
66
+ * This exception is thrown if there was an unexpected error during processing of request
67
+ *
68
+ * @throws {@link ResourceNotFoundException} (client fault)
69
+ * This exception is thrown when a resource referenced by the operation does not exist
70
+ *
71
+ * @throws {@link ThrottlingException} (client fault)
72
+ * This exception is thrown when the number of requests exceeds the limit
73
+ *
74
+ * @throws {@link ValidationException} (client fault)
75
+ * This exception is thrown when the request's input validation fails
76
+ *
77
+ * @throws {@link BedrockAgentServiceException}
78
+ * <p>Base exception class for all service exceptions from BedrockAgent service.</p>
79
+ *
80
+ */
81
+ export declare class ListAgentActionGroupsCommand extends $Command<ListAgentActionGroupsCommandInput, ListAgentActionGroupsCommandOutput, BedrockAgentClientResolvedConfig> {
82
+ readonly input: ListAgentActionGroupsCommandInput;
83
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
84
+ /**
85
+ * @public
86
+ */
87
+ constructor(input: ListAgentActionGroupsCommandInput);
88
+ /**
89
+ * @internal
90
+ */
91
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BedrockAgentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAgentActionGroupsCommandInput, ListAgentActionGroupsCommandOutput>;
92
+ /**
93
+ * @internal
94
+ */
95
+ private serialize;
96
+ /**
97
+ * @internal
98
+ */
99
+ private deserialize;
100
+ }
@@ -0,0 +1,105 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
5
+ import { ListAgentAliasesRequest, ListAgentAliasesResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListAgentAliasesCommand}.
14
+ */
15
+ export interface ListAgentAliasesCommandInput extends ListAgentAliasesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListAgentAliasesCommand}.
21
+ */
22
+ export interface ListAgentAliasesCommandOutput extends ListAgentAliasesResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * Lists all the Aliases for an Amazon Bedrock Agent
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { BedrockAgentClient, ListAgentAliasesCommand } from "@aws-sdk/client-bedrock-agent"; // ES Modules import
31
+ * // const { BedrockAgentClient, ListAgentAliasesCommand } = require("@aws-sdk/client-bedrock-agent"); // CommonJS import
32
+ * const client = new BedrockAgentClient(config);
33
+ * const input = { // ListAgentAliasesRequest
34
+ * agentId: "STRING_VALUE", // required
35
+ * maxResults: Number("int"),
36
+ * nextToken: "STRING_VALUE",
37
+ * };
38
+ * const command = new ListAgentAliasesCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // ListAgentAliasesResponse
41
+ * // agentAliasSummaries: [ // AgentAliasSummaries // required
42
+ * // { // AgentAliasSummary
43
+ * // agentAliasId: "STRING_VALUE", // required
44
+ * // agentAliasName: "STRING_VALUE", // required
45
+ * // description: "STRING_VALUE",
46
+ * // routingConfiguration: [ // AgentAliasRoutingConfiguration
47
+ * // { // AgentAliasRoutingConfigurationListItem
48
+ * // agentVersion: "STRING_VALUE", // required
49
+ * // },
50
+ * // ],
51
+ * // agentAliasStatus: "CREATING" || "PREPARED" || "FAILED" || "UPDATING" || "DELETING", // required
52
+ * // createdAt: new Date("TIMESTAMP"), // required
53
+ * // updatedAt: new Date("TIMESTAMP"), // required
54
+ * // },
55
+ * // ],
56
+ * // nextToken: "STRING_VALUE",
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param ListAgentAliasesCommandInput - {@link ListAgentAliasesCommandInput}
62
+ * @returns {@link ListAgentAliasesCommandOutput}
63
+ * @see {@link ListAgentAliasesCommandInput} for command's `input` shape.
64
+ * @see {@link ListAgentAliasesCommandOutput} for command's `response` shape.
65
+ * @see {@link BedrockAgentClientResolvedConfig | config} for BedrockAgentClient's `config` shape.
66
+ *
67
+ * @throws {@link AccessDeniedException} (client fault)
68
+ * This exception is thrown when a request is denied per access permissions
69
+ *
70
+ * @throws {@link InternalServerException} (server fault)
71
+ * This exception is thrown if there was an unexpected error during processing of request
72
+ *
73
+ * @throws {@link ResourceNotFoundException} (client fault)
74
+ * This exception is thrown when a resource referenced by the operation does not exist
75
+ *
76
+ * @throws {@link ThrottlingException} (client fault)
77
+ * This exception is thrown when the number of requests exceeds the limit
78
+ *
79
+ * @throws {@link ValidationException} (client fault)
80
+ * This exception is thrown when the request's input validation fails
81
+ *
82
+ * @throws {@link BedrockAgentServiceException}
83
+ * <p>Base exception class for all service exceptions from BedrockAgent service.</p>
84
+ *
85
+ */
86
+ export declare class ListAgentAliasesCommand extends $Command<ListAgentAliasesCommandInput, ListAgentAliasesCommandOutput, BedrockAgentClientResolvedConfig> {
87
+ readonly input: ListAgentAliasesCommandInput;
88
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
89
+ /**
90
+ * @public
91
+ */
92
+ constructor(input: ListAgentAliasesCommandInput);
93
+ /**
94
+ * @internal
95
+ */
96
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BedrockAgentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAgentAliasesCommandInput, ListAgentAliasesCommandOutput>;
97
+ /**
98
+ * @internal
99
+ */
100
+ private serialize;
101
+ /**
102
+ * @internal
103
+ */
104
+ private deserialize;
105
+ }
@@ -0,0 +1,99 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
5
+ import { ListAgentKnowledgeBasesRequest, ListAgentKnowledgeBasesResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListAgentKnowledgeBasesCommand}.
14
+ */
15
+ export interface ListAgentKnowledgeBasesCommandInput extends ListAgentKnowledgeBasesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListAgentKnowledgeBasesCommand}.
21
+ */
22
+ export interface ListAgentKnowledgeBasesCommandOutput extends ListAgentKnowledgeBasesResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * List of Knowledge Bases associated to an existing Amazon Bedrock Agent Version
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { BedrockAgentClient, ListAgentKnowledgeBasesCommand } from "@aws-sdk/client-bedrock-agent"; // ES Modules import
31
+ * // const { BedrockAgentClient, ListAgentKnowledgeBasesCommand } = require("@aws-sdk/client-bedrock-agent"); // CommonJS import
32
+ * const client = new BedrockAgentClient(config);
33
+ * const input = { // ListAgentKnowledgeBasesRequest
34
+ * agentId: "STRING_VALUE", // required
35
+ * agentVersion: "STRING_VALUE", // required
36
+ * maxResults: Number("int"),
37
+ * nextToken: "STRING_VALUE",
38
+ * };
39
+ * const command = new ListAgentKnowledgeBasesCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // ListAgentKnowledgeBasesResponse
42
+ * // agentKnowledgeBaseSummaries: [ // AgentKnowledgeBaseSummaries // required
43
+ * // { // AgentKnowledgeBaseSummary
44
+ * // knowledgeBaseId: "STRING_VALUE", // required
45
+ * // description: "STRING_VALUE",
46
+ * // knowledgeBaseState: "ENABLED" || "DISABLED", // required
47
+ * // updatedAt: new Date("TIMESTAMP"), // required
48
+ * // },
49
+ * // ],
50
+ * // nextToken: "STRING_VALUE",
51
+ * // };
52
+ *
53
+ * ```
54
+ *
55
+ * @param ListAgentKnowledgeBasesCommandInput - {@link ListAgentKnowledgeBasesCommandInput}
56
+ * @returns {@link ListAgentKnowledgeBasesCommandOutput}
57
+ * @see {@link ListAgentKnowledgeBasesCommandInput} for command's `input` shape.
58
+ * @see {@link ListAgentKnowledgeBasesCommandOutput} for command's `response` shape.
59
+ * @see {@link BedrockAgentClientResolvedConfig | config} for BedrockAgentClient's `config` shape.
60
+ *
61
+ * @throws {@link AccessDeniedException} (client fault)
62
+ * This exception is thrown when a request is denied per access permissions
63
+ *
64
+ * @throws {@link InternalServerException} (server fault)
65
+ * This exception is thrown if there was an unexpected error during processing of request
66
+ *
67
+ * @throws {@link ResourceNotFoundException} (client fault)
68
+ * This exception is thrown when a resource referenced by the operation does not exist
69
+ *
70
+ * @throws {@link ThrottlingException} (client fault)
71
+ * This exception is thrown when the number of requests exceeds the limit
72
+ *
73
+ * @throws {@link ValidationException} (client fault)
74
+ * This exception is thrown when the request's input validation fails
75
+ *
76
+ * @throws {@link BedrockAgentServiceException}
77
+ * <p>Base exception class for all service exceptions from BedrockAgent service.</p>
78
+ *
79
+ */
80
+ export declare class ListAgentKnowledgeBasesCommand extends $Command<ListAgentKnowledgeBasesCommandInput, ListAgentKnowledgeBasesCommandOutput, BedrockAgentClientResolvedConfig> {
81
+ readonly input: ListAgentKnowledgeBasesCommandInput;
82
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
83
+ /**
84
+ * @public
85
+ */
86
+ constructor(input: ListAgentKnowledgeBasesCommandInput);
87
+ /**
88
+ * @internal
89
+ */
90
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BedrockAgentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAgentKnowledgeBasesCommandInput, ListAgentKnowledgeBasesCommandOutput>;
91
+ /**
92
+ * @internal
93
+ */
94
+ private serialize;
95
+ /**
96
+ * @internal
97
+ */
98
+ private deserialize;
99
+ }
@@ -0,0 +1,100 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { BedrockAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentClient";
5
+ import { ListAgentVersionsRequest, ListAgentVersionsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListAgentVersionsCommand}.
14
+ */
15
+ export interface ListAgentVersionsCommandInput extends ListAgentVersionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListAgentVersionsCommand}.
21
+ */
22
+ export interface ListAgentVersionsCommandOutput extends ListAgentVersionsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * Lists Agent Versions
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { BedrockAgentClient, ListAgentVersionsCommand } from "@aws-sdk/client-bedrock-agent"; // ES Modules import
31
+ * // const { BedrockAgentClient, ListAgentVersionsCommand } = require("@aws-sdk/client-bedrock-agent"); // CommonJS import
32
+ * const client = new BedrockAgentClient(config);
33
+ * const input = { // ListAgentVersionsRequest
34
+ * agentId: "STRING_VALUE", // required
35
+ * maxResults: Number("int"),
36
+ * nextToken: "STRING_VALUE",
37
+ * };
38
+ * const command = new ListAgentVersionsCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // ListAgentVersionsResponse
41
+ * // agentVersionSummaries: [ // AgentVersionSummaries // required
42
+ * // { // AgentVersionSummary
43
+ * // agentName: "STRING_VALUE", // required
44
+ * // agentStatus: "CREATING" || "PREPARING" || "PREPARED" || "NOT_PREPARED" || "DELETING" || "FAILED" || "VERSIONING" || "UPDATING", // required
45
+ * // agentVersion: "STRING_VALUE", // required
46
+ * // createdAt: new Date("TIMESTAMP"), // required
47
+ * // updatedAt: new Date("TIMESTAMP"), // required
48
+ * // description: "STRING_VALUE",
49
+ * // },
50
+ * // ],
51
+ * // nextToken: "STRING_VALUE",
52
+ * // };
53
+ *
54
+ * ```
55
+ *
56
+ * @param ListAgentVersionsCommandInput - {@link ListAgentVersionsCommandInput}
57
+ * @returns {@link ListAgentVersionsCommandOutput}
58
+ * @see {@link ListAgentVersionsCommandInput} for command's `input` shape.
59
+ * @see {@link ListAgentVersionsCommandOutput} for command's `response` shape.
60
+ * @see {@link BedrockAgentClientResolvedConfig | config} for BedrockAgentClient's `config` shape.
61
+ *
62
+ * @throws {@link AccessDeniedException} (client fault)
63
+ * This exception is thrown when a request is denied per access permissions
64
+ *
65
+ * @throws {@link InternalServerException} (server fault)
66
+ * This exception is thrown if there was an unexpected error during processing of request
67
+ *
68
+ * @throws {@link ResourceNotFoundException} (client fault)
69
+ * This exception is thrown when a resource referenced by the operation does not exist
70
+ *
71
+ * @throws {@link ThrottlingException} (client fault)
72
+ * This exception is thrown when the number of requests exceeds the limit
73
+ *
74
+ * @throws {@link ValidationException} (client fault)
75
+ * This exception is thrown when the request's input validation fails
76
+ *
77
+ * @throws {@link BedrockAgentServiceException}
78
+ * <p>Base exception class for all service exceptions from BedrockAgent service.</p>
79
+ *
80
+ */
81
+ export declare class ListAgentVersionsCommand extends $Command<ListAgentVersionsCommandInput, ListAgentVersionsCommandOutput, BedrockAgentClientResolvedConfig> {
82
+ readonly input: ListAgentVersionsCommandInput;
83
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
84
+ /**
85
+ * @public
86
+ */
87
+ constructor(input: ListAgentVersionsCommandInput);
88
+ /**
89
+ * @internal
90
+ */
91
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BedrockAgentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAgentVersionsCommandInput, ListAgentVersionsCommandOutput>;
92
+ /**
93
+ * @internal
94
+ */
95
+ private serialize;
96
+ /**
97
+ * @internal
98
+ */
99
+ private deserialize;
100
+ }