@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,915 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { BedrockAgentServiceException as __BaseException } from "./BedrockAgentServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ constructor(
7
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
+ );
9
+ }
10
+ export type ActionGroupExecutor =
11
+ | ActionGroupExecutor.LambdaMember
12
+ | ActionGroupExecutor.$UnknownMember;
13
+ export declare namespace ActionGroupExecutor {
14
+ interface LambdaMember {
15
+ lambda: string;
16
+ $unknown?: never;
17
+ }
18
+ interface $UnknownMember {
19
+ lambda?: never;
20
+ $unknown: [string, any];
21
+ }
22
+ interface Visitor<T> {
23
+ lambda: (value: string) => T;
24
+ _: (name: string, value: any) => T;
25
+ }
26
+ const visit: <T>(value: ActionGroupExecutor, visitor: Visitor<T>) => T;
27
+ }
28
+ export declare class ConflictException extends __BaseException {
29
+ readonly name: "ConflictException";
30
+ readonly $fault: "client";
31
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
32
+ }
33
+ export declare const ActionGroupState: {
34
+ readonly DISABLED: "DISABLED";
35
+ readonly ENABLED: "ENABLED";
36
+ };
37
+ export type ActionGroupState =
38
+ (typeof ActionGroupState)[keyof typeof ActionGroupState];
39
+ export interface S3Identifier {
40
+ s3BucketName?: string;
41
+ s3ObjectKey?: string;
42
+ }
43
+ export type APISchema =
44
+ | APISchema.PayloadMember
45
+ | APISchema.S3Member
46
+ | APISchema.$UnknownMember;
47
+ export declare namespace APISchema {
48
+ interface S3Member {
49
+ s3: S3Identifier;
50
+ payload?: never;
51
+ $unknown?: never;
52
+ }
53
+ interface PayloadMember {
54
+ s3?: never;
55
+ payload: string;
56
+ $unknown?: never;
57
+ }
58
+ interface $UnknownMember {
59
+ s3?: never;
60
+ payload?: never;
61
+ $unknown: [string, any];
62
+ }
63
+ interface Visitor<T> {
64
+ s3: (value: S3Identifier) => T;
65
+ payload: (value: string) => T;
66
+ _: (name: string, value: any) => T;
67
+ }
68
+ const visit: <T>(value: APISchema, visitor: Visitor<T>) => T;
69
+ }
70
+ export declare const ActionGroupSignature: {
71
+ readonly AMAZON_USERINPUT: "AMAZON.UserInput";
72
+ };
73
+ export type ActionGroupSignature =
74
+ (typeof ActionGroupSignature)[keyof typeof ActionGroupSignature];
75
+ export interface CreateAgentActionGroupRequest {
76
+ agentId: string | undefined;
77
+ agentVersion: string | undefined;
78
+ actionGroupName: string | undefined;
79
+ clientToken?: string;
80
+ description?: string;
81
+ parentActionGroupSignature?: ActionGroupSignature;
82
+ actionGroupExecutor?: ActionGroupExecutor;
83
+ apiSchema?: APISchema;
84
+ actionGroupState?: ActionGroupState;
85
+ }
86
+ export interface AgentActionGroup {
87
+ agentId: string | undefined;
88
+ agentVersion: string | undefined;
89
+ actionGroupId: string | undefined;
90
+ actionGroupName: string | undefined;
91
+ clientToken?: string;
92
+ description?: string;
93
+ createdAt: Date | undefined;
94
+ updatedAt: Date | undefined;
95
+ parentActionSignature?: ActionGroupSignature;
96
+ actionGroupExecutor?: ActionGroupExecutor;
97
+ apiSchema?: APISchema;
98
+ actionGroupState: ActionGroupState | undefined;
99
+ }
100
+ export interface CreateAgentActionGroupResponse {
101
+ agentActionGroup: AgentActionGroup | undefined;
102
+ }
103
+ export declare class InternalServerException extends __BaseException {
104
+ readonly name: "InternalServerException";
105
+ readonly $fault: "server";
106
+ constructor(
107
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
108
+ );
109
+ }
110
+ export declare class ResourceNotFoundException extends __BaseException {
111
+ readonly name: "ResourceNotFoundException";
112
+ readonly $fault: "client";
113
+ constructor(
114
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
115
+ );
116
+ }
117
+ export declare class ServiceQuotaExceededException extends __BaseException {
118
+ readonly name: "ServiceQuotaExceededException";
119
+ readonly $fault: "client";
120
+ constructor(
121
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
122
+ );
123
+ }
124
+ export declare class ThrottlingException extends __BaseException {
125
+ readonly name: "ThrottlingException";
126
+ readonly $fault: "client";
127
+ constructor(
128
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
129
+ );
130
+ }
131
+ export interface ValidationExceptionField {
132
+ name: string | undefined;
133
+ message: string | undefined;
134
+ }
135
+ export declare class ValidationException extends __BaseException {
136
+ readonly name: "ValidationException";
137
+ readonly $fault: "client";
138
+ fieldList?: ValidationExceptionField[];
139
+ constructor(
140
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
141
+ );
142
+ }
143
+ export interface DeleteAgentActionGroupRequest {
144
+ agentId: string | undefined;
145
+ agentVersion: string | undefined;
146
+ actionGroupId: string | undefined;
147
+ skipResourceInUseCheck?: boolean;
148
+ }
149
+ export interface DeleteAgentActionGroupResponse {}
150
+ export interface GetAgentActionGroupRequest {
151
+ agentId: string | undefined;
152
+ agentVersion: string | undefined;
153
+ actionGroupId: string | undefined;
154
+ }
155
+ export interface GetAgentActionGroupResponse {
156
+ agentActionGroup: AgentActionGroup | undefined;
157
+ }
158
+ export interface ListAgentActionGroupsRequest {
159
+ agentId: string | undefined;
160
+ agentVersion: string | undefined;
161
+ maxResults?: number;
162
+ nextToken?: string;
163
+ }
164
+ export interface ActionGroupSummary {
165
+ actionGroupId: string | undefined;
166
+ actionGroupName: string | undefined;
167
+ actionGroupState: ActionGroupState | undefined;
168
+ description?: string;
169
+ updatedAt: Date | undefined;
170
+ }
171
+ export interface ListAgentActionGroupsResponse {
172
+ actionGroupSummaries: ActionGroupSummary[] | undefined;
173
+ nextToken?: string;
174
+ }
175
+ export interface UpdateAgentActionGroupRequest {
176
+ agentId: string | undefined;
177
+ agentVersion: string | undefined;
178
+ actionGroupId: string | undefined;
179
+ actionGroupName: string | undefined;
180
+ description?: string;
181
+ parentActionGroupSignature?: ActionGroupSignature;
182
+ actionGroupExecutor?: ActionGroupExecutor;
183
+ actionGroupState?: ActionGroupState;
184
+ apiSchema?: APISchema;
185
+ }
186
+ export interface UpdateAgentActionGroupResponse {
187
+ agentActionGroup: AgentActionGroup | undefined;
188
+ }
189
+ export declare const AgentStatus: {
190
+ readonly CREATING: "CREATING";
191
+ readonly DELETING: "DELETING";
192
+ readonly FAILED: "FAILED";
193
+ readonly NOT_PREPARED: "NOT_PREPARED";
194
+ readonly PREPARED: "PREPARED";
195
+ readonly PREPARING: "PREPARING";
196
+ readonly UPDATING: "UPDATING";
197
+ readonly VERSIONING: "VERSIONING";
198
+ };
199
+ export type AgentStatus = (typeof AgentStatus)[keyof typeof AgentStatus];
200
+ export interface InferenceConfiguration {
201
+ temperature?: number;
202
+ topP?: number;
203
+ topK?: number;
204
+ maximumLength?: number;
205
+ stopSequences?: string[];
206
+ }
207
+ export declare const CreationMode: {
208
+ readonly DEFAULT: "DEFAULT";
209
+ readonly OVERRIDDEN: "OVERRIDDEN";
210
+ };
211
+ export type CreationMode = (typeof CreationMode)[keyof typeof CreationMode];
212
+ export declare const PromptState: {
213
+ readonly DISABLED: "DISABLED";
214
+ readonly ENABLED: "ENABLED";
215
+ };
216
+ export type PromptState = (typeof PromptState)[keyof typeof PromptState];
217
+ export declare const PromptType: {
218
+ readonly KNOWLEDGE_BASE_RESPONSE_GENERATION: "KNOWLEDGE_BASE_RESPONSE_GENERATION";
219
+ readonly ORCHESTRATION: "ORCHESTRATION";
220
+ readonly POST_PROCESSING: "POST_PROCESSING";
221
+ readonly PRE_PROCESSING: "PRE_PROCESSING";
222
+ };
223
+ export type PromptType = (typeof PromptType)[keyof typeof PromptType];
224
+ export interface PromptConfiguration {
225
+ promptType?: PromptType;
226
+ promptCreationMode?: CreationMode;
227
+ promptState?: PromptState;
228
+ basePromptTemplate?: string;
229
+ inferenceConfiguration?: InferenceConfiguration;
230
+ parserMode?: CreationMode;
231
+ }
232
+ export interface PromptOverrideConfiguration {
233
+ promptConfigurations: PromptConfiguration[] | undefined;
234
+ overrideLambda?: string;
235
+ }
236
+ export interface Agent {
237
+ agentId: string | undefined;
238
+ agentName: string | undefined;
239
+ agentArn: string | undefined;
240
+ agentVersion: string | undefined;
241
+ clientToken?: string;
242
+ instruction?: string;
243
+ agentStatus: AgentStatus | undefined;
244
+ foundationModel?: string;
245
+ description?: string;
246
+ idleSessionTTLInSeconds: number | undefined;
247
+ agentResourceRoleArn: string | undefined;
248
+ customerEncryptionKeyArn?: string;
249
+ createdAt: Date | undefined;
250
+ updatedAt: Date | undefined;
251
+ preparedAt?: Date;
252
+ failureReasons?: string[];
253
+ recommendedActions?: string[];
254
+ promptOverrideConfiguration?: PromptOverrideConfiguration;
255
+ }
256
+ export interface AgentAliasRoutingConfigurationListItem {
257
+ agentVersion: string | undefined;
258
+ }
259
+ export interface AgentAliasHistoryEvent {
260
+ routingConfiguration?: AgentAliasRoutingConfigurationListItem[];
261
+ endDate?: Date;
262
+ startDate?: Date;
263
+ }
264
+ export declare const AgentAliasStatus: {
265
+ readonly CREATING: "CREATING";
266
+ readonly DELETING: "DELETING";
267
+ readonly FAILED: "FAILED";
268
+ readonly PREPARED: "PREPARED";
269
+ readonly UPDATING: "UPDATING";
270
+ };
271
+ export type AgentAliasStatus =
272
+ (typeof AgentAliasStatus)[keyof typeof AgentAliasStatus];
273
+ export interface AgentAlias {
274
+ agentId: string | undefined;
275
+ agentAliasId: string | undefined;
276
+ agentAliasName: string | undefined;
277
+ agentAliasArn: string | undefined;
278
+ clientToken?: string;
279
+ description?: string;
280
+ routingConfiguration: AgentAliasRoutingConfigurationListItem[] | undefined;
281
+ createdAt: Date | undefined;
282
+ updatedAt: Date | undefined;
283
+ agentAliasHistoryEvents?: AgentAliasHistoryEvent[];
284
+ agentAliasStatus: AgentAliasStatus | undefined;
285
+ }
286
+ export interface AgentAliasSummary {
287
+ agentAliasId: string | undefined;
288
+ agentAliasName: string | undefined;
289
+ description?: string;
290
+ routingConfiguration?: AgentAliasRoutingConfigurationListItem[];
291
+ agentAliasStatus: AgentAliasStatus | undefined;
292
+ createdAt: Date | undefined;
293
+ updatedAt: Date | undefined;
294
+ }
295
+ export declare const KnowledgeBaseState: {
296
+ readonly DISABLED: "DISABLED";
297
+ readonly ENABLED: "ENABLED";
298
+ };
299
+ export type KnowledgeBaseState =
300
+ (typeof KnowledgeBaseState)[keyof typeof KnowledgeBaseState];
301
+ export interface AgentKnowledgeBase {
302
+ agentId: string | undefined;
303
+ agentVersion: string | undefined;
304
+ knowledgeBaseId: string | undefined;
305
+ description: string | undefined;
306
+ createdAt: Date | undefined;
307
+ updatedAt: Date | undefined;
308
+ knowledgeBaseState: KnowledgeBaseState | undefined;
309
+ }
310
+ export interface AgentKnowledgeBaseSummary {
311
+ knowledgeBaseId: string | undefined;
312
+ description?: string;
313
+ knowledgeBaseState: KnowledgeBaseState | undefined;
314
+ updatedAt: Date | undefined;
315
+ }
316
+ export interface CreateAgentRequest {
317
+ agentName: string | undefined;
318
+ clientToken?: string;
319
+ instruction?: string;
320
+ foundationModel?: string;
321
+ description?: string;
322
+ idleSessionTTLInSeconds?: number;
323
+ agentResourceRoleArn: string | undefined;
324
+ customerEncryptionKeyArn?: string;
325
+ tags?: Record<string, string>;
326
+ promptOverrideConfiguration?: PromptOverrideConfiguration;
327
+ }
328
+ export interface CreateAgentResponse {
329
+ agent: Agent | undefined;
330
+ }
331
+ export interface DeleteAgentRequest {
332
+ agentId: string | undefined;
333
+ skipResourceInUseCheck?: boolean;
334
+ }
335
+ export interface DeleteAgentResponse {
336
+ agentId: string | undefined;
337
+ agentStatus: AgentStatus | undefined;
338
+ }
339
+ export interface GetAgentRequest {
340
+ agentId: string | undefined;
341
+ }
342
+ export interface GetAgentResponse {
343
+ agent: Agent | undefined;
344
+ }
345
+ export interface ListAgentsRequest {
346
+ maxResults?: number;
347
+ nextToken?: string;
348
+ }
349
+ export interface AgentSummary {
350
+ agentId: string | undefined;
351
+ agentName: string | undefined;
352
+ agentStatus: AgentStatus | undefined;
353
+ description?: string;
354
+ updatedAt: Date | undefined;
355
+ latestAgentVersion?: string;
356
+ }
357
+ export interface ListAgentsResponse {
358
+ agentSummaries: AgentSummary[] | undefined;
359
+ nextToken?: string;
360
+ }
361
+ export interface PrepareAgentRequest {
362
+ agentId: string | undefined;
363
+ }
364
+ export interface PrepareAgentResponse {
365
+ agentId: string | undefined;
366
+ agentStatus: AgentStatus | undefined;
367
+ agentVersion: string | undefined;
368
+ preparedAt: Date | undefined;
369
+ }
370
+ export interface UpdateAgentRequest {
371
+ agentId: string | undefined;
372
+ agentName: string | undefined;
373
+ instruction?: string;
374
+ foundationModel?: string;
375
+ description?: string;
376
+ idleSessionTTLInSeconds?: number;
377
+ agentResourceRoleArn: string | undefined;
378
+ customerEncryptionKeyArn?: string;
379
+ promptOverrideConfiguration?: PromptOverrideConfiguration;
380
+ }
381
+ export interface UpdateAgentResponse {
382
+ agent: Agent | undefined;
383
+ }
384
+ export interface AgentVersion {
385
+ agentId: string | undefined;
386
+ agentName: string | undefined;
387
+ agentArn: string | undefined;
388
+ version: string | undefined;
389
+ instruction?: string;
390
+ agentStatus: AgentStatus | undefined;
391
+ foundationModel?: string;
392
+ description?: string;
393
+ idleSessionTTLInSeconds: number | undefined;
394
+ agentResourceRoleArn: string | undefined;
395
+ customerEncryptionKeyArn?: string;
396
+ createdAt: Date | undefined;
397
+ updatedAt: Date | undefined;
398
+ failureReasons?: string[];
399
+ recommendedActions?: string[];
400
+ promptOverrideConfiguration?: PromptOverrideConfiguration;
401
+ }
402
+ export interface AgentVersionSummary {
403
+ agentName: string | undefined;
404
+ agentStatus: AgentStatus | undefined;
405
+ agentVersion: string | undefined;
406
+ createdAt: Date | undefined;
407
+ updatedAt: Date | undefined;
408
+ description?: string;
409
+ }
410
+ export interface CreateAgentAliasRequest {
411
+ agentId: string | undefined;
412
+ agentAliasName: string | undefined;
413
+ clientToken?: string;
414
+ description?: string;
415
+ routingConfiguration?: AgentAliasRoutingConfigurationListItem[];
416
+ tags?: Record<string, string>;
417
+ }
418
+ export interface CreateAgentAliasResponse {
419
+ agentAlias: AgentAlias | undefined;
420
+ }
421
+ export interface DeleteAgentAliasRequest {
422
+ agentId: string | undefined;
423
+ agentAliasId: string | undefined;
424
+ }
425
+ export interface DeleteAgentAliasResponse {
426
+ agentId: string | undefined;
427
+ agentAliasId: string | undefined;
428
+ agentAliasStatus: AgentAliasStatus | undefined;
429
+ }
430
+ export interface GetAgentAliasRequest {
431
+ agentId: string | undefined;
432
+ agentAliasId: string | undefined;
433
+ }
434
+ export interface GetAgentAliasResponse {
435
+ agentAlias: AgentAlias | undefined;
436
+ }
437
+ export interface ListAgentAliasesRequest {
438
+ agentId: string | undefined;
439
+ maxResults?: number;
440
+ nextToken?: string;
441
+ }
442
+ export interface ListAgentAliasesResponse {
443
+ agentAliasSummaries: AgentAliasSummary[] | undefined;
444
+ nextToken?: string;
445
+ }
446
+ export interface UpdateAgentAliasRequest {
447
+ agentId: string | undefined;
448
+ agentAliasId: string | undefined;
449
+ agentAliasName: string | undefined;
450
+ description?: string;
451
+ routingConfiguration?: AgentAliasRoutingConfigurationListItem[];
452
+ }
453
+ export interface UpdateAgentAliasResponse {
454
+ agentAlias: AgentAlias | undefined;
455
+ }
456
+ export interface S3DataSourceConfiguration {
457
+ bucketArn: string | undefined;
458
+ inclusionPrefixes?: string[];
459
+ }
460
+ export declare const DataSourceType: {
461
+ readonly S3: "S3";
462
+ };
463
+ export type DataSourceType =
464
+ (typeof DataSourceType)[keyof typeof DataSourceType];
465
+ export interface DataSourceConfiguration {
466
+ type: DataSourceType | undefined;
467
+ s3Configuration?: S3DataSourceConfiguration;
468
+ }
469
+ export interface ServerSideEncryptionConfiguration {
470
+ kmsKeyArn?: string;
471
+ }
472
+ export declare const ChunkingStrategy: {
473
+ readonly FIXED_SIZE: "FIXED_SIZE";
474
+ readonly NONE: "NONE";
475
+ };
476
+ export type ChunkingStrategy =
477
+ (typeof ChunkingStrategy)[keyof typeof ChunkingStrategy];
478
+ export interface FixedSizeChunkingConfiguration {
479
+ maxTokens: number | undefined;
480
+ overlapPercentage: number | undefined;
481
+ }
482
+ export interface ChunkingConfiguration {
483
+ chunkingStrategy: ChunkingStrategy | undefined;
484
+ fixedSizeChunkingConfiguration?: FixedSizeChunkingConfiguration;
485
+ }
486
+ export interface VectorIngestionConfiguration {
487
+ chunkingConfiguration?: ChunkingConfiguration;
488
+ }
489
+ export interface CreateDataSourceRequest {
490
+ knowledgeBaseId: string | undefined;
491
+ clientToken?: string;
492
+ name: string | undefined;
493
+ description?: string;
494
+ dataSourceConfiguration: DataSourceConfiguration | undefined;
495
+ serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
496
+ vectorIngestionConfiguration?: VectorIngestionConfiguration;
497
+ }
498
+ export declare const DataSourceStatus: {
499
+ readonly AVAILABLE: "AVAILABLE";
500
+ readonly DELETING: "DELETING";
501
+ };
502
+ export type DataSourceStatus =
503
+ (typeof DataSourceStatus)[keyof typeof DataSourceStatus];
504
+ export interface DataSource {
505
+ knowledgeBaseId: string | undefined;
506
+ dataSourceId: string | undefined;
507
+ name: string | undefined;
508
+ status: DataSourceStatus | undefined;
509
+ description?: string;
510
+ dataSourceConfiguration: DataSourceConfiguration | undefined;
511
+ serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
512
+ vectorIngestionConfiguration?: VectorIngestionConfiguration;
513
+ createdAt: Date | undefined;
514
+ updatedAt: Date | undefined;
515
+ }
516
+ export interface CreateDataSourceResponse {
517
+ dataSource: DataSource | undefined;
518
+ }
519
+ export interface DeleteDataSourceRequest {
520
+ knowledgeBaseId: string | undefined;
521
+ dataSourceId: string | undefined;
522
+ }
523
+ export interface DeleteDataSourceResponse {
524
+ knowledgeBaseId: string | undefined;
525
+ dataSourceId: string | undefined;
526
+ status: DataSourceStatus | undefined;
527
+ }
528
+ export interface GetDataSourceRequest {
529
+ knowledgeBaseId: string | undefined;
530
+ dataSourceId: string | undefined;
531
+ }
532
+ export interface GetDataSourceResponse {
533
+ dataSource: DataSource | undefined;
534
+ }
535
+ export interface ListDataSourcesRequest {
536
+ knowledgeBaseId: string | undefined;
537
+ maxResults?: number;
538
+ nextToken?: string;
539
+ }
540
+ export interface DataSourceSummary {
541
+ knowledgeBaseId: string | undefined;
542
+ dataSourceId: string | undefined;
543
+ name: string | undefined;
544
+ status: DataSourceStatus | undefined;
545
+ description?: string;
546
+ updatedAt: Date | undefined;
547
+ }
548
+ export interface ListDataSourcesResponse {
549
+ dataSourceSummaries: DataSourceSummary[] | undefined;
550
+ nextToken?: string;
551
+ }
552
+ export interface UpdateDataSourceRequest {
553
+ knowledgeBaseId: string | undefined;
554
+ dataSourceId: string | undefined;
555
+ name: string | undefined;
556
+ description?: string;
557
+ dataSourceConfiguration: DataSourceConfiguration | undefined;
558
+ serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
559
+ vectorIngestionConfiguration?: VectorIngestionConfiguration;
560
+ }
561
+ export interface UpdateDataSourceResponse {
562
+ dataSource: DataSource | undefined;
563
+ }
564
+ export interface GetIngestionJobRequest {
565
+ knowledgeBaseId: string | undefined;
566
+ dataSourceId: string | undefined;
567
+ ingestionJobId: string | undefined;
568
+ }
569
+ export interface IngestionJobStatistics {
570
+ numberOfDocumentsScanned?: number;
571
+ numberOfNewDocumentsIndexed?: number;
572
+ numberOfModifiedDocumentsIndexed?: number;
573
+ numberOfDocumentsDeleted?: number;
574
+ numberOfDocumentsFailed?: number;
575
+ }
576
+ export declare const IngestionJobStatus: {
577
+ readonly COMPLETE: "COMPLETE";
578
+ readonly FAILED: "FAILED";
579
+ readonly IN_PROGRESS: "IN_PROGRESS";
580
+ readonly STARTING: "STARTING";
581
+ };
582
+ export type IngestionJobStatus =
583
+ (typeof IngestionJobStatus)[keyof typeof IngestionJobStatus];
584
+ export interface IngestionJob {
585
+ knowledgeBaseId: string | undefined;
586
+ dataSourceId: string | undefined;
587
+ ingestionJobId: string | undefined;
588
+ description?: string;
589
+ status: IngestionJobStatus | undefined;
590
+ statistics?: IngestionJobStatistics;
591
+ failureReasons?: string[];
592
+ startedAt: Date | undefined;
593
+ updatedAt: Date | undefined;
594
+ }
595
+ export interface GetIngestionJobResponse {
596
+ ingestionJob: IngestionJob | undefined;
597
+ }
598
+ export declare const IngestionJobFilterAttribute: {
599
+ readonly STATUS: "STATUS";
600
+ };
601
+ export type IngestionJobFilterAttribute =
602
+ (typeof IngestionJobFilterAttribute)[keyof typeof IngestionJobFilterAttribute];
603
+ export declare const IngestionJobFilterOperator: {
604
+ readonly EQ: "EQ";
605
+ };
606
+ export type IngestionJobFilterOperator =
607
+ (typeof IngestionJobFilterOperator)[keyof typeof IngestionJobFilterOperator];
608
+ export interface IngestionJobFilter {
609
+ attribute: IngestionJobFilterAttribute | undefined;
610
+ operator: IngestionJobFilterOperator | undefined;
611
+ values: string[] | undefined;
612
+ }
613
+ export declare const IngestionJobSortByAttribute: {
614
+ readonly STARTED_AT: "STARTED_AT";
615
+ readonly STATUS: "STATUS";
616
+ };
617
+ export type IngestionJobSortByAttribute =
618
+ (typeof IngestionJobSortByAttribute)[keyof typeof IngestionJobSortByAttribute];
619
+ export declare const SortOrder: {
620
+ readonly ASCENDING: "ASCENDING";
621
+ readonly DESCENDING: "DESCENDING";
622
+ };
623
+ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
624
+ export interface IngestionJobSortBy {
625
+ attribute: IngestionJobSortByAttribute | undefined;
626
+ order: SortOrder | undefined;
627
+ }
628
+ export interface ListIngestionJobsRequest {
629
+ knowledgeBaseId: string | undefined;
630
+ dataSourceId: string | undefined;
631
+ filters?: IngestionJobFilter[];
632
+ sortBy?: IngestionJobSortBy;
633
+ maxResults?: number;
634
+ nextToken?: string;
635
+ }
636
+ export interface IngestionJobSummary {
637
+ knowledgeBaseId: string | undefined;
638
+ dataSourceId: string | undefined;
639
+ ingestionJobId: string | undefined;
640
+ description?: string;
641
+ status: IngestionJobStatus | undefined;
642
+ startedAt: Date | undefined;
643
+ updatedAt: Date | undefined;
644
+ statistics?: IngestionJobStatistics;
645
+ }
646
+ export interface ListIngestionJobsResponse {
647
+ ingestionJobSummaries: IngestionJobSummary[] | undefined;
648
+ nextToken?: string;
649
+ }
650
+ export interface StartIngestionJobRequest {
651
+ knowledgeBaseId: string | undefined;
652
+ dataSourceId: string | undefined;
653
+ clientToken?: string;
654
+ description?: string;
655
+ }
656
+ export interface StartIngestionJobResponse {
657
+ ingestionJob: IngestionJob | undefined;
658
+ }
659
+ export interface AssociateAgentKnowledgeBaseRequest {
660
+ agentId: string | undefined;
661
+ agentVersion: string | undefined;
662
+ knowledgeBaseId: string | undefined;
663
+ description: string | undefined;
664
+ knowledgeBaseState?: KnowledgeBaseState;
665
+ }
666
+ export interface AssociateAgentKnowledgeBaseResponse {
667
+ agentKnowledgeBase: AgentKnowledgeBase | undefined;
668
+ }
669
+ export declare const KnowledgeBaseType: {
670
+ readonly VECTOR: "VECTOR";
671
+ };
672
+ export type KnowledgeBaseType =
673
+ (typeof KnowledgeBaseType)[keyof typeof KnowledgeBaseType];
674
+ export interface VectorKnowledgeBaseConfiguration {
675
+ embeddingModelArn: string | undefined;
676
+ }
677
+ export interface KnowledgeBaseConfiguration {
678
+ type: KnowledgeBaseType | undefined;
679
+ vectorKnowledgeBaseConfiguration?: VectorKnowledgeBaseConfiguration;
680
+ }
681
+ export interface OpenSearchServerlessFieldMapping {
682
+ vectorField: string | undefined;
683
+ textField: string | undefined;
684
+ metadataField: string | undefined;
685
+ }
686
+ export interface OpenSearchServerlessConfiguration {
687
+ collectionArn: string | undefined;
688
+ vectorIndexName: string | undefined;
689
+ fieldMapping: OpenSearchServerlessFieldMapping | undefined;
690
+ }
691
+ export interface PineconeFieldMapping {
692
+ textField: string | undefined;
693
+ metadataField: string | undefined;
694
+ }
695
+ export interface PineconeConfiguration {
696
+ connectionString: string | undefined;
697
+ credentialsSecretArn: string | undefined;
698
+ namespace?: string;
699
+ fieldMapping: PineconeFieldMapping | undefined;
700
+ }
701
+ export interface RedisEnterpriseCloudFieldMapping {
702
+ vectorField: string | undefined;
703
+ textField: string | undefined;
704
+ metadataField: string | undefined;
705
+ }
706
+ export interface RedisEnterpriseCloudConfiguration {
707
+ endpoint: string | undefined;
708
+ vectorIndexName: string | undefined;
709
+ credentialsSecretArn: string | undefined;
710
+ fieldMapping: RedisEnterpriseCloudFieldMapping | undefined;
711
+ }
712
+ export declare const KnowledgeBaseStorageType: {
713
+ readonly OPENSEARCH_SERVERLESS: "OPENSEARCH_SERVERLESS";
714
+ readonly PINECONE: "PINECONE";
715
+ readonly REDIS_ENTERPRISE_CLOUD: "REDIS_ENTERPRISE_CLOUD";
716
+ };
717
+ export type KnowledgeBaseStorageType =
718
+ (typeof KnowledgeBaseStorageType)[keyof typeof KnowledgeBaseStorageType];
719
+ export interface StorageConfiguration {
720
+ type: KnowledgeBaseStorageType | undefined;
721
+ opensearchServerlessConfiguration?: OpenSearchServerlessConfiguration;
722
+ pineconeConfiguration?: PineconeConfiguration;
723
+ redisEnterpriseCloudConfiguration?: RedisEnterpriseCloudConfiguration;
724
+ }
725
+ export interface CreateKnowledgeBaseRequest {
726
+ clientToken?: string;
727
+ name: string | undefined;
728
+ description?: string;
729
+ roleArn: string | undefined;
730
+ knowledgeBaseConfiguration: KnowledgeBaseConfiguration | undefined;
731
+ storageConfiguration: StorageConfiguration | undefined;
732
+ tags?: Record<string, string>;
733
+ }
734
+ export declare const KnowledgeBaseStatus: {
735
+ readonly ACTIVE: "ACTIVE";
736
+ readonly CREATING: "CREATING";
737
+ readonly DELETING: "DELETING";
738
+ readonly FAILED: "FAILED";
739
+ readonly UPDATING: "UPDATING";
740
+ };
741
+ export type KnowledgeBaseStatus =
742
+ (typeof KnowledgeBaseStatus)[keyof typeof KnowledgeBaseStatus];
743
+ export interface KnowledgeBase {
744
+ knowledgeBaseId: string | undefined;
745
+ name: string | undefined;
746
+ knowledgeBaseArn: string | undefined;
747
+ description?: string;
748
+ roleArn: string | undefined;
749
+ knowledgeBaseConfiguration: KnowledgeBaseConfiguration | undefined;
750
+ storageConfiguration: StorageConfiguration | undefined;
751
+ status: KnowledgeBaseStatus | undefined;
752
+ createdAt: Date | undefined;
753
+ updatedAt: Date | undefined;
754
+ failureReasons?: string[];
755
+ }
756
+ export interface CreateKnowledgeBaseResponse {
757
+ knowledgeBase: KnowledgeBase | undefined;
758
+ }
759
+ export interface DeleteKnowledgeBaseRequest {
760
+ knowledgeBaseId: string | undefined;
761
+ }
762
+ export interface DeleteKnowledgeBaseResponse {
763
+ knowledgeBaseId: string | undefined;
764
+ status: KnowledgeBaseStatus | undefined;
765
+ }
766
+ export interface DisassociateAgentKnowledgeBaseRequest {
767
+ agentId: string | undefined;
768
+ agentVersion: string | undefined;
769
+ knowledgeBaseId: string | undefined;
770
+ }
771
+ export interface DisassociateAgentKnowledgeBaseResponse {}
772
+ export interface GetAgentKnowledgeBaseRequest {
773
+ agentId: string | undefined;
774
+ agentVersion: string | undefined;
775
+ knowledgeBaseId: string | undefined;
776
+ }
777
+ export interface GetAgentKnowledgeBaseResponse {
778
+ agentKnowledgeBase: AgentKnowledgeBase | undefined;
779
+ }
780
+ export interface GetKnowledgeBaseRequest {
781
+ knowledgeBaseId: string | undefined;
782
+ }
783
+ export interface GetKnowledgeBaseResponse {
784
+ knowledgeBase: KnowledgeBase | undefined;
785
+ }
786
+ export interface ListAgentKnowledgeBasesRequest {
787
+ agentId: string | undefined;
788
+ agentVersion: string | undefined;
789
+ maxResults?: number;
790
+ nextToken?: string;
791
+ }
792
+ export interface ListAgentKnowledgeBasesResponse {
793
+ agentKnowledgeBaseSummaries: AgentKnowledgeBaseSummary[] | undefined;
794
+ nextToken?: string;
795
+ }
796
+ export interface ListKnowledgeBasesRequest {
797
+ maxResults?: number;
798
+ nextToken?: string;
799
+ }
800
+ export interface KnowledgeBaseSummary {
801
+ knowledgeBaseId: string | undefined;
802
+ name: string | undefined;
803
+ description?: string;
804
+ status: KnowledgeBaseStatus | undefined;
805
+ updatedAt: Date | undefined;
806
+ }
807
+ export interface ListKnowledgeBasesResponse {
808
+ knowledgeBaseSummaries: KnowledgeBaseSummary[] | undefined;
809
+ nextToken?: string;
810
+ }
811
+ export interface UpdateAgentKnowledgeBaseRequest {
812
+ agentId: string | undefined;
813
+ agentVersion: string | undefined;
814
+ knowledgeBaseId: string | undefined;
815
+ description?: string;
816
+ knowledgeBaseState?: KnowledgeBaseState;
817
+ }
818
+ export interface UpdateAgentKnowledgeBaseResponse {
819
+ agentKnowledgeBase: AgentKnowledgeBase | undefined;
820
+ }
821
+ export interface UpdateKnowledgeBaseRequest {
822
+ knowledgeBaseId: string | undefined;
823
+ name: string | undefined;
824
+ description?: string;
825
+ roleArn: string | undefined;
826
+ knowledgeBaseConfiguration: KnowledgeBaseConfiguration | undefined;
827
+ storageConfiguration: StorageConfiguration | undefined;
828
+ }
829
+ export interface UpdateKnowledgeBaseResponse {
830
+ knowledgeBase: KnowledgeBase | undefined;
831
+ }
832
+ export interface ListTagsForResourceRequest {
833
+ resourceArn: string | undefined;
834
+ }
835
+ export interface ListTagsForResourceResponse {
836
+ tags?: Record<string, string>;
837
+ }
838
+ export interface TagResourceRequest {
839
+ resourceArn: string | undefined;
840
+ tags: Record<string, string> | undefined;
841
+ }
842
+ export interface TagResourceResponse {}
843
+ export interface UntagResourceRequest {
844
+ resourceArn: string | undefined;
845
+ tagKeys: string[] | undefined;
846
+ }
847
+ export interface UntagResourceResponse {}
848
+ export interface DeleteAgentVersionRequest {
849
+ agentId: string | undefined;
850
+ agentVersion: string | undefined;
851
+ skipResourceInUseCheck?: boolean;
852
+ }
853
+ export interface DeleteAgentVersionResponse {
854
+ agentId: string | undefined;
855
+ agentVersion: string | undefined;
856
+ agentStatus: AgentStatus | undefined;
857
+ }
858
+ export interface GetAgentVersionRequest {
859
+ agentId: string | undefined;
860
+ agentVersion: string | undefined;
861
+ }
862
+ export interface GetAgentVersionResponse {
863
+ agentVersion: AgentVersion | undefined;
864
+ }
865
+ export interface ListAgentVersionsRequest {
866
+ agentId: string | undefined;
867
+ maxResults?: number;
868
+ nextToken?: string;
869
+ }
870
+ export interface ListAgentVersionsResponse {
871
+ agentVersionSummaries: AgentVersionSummary[] | undefined;
872
+ nextToken?: string;
873
+ }
874
+ export declare const APISchemaFilterSensitiveLog: (obj: APISchema) => any;
875
+ export declare const CreateAgentActionGroupRequestFilterSensitiveLog: (
876
+ obj: CreateAgentActionGroupRequest
877
+ ) => any;
878
+ export declare const AgentActionGroupFilterSensitiveLog: (
879
+ obj: AgentActionGroup
880
+ ) => any;
881
+ export declare const CreateAgentActionGroupResponseFilterSensitiveLog: (
882
+ obj: CreateAgentActionGroupResponse
883
+ ) => any;
884
+ export declare const GetAgentActionGroupResponseFilterSensitiveLog: (
885
+ obj: GetAgentActionGroupResponse
886
+ ) => any;
887
+ export declare const UpdateAgentActionGroupRequestFilterSensitiveLog: (
888
+ obj: UpdateAgentActionGroupRequest
889
+ ) => any;
890
+ export declare const UpdateAgentActionGroupResponseFilterSensitiveLog: (
891
+ obj: UpdateAgentActionGroupResponse
892
+ ) => any;
893
+ export declare const PromptOverrideConfigurationFilterSensitiveLog: (
894
+ obj: PromptOverrideConfiguration
895
+ ) => any;
896
+ export declare const AgentFilterSensitiveLog: (obj: Agent) => any;
897
+ export declare const CreateAgentRequestFilterSensitiveLog: (
898
+ obj: CreateAgentRequest
899
+ ) => any;
900
+ export declare const CreateAgentResponseFilterSensitiveLog: (
901
+ obj: CreateAgentResponse
902
+ ) => any;
903
+ export declare const GetAgentResponseFilterSensitiveLog: (
904
+ obj: GetAgentResponse
905
+ ) => any;
906
+ export declare const UpdateAgentRequestFilterSensitiveLog: (
907
+ obj: UpdateAgentRequest
908
+ ) => any;
909
+ export declare const UpdateAgentResponseFilterSensitiveLog: (
910
+ obj: UpdateAgentResponse
911
+ ) => any;
912
+ export declare const AgentVersionFilterSensitiveLog: (obj: AgentVersion) => any;
913
+ export declare const GetAgentVersionResponseFilterSensitiveLog: (
914
+ obj: GetAgentVersionResponse
915
+ ) => any;