cdk-lambda-subminute 2.0.311 → 2.0.313

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 (76) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/README.md +1 -1
  4. package/node_modules/aws-sdk/apis/accessanalyzer-2019-11-01.min.json +101 -95
  5. package/node_modules/aws-sdk/apis/bedrock-2023-04-20.min.json +91 -71
  6. package/node_modules/aws-sdk/apis/bedrock-agent-2023-06-05.examples.json +5 -0
  7. package/node_modules/aws-sdk/apis/bedrock-agent-2023-06-05.min.json +2322 -0
  8. package/node_modules/aws-sdk/apis/bedrock-agent-2023-06-05.paginators.json +52 -0
  9. package/node_modules/aws-sdk/apis/bedrock-agent-runtime-2023-07-26.examples.json +5 -0
  10. package/node_modules/aws-sdk/apis/bedrock-agent-runtime-2023-07-26.min.json +697 -0
  11. package/node_modules/aws-sdk/apis/bedrock-agent-runtime-2023-07-26.paginators.json +9 -0
  12. package/node_modules/aws-sdk/apis/bedrock-runtime-2023-09-30.min.json +18 -18
  13. package/node_modules/aws-sdk/apis/bedrock-runtime-2023-09-30.waiters2.json +5 -0
  14. package/node_modules/aws-sdk/apis/cleanrooms-2022-02-17.min.json +1222 -83
  15. package/node_modules/aws-sdk/apis/cleanrooms-2022-02-17.paginators.json +36 -0
  16. package/node_modules/aws-sdk/apis/cleanroomsml-2023-09-06.examples.json +5 -0
  17. package/node_modules/aws-sdk/apis/cleanroomsml-2023-09-06.min.json +1226 -0
  18. package/node_modules/aws-sdk/apis/cleanroomsml-2023-09-06.paginators.json +34 -0
  19. package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +1180 -417
  20. package/node_modules/aws-sdk/apis/connect-2017-08-08.paginators.json +11 -0
  21. package/node_modules/aws-sdk/apis/customer-profiles-2020-08-15.min.json +129 -84
  22. package/node_modules/aws-sdk/apis/elasticache-2015-02-02.min.json +481 -132
  23. package/node_modules/aws-sdk/apis/elasticache-2015-02-02.paginators.json +12 -0
  24. package/node_modules/aws-sdk/apis/metadata.json +17 -0
  25. package/node_modules/aws-sdk/apis/opensearch-2021-01-01.min.json +369 -195
  26. package/node_modules/aws-sdk/apis/opensearchserverless-2021-11-01.min.json +49 -46
  27. package/node_modules/aws-sdk/apis/qbusiness-2023-11-27.examples.json +5 -0
  28. package/node_modules/aws-sdk/apis/qbusiness-2023-11-27.min.json +3025 -0
  29. package/node_modules/aws-sdk/apis/qbusiness-2023-11-27.paginators.json +76 -0
  30. package/node_modules/aws-sdk/apis/qconnect-2020-10-19.examples.json +5 -0
  31. package/node_modules/aws-sdk/apis/qconnect-2020-10-19.min.json +2499 -0
  32. package/node_modules/aws-sdk/apis/qconnect-2020-10-19.paginators.json +64 -0
  33. package/node_modules/aws-sdk/apis/runtime.sagemaker-2017-05-13.min.json +8 -0
  34. package/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json +128 -128
  35. package/node_modules/aws-sdk/apis/s3-2006-03-01.min.json +649 -186
  36. package/node_modules/aws-sdk/apis/s3-2006-03-01.paginators.json +6 -0
  37. package/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +121 -115
  38. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +1688 -980
  39. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.paginators.json +18 -0
  40. package/node_modules/aws-sdk/clients/accessanalyzer.d.ts +13 -2
  41. package/node_modules/aws-sdk/clients/all.d.ts +5 -0
  42. package/node_modules/aws-sdk/clients/all.js +6 -1
  43. package/node_modules/aws-sdk/clients/applicationautoscaling.d.ts +31 -31
  44. package/node_modules/aws-sdk/clients/bedrock.d.ts +53 -17
  45. package/node_modules/aws-sdk/clients/bedrockagent.d.ts +1258 -0
  46. package/node_modules/aws-sdk/clients/bedrockagent.js +18 -0
  47. package/node_modules/aws-sdk/clients/bedrockagentruntime.d.ts +439 -0
  48. package/node_modules/aws-sdk/clients/bedrockagentruntime.js +18 -0
  49. package/node_modules/aws-sdk/clients/bedrockruntime.d.ts +13 -13
  50. package/node_modules/aws-sdk/clients/bedrockruntime.js +1 -0
  51. package/node_modules/aws-sdk/clients/cleanrooms.d.ts +1292 -177
  52. package/node_modules/aws-sdk/clients/cleanroomsml.d.ts +1232 -0
  53. package/node_modules/aws-sdk/clients/cleanroomsml.js +18 -0
  54. package/node_modules/aws-sdk/clients/connect.d.ts +886 -20
  55. package/node_modules/aws-sdk/clients/customerprofiles.d.ts +40 -0
  56. package/node_modules/aws-sdk/clients/elasticache.d.ts +484 -12
  57. package/node_modules/aws-sdk/clients/opensearch.d.ts +170 -1
  58. package/node_modules/aws-sdk/clients/opensearchserverless.d.ts +13 -0
  59. package/node_modules/aws-sdk/clients/qbusiness.d.ts +3231 -0
  60. package/node_modules/aws-sdk/clients/qbusiness.js +18 -0
  61. package/node_modules/aws-sdk/clients/qconnect.d.ts +2552 -0
  62. package/node_modules/aws-sdk/clients/qconnect.js +18 -0
  63. package/node_modules/aws-sdk/clients/s3.d.ts +795 -666
  64. package/node_modules/aws-sdk/clients/s3control.d.ts +135 -125
  65. package/node_modules/aws-sdk/clients/sagemaker.d.ts +950 -44
  66. package/node_modules/aws-sdk/clients/sagemakerruntime.d.ts +11 -2
  67. package/node_modules/aws-sdk/clients/sts.d.ts +1 -1
  68. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
  69. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +286 -94
  70. package/node_modules/aws-sdk/dist/aws-sdk.js +2343 -722
  71. package/node_modules/aws-sdk/dist/aws-sdk.min.js +83 -82
  72. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +10 -0
  73. package/node_modules/aws-sdk/lib/core.js +1 -1
  74. package/node_modules/aws-sdk/package.json +1 -1
  75. package/package.json +3 -3
  76. package/node_modules/aws-sdk/CHANGELOG.md +0 -9325
@@ -0,0 +1,1258 @@
1
+ import {Request} from '../lib/request';
2
+ import {Response} from '../lib/response';
3
+ import {AWSError} from '../lib/error';
4
+ import {Service} from '../lib/service';
5
+ import {ServiceConfigurationOptions} from '../lib/service';
6
+ import {ConfigBase as Config} from '../lib/config-base';
7
+ interface Blob {}
8
+ declare class BedrockAgent extends Service {
9
+ /**
10
+ * Constructs a service object. This object has one method for each API operation.
11
+ */
12
+ constructor(options?: BedrockAgent.Types.ClientConfiguration)
13
+ config: Config & BedrockAgent.Types.ClientConfiguration;
14
+ /**
15
+ * Associate a Knowledge Base to an existing Amazon Bedrock Agent
16
+ */
17
+ associateAgentKnowledgeBase(params: BedrockAgent.Types.AssociateAgentKnowledgeBaseRequest, callback?: (err: AWSError, data: BedrockAgent.Types.AssociateAgentKnowledgeBaseResponse) => void): Request<BedrockAgent.Types.AssociateAgentKnowledgeBaseResponse, AWSError>;
18
+ /**
19
+ * Associate a Knowledge Base to an existing Amazon Bedrock Agent
20
+ */
21
+ associateAgentKnowledgeBase(callback?: (err: AWSError, data: BedrockAgent.Types.AssociateAgentKnowledgeBaseResponse) => void): Request<BedrockAgent.Types.AssociateAgentKnowledgeBaseResponse, AWSError>;
22
+ /**
23
+ * Creates an Amazon Bedrock Agent
24
+ */
25
+ createAgent(params: BedrockAgent.Types.CreateAgentRequest, callback?: (err: AWSError, data: BedrockAgent.Types.CreateAgentResponse) => void): Request<BedrockAgent.Types.CreateAgentResponse, AWSError>;
26
+ /**
27
+ * Creates an Amazon Bedrock Agent
28
+ */
29
+ createAgent(callback?: (err: AWSError, data: BedrockAgent.Types.CreateAgentResponse) => void): Request<BedrockAgent.Types.CreateAgentResponse, AWSError>;
30
+ /**
31
+ * Creates an Action Group for existing Amazon Bedrock Agent
32
+ */
33
+ createAgentActionGroup(params: BedrockAgent.Types.CreateAgentActionGroupRequest, callback?: (err: AWSError, data: BedrockAgent.Types.CreateAgentActionGroupResponse) => void): Request<BedrockAgent.Types.CreateAgentActionGroupResponse, AWSError>;
34
+ /**
35
+ * Creates an Action Group for existing Amazon Bedrock Agent
36
+ */
37
+ createAgentActionGroup(callback?: (err: AWSError, data: BedrockAgent.Types.CreateAgentActionGroupResponse) => void): Request<BedrockAgent.Types.CreateAgentActionGroupResponse, AWSError>;
38
+ /**
39
+ * Creates an Alias for an existing Amazon Bedrock Agent
40
+ */
41
+ createAgentAlias(params: BedrockAgent.Types.CreateAgentAliasRequest, callback?: (err: AWSError, data: BedrockAgent.Types.CreateAgentAliasResponse) => void): Request<BedrockAgent.Types.CreateAgentAliasResponse, AWSError>;
42
+ /**
43
+ * Creates an Alias for an existing Amazon Bedrock Agent
44
+ */
45
+ createAgentAlias(callback?: (err: AWSError, data: BedrockAgent.Types.CreateAgentAliasResponse) => void): Request<BedrockAgent.Types.CreateAgentAliasResponse, AWSError>;
46
+ /**
47
+ * Create a new data source
48
+ */
49
+ createDataSource(params: BedrockAgent.Types.CreateDataSourceRequest, callback?: (err: AWSError, data: BedrockAgent.Types.CreateDataSourceResponse) => void): Request<BedrockAgent.Types.CreateDataSourceResponse, AWSError>;
50
+ /**
51
+ * Create a new data source
52
+ */
53
+ createDataSource(callback?: (err: AWSError, data: BedrockAgent.Types.CreateDataSourceResponse) => void): Request<BedrockAgent.Types.CreateDataSourceResponse, AWSError>;
54
+ /**
55
+ * Create a new knowledge base
56
+ */
57
+ createKnowledgeBase(params: BedrockAgent.Types.CreateKnowledgeBaseRequest, callback?: (err: AWSError, data: BedrockAgent.Types.CreateKnowledgeBaseResponse) => void): Request<BedrockAgent.Types.CreateKnowledgeBaseResponse, AWSError>;
58
+ /**
59
+ * Create a new knowledge base
60
+ */
61
+ createKnowledgeBase(callback?: (err: AWSError, data: BedrockAgent.Types.CreateKnowledgeBaseResponse) => void): Request<BedrockAgent.Types.CreateKnowledgeBaseResponse, AWSError>;
62
+ /**
63
+ * Deletes an Agent for existing Amazon Bedrock Agent
64
+ */
65
+ deleteAgent(params: BedrockAgent.Types.DeleteAgentRequest, callback?: (err: AWSError, data: BedrockAgent.Types.DeleteAgentResponse) => void): Request<BedrockAgent.Types.DeleteAgentResponse, AWSError>;
66
+ /**
67
+ * Deletes an Agent for existing Amazon Bedrock Agent
68
+ */
69
+ deleteAgent(callback?: (err: AWSError, data: BedrockAgent.Types.DeleteAgentResponse) => void): Request<BedrockAgent.Types.DeleteAgentResponse, AWSError>;
70
+ /**
71
+ * Deletes an Action Group for existing Amazon Bedrock Agent.
72
+ */
73
+ deleteAgentActionGroup(params: BedrockAgent.Types.DeleteAgentActionGroupRequest, callback?: (err: AWSError, data: BedrockAgent.Types.DeleteAgentActionGroupResponse) => void): Request<BedrockAgent.Types.DeleteAgentActionGroupResponse, AWSError>;
74
+ /**
75
+ * Deletes an Action Group for existing Amazon Bedrock Agent.
76
+ */
77
+ deleteAgentActionGroup(callback?: (err: AWSError, data: BedrockAgent.Types.DeleteAgentActionGroupResponse) => void): Request<BedrockAgent.Types.DeleteAgentActionGroupResponse, AWSError>;
78
+ /**
79
+ * Deletes an Alias for a Amazon Bedrock Agent
80
+ */
81
+ deleteAgentAlias(params: BedrockAgent.Types.DeleteAgentAliasRequest, callback?: (err: AWSError, data: BedrockAgent.Types.DeleteAgentAliasResponse) => void): Request<BedrockAgent.Types.DeleteAgentAliasResponse, AWSError>;
82
+ /**
83
+ * Deletes an Alias for a Amazon Bedrock Agent
84
+ */
85
+ deleteAgentAlias(callback?: (err: AWSError, data: BedrockAgent.Types.DeleteAgentAliasResponse) => void): Request<BedrockAgent.Types.DeleteAgentAliasResponse, AWSError>;
86
+ /**
87
+ * Deletes an Agent version for existing Amazon Bedrock Agent
88
+ */
89
+ deleteAgentVersion(params: BedrockAgent.Types.DeleteAgentVersionRequest, callback?: (err: AWSError, data: BedrockAgent.Types.DeleteAgentVersionResponse) => void): Request<BedrockAgent.Types.DeleteAgentVersionResponse, AWSError>;
90
+ /**
91
+ * Deletes an Agent version for existing Amazon Bedrock Agent
92
+ */
93
+ deleteAgentVersion(callback?: (err: AWSError, data: BedrockAgent.Types.DeleteAgentVersionResponse) => void): Request<BedrockAgent.Types.DeleteAgentVersionResponse, AWSError>;
94
+ /**
95
+ * Delete an existing data source
96
+ */
97
+ deleteDataSource(params: BedrockAgent.Types.DeleteDataSourceRequest, callback?: (err: AWSError, data: BedrockAgent.Types.DeleteDataSourceResponse) => void): Request<BedrockAgent.Types.DeleteDataSourceResponse, AWSError>;
98
+ /**
99
+ * Delete an existing data source
100
+ */
101
+ deleteDataSource(callback?: (err: AWSError, data: BedrockAgent.Types.DeleteDataSourceResponse) => void): Request<BedrockAgent.Types.DeleteDataSourceResponse, AWSError>;
102
+ /**
103
+ * Delete an existing knowledge base
104
+ */
105
+ deleteKnowledgeBase(params: BedrockAgent.Types.DeleteKnowledgeBaseRequest, callback?: (err: AWSError, data: BedrockAgent.Types.DeleteKnowledgeBaseResponse) => void): Request<BedrockAgent.Types.DeleteKnowledgeBaseResponse, AWSError>;
106
+ /**
107
+ * Delete an existing knowledge base
108
+ */
109
+ deleteKnowledgeBase(callback?: (err: AWSError, data: BedrockAgent.Types.DeleteKnowledgeBaseResponse) => void): Request<BedrockAgent.Types.DeleteKnowledgeBaseResponse, AWSError>;
110
+ /**
111
+ * Disassociate an existing Knowledge Base from an Amazon Bedrock Agent
112
+ */
113
+ disassociateAgentKnowledgeBase(params: BedrockAgent.Types.DisassociateAgentKnowledgeBaseRequest, callback?: (err: AWSError, data: BedrockAgent.Types.DisassociateAgentKnowledgeBaseResponse) => void): Request<BedrockAgent.Types.DisassociateAgentKnowledgeBaseResponse, AWSError>;
114
+ /**
115
+ * Disassociate an existing Knowledge Base from an Amazon Bedrock Agent
116
+ */
117
+ disassociateAgentKnowledgeBase(callback?: (err: AWSError, data: BedrockAgent.Types.DisassociateAgentKnowledgeBaseResponse) => void): Request<BedrockAgent.Types.DisassociateAgentKnowledgeBaseResponse, AWSError>;
118
+ /**
119
+ * Gets an Agent for existing Amazon Bedrock Agent
120
+ */
121
+ getAgent(params: BedrockAgent.Types.GetAgentRequest, callback?: (err: AWSError, data: BedrockAgent.Types.GetAgentResponse) => void): Request<BedrockAgent.Types.GetAgentResponse, AWSError>;
122
+ /**
123
+ * Gets an Agent for existing Amazon Bedrock Agent
124
+ */
125
+ getAgent(callback?: (err: AWSError, data: BedrockAgent.Types.GetAgentResponse) => void): Request<BedrockAgent.Types.GetAgentResponse, AWSError>;
126
+ /**
127
+ * Gets an Action Group for existing Amazon Bedrock Agent Version
128
+ */
129
+ getAgentActionGroup(params: BedrockAgent.Types.GetAgentActionGroupRequest, callback?: (err: AWSError, data: BedrockAgent.Types.GetAgentActionGroupResponse) => void): Request<BedrockAgent.Types.GetAgentActionGroupResponse, AWSError>;
130
+ /**
131
+ * Gets an Action Group for existing Amazon Bedrock Agent Version
132
+ */
133
+ getAgentActionGroup(callback?: (err: AWSError, data: BedrockAgent.Types.GetAgentActionGroupResponse) => void): Request<BedrockAgent.Types.GetAgentActionGroupResponse, AWSError>;
134
+ /**
135
+ * Describes an Alias for a Amazon Bedrock Agent
136
+ */
137
+ getAgentAlias(params: BedrockAgent.Types.GetAgentAliasRequest, callback?: (err: AWSError, data: BedrockAgent.Types.GetAgentAliasResponse) => void): Request<BedrockAgent.Types.GetAgentAliasResponse, AWSError>;
138
+ /**
139
+ * Describes an Alias for a Amazon Bedrock Agent
140
+ */
141
+ getAgentAlias(callback?: (err: AWSError, data: BedrockAgent.Types.GetAgentAliasResponse) => void): Request<BedrockAgent.Types.GetAgentAliasResponse, AWSError>;
142
+ /**
143
+ * Gets a knowledge base associated to an existing Amazon Bedrock Agent Version
144
+ */
145
+ getAgentKnowledgeBase(params: BedrockAgent.Types.GetAgentKnowledgeBaseRequest, callback?: (err: AWSError, data: BedrockAgent.Types.GetAgentKnowledgeBaseResponse) => void): Request<BedrockAgent.Types.GetAgentKnowledgeBaseResponse, AWSError>;
146
+ /**
147
+ * Gets a knowledge base associated to an existing Amazon Bedrock Agent Version
148
+ */
149
+ getAgentKnowledgeBase(callback?: (err: AWSError, data: BedrockAgent.Types.GetAgentKnowledgeBaseResponse) => void): Request<BedrockAgent.Types.GetAgentKnowledgeBaseResponse, AWSError>;
150
+ /**
151
+ * Gets an Agent version for existing Amazon Bedrock Agent
152
+ */
153
+ getAgentVersion(params: BedrockAgent.Types.GetAgentVersionRequest, callback?: (err: AWSError, data: BedrockAgent.Types.GetAgentVersionResponse) => void): Request<BedrockAgent.Types.GetAgentVersionResponse, AWSError>;
154
+ /**
155
+ * Gets an Agent version for existing Amazon Bedrock Agent
156
+ */
157
+ getAgentVersion(callback?: (err: AWSError, data: BedrockAgent.Types.GetAgentVersionResponse) => void): Request<BedrockAgent.Types.GetAgentVersionResponse, AWSError>;
158
+ /**
159
+ * Get an existing data source
160
+ */
161
+ getDataSource(params: BedrockAgent.Types.GetDataSourceRequest, callback?: (err: AWSError, data: BedrockAgent.Types.GetDataSourceResponse) => void): Request<BedrockAgent.Types.GetDataSourceResponse, AWSError>;
162
+ /**
163
+ * Get an existing data source
164
+ */
165
+ getDataSource(callback?: (err: AWSError, data: BedrockAgent.Types.GetDataSourceResponse) => void): Request<BedrockAgent.Types.GetDataSourceResponse, AWSError>;
166
+ /**
167
+ * Get an ingestion job
168
+ */
169
+ getIngestionJob(params: BedrockAgent.Types.GetIngestionJobRequest, callback?: (err: AWSError, data: BedrockAgent.Types.GetIngestionJobResponse) => void): Request<BedrockAgent.Types.GetIngestionJobResponse, AWSError>;
170
+ /**
171
+ * Get an ingestion job
172
+ */
173
+ getIngestionJob(callback?: (err: AWSError, data: BedrockAgent.Types.GetIngestionJobResponse) => void): Request<BedrockAgent.Types.GetIngestionJobResponse, AWSError>;
174
+ /**
175
+ * Get an existing knowledge base
176
+ */
177
+ getKnowledgeBase(params: BedrockAgent.Types.GetKnowledgeBaseRequest, callback?: (err: AWSError, data: BedrockAgent.Types.GetKnowledgeBaseResponse) => void): Request<BedrockAgent.Types.GetKnowledgeBaseResponse, AWSError>;
178
+ /**
179
+ * Get an existing knowledge base
180
+ */
181
+ getKnowledgeBase(callback?: (err: AWSError, data: BedrockAgent.Types.GetKnowledgeBaseResponse) => void): Request<BedrockAgent.Types.GetKnowledgeBaseResponse, AWSError>;
182
+ /**
183
+ * Lists an Action Group for existing Amazon Bedrock Agent Version
184
+ */
185
+ listAgentActionGroups(params: BedrockAgent.Types.ListAgentActionGroupsRequest, callback?: (err: AWSError, data: BedrockAgent.Types.ListAgentActionGroupsResponse) => void): Request<BedrockAgent.Types.ListAgentActionGroupsResponse, AWSError>;
186
+ /**
187
+ * Lists an Action Group for existing Amazon Bedrock Agent Version
188
+ */
189
+ listAgentActionGroups(callback?: (err: AWSError, data: BedrockAgent.Types.ListAgentActionGroupsResponse) => void): Request<BedrockAgent.Types.ListAgentActionGroupsResponse, AWSError>;
190
+ /**
191
+ * Lists all the Aliases for an Amazon Bedrock Agent
192
+ */
193
+ listAgentAliases(params: BedrockAgent.Types.ListAgentAliasesRequest, callback?: (err: AWSError, data: BedrockAgent.Types.ListAgentAliasesResponse) => void): Request<BedrockAgent.Types.ListAgentAliasesResponse, AWSError>;
194
+ /**
195
+ * Lists all the Aliases for an Amazon Bedrock Agent
196
+ */
197
+ listAgentAliases(callback?: (err: AWSError, data: BedrockAgent.Types.ListAgentAliasesResponse) => void): Request<BedrockAgent.Types.ListAgentAliasesResponse, AWSError>;
198
+ /**
199
+ * List of Knowledge Bases associated to an existing Amazon Bedrock Agent Version
200
+ */
201
+ listAgentKnowledgeBases(params: BedrockAgent.Types.ListAgentKnowledgeBasesRequest, callback?: (err: AWSError, data: BedrockAgent.Types.ListAgentKnowledgeBasesResponse) => void): Request<BedrockAgent.Types.ListAgentKnowledgeBasesResponse, AWSError>;
202
+ /**
203
+ * List of Knowledge Bases associated to an existing Amazon Bedrock Agent Version
204
+ */
205
+ listAgentKnowledgeBases(callback?: (err: AWSError, data: BedrockAgent.Types.ListAgentKnowledgeBasesResponse) => void): Request<BedrockAgent.Types.ListAgentKnowledgeBasesResponse, AWSError>;
206
+ /**
207
+ * Lists Agent Versions
208
+ */
209
+ listAgentVersions(params: BedrockAgent.Types.ListAgentVersionsRequest, callback?: (err: AWSError, data: BedrockAgent.Types.ListAgentVersionsResponse) => void): Request<BedrockAgent.Types.ListAgentVersionsResponse, AWSError>;
210
+ /**
211
+ * Lists Agent Versions
212
+ */
213
+ listAgentVersions(callback?: (err: AWSError, data: BedrockAgent.Types.ListAgentVersionsResponse) => void): Request<BedrockAgent.Types.ListAgentVersionsResponse, AWSError>;
214
+ /**
215
+ * Lists Agents
216
+ */
217
+ listAgents(params: BedrockAgent.Types.ListAgentsRequest, callback?: (err: AWSError, data: BedrockAgent.Types.ListAgentsResponse) => void): Request<BedrockAgent.Types.ListAgentsResponse, AWSError>;
218
+ /**
219
+ * Lists Agents
220
+ */
221
+ listAgents(callback?: (err: AWSError, data: BedrockAgent.Types.ListAgentsResponse) => void): Request<BedrockAgent.Types.ListAgentsResponse, AWSError>;
222
+ /**
223
+ * List data sources
224
+ */
225
+ listDataSources(params: BedrockAgent.Types.ListDataSourcesRequest, callback?: (err: AWSError, data: BedrockAgent.Types.ListDataSourcesResponse) => void): Request<BedrockAgent.Types.ListDataSourcesResponse, AWSError>;
226
+ /**
227
+ * List data sources
228
+ */
229
+ listDataSources(callback?: (err: AWSError, data: BedrockAgent.Types.ListDataSourcesResponse) => void): Request<BedrockAgent.Types.ListDataSourcesResponse, AWSError>;
230
+ /**
231
+ * List ingestion jobs
232
+ */
233
+ listIngestionJobs(params: BedrockAgent.Types.ListIngestionJobsRequest, callback?: (err: AWSError, data: BedrockAgent.Types.ListIngestionJobsResponse) => void): Request<BedrockAgent.Types.ListIngestionJobsResponse, AWSError>;
234
+ /**
235
+ * List ingestion jobs
236
+ */
237
+ listIngestionJobs(callback?: (err: AWSError, data: BedrockAgent.Types.ListIngestionJobsResponse) => void): Request<BedrockAgent.Types.ListIngestionJobsResponse, AWSError>;
238
+ /**
239
+ * List Knowledge Bases
240
+ */
241
+ listKnowledgeBases(params: BedrockAgent.Types.ListKnowledgeBasesRequest, callback?: (err: AWSError, data: BedrockAgent.Types.ListKnowledgeBasesResponse) => void): Request<BedrockAgent.Types.ListKnowledgeBasesResponse, AWSError>;
242
+ /**
243
+ * List Knowledge Bases
244
+ */
245
+ listKnowledgeBases(callback?: (err: AWSError, data: BedrockAgent.Types.ListKnowledgeBasesResponse) => void): Request<BedrockAgent.Types.ListKnowledgeBasesResponse, AWSError>;
246
+ /**
247
+ * List tags for a resource
248
+ */
249
+ listTagsForResource(params: BedrockAgent.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: BedrockAgent.Types.ListTagsForResourceResponse) => void): Request<BedrockAgent.Types.ListTagsForResourceResponse, AWSError>;
250
+ /**
251
+ * List tags for a resource
252
+ */
253
+ listTagsForResource(callback?: (err: AWSError, data: BedrockAgent.Types.ListTagsForResourceResponse) => void): Request<BedrockAgent.Types.ListTagsForResourceResponse, AWSError>;
254
+ /**
255
+ * Prepares an existing Amazon Bedrock Agent to receive runtime requests
256
+ */
257
+ prepareAgent(params: BedrockAgent.Types.PrepareAgentRequest, callback?: (err: AWSError, data: BedrockAgent.Types.PrepareAgentResponse) => void): Request<BedrockAgent.Types.PrepareAgentResponse, AWSError>;
258
+ /**
259
+ * Prepares an existing Amazon Bedrock Agent to receive runtime requests
260
+ */
261
+ prepareAgent(callback?: (err: AWSError, data: BedrockAgent.Types.PrepareAgentResponse) => void): Request<BedrockAgent.Types.PrepareAgentResponse, AWSError>;
262
+ /**
263
+ * Start a new ingestion job
264
+ */
265
+ startIngestionJob(params: BedrockAgent.Types.StartIngestionJobRequest, callback?: (err: AWSError, data: BedrockAgent.Types.StartIngestionJobResponse) => void): Request<BedrockAgent.Types.StartIngestionJobResponse, AWSError>;
266
+ /**
267
+ * Start a new ingestion job
268
+ */
269
+ startIngestionJob(callback?: (err: AWSError, data: BedrockAgent.Types.StartIngestionJobResponse) => void): Request<BedrockAgent.Types.StartIngestionJobResponse, AWSError>;
270
+ /**
271
+ * Tag a resource
272
+ */
273
+ tagResource(params: BedrockAgent.Types.TagResourceRequest, callback?: (err: AWSError, data: BedrockAgent.Types.TagResourceResponse) => void): Request<BedrockAgent.Types.TagResourceResponse, AWSError>;
274
+ /**
275
+ * Tag a resource
276
+ */
277
+ tagResource(callback?: (err: AWSError, data: BedrockAgent.Types.TagResourceResponse) => void): Request<BedrockAgent.Types.TagResourceResponse, AWSError>;
278
+ /**
279
+ * Untag a resource
280
+ */
281
+ untagResource(params: BedrockAgent.Types.UntagResourceRequest, callback?: (err: AWSError, data: BedrockAgent.Types.UntagResourceResponse) => void): Request<BedrockAgent.Types.UntagResourceResponse, AWSError>;
282
+ /**
283
+ * Untag a resource
284
+ */
285
+ untagResource(callback?: (err: AWSError, data: BedrockAgent.Types.UntagResourceResponse) => void): Request<BedrockAgent.Types.UntagResourceResponse, AWSError>;
286
+ /**
287
+ * Updates an existing Amazon Bedrock Agent
288
+ */
289
+ updateAgent(params: BedrockAgent.Types.UpdateAgentRequest, callback?: (err: AWSError, data: BedrockAgent.Types.UpdateAgentResponse) => void): Request<BedrockAgent.Types.UpdateAgentResponse, AWSError>;
290
+ /**
291
+ * Updates an existing Amazon Bedrock Agent
292
+ */
293
+ updateAgent(callback?: (err: AWSError, data: BedrockAgent.Types.UpdateAgentResponse) => void): Request<BedrockAgent.Types.UpdateAgentResponse, AWSError>;
294
+ /**
295
+ * Updates an existing Action Group for Amazon Bedrock Agent
296
+ */
297
+ updateAgentActionGroup(params: BedrockAgent.Types.UpdateAgentActionGroupRequest, callback?: (err: AWSError, data: BedrockAgent.Types.UpdateAgentActionGroupResponse) => void): Request<BedrockAgent.Types.UpdateAgentActionGroupResponse, AWSError>;
298
+ /**
299
+ * Updates an existing Action Group for Amazon Bedrock Agent
300
+ */
301
+ updateAgentActionGroup(callback?: (err: AWSError, data: BedrockAgent.Types.UpdateAgentActionGroupResponse) => void): Request<BedrockAgent.Types.UpdateAgentActionGroupResponse, AWSError>;
302
+ /**
303
+ * Updates an existing Alias for an Amazon Bedrock Agent
304
+ */
305
+ updateAgentAlias(params: BedrockAgent.Types.UpdateAgentAliasRequest, callback?: (err: AWSError, data: BedrockAgent.Types.UpdateAgentAliasResponse) => void): Request<BedrockAgent.Types.UpdateAgentAliasResponse, AWSError>;
306
+ /**
307
+ * Updates an existing Alias for an Amazon Bedrock Agent
308
+ */
309
+ updateAgentAlias(callback?: (err: AWSError, data: BedrockAgent.Types.UpdateAgentAliasResponse) => void): Request<BedrockAgent.Types.UpdateAgentAliasResponse, AWSError>;
310
+ /**
311
+ * Updates an existing Knowledge Base associated to an Amazon Bedrock Agent
312
+ */
313
+ updateAgentKnowledgeBase(params: BedrockAgent.Types.UpdateAgentKnowledgeBaseRequest, callback?: (err: AWSError, data: BedrockAgent.Types.UpdateAgentKnowledgeBaseResponse) => void): Request<BedrockAgent.Types.UpdateAgentKnowledgeBaseResponse, AWSError>;
314
+ /**
315
+ * Updates an existing Knowledge Base associated to an Amazon Bedrock Agent
316
+ */
317
+ updateAgentKnowledgeBase(callback?: (err: AWSError, data: BedrockAgent.Types.UpdateAgentKnowledgeBaseResponse) => void): Request<BedrockAgent.Types.UpdateAgentKnowledgeBaseResponse, AWSError>;
318
+ /**
319
+ * Update an existing data source
320
+ */
321
+ updateDataSource(params: BedrockAgent.Types.UpdateDataSourceRequest, callback?: (err: AWSError, data: BedrockAgent.Types.UpdateDataSourceResponse) => void): Request<BedrockAgent.Types.UpdateDataSourceResponse, AWSError>;
322
+ /**
323
+ * Update an existing data source
324
+ */
325
+ updateDataSource(callback?: (err: AWSError, data: BedrockAgent.Types.UpdateDataSourceResponse) => void): Request<BedrockAgent.Types.UpdateDataSourceResponse, AWSError>;
326
+ /**
327
+ * Update an existing knowledge base
328
+ */
329
+ updateKnowledgeBase(params: BedrockAgent.Types.UpdateKnowledgeBaseRequest, callback?: (err: AWSError, data: BedrockAgent.Types.UpdateKnowledgeBaseResponse) => void): Request<BedrockAgent.Types.UpdateKnowledgeBaseResponse, AWSError>;
330
+ /**
331
+ * Update an existing knowledge base
332
+ */
333
+ updateKnowledgeBase(callback?: (err: AWSError, data: BedrockAgent.Types.UpdateKnowledgeBaseResponse) => void): Request<BedrockAgent.Types.UpdateKnowledgeBaseResponse, AWSError>;
334
+ }
335
+ declare namespace BedrockAgent {
336
+ export interface APISchema {
337
+ s3?: S3Identifier;
338
+ payload?: Payload;
339
+ }
340
+ export interface ActionGroupExecutor {
341
+ lambda?: LambdaArn;
342
+ }
343
+ export type ActionGroupSignature = "AMAZON.UserInput"|string;
344
+ export type ActionGroupState = "ENABLED"|"DISABLED"|string;
345
+ export type ActionGroupSummaries = ActionGroupSummary[];
346
+ export interface ActionGroupSummary {
347
+ actionGroupId: Id;
348
+ actionGroupName: Name;
349
+ actionGroupState: ActionGroupState;
350
+ description?: Description;
351
+ updatedAt: DateTimestamp;
352
+ }
353
+ export interface Agent {
354
+ agentId: Id;
355
+ agentName: Name;
356
+ agentArn: AgentArn;
357
+ agentVersion: DraftVersion;
358
+ clientToken?: ClientToken;
359
+ instruction?: Instruction;
360
+ agentStatus: AgentStatus;
361
+ foundationModel?: ModelIdentifier;
362
+ description?: Description;
363
+ idleSessionTTLInSeconds: SessionTTL;
364
+ agentResourceRoleArn: AgentRoleArn;
365
+ customerEncryptionKeyArn?: KmsKeyArn;
366
+ createdAt: DateTimestamp;
367
+ updatedAt: DateTimestamp;
368
+ preparedAt?: DateTimestamp;
369
+ failureReasons?: FailureReasons;
370
+ recommendedActions?: RecommendedActions;
371
+ promptOverrideConfiguration?: PromptOverrideConfiguration;
372
+ }
373
+ export interface AgentActionGroup {
374
+ agentId: Id;
375
+ agentVersion: Version;
376
+ actionGroupId: Id;
377
+ actionGroupName: Name;
378
+ clientToken?: ClientToken;
379
+ description?: Description;
380
+ createdAt: DateTimestamp;
381
+ updatedAt: DateTimestamp;
382
+ parentActionSignature?: ActionGroupSignature;
383
+ actionGroupExecutor?: ActionGroupExecutor;
384
+ apiSchema?: APISchema;
385
+ actionGroupState: ActionGroupState;
386
+ }
387
+ export interface AgentAlias {
388
+ agentId: Id;
389
+ agentAliasId: AgentAliasId;
390
+ agentAliasName: Name;
391
+ agentAliasArn: AgentAliasArn;
392
+ clientToken?: ClientToken;
393
+ description?: Description;
394
+ routingConfiguration: AgentAliasRoutingConfiguration;
395
+ createdAt: DateTimestamp;
396
+ updatedAt: DateTimestamp;
397
+ agentAliasHistoryEvents?: AgentAliasHistoryEvents;
398
+ agentAliasStatus: AgentAliasStatus;
399
+ }
400
+ export type AgentAliasArn = string;
401
+ export interface AgentAliasHistoryEvent {
402
+ routingConfiguration?: AgentAliasRoutingConfiguration;
403
+ endDate?: DateTimestamp;
404
+ startDate?: DateTimestamp;
405
+ }
406
+ export type AgentAliasHistoryEvents = AgentAliasHistoryEvent[];
407
+ export type AgentAliasId = string;
408
+ export type AgentAliasRoutingConfiguration = AgentAliasRoutingConfigurationListItem[];
409
+ export interface AgentAliasRoutingConfigurationListItem {
410
+ agentVersion: Version;
411
+ }
412
+ export type AgentAliasStatus = "CREATING"|"PREPARED"|"FAILED"|"UPDATING"|"DELETING"|string;
413
+ export type AgentAliasSummaries = AgentAliasSummary[];
414
+ export interface AgentAliasSummary {
415
+ agentAliasId: AgentAliasId;
416
+ agentAliasName: Name;
417
+ description?: Description;
418
+ routingConfiguration?: AgentAliasRoutingConfiguration;
419
+ agentAliasStatus: AgentAliasStatus;
420
+ createdAt: DateTimestamp;
421
+ updatedAt: DateTimestamp;
422
+ }
423
+ export type AgentArn = string;
424
+ export interface AgentKnowledgeBase {
425
+ agentId: Id;
426
+ agentVersion: Version;
427
+ knowledgeBaseId: Id;
428
+ description: Description;
429
+ createdAt: DateTimestamp;
430
+ updatedAt: DateTimestamp;
431
+ knowledgeBaseState: KnowledgeBaseState;
432
+ }
433
+ export type AgentKnowledgeBaseSummaries = AgentKnowledgeBaseSummary[];
434
+ export interface AgentKnowledgeBaseSummary {
435
+ knowledgeBaseId: Id;
436
+ description?: Description;
437
+ knowledgeBaseState: KnowledgeBaseState;
438
+ updatedAt: DateTimestamp;
439
+ }
440
+ export type AgentRoleArn = string;
441
+ export type AgentStatus = "CREATING"|"PREPARING"|"PREPARED"|"NOT_PREPARED"|"DELETING"|"FAILED"|"VERSIONING"|"UPDATING"|string;
442
+ export type AgentSummaries = AgentSummary[];
443
+ export interface AgentSummary {
444
+ agentId: Id;
445
+ agentName: Name;
446
+ agentStatus: AgentStatus;
447
+ description?: Description;
448
+ updatedAt: DateTimestamp;
449
+ latestAgentVersion?: Version;
450
+ }
451
+ export interface AgentVersion {
452
+ agentId: Id;
453
+ agentName: Name;
454
+ agentArn: AgentArn;
455
+ version: NumericalVersion;
456
+ instruction?: Instruction;
457
+ agentStatus: AgentStatus;
458
+ foundationModel?: ModelIdentifier;
459
+ description?: Description;
460
+ idleSessionTTLInSeconds: SessionTTL;
461
+ agentResourceRoleArn: AgentRoleArn;
462
+ customerEncryptionKeyArn?: KmsKeyArn;
463
+ createdAt: DateTimestamp;
464
+ updatedAt: DateTimestamp;
465
+ failureReasons?: FailureReasons;
466
+ recommendedActions?: RecommendedActions;
467
+ promptOverrideConfiguration?: PromptOverrideConfiguration;
468
+ }
469
+ export type AgentVersionSummaries = AgentVersionSummary[];
470
+ export interface AgentVersionSummary {
471
+ agentName: Name;
472
+ agentStatus: AgentStatus;
473
+ agentVersion: Version;
474
+ createdAt: DateTimestamp;
475
+ updatedAt: DateTimestamp;
476
+ description?: Description;
477
+ }
478
+ export interface AssociateAgentKnowledgeBaseRequest {
479
+ /**
480
+ * Id generated at the server side when an Agent is created
481
+ */
482
+ agentId: Id;
483
+ /**
484
+ * Draft Version of the Agent.
485
+ */
486
+ agentVersion: DraftVersion;
487
+ knowledgeBaseId: Id;
488
+ description: Description;
489
+ knowledgeBaseState?: KnowledgeBaseState;
490
+ }
491
+ export interface AssociateAgentKnowledgeBaseResponse {
492
+ agentKnowledgeBase: AgentKnowledgeBase;
493
+ }
494
+ export type BasePromptTemplate = string;
495
+ export type BedrockEmbeddingModelArn = string;
496
+ export type Boolean = boolean;
497
+ export interface ChunkingConfiguration {
498
+ chunkingStrategy: ChunkingStrategy;
499
+ fixedSizeChunkingConfiguration?: FixedSizeChunkingConfiguration;
500
+ }
501
+ export type ChunkingStrategy = "FIXED_SIZE"|"NONE"|string;
502
+ export type ClientToken = string;
503
+ export interface CreateAgentActionGroupRequest {
504
+ /**
505
+ * Id generated at the server side when an Agent is created
506
+ */
507
+ agentId: Id;
508
+ /**
509
+ * Draft Version of the Agent.
510
+ */
511
+ agentVersion: DraftVersion;
512
+ actionGroupName: Name;
513
+ clientToken?: ClientToken;
514
+ description?: Description;
515
+ parentActionGroupSignature?: ActionGroupSignature;
516
+ actionGroupExecutor?: ActionGroupExecutor;
517
+ apiSchema?: APISchema;
518
+ actionGroupState?: ActionGroupState;
519
+ }
520
+ export interface CreateAgentActionGroupResponse {
521
+ agentActionGroup: AgentActionGroup;
522
+ }
523
+ export interface CreateAgentAliasRequest {
524
+ /**
525
+ * Id generated at the server side when an Agent is created
526
+ */
527
+ agentId: Id;
528
+ agentAliasName: Name;
529
+ clientToken?: ClientToken;
530
+ description?: Description;
531
+ routingConfiguration?: AgentAliasRoutingConfiguration;
532
+ tags?: TagsMap;
533
+ }
534
+ export interface CreateAgentAliasResponse {
535
+ agentAlias: AgentAlias;
536
+ }
537
+ export interface CreateAgentRequest {
538
+ agentName: Name;
539
+ clientToken?: ClientToken;
540
+ instruction?: Instruction;
541
+ foundationModel?: ModelIdentifier;
542
+ description?: Description;
543
+ idleSessionTTLInSeconds?: SessionTTL;
544
+ agentResourceRoleArn: AgentRoleArn;
545
+ customerEncryptionKeyArn?: KmsKeyArn;
546
+ tags?: TagsMap;
547
+ promptOverrideConfiguration?: PromptOverrideConfiguration;
548
+ }
549
+ export interface CreateAgentResponse {
550
+ agent: Agent;
551
+ }
552
+ export interface CreateDataSourceRequest {
553
+ knowledgeBaseId: Id;
554
+ clientToken?: ClientToken;
555
+ name: Name;
556
+ description?: Description;
557
+ dataSourceConfiguration: DataSourceConfiguration;
558
+ serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
559
+ vectorIngestionConfiguration?: VectorIngestionConfiguration;
560
+ }
561
+ export interface CreateDataSourceResponse {
562
+ dataSource: DataSource;
563
+ }
564
+ export interface CreateKnowledgeBaseRequest {
565
+ clientToken?: ClientToken;
566
+ name: Name;
567
+ description?: Description;
568
+ roleArn: KnowledgeBaseRoleArn;
569
+ knowledgeBaseConfiguration: KnowledgeBaseConfiguration;
570
+ storageConfiguration: StorageConfiguration;
571
+ tags?: TagsMap;
572
+ }
573
+ export interface CreateKnowledgeBaseResponse {
574
+ knowledgeBase: KnowledgeBase;
575
+ }
576
+ export type CreationMode = "DEFAULT"|"OVERRIDDEN"|string;
577
+ export interface DataSource {
578
+ knowledgeBaseId: Id;
579
+ dataSourceId: Id;
580
+ name: Name;
581
+ status: DataSourceStatus;
582
+ description?: Description;
583
+ dataSourceConfiguration: DataSourceConfiguration;
584
+ serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
585
+ vectorIngestionConfiguration?: VectorIngestionConfiguration;
586
+ createdAt: DateTimestamp;
587
+ updatedAt: DateTimestamp;
588
+ }
589
+ export interface DataSourceConfiguration {
590
+ type: DataSourceType;
591
+ s3Configuration?: S3DataSourceConfiguration;
592
+ }
593
+ export type DataSourceStatus = "AVAILABLE"|"DELETING"|string;
594
+ export type DataSourceSummaries = DataSourceSummary[];
595
+ export interface DataSourceSummary {
596
+ knowledgeBaseId: Id;
597
+ dataSourceId: Id;
598
+ name: Name;
599
+ status: DataSourceStatus;
600
+ description?: Description;
601
+ updatedAt: DateTimestamp;
602
+ }
603
+ export type DataSourceType = "S3"|string;
604
+ export type DateTimestamp = Date;
605
+ export interface DeleteAgentActionGroupRequest {
606
+ /**
607
+ * Id generated at the server side when an Agent is created
608
+ */
609
+ agentId: Id;
610
+ /**
611
+ * Draft Version of the Agent.
612
+ */
613
+ agentVersion: DraftVersion;
614
+ /**
615
+ * Id generated at the server side when an Agent ActionGroup is created
616
+ */
617
+ actionGroupId: Id;
618
+ /**
619
+ * Skips checking if resource is in use when set to true. Defaults to false
620
+ */
621
+ skipResourceInUseCheck?: Boolean;
622
+ }
623
+ export interface DeleteAgentActionGroupResponse {
624
+ }
625
+ export interface DeleteAgentAliasRequest {
626
+ /**
627
+ * Id generated at the server side when an Agent is created
628
+ */
629
+ agentId: Id;
630
+ /**
631
+ * Id generated at the server side when an Agent Alias is created
632
+ */
633
+ agentAliasId: AgentAliasId;
634
+ }
635
+ export interface DeleteAgentAliasResponse {
636
+ agentId: Id;
637
+ agentAliasId: AgentAliasId;
638
+ agentAliasStatus: AgentAliasStatus;
639
+ }
640
+ export interface DeleteAgentRequest {
641
+ /**
642
+ * Id generated at the server side when an Agent is created
643
+ */
644
+ agentId: Id;
645
+ /**
646
+ * Skips checking if resource is in use when set to true. Defaults to false
647
+ */
648
+ skipResourceInUseCheck?: Boolean;
649
+ }
650
+ export interface DeleteAgentResponse {
651
+ agentId: Id;
652
+ agentStatus: AgentStatus;
653
+ }
654
+ export interface DeleteAgentVersionRequest {
655
+ /**
656
+ * Id generated at the server side when an Agent is created
657
+ */
658
+ agentId: Id;
659
+ agentVersion: NumericalVersion;
660
+ /**
661
+ * Skips checking if resource is in use when set to true. Defaults to false
662
+ */
663
+ skipResourceInUseCheck?: Boolean;
664
+ }
665
+ export interface DeleteAgentVersionResponse {
666
+ agentId: Id;
667
+ agentVersion: NumericalVersion;
668
+ agentStatus: AgentStatus;
669
+ }
670
+ export interface DeleteDataSourceRequest {
671
+ knowledgeBaseId: Id;
672
+ dataSourceId: Id;
673
+ }
674
+ export interface DeleteDataSourceResponse {
675
+ knowledgeBaseId: Id;
676
+ dataSourceId: Id;
677
+ status: DataSourceStatus;
678
+ }
679
+ export interface DeleteKnowledgeBaseRequest {
680
+ knowledgeBaseId: Id;
681
+ }
682
+ export interface DeleteKnowledgeBaseResponse {
683
+ knowledgeBaseId: Id;
684
+ status: KnowledgeBaseStatus;
685
+ }
686
+ export type Description = string;
687
+ export interface DisassociateAgentKnowledgeBaseRequest {
688
+ /**
689
+ * Id generated at the server side when an Agent is created
690
+ */
691
+ agentId: Id;
692
+ /**
693
+ * Draft Version of the Agent.
694
+ */
695
+ agentVersion: DraftVersion;
696
+ /**
697
+ * Id generated at the server side when a Knowledge Base is associated to an Agent
698
+ */
699
+ knowledgeBaseId: Id;
700
+ }
701
+ export interface DisassociateAgentKnowledgeBaseResponse {
702
+ }
703
+ export type DraftVersion = string;
704
+ export type FailureReason = string;
705
+ export type FailureReasons = FailureReason[];
706
+ export type FieldName = string;
707
+ export interface FixedSizeChunkingConfiguration {
708
+ /**
709
+ * The maximum number of tokens per chunk.
710
+ */
711
+ maxTokens: FixedSizeChunkingConfigurationMaxTokensInteger;
712
+ /**
713
+ * The overlap percentage between adjacent chunks.
714
+ */
715
+ overlapPercentage: FixedSizeChunkingConfigurationOverlapPercentageInteger;
716
+ }
717
+ export type FixedSizeChunkingConfigurationMaxTokensInteger = number;
718
+ export type FixedSizeChunkingConfigurationOverlapPercentageInteger = number;
719
+ export interface GetAgentActionGroupRequest {
720
+ /**
721
+ * Id generated at the server side when an Agent is created
722
+ */
723
+ agentId: Id;
724
+ /**
725
+ * Version number generated when a version is created
726
+ */
727
+ agentVersion: Version;
728
+ /**
729
+ * Id generated at the server side when an Agent Action Group is created
730
+ */
731
+ actionGroupId: Id;
732
+ }
733
+ export interface GetAgentActionGroupResponse {
734
+ agentActionGroup: AgentActionGroup;
735
+ }
736
+ export interface GetAgentAliasRequest {
737
+ /**
738
+ * Id generated at the server side when an Agent is created
739
+ */
740
+ agentId: Id;
741
+ /**
742
+ * Id generated at the server side when an Agent Alias is created
743
+ */
744
+ agentAliasId: AgentAliasId;
745
+ }
746
+ export interface GetAgentAliasResponse {
747
+ agentAlias: AgentAlias;
748
+ }
749
+ export interface GetAgentKnowledgeBaseRequest {
750
+ /**
751
+ * Id generated at the server side when an Agent is created
752
+ */
753
+ agentId: Id;
754
+ /**
755
+ * Version number generated when a version is created
756
+ */
757
+ agentVersion: Version;
758
+ /**
759
+ * Id generated at the server side when a Knowledge Base is associated
760
+ */
761
+ knowledgeBaseId: Id;
762
+ }
763
+ export interface GetAgentKnowledgeBaseResponse {
764
+ agentKnowledgeBase: AgentKnowledgeBase;
765
+ }
766
+ export interface GetAgentRequest {
767
+ /**
768
+ * Id generated at the server side when an Agent is created
769
+ */
770
+ agentId: Id;
771
+ }
772
+ export interface GetAgentResponse {
773
+ agent: Agent;
774
+ }
775
+ export interface GetAgentVersionRequest {
776
+ /**
777
+ * Id generated at the server side when an Agent is created
778
+ */
779
+ agentId: Id;
780
+ agentVersion: NumericalVersion;
781
+ }
782
+ export interface GetAgentVersionResponse {
783
+ agentVersion: AgentVersion;
784
+ }
785
+ export interface GetDataSourceRequest {
786
+ knowledgeBaseId: Id;
787
+ dataSourceId: Id;
788
+ }
789
+ export interface GetDataSourceResponse {
790
+ dataSource: DataSource;
791
+ }
792
+ export interface GetIngestionJobRequest {
793
+ knowledgeBaseId: Id;
794
+ dataSourceId: Id;
795
+ ingestionJobId: Id;
796
+ }
797
+ export interface GetIngestionJobResponse {
798
+ ingestionJob: IngestionJob;
799
+ }
800
+ export interface GetKnowledgeBaseRequest {
801
+ knowledgeBaseId: Id;
802
+ }
803
+ export interface GetKnowledgeBaseResponse {
804
+ knowledgeBase: KnowledgeBase;
805
+ }
806
+ export type Id = string;
807
+ export interface InferenceConfiguration {
808
+ temperature?: Temperature;
809
+ topP?: TopP;
810
+ topK?: TopK;
811
+ maximumLength?: MaximumLength;
812
+ stopSequences?: StopSequences;
813
+ }
814
+ export interface IngestionJob {
815
+ knowledgeBaseId: Id;
816
+ dataSourceId: Id;
817
+ ingestionJobId: Id;
818
+ description?: Description;
819
+ status: IngestionJobStatus;
820
+ statistics?: IngestionJobStatistics;
821
+ failureReasons?: FailureReasons;
822
+ startedAt: DateTimestamp;
823
+ updatedAt: DateTimestamp;
824
+ }
825
+ export interface IngestionJobFilter {
826
+ attribute: IngestionJobFilterAttribute;
827
+ operator: IngestionJobFilterOperator;
828
+ values: IngestionJobFilterValues;
829
+ }
830
+ export type IngestionJobFilterAttribute = "STATUS"|string;
831
+ export type IngestionJobFilterOperator = "EQ"|string;
832
+ export type IngestionJobFilterValue = string;
833
+ export type IngestionJobFilterValues = IngestionJobFilterValue[];
834
+ export type IngestionJobFilters = IngestionJobFilter[];
835
+ export interface IngestionJobSortBy {
836
+ attribute: IngestionJobSortByAttribute;
837
+ order: SortOrder;
838
+ }
839
+ export type IngestionJobSortByAttribute = "STATUS"|"STARTED_AT"|string;
840
+ export interface IngestionJobStatistics {
841
+ /**
842
+ * Number of scanned documents
843
+ */
844
+ numberOfDocumentsScanned?: PrimitiveLong;
845
+ /**
846
+ * Number of indexed documents
847
+ */
848
+ numberOfNewDocumentsIndexed?: PrimitiveLong;
849
+ /**
850
+ * Number of modified documents indexed
851
+ */
852
+ numberOfModifiedDocumentsIndexed?: PrimitiveLong;
853
+ /**
854
+ * Number of deleted documents
855
+ */
856
+ numberOfDocumentsDeleted?: PrimitiveLong;
857
+ /**
858
+ * Number of failed documents
859
+ */
860
+ numberOfDocumentsFailed?: PrimitiveLong;
861
+ }
862
+ export type IngestionJobStatus = "STARTING"|"IN_PROGRESS"|"COMPLETE"|"FAILED"|string;
863
+ export type IngestionJobSummaries = IngestionJobSummary[];
864
+ export interface IngestionJobSummary {
865
+ knowledgeBaseId: Id;
866
+ dataSourceId: Id;
867
+ ingestionJobId: Id;
868
+ description?: Description;
869
+ status: IngestionJobStatus;
870
+ startedAt: DateTimestamp;
871
+ updatedAt: DateTimestamp;
872
+ statistics?: IngestionJobStatistics;
873
+ }
874
+ export type Instruction = string;
875
+ export type KmsKeyArn = string;
876
+ export interface KnowledgeBase {
877
+ knowledgeBaseId: Id;
878
+ name: Name;
879
+ knowledgeBaseArn: KnowledgeBaseArn;
880
+ description?: Description;
881
+ roleArn: KnowledgeBaseRoleArn;
882
+ knowledgeBaseConfiguration: KnowledgeBaseConfiguration;
883
+ storageConfiguration: StorageConfiguration;
884
+ status: KnowledgeBaseStatus;
885
+ createdAt: DateTimestamp;
886
+ updatedAt: DateTimestamp;
887
+ failureReasons?: FailureReasons;
888
+ }
889
+ export type KnowledgeBaseArn = string;
890
+ export interface KnowledgeBaseConfiguration {
891
+ type: KnowledgeBaseType;
892
+ vectorKnowledgeBaseConfiguration?: VectorKnowledgeBaseConfiguration;
893
+ }
894
+ export type KnowledgeBaseRoleArn = string;
895
+ export type KnowledgeBaseState = "ENABLED"|"DISABLED"|string;
896
+ export type KnowledgeBaseStatus = "CREATING"|"ACTIVE"|"DELETING"|"UPDATING"|"FAILED"|string;
897
+ export type KnowledgeBaseStorageType = "OPENSEARCH_SERVERLESS"|"PINECONE"|"REDIS_ENTERPRISE_CLOUD"|string;
898
+ export type KnowledgeBaseSummaries = KnowledgeBaseSummary[];
899
+ export interface KnowledgeBaseSummary {
900
+ knowledgeBaseId: Id;
901
+ name: Name;
902
+ description?: Description;
903
+ status: KnowledgeBaseStatus;
904
+ updatedAt: DateTimestamp;
905
+ }
906
+ export type KnowledgeBaseType = "VECTOR"|string;
907
+ export type LambdaArn = string;
908
+ export interface ListAgentActionGroupsRequest {
909
+ /**
910
+ * Id generated at the server side when an Agent is Listed
911
+ */
912
+ agentId: Id;
913
+ /**
914
+ * Id generated at the server side when an Agent is Listed
915
+ */
916
+ agentVersion: Version;
917
+ maxResults?: MaxResults;
918
+ nextToken?: NextToken;
919
+ }
920
+ export interface ListAgentActionGroupsResponse {
921
+ actionGroupSummaries: ActionGroupSummaries;
922
+ nextToken?: NextToken;
923
+ }
924
+ export interface ListAgentAliasesRequest {
925
+ /**
926
+ * Id generated at the server side when an Agent is created
927
+ */
928
+ agentId: Id;
929
+ maxResults?: MaxResults;
930
+ nextToken?: NextToken;
931
+ }
932
+ export interface ListAgentAliasesResponse {
933
+ agentAliasSummaries: AgentAliasSummaries;
934
+ nextToken?: NextToken;
935
+ }
936
+ export interface ListAgentKnowledgeBasesRequest {
937
+ /**
938
+ * Id generated at the server side when an Agent is created
939
+ */
940
+ agentId: Id;
941
+ /**
942
+ * Version number generated when a version is created
943
+ */
944
+ agentVersion: Version;
945
+ maxResults?: MaxResults;
946
+ nextToken?: NextToken;
947
+ }
948
+ export interface ListAgentKnowledgeBasesResponse {
949
+ agentKnowledgeBaseSummaries: AgentKnowledgeBaseSummaries;
950
+ nextToken?: NextToken;
951
+ }
952
+ export interface ListAgentVersionsRequest {
953
+ /**
954
+ * Id generated at the server side when an Agent is created
955
+ */
956
+ agentId: Id;
957
+ maxResults?: MaxResults;
958
+ nextToken?: NextToken;
959
+ }
960
+ export interface ListAgentVersionsResponse {
961
+ agentVersionSummaries: AgentVersionSummaries;
962
+ nextToken?: NextToken;
963
+ }
964
+ export interface ListAgentsRequest {
965
+ maxResults?: MaxResults;
966
+ nextToken?: NextToken;
967
+ }
968
+ export interface ListAgentsResponse {
969
+ agentSummaries: AgentSummaries;
970
+ nextToken?: NextToken;
971
+ }
972
+ export interface ListDataSourcesRequest {
973
+ knowledgeBaseId: Id;
974
+ maxResults?: MaxResults;
975
+ nextToken?: NextToken;
976
+ }
977
+ export interface ListDataSourcesResponse {
978
+ dataSourceSummaries: DataSourceSummaries;
979
+ nextToken?: NextToken;
980
+ }
981
+ export interface ListIngestionJobsRequest {
982
+ knowledgeBaseId: Id;
983
+ dataSourceId: Id;
984
+ filters?: IngestionJobFilters;
985
+ sortBy?: IngestionJobSortBy;
986
+ maxResults?: MaxResults;
987
+ nextToken?: NextToken;
988
+ }
989
+ export interface ListIngestionJobsResponse {
990
+ ingestionJobSummaries: IngestionJobSummaries;
991
+ nextToken?: NextToken;
992
+ }
993
+ export interface ListKnowledgeBasesRequest {
994
+ maxResults?: MaxResults;
995
+ nextToken?: NextToken;
996
+ }
997
+ export interface ListKnowledgeBasesResponse {
998
+ knowledgeBaseSummaries: KnowledgeBaseSummaries;
999
+ nextToken?: NextToken;
1000
+ }
1001
+ export interface ListTagsForResourceRequest {
1002
+ resourceArn: TaggableResourcesArn;
1003
+ }
1004
+ export interface ListTagsForResourceResponse {
1005
+ tags?: TagsMap;
1006
+ }
1007
+ export type MaxResults = number;
1008
+ export type MaximumLength = number;
1009
+ export type ModelIdentifier = string;
1010
+ export type Name = string;
1011
+ export type NextToken = string;
1012
+ export type NumericalVersion = string;
1013
+ export type OpenSearchServerlessCollectionArn = string;
1014
+ export interface OpenSearchServerlessConfiguration {
1015
+ collectionArn: OpenSearchServerlessCollectionArn;
1016
+ vectorIndexName: OpenSearchServerlessIndexName;
1017
+ fieldMapping: OpenSearchServerlessFieldMapping;
1018
+ }
1019
+ export interface OpenSearchServerlessFieldMapping {
1020
+ vectorField: FieldName;
1021
+ textField: FieldName;
1022
+ metadataField: FieldName;
1023
+ }
1024
+ export type OpenSearchServerlessIndexName = string;
1025
+ export type Payload = string;
1026
+ export interface PineconeConfiguration {
1027
+ connectionString: PineconeConnectionString;
1028
+ credentialsSecretArn: SecretArn;
1029
+ namespace?: PineconeNamespace;
1030
+ fieldMapping: PineconeFieldMapping;
1031
+ }
1032
+ export type PineconeConnectionString = string;
1033
+ export interface PineconeFieldMapping {
1034
+ textField: FieldName;
1035
+ metadataField: FieldName;
1036
+ }
1037
+ export type PineconeNamespace = string;
1038
+ export interface PrepareAgentRequest {
1039
+ /**
1040
+ * Id generated at the server side when an Agent is created
1041
+ */
1042
+ agentId: Id;
1043
+ }
1044
+ export interface PrepareAgentResponse {
1045
+ agentId: Id;
1046
+ agentStatus: AgentStatus;
1047
+ agentVersion: Version;
1048
+ preparedAt: DateTimestamp;
1049
+ }
1050
+ export type PrimitiveLong = number;
1051
+ export interface PromptConfiguration {
1052
+ promptType?: PromptType;
1053
+ promptCreationMode?: CreationMode;
1054
+ promptState?: PromptState;
1055
+ basePromptTemplate?: BasePromptTemplate;
1056
+ inferenceConfiguration?: InferenceConfiguration;
1057
+ parserMode?: CreationMode;
1058
+ }
1059
+ export type PromptConfigurations = PromptConfiguration[];
1060
+ export interface PromptOverrideConfiguration {
1061
+ promptConfigurations: PromptConfigurations;
1062
+ overrideLambda?: LambdaArn;
1063
+ }
1064
+ export type PromptState = "ENABLED"|"DISABLED"|string;
1065
+ export type PromptType = "PRE_PROCESSING"|"ORCHESTRATION"|"POST_PROCESSING"|"KNOWLEDGE_BASE_RESPONSE_GENERATION"|string;
1066
+ export type RecommendedAction = string;
1067
+ export type RecommendedActions = RecommendedAction[];
1068
+ export interface RedisEnterpriseCloudConfiguration {
1069
+ endpoint: RedisEnterpriseCloudEndpoint;
1070
+ vectorIndexName: RedisEnterpriseCloudIndexName;
1071
+ credentialsSecretArn: SecretArn;
1072
+ fieldMapping: RedisEnterpriseCloudFieldMapping;
1073
+ }
1074
+ export type RedisEnterpriseCloudEndpoint = string;
1075
+ export interface RedisEnterpriseCloudFieldMapping {
1076
+ vectorField: FieldName;
1077
+ textField: FieldName;
1078
+ metadataField: FieldName;
1079
+ }
1080
+ export type RedisEnterpriseCloudIndexName = string;
1081
+ export type S3BucketArn = string;
1082
+ export type S3BucketName = string;
1083
+ export interface S3DataSourceConfiguration {
1084
+ bucketArn: S3BucketArn;
1085
+ inclusionPrefixes?: S3Prefixes;
1086
+ }
1087
+ export interface S3Identifier {
1088
+ s3BucketName?: S3BucketName;
1089
+ s3ObjectKey?: S3ObjectKey;
1090
+ }
1091
+ export type S3ObjectKey = string;
1092
+ export type S3Prefix = string;
1093
+ export type S3Prefixes = S3Prefix[];
1094
+ export type SecretArn = string;
1095
+ export interface ServerSideEncryptionConfiguration {
1096
+ kmsKeyArn?: KmsKeyArn;
1097
+ }
1098
+ export type SessionTTL = number;
1099
+ export type SortOrder = "ASCENDING"|"DESCENDING"|string;
1100
+ export interface StartIngestionJobRequest {
1101
+ knowledgeBaseId: Id;
1102
+ dataSourceId: Id;
1103
+ clientToken?: ClientToken;
1104
+ description?: Description;
1105
+ }
1106
+ export interface StartIngestionJobResponse {
1107
+ ingestionJob: IngestionJob;
1108
+ }
1109
+ export type StopSequences = String[];
1110
+ export interface StorageConfiguration {
1111
+ type: KnowledgeBaseStorageType;
1112
+ opensearchServerlessConfiguration?: OpenSearchServerlessConfiguration;
1113
+ pineconeConfiguration?: PineconeConfiguration;
1114
+ redisEnterpriseCloudConfiguration?: RedisEnterpriseCloudConfiguration;
1115
+ }
1116
+ export type String = string;
1117
+ export type TagKey = string;
1118
+ export type TagKeyList = TagKey[];
1119
+ export interface TagResourceRequest {
1120
+ resourceArn: TaggableResourcesArn;
1121
+ tags: TagsMap;
1122
+ }
1123
+ export interface TagResourceResponse {
1124
+ }
1125
+ export type TagValue = string;
1126
+ export type TaggableResourcesArn = string;
1127
+ export type TagsMap = {[key: string]: TagValue};
1128
+ export type Temperature = number;
1129
+ export type TopK = number;
1130
+ export type TopP = number;
1131
+ export interface UntagResourceRequest {
1132
+ resourceArn: TaggableResourcesArn;
1133
+ tagKeys: TagKeyList;
1134
+ }
1135
+ export interface UntagResourceResponse {
1136
+ }
1137
+ export interface UpdateAgentActionGroupRequest {
1138
+ /**
1139
+ * Id generated at the server side when an Agent is created
1140
+ */
1141
+ agentId: Id;
1142
+ /**
1143
+ * Draft Version of the Agent.
1144
+ */
1145
+ agentVersion: DraftVersion;
1146
+ /**
1147
+ * Id generated at the server side when an Action Group is created under Agent
1148
+ */
1149
+ actionGroupId: Id;
1150
+ actionGroupName: Name;
1151
+ description?: Description;
1152
+ parentActionGroupSignature?: ActionGroupSignature;
1153
+ actionGroupExecutor?: ActionGroupExecutor;
1154
+ actionGroupState?: ActionGroupState;
1155
+ apiSchema?: APISchema;
1156
+ }
1157
+ export interface UpdateAgentActionGroupResponse {
1158
+ agentActionGroup: AgentActionGroup;
1159
+ }
1160
+ export interface UpdateAgentAliasRequest {
1161
+ /**
1162
+ * Id generated at the server side when an Agent is created
1163
+ */
1164
+ agentId: Id;
1165
+ /**
1166
+ * Id generated at the server side when an Agent Alias is created
1167
+ */
1168
+ agentAliasId: AgentAliasId;
1169
+ agentAliasName: Name;
1170
+ description?: Description;
1171
+ routingConfiguration?: AgentAliasRoutingConfiguration;
1172
+ }
1173
+ export interface UpdateAgentAliasResponse {
1174
+ agentAlias: AgentAlias;
1175
+ }
1176
+ export interface UpdateAgentKnowledgeBaseRequest {
1177
+ /**
1178
+ * Id generated at the server side when an Agent is created
1179
+ */
1180
+ agentId: Id;
1181
+ /**
1182
+ * Draft Version of the Agent.
1183
+ */
1184
+ agentVersion: DraftVersion;
1185
+ /**
1186
+ * Id generated at the server side when a Knowledge Base is associated to an Agent
1187
+ */
1188
+ knowledgeBaseId: Id;
1189
+ description?: Description;
1190
+ knowledgeBaseState?: KnowledgeBaseState;
1191
+ }
1192
+ export interface UpdateAgentKnowledgeBaseResponse {
1193
+ agentKnowledgeBase: AgentKnowledgeBase;
1194
+ }
1195
+ export interface UpdateAgentRequest {
1196
+ /**
1197
+ * Id generated at the server side when an Agent is created
1198
+ */
1199
+ agentId: Id;
1200
+ agentName: Name;
1201
+ instruction?: Instruction;
1202
+ foundationModel?: ModelIdentifier;
1203
+ description?: Description;
1204
+ idleSessionTTLInSeconds?: SessionTTL;
1205
+ agentResourceRoleArn: AgentRoleArn;
1206
+ customerEncryptionKeyArn?: KmsKeyArn;
1207
+ promptOverrideConfiguration?: PromptOverrideConfiguration;
1208
+ }
1209
+ export interface UpdateAgentResponse {
1210
+ agent: Agent;
1211
+ }
1212
+ export interface UpdateDataSourceRequest {
1213
+ knowledgeBaseId: Id;
1214
+ dataSourceId: Id;
1215
+ name: Name;
1216
+ description?: Description;
1217
+ dataSourceConfiguration: DataSourceConfiguration;
1218
+ serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
1219
+ vectorIngestionConfiguration?: VectorIngestionConfiguration;
1220
+ }
1221
+ export interface UpdateDataSourceResponse {
1222
+ dataSource: DataSource;
1223
+ }
1224
+ export interface UpdateKnowledgeBaseRequest {
1225
+ knowledgeBaseId: Id;
1226
+ name: Name;
1227
+ description?: Description;
1228
+ roleArn: KnowledgeBaseRoleArn;
1229
+ knowledgeBaseConfiguration: KnowledgeBaseConfiguration;
1230
+ storageConfiguration: StorageConfiguration;
1231
+ }
1232
+ export interface UpdateKnowledgeBaseResponse {
1233
+ knowledgeBase: KnowledgeBase;
1234
+ }
1235
+ export interface VectorIngestionConfiguration {
1236
+ chunkingConfiguration?: ChunkingConfiguration;
1237
+ }
1238
+ export interface VectorKnowledgeBaseConfiguration {
1239
+ embeddingModelArn: BedrockEmbeddingModelArn;
1240
+ }
1241
+ export type Version = string;
1242
+ /**
1243
+ * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
1244
+ */
1245
+ export type apiVersion = "2023-06-05"|"latest"|string;
1246
+ export interface ClientApiVersions {
1247
+ /**
1248
+ * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
1249
+ */
1250
+ apiVersion?: apiVersion;
1251
+ }
1252
+ export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
1253
+ /**
1254
+ * Contains interfaces for use with the BedrockAgent client.
1255
+ */
1256
+ export import Types = BedrockAgent;
1257
+ }
1258
+ export = BedrockAgent;