Debian Codegraph @

models/apis/bedrock-agent/2023-06-05/api-2.json

raw symbols SCIP
1 {
2 "version":"2.0",
3 "metadata":{
4 "apiVersion":"2023-06-05",
5 "endpointPrefix":"bedrock-agent",
6 "jsonVersion":"1.1",
7 "protocol":"rest-json",
8 "serviceFullName":"Agents for Amazon Bedrock",
9 "serviceId":"Bedrock Agent",
10 "signatureVersion":"v4",
11 "signingName":"bedrock",
12 "uid":"bedrock-agent-2023-06-05"
13 },
14 "operations":{
15 "AssociateAgentKnowledgeBase":{
16 "name":"AssociateAgentKnowledgeBase",
17 "http":{
18 "method":"PUT",
19 "requestUri":"/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/",
20 "responseCode":200
21 },
22 "input":{"shape":"AssociateAgentKnowledgeBaseRequest"},
23 "output":{"shape":"AssociateAgentKnowledgeBaseResponse"},
24 "errors":[
25 {"shape":"ThrottlingException"},
26 {"shape":"AccessDeniedException"},
27 {"shape":"ValidationException"},
28 {"shape":"InternalServerException"},
29 {"shape":"ResourceNotFoundException"},
30 {"shape":"ConflictException"},
31 {"shape":"ServiceQuotaExceededException"}
32 ],
33 "idempotent":true
34 },
35 "CreateAgent":{
36 "name":"CreateAgent",
37 "http":{
38 "method":"PUT",
39 "requestUri":"/agents/",
40 "responseCode":202
41 },
42 "input":{"shape":"CreateAgentRequest"},
43 "output":{"shape":"CreateAgentResponse"},
44 "errors":[
45 {"shape":"ThrottlingException"},
46 {"shape":"AccessDeniedException"},
47 {"shape":"ValidationException"},
48 {"shape":"InternalServerException"},
49 {"shape":"ConflictException"},
50 {"shape":"ServiceQuotaExceededException"}
51 ],
52 "idempotent":true
53 },
54 "CreateAgentActionGroup":{
55 "name":"CreateAgentActionGroup",
56 "http":{
57 "method":"PUT",
58 "requestUri":"/agents/{agentId}/agentversions/{agentVersion}/actiongroups/",
59 "responseCode":200
60 },
61 "input":{"shape":"CreateAgentActionGroupRequest"},
62 "output":{"shape":"CreateAgentActionGroupResponse"},
63 "errors":[
64 {"shape":"ThrottlingException"},
65 {"shape":"AccessDeniedException"},
66 {"shape":"ValidationException"},
67 {"shape":"InternalServerException"},
68 {"shape":"ResourceNotFoundException"},
69 {"shape":"ConflictException"},
70 {"shape":"ServiceQuotaExceededException"}
71 ],
72 "idempotent":true
73 },
74 "CreateAgentAlias":{
75 "name":"CreateAgentAlias",
76 "http":{
77 "method":"PUT",
78 "requestUri":"/agents/{agentId}/agentaliases/",
79 "responseCode":202
80 },
81 "input":{"shape":"CreateAgentAliasRequest"},
82 "output":{"shape":"CreateAgentAliasResponse"},
83 "errors":[
84 {"shape":"ThrottlingException"},
85 {"shape":"AccessDeniedException"},
86 {"shape":"ValidationException"},
87 {"shape":"InternalServerException"},
88 {"shape":"ResourceNotFoundException"},
89 {"shape":"ConflictException"},
90 {"shape":"ServiceQuotaExceededException"}
91 ],
92 "idempotent":true
93 },
94 "CreateDataSource":{
95 "name":"CreateDataSource",
96 "http":{
97 "method":"PUT",
98 "requestUri":"/knowledgebases/{knowledgeBaseId}/datasources/",
99 "responseCode":200
100 },
101 "input":{"shape":"CreateDataSourceRequest"},
102 "output":{"shape":"CreateDataSourceResponse"},
103 "errors":[
104 {"shape":"ThrottlingException"},
105 {"shape":"AccessDeniedException"},
106 {"shape":"ValidationException"},
107 {"shape":"InternalServerException"},
108 {"shape":"ResourceNotFoundException"},
109 {"shape":"ConflictException"},
110 {"shape":"ServiceQuotaExceededException"}
111 ],
112 "idempotent":true
113 },
114 "CreateKnowledgeBase":{
115 "name":"CreateKnowledgeBase",
116 "http":{
117 "method":"PUT",
118 "requestUri":"/knowledgebases/",
119 "responseCode":202
120 },
121 "input":{"shape":"CreateKnowledgeBaseRequest"},
122 "output":{"shape":"CreateKnowledgeBaseResponse"},
123 "errors":[
124 {"shape":"ThrottlingException"},
125 {"shape":"AccessDeniedException"},
126 {"shape":"ValidationException"},
127 {"shape":"InternalServerException"},
128 {"shape":"ConflictException"},
129 {"shape":"ServiceQuotaExceededException"}
130 ],
131 "idempotent":true
132 },
133 "DeleteAgent":{
134 "name":"DeleteAgent",
135 "http":{
136 "method":"DELETE",
137 "requestUri":"/agents/{agentId}/",
138 "responseCode":202
139 },
140 "input":{"shape":"DeleteAgentRequest"},
141 "output":{"shape":"DeleteAgentResponse"},
142 "errors":[
143 {"shape":"ThrottlingException"},
144 {"shape":"AccessDeniedException"},
145 {"shape":"ValidationException"},
146 {"shape":"InternalServerException"},
147 {"shape":"ResourceNotFoundException"},
148 {"shape":"ConflictException"}
149 ],
150 "idempotent":true
151 },
152 "DeleteAgentActionGroup":{
153 "name":"DeleteAgentActionGroup",
154 "http":{
155 "method":"DELETE",
156 "requestUri":"/agents/{agentId}/agentversions/{agentVersion}/actiongroups/{actionGroupId}/",
157 "responseCode":204
158 },
159 "input":{"shape":"DeleteAgentActionGroupRequest"},
160 "output":{"shape":"DeleteAgentActionGroupResponse"},
161 "errors":[
162 {"shape":"ThrottlingException"},
163 {"shape":"AccessDeniedException"},
164 {"shape":"ValidationException"},
165 {"shape":"InternalServerException"},
166 {"shape":"ResourceNotFoundException"},
167 {"shape":"ConflictException"}
168 ],
169 "idempotent":true
170 },
171 "DeleteAgentAlias":{
172 "name":"DeleteAgentAlias",
173 "http":{
174 "method":"DELETE",
175 "requestUri":"/agents/{agentId}/agentaliases/{agentAliasId}/",
176 "responseCode":202
177 },
178 "input":{"shape":"DeleteAgentAliasRequest"},
179 "output":{"shape":"DeleteAgentAliasResponse"},
180 "errors":[
181 {"shape":"ThrottlingException"},
182 {"shape":"AccessDeniedException"},
183 {"shape":"ValidationException"},
184 {"shape":"InternalServerException"},
185 {"shape":"ResourceNotFoundException"}
186 ],
187 "idempotent":true
188 },
189 "DeleteAgentVersion":{
190 "name":"DeleteAgentVersion",
191 "http":{
192 "method":"DELETE",
193 "requestUri":"/agents/{agentId}/agentversions/{agentVersion}/",
194 "responseCode":202
195 },
196 "input":{"shape":"DeleteAgentVersionRequest"},
197 "output":{"shape":"DeleteAgentVersionResponse"},
198 "errors":[
199 {"shape":"ThrottlingException"},
200 {"shape":"AccessDeniedException"},
201 {"shape":"ValidationException"},
202 {"shape":"InternalServerException"},
203 {"shape":"ResourceNotFoundException"},
204 {"shape":"ConflictException"}
205 ],
206 "idempotent":true
207 },
208 "DeleteDataSource":{
209 "name":"DeleteDataSource",
210 "http":{
211 "method":"DELETE",
212 "requestUri":"/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}",
213 "responseCode":202
214 },
215 "input":{"shape":"DeleteDataSourceRequest"},
216 "output":{"shape":"DeleteDataSourceResponse"},
217 "errors":[
218 {"shape":"ThrottlingException"},
219 {"shape":"AccessDeniedException"},
220 {"shape":"ValidationException"},
221 {"shape":"InternalServerException"},
222 {"shape":"ResourceNotFoundException"},
223 {"shape":"ConflictException"}
224 ],
225 "idempotent":true
226 },
227 "DeleteKnowledgeBase":{
228 "name":"DeleteKnowledgeBase",
229 "http":{
230 "method":"DELETE",
231 "requestUri":"/knowledgebases/{knowledgeBaseId}",
232 "responseCode":202
233 },
234 "input":{"shape":"DeleteKnowledgeBaseRequest"},
235 "output":{"shape":"DeleteKnowledgeBaseResponse"},
236 "errors":[
237 {"shape":"ThrottlingException"},
238 {"shape":"AccessDeniedException"},
239 {"shape":"ValidationException"},
240 {"shape":"InternalServerException"},
241 {"shape":"ResourceNotFoundException"},
242 {"shape":"ConflictException"}
243 ],
244 "idempotent":true
245 },
246 "DisassociateAgentKnowledgeBase":{
247 "name":"DisassociateAgentKnowledgeBase",
248 "http":{
249 "method":"DELETE",
250 "requestUri":"/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/{knowledgeBaseId}/",
251 "responseCode":204
252 },
253 "input":{"shape":"DisassociateAgentKnowledgeBaseRequest"},
254 "output":{"shape":"DisassociateAgentKnowledgeBaseResponse"},
255 "errors":[
256 {"shape":"ThrottlingException"},
257 {"shape":"AccessDeniedException"},
258 {"shape":"ValidationException"},
259 {"shape":"InternalServerException"},
260 {"shape":"ResourceNotFoundException"},
261 {"shape":"ConflictException"}
262 ],
263 "idempotent":true
264 },
265 "GetAgent":{
266 "name":"GetAgent",
267 "http":{
268 "method":"GET",
269 "requestUri":"/agents/{agentId}/",
270 "responseCode":200
271 },
272 "input":{"shape":"GetAgentRequest"},
273 "output":{"shape":"GetAgentResponse"},
274 "errors":[
275 {"shape":"ThrottlingException"},
276 {"shape":"AccessDeniedException"},
277 {"shape":"ValidationException"},
278 {"shape":"InternalServerException"},
279 {"shape":"ResourceNotFoundException"}
280 ]
281 },
282 "GetAgentActionGroup":{
283 "name":"GetAgentActionGroup",
284 "http":{
285 "method":"GET",
286 "requestUri":"/agents/{agentId}/agentversions/{agentVersion}/actiongroups/{actionGroupId}/",
287 "responseCode":200
288 },
289 "input":{"shape":"GetAgentActionGroupRequest"},
290 "output":{"shape":"GetAgentActionGroupResponse"},
291 "errors":[
292 {"shape":"ThrottlingException"},
293 {"shape":"AccessDeniedException"},
294 {"shape":"ValidationException"},
295 {"shape":"InternalServerException"},
296 {"shape":"ResourceNotFoundException"}
297 ]
298 },
299 "GetAgentAlias":{
300 "name":"GetAgentAlias",
301 "http":{
302 "method":"GET",
303 "requestUri":"/agents/{agentId}/agentaliases/{agentAliasId}/",
304 "responseCode":200
305 },
306 "input":{"shape":"GetAgentAliasRequest"},
307 "output":{"shape":"GetAgentAliasResponse"},
308 "errors":[
309 {"shape":"ThrottlingException"},
310 {"shape":"AccessDeniedException"},
311 {"shape":"ValidationException"},
312 {"shape":"InternalServerException"},
313 {"shape":"ResourceNotFoundException"}
314 ]
315 },
316 "GetAgentKnowledgeBase":{
317 "name":"GetAgentKnowledgeBase",
318 "http":{
319 "method":"GET",
320 "requestUri":"/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/{knowledgeBaseId}/",
321 "responseCode":200
322 },
323 "input":{"shape":"GetAgentKnowledgeBaseRequest"},
324 "output":{"shape":"GetAgentKnowledgeBaseResponse"},
325 "errors":[
326 {"shape":"ThrottlingException"},
327 {"shape":"AccessDeniedException"},
328 {"shape":"ValidationException"},
329 {"shape":"InternalServerException"},
330 {"shape":"ResourceNotFoundException"}
331 ]
332 },
333 "GetAgentVersion":{
334 "name":"GetAgentVersion",
335 "http":{
336 "method":"GET",
337 "requestUri":"/agents/{agentId}/agentversions/{agentVersion}/",
338 "responseCode":200
339 },
340 "input":{"shape":"GetAgentVersionRequest"},
341 "output":{"shape":"GetAgentVersionResponse"},
342 "errors":[
343 {"shape":"ThrottlingException"},
344 {"shape":"AccessDeniedException"},
345 {"shape":"ValidationException"},
346 {"shape":"InternalServerException"},
347 {"shape":"ResourceNotFoundException"}
348 ]
349 },
350 "GetDataSource":{
351 "name":"GetDataSource",
352 "http":{
353 "method":"GET",
354 "requestUri":"/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}",
355 "responseCode":200
356 },
357 "input":{"shape":"GetDataSourceRequest"},
358 "output":{"shape":"GetDataSourceResponse"},
359 "errors":[
360 {"shape":"ThrottlingException"},
361 {"shape":"AccessDeniedException"},
362 {"shape":"ValidationException"},
363 {"shape":"InternalServerException"},
364 {"shape":"ResourceNotFoundException"}
365 ]
366 },
367 "GetIngestionJob":{
368 "name":"GetIngestionJob",
369 "http":{
370 "method":"GET",
371 "requestUri":"/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/{ingestionJobId}",
372 "responseCode":200
373 },
374 "input":{"shape":"GetIngestionJobRequest"},
375 "output":{"shape":"GetIngestionJobResponse"},
376 "errors":[
377 {"shape":"ThrottlingException"},
378 {"shape":"AccessDeniedException"},
379 {"shape":"ValidationException"},
380 {"shape":"InternalServerException"},
381 {"shape":"ResourceNotFoundException"}
382 ]
383 },
384 "GetKnowledgeBase":{
385 "name":"GetKnowledgeBase",
386 "http":{
387 "method":"GET",
388 "requestUri":"/knowledgebases/{knowledgeBaseId}",
389 "responseCode":200
390 },
391 "input":{"shape":"GetKnowledgeBaseRequest"},
392 "output":{"shape":"GetKnowledgeBaseResponse"},
393 "errors":[
394 {"shape":"ThrottlingException"},
395 {"shape":"AccessDeniedException"},
396 {"shape":"ValidationException"},
397 {"shape":"InternalServerException"},
398 {"shape":"ResourceNotFoundException"}
399 ]
400 },
401 "ListAgentActionGroups":{
402 "name":"ListAgentActionGroups",
403 "http":{
404 "method":"POST",
405 "requestUri":"/agents/{agentId}/agentversions/{agentVersion}/actiongroups/",
406 "responseCode":200
407 },
408 "input":{"shape":"ListAgentActionGroupsRequest"},
409 "output":{"shape":"ListAgentActionGroupsResponse"},
410 "errors":[
411 {"shape":"ThrottlingException"},
412 {"shape":"AccessDeniedException"},
413 {"shape":"ValidationException"},
414 {"shape":"InternalServerException"},
415 {"shape":"ResourceNotFoundException"}
416 ]
417 },
418 "ListAgentAliases":{
419 "name":"ListAgentAliases",
420 "http":{
421 "method":"POST",
422 "requestUri":"/agents/{agentId}/agentaliases/",
423 "responseCode":200
424 },
425 "input":{"shape":"ListAgentAliasesRequest"},
426 "output":{"shape":"ListAgentAliasesResponse"},
427 "errors":[
428 {"shape":"ThrottlingException"},
429 {"shape":"AccessDeniedException"},
430 {"shape":"ValidationException"},
431 {"shape":"InternalServerException"},
432 {"shape":"ResourceNotFoundException"}
433 ]
434 },
435 "ListAgentKnowledgeBases":{
436 "name":"ListAgentKnowledgeBases",
437 "http":{
438 "method":"POST",
439 "requestUri":"/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/",
440 "responseCode":200
441 },
442 "input":{"shape":"ListAgentKnowledgeBasesRequest"},
443 "output":{"shape":"ListAgentKnowledgeBasesResponse"},
444 "errors":[
445 {"shape":"ThrottlingException"},
446 {"shape":"AccessDeniedException"},
447 {"shape":"ValidationException"},
448 {"shape":"InternalServerException"},
449 {"shape":"ResourceNotFoundException"}
450 ]
451 },
452 "ListAgentVersions":{
453 "name":"ListAgentVersions",
454 "http":{
455 "method":"POST",
456 "requestUri":"/agents/{agentId}/agentversions/",
457 "responseCode":200
458 },
459 "input":{"shape":"ListAgentVersionsRequest"},
460 "output":{"shape":"ListAgentVersionsResponse"},
461 "errors":[
462 {"shape":"ThrottlingException"},
463 {"shape":"AccessDeniedException"},
464 {"shape":"ValidationException"},
465 {"shape":"InternalServerException"},
466 {"shape":"ResourceNotFoundException"}
467 ]
468 },
469 "ListAgents":{
470 "name":"ListAgents",
471 "http":{
472 "method":"POST",
473 "requestUri":"/agents/",
474 "responseCode":200
475 },
476 "input":{"shape":"ListAgentsRequest"},
477 "output":{"shape":"ListAgentsResponse"},
478 "errors":[
479 {"shape":"ThrottlingException"},
480 {"shape":"AccessDeniedException"},
481 {"shape":"ValidationException"},
482 {"shape":"InternalServerException"}
483 ]
484 },
485 "ListDataSources":{
486 "name":"ListDataSources",
487 "http":{
488 "method":"POST",
489 "requestUri":"/knowledgebases/{knowledgeBaseId}/datasources/",
490 "responseCode":200
491 },
492 "input":{"shape":"ListDataSourcesRequest"},
493 "output":{"shape":"ListDataSourcesResponse"},
494 "errors":[
495 {"shape":"ThrottlingException"},
496 {"shape":"AccessDeniedException"},
497 {"shape":"ValidationException"},
498 {"shape":"InternalServerException"},
499 {"shape":"ResourceNotFoundException"}
500 ]
501 },
502 "ListIngestionJobs":{
503 "name":"ListIngestionJobs",
504 "http":{
505 "method":"POST",
506 "requestUri":"/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/",
507 "responseCode":200
508 },
509 "input":{"shape":"ListIngestionJobsRequest"},
510 "output":{"shape":"ListIngestionJobsResponse"},
511 "errors":[
512 {"shape":"ThrottlingException"},
513 {"shape":"AccessDeniedException"},
514 {"shape":"ValidationException"},
515 {"shape":"InternalServerException"},
516 {"shape":"ResourceNotFoundException"}
517 ]
518 },
519 "ListKnowledgeBases":{
520 "name":"ListKnowledgeBases",
521 "http":{
522 "method":"POST",
523 "requestUri":"/knowledgebases/",
524 "responseCode":200
525 },
526 "input":{"shape":"ListKnowledgeBasesRequest"},
527 "output":{"shape":"ListKnowledgeBasesResponse"},
528 "errors":[
529 {"shape":"ThrottlingException"},
530 {"shape":"AccessDeniedException"},
531 {"shape":"ValidationException"},
532 {"shape":"InternalServerException"}
533 ]
534 },
535 "ListTagsForResource":{
536 "name":"ListTagsForResource",
537 "http":{
538 "method":"GET",
539 "requestUri":"/tags/{resourceArn}",
540 "responseCode":200
541 },
542 "input":{"shape":"ListTagsForResourceRequest"},
543 "output":{"shape":"ListTagsForResourceResponse"},
544 "errors":[
545 {"shape":"ThrottlingException"},
546 {"shape":"AccessDeniedException"},
547 {"shape":"ValidationException"},
548 {"shape":"InternalServerException"},
549 {"shape":"ResourceNotFoundException"}
550 ]
551 },
552 "PrepareAgent":{
553 "name":"PrepareAgent",
554 "http":{
555 "method":"POST",
556 "requestUri":"/agents/{agentId}/",
557 "responseCode":202
558 },
559 "input":{"shape":"PrepareAgentRequest"},
560 "output":{"shape":"PrepareAgentResponse"},
561 "errors":[
562 {"shape":"ThrottlingException"},
563 {"shape":"AccessDeniedException"},
564 {"shape":"ValidationException"},
565 {"shape":"InternalServerException"},
566 {"shape":"ResourceNotFoundException"},
567 {"shape":"ConflictException"},
568 {"shape":"ServiceQuotaExceededException"}
569 ]
570 },
571 "StartIngestionJob":{
572 "name":"StartIngestionJob",
573 "http":{
574 "method":"PUT",
575 "requestUri":"/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/",
576 "responseCode":202
577 },
578 "input":{"shape":"StartIngestionJobRequest"},
579 "output":{"shape":"StartIngestionJobResponse"},
580 "errors":[
581 {"shape":"ThrottlingException"},
582 {"shape":"AccessDeniedException"},
583 {"shape":"ValidationException"},
584 {"shape":"InternalServerException"},
585 {"shape":"ResourceNotFoundException"},
586 {"shape":"ConflictException"},
587 {"shape":"ServiceQuotaExceededException"}
588 ],
589 "idempotent":true
590 },
591 "TagResource":{
592 "name":"TagResource",
593 "http":{
594 "method":"POST",
595 "requestUri":"/tags/{resourceArn}",
596 "responseCode":200
597 },
598 "input":{"shape":"TagResourceRequest"},
599 "output":{"shape":"TagResourceResponse"},
600 "errors":[
601 {"shape":"ThrottlingException"},
602 {"shape":"AccessDeniedException"},
603 {"shape":"ValidationException"},
604 {"shape":"InternalServerException"},
605 {"shape":"ResourceNotFoundException"},
606 {"shape":"ServiceQuotaExceededException"}
607 ]
608 },
609 "UntagResource":{
610 "name":"UntagResource",
611 "http":{
612 "method":"DELETE",
613 "requestUri":"/tags/{resourceArn}",
614 "responseCode":200
615 },
616 "input":{"shape":"UntagResourceRequest"},
617 "output":{"shape":"UntagResourceResponse"},
618 "errors":[
619 {"shape":"ThrottlingException"},
620 {"shape":"AccessDeniedException"},
621 {"shape":"ValidationException"},
622 {"shape":"InternalServerException"},
623 {"shape":"ResourceNotFoundException"}
624 ],
625 "idempotent":true
626 },
627 "UpdateAgent":{
628 "name":"UpdateAgent",
629 "http":{
630 "method":"PUT",
631 "requestUri":"/agents/{agentId}/",
632 "responseCode":202
633 },
634 "input":{"shape":"UpdateAgentRequest"},
635 "output":{"shape":"UpdateAgentResponse"},
636 "errors":[
637 {"shape":"ThrottlingException"},
638 {"shape":"AccessDeniedException"},
639 {"shape":"ValidationException"},
640 {"shape":"InternalServerException"},
641 {"shape":"ResourceNotFoundException"},
642 {"shape":"ConflictException"},
643 {"shape":"ServiceQuotaExceededException"}
644 ],
645 "idempotent":true
646 },
647 "UpdateAgentActionGroup":{
648 "name":"UpdateAgentActionGroup",
649 "http":{
650 "method":"PUT",
651 "requestUri":"/agents/{agentId}/agentversions/{agentVersion}/actiongroups/{actionGroupId}/",
652 "responseCode":200
653 },
654 "input":{"shape":"UpdateAgentActionGroupRequest"},
655 "output":{"shape":"UpdateAgentActionGroupResponse"},
656 "errors":[
657 {"shape":"ThrottlingException"},
658 {"shape":"AccessDeniedException"},
659 {"shape":"ValidationException"},
660 {"shape":"InternalServerException"},
661 {"shape":"ResourceNotFoundException"},
662 {"shape":"ConflictException"},
663 {"shape":"ServiceQuotaExceededException"}
664 ],
665 "idempotent":true
666 },
667 "UpdateAgentAlias":{
668 "name":"UpdateAgentAlias",
669 "http":{
670 "method":"PUT",
671 "requestUri":"/agents/{agentId}/agentaliases/{agentAliasId}/",
672 "responseCode":202
673 },
674 "input":{"shape":"UpdateAgentAliasRequest"},
675 "output":{"shape":"UpdateAgentAliasResponse"},
676 "errors":[
677 {"shape":"ThrottlingException"},
678 {"shape":"AccessDeniedException"},
679 {"shape":"ValidationException"},
680 {"shape":"InternalServerException"},
681 {"shape":"ResourceNotFoundException"},
682 {"shape":"ConflictException"},
683 {"shape":"ServiceQuotaExceededException"}
684 ],
685 "idempotent":true
686 },
687 "UpdateAgentKnowledgeBase":{
688 "name":"UpdateAgentKnowledgeBase",
689 "http":{
690 "method":"PUT",
691 "requestUri":"/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/{knowledgeBaseId}/",
692 "responseCode":200
693 },
694 "input":{"shape":"UpdateAgentKnowledgeBaseRequest"},
695 "output":{"shape":"UpdateAgentKnowledgeBaseResponse"},
696 "errors":[
697 {"shape":"ThrottlingException"},
698 {"shape":"AccessDeniedException"},
699 {"shape":"ValidationException"},
700 {"shape":"InternalServerException"},
701 {"shape":"ResourceNotFoundException"},
702 {"shape":"ConflictException"}
703 ],
704 "idempotent":true
705 },
706 "UpdateDataSource":{
707 "name":"UpdateDataSource",
708 "http":{
709 "method":"PUT",
710 "requestUri":"/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}",
711 "responseCode":200
712 },
713 "input":{"shape":"UpdateDataSourceRequest"},
714 "output":{"shape":"UpdateDataSourceResponse"},
715 "errors":[
716 {"shape":"ThrottlingException"},
717 {"shape":"AccessDeniedException"},
718 {"shape":"ValidationException"},
719 {"shape":"InternalServerException"},
720 {"shape":"ResourceNotFoundException"},
721 {"shape":"ConflictException"}
722 ],
723 "idempotent":true
724 },
725 "UpdateKnowledgeBase":{
726 "name":"UpdateKnowledgeBase",
727 "http":{
728 "method":"PUT",
729 "requestUri":"/knowledgebases/{knowledgeBaseId}",
730 "responseCode":202
731 },
732 "input":{"shape":"UpdateKnowledgeBaseRequest"},
733 "output":{"shape":"UpdateKnowledgeBaseResponse"},
734 "errors":[
735 {"shape":"ThrottlingException"},
736 {"shape":"AccessDeniedException"},
737 {"shape":"ValidationException"},
738 {"shape":"InternalServerException"},
739 {"shape":"ResourceNotFoundException"},
740 {"shape":"ConflictException"}
741 ],
742 "idempotent":true
743 }
744 },
745 "shapes":{
746 "APISchema":{
747 "type":"structure",
748 "members":{
749 "s3":{"shape":"S3Identifier"},
750 "payload":{"shape":"Payload"}
751 },
752 "union":true
753 },
754 "AccessDeniedException":{
755 "type":"structure",
756 "members":{
757 "message":{"shape":"NonBlankString"}
758 },
759 "error":{
760 "httpStatusCode":403,
761 "senderFault":true
762 },
763 "exception":true
764 },
765 "ActionGroupExecutor":{
766 "type":"structure",
767 "members":{
768 "lambda":{"shape":"LambdaArn"}
769 },
770 "union":true
771 },
772 "ActionGroupSignature":{
773 "type":"string",
774 "enum":["AMAZON.UserInput"]
775 },
776 "ActionGroupState":{
777 "type":"string",
778 "enum":[
779 "ENABLED",
780 "DISABLED"
781 ]
782 },
783 "ActionGroupSummaries":{
784 "type":"list",
785 "member":{"shape":"ActionGroupSummary"},
786 "max":10,
787 "min":0
788 },
789 "ActionGroupSummary":{
790 "type":"structure",
791 "required":[
792 "actionGroupId",
793 "actionGroupName",
794 "actionGroupState",
795 "updatedAt"
796 ],
797 "members":{
798 "actionGroupId":{"shape":"Id"},
799 "actionGroupName":{"shape":"Name"},
800 "actionGroupState":{"shape":"ActionGroupState"},
801 "description":{"shape":"Description"},
802 "updatedAt":{"shape":"DateTimestamp"}
803 }
804 },
805 "Agent":{
806 "type":"structure",
807 "required":[
808 "agentId",
809 "agentName",
810 "agentArn",
811 "agentVersion",
812 "agentStatus",
813 "idleSessionTTLInSeconds",
814 "agentResourceRoleArn",
815 "createdAt",
816 "updatedAt"
817 ],
818 "members":{
819 "agentId":{"shape":"Id"},
820 "agentName":{"shape":"Name"},
821 "agentArn":{"shape":"AgentArn"},
822 "agentVersion":{"shape":"DraftVersion"},
823 "clientToken":{"shape":"ClientToken"},
824 "instruction":{"shape":"Instruction"},
825 "agentStatus":{"shape":"AgentStatus"},
826 "foundationModel":{"shape":"ModelIdentifier"},
827 "description":{"shape":"Description"},
828 "idleSessionTTLInSeconds":{"shape":"SessionTTL"},
829 "agentResourceRoleArn":{"shape":"AgentRoleArn"},
830 "customerEncryptionKeyArn":{"shape":"KmsKeyArn"},
831 "createdAt":{"shape":"DateTimestamp"},
832 "updatedAt":{"shape":"DateTimestamp"},
833 "preparedAt":{"shape":"DateTimestamp"},
834 "failureReasons":{"shape":"FailureReasons"},
835 "recommendedActions":{"shape":"RecommendedActions"},
836 "promptOverrideConfiguration":{"shape":"PromptOverrideConfiguration"}
837 }
838 },
839 "AgentActionGroup":{
840 "type":"structure",
841 "required":[
842 "agentId",
843 "agentVersion",
844 "actionGroupId",
845 "actionGroupName",
846 "createdAt",
847 "updatedAt",
848 "actionGroupState"
849 ],
850 "members":{
851 "agentId":{"shape":"Id"},
852 "agentVersion":{"shape":"Version"},
853 "actionGroupId":{"shape":"Id"},
854 "actionGroupName":{"shape":"Name"},
855 "clientToken":{"shape":"ClientToken"},
856 "description":{"shape":"Description"},
857 "createdAt":{"shape":"DateTimestamp"},
858 "updatedAt":{"shape":"DateTimestamp"},
859 "parentActionSignature":{"shape":"ActionGroupSignature"},
860 "actionGroupExecutor":{"shape":"ActionGroupExecutor"},
861 "apiSchema":{"shape":"APISchema"},
862 "actionGroupState":{"shape":"ActionGroupState"}
863 }
864 },
865 "AgentAlias":{
866 "type":"structure",
867 "required":[
868 "agentId",
869 "agentAliasId",
870 "agentAliasName",
871 "agentAliasArn",
872 "routingConfiguration",
873 "createdAt",
874 "updatedAt",
875 "agentAliasStatus"
876 ],
877 "members":{
878 "agentId":{"shape":"Id"},
879 "agentAliasId":{"shape":"AgentAliasId"},
880 "agentAliasName":{"shape":"Name"},
881 "agentAliasArn":{"shape":"AgentAliasArn"},
882 "clientToken":{"shape":"ClientToken"},
883 "description":{"shape":"Description"},
884 "routingConfiguration":{"shape":"AgentAliasRoutingConfiguration"},
885 "createdAt":{"shape":"DateTimestamp"},
886 "updatedAt":{"shape":"DateTimestamp"},
887 "agentAliasHistoryEvents":{"shape":"AgentAliasHistoryEvents"},
888 "agentAliasStatus":{"shape":"AgentAliasStatus"}
889 }
890 },
891 "AgentAliasArn":{
892 "type":"string",
893 "max":2048,
894 "min":0,
895 "pattern":"arn:aws:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:agent-alias/[0-9a-zA-Z]{10}/[0-9a-zA-Z]{10}"
896 },
897 "AgentAliasHistoryEvent":{
898 "type":"structure",
899 "members":{
900 "routingConfiguration":{"shape":"AgentAliasRoutingConfiguration"},
901 "endDate":{"shape":"DateTimestamp"},
902 "startDate":{"shape":"DateTimestamp"}
903 }
904 },
905 "AgentAliasHistoryEvents":{
906 "type":"list",
907 "member":{"shape":"AgentAliasHistoryEvent"},
908 "max":10,
909 "min":0
910 },
911 "AgentAliasId":{
912 "type":"string",
913 "max":10,
914 "min":10,
915 "pattern":"(\\bTSTALIASID\\b|[0-9a-zA-Z]+)"
916 },
917 "AgentAliasRoutingConfiguration":{
918 "type":"list",
919 "member":{"shape":"AgentAliasRoutingConfigurationListItem"},
920 "max":1,
921 "min":0
922 },
923 "AgentAliasRoutingConfigurationListItem":{
924 "type":"structure",
925 "required":["agentVersion"],
926 "members":{
927 "agentVersion":{"shape":"Version"}
928 }
929 },
930 "AgentAliasStatus":{
931 "type":"string",
932 "enum":[
933 "CREATING",
934 "PREPARED",
935 "FAILED",
936 "UPDATING",
937 "DELETING"
938 ]
939 },
940 "AgentAliasSummaries":{
941 "type":"list",
942 "member":{"shape":"AgentAliasSummary"},
943 "max":10,
944 "min":0
945 },
946 "AgentAliasSummary":{
947 "type":"structure",
948 "required":[
949 "agentAliasId",
950 "agentAliasName",
951 "agentAliasStatus",
952 "createdAt",
953 "updatedAt"
954 ],
955 "members":{
956 "agentAliasId":{"shape":"AgentAliasId"},
957 "agentAliasName":{"shape":"Name"},
958 "description":{"shape":"Description"},
959 "routingConfiguration":{"shape":"AgentAliasRoutingConfiguration"},
960 "agentAliasStatus":{"shape":"AgentAliasStatus"},
961 "createdAt":{"shape":"DateTimestamp"},
962 "updatedAt":{"shape":"DateTimestamp"}
963 }
964 },
965 "AgentArn":{
966 "type":"string",
967 "max":2048,
968 "min":0,
969 "pattern":"arn:aws:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:agent/[0-9a-zA-Z]{10}"
970 },
971 "AgentKnowledgeBase":{
972 "type":"structure",
973 "required":[
974 "agentId",
975 "agentVersion",
976 "knowledgeBaseId",
977 "description",
978 "createdAt",
979 "updatedAt",
980 "knowledgeBaseState"
981 ],
982 "members":{
983 "agentId":{"shape":"Id"},
984 "agentVersion":{"shape":"Version"},
985 "knowledgeBaseId":{"shape":"Id"},
986 "description":{"shape":"Description"},
987 "createdAt":{"shape":"DateTimestamp"},
988 "updatedAt":{"shape":"DateTimestamp"},
989 "knowledgeBaseState":{"shape":"KnowledgeBaseState"}
990 }
991 },
992 "AgentKnowledgeBaseSummaries":{
993 "type":"list",
994 "member":{"shape":"AgentKnowledgeBaseSummary"},
995 "max":10,
996 "min":0
997 },
998 "AgentKnowledgeBaseSummary":{
999 "type":"structure",
1000 "required":[
1001 "knowledgeBaseId",
1002 "knowledgeBaseState",
1003 "updatedAt"
1004 ],
1005 "members":{
1006 "knowledgeBaseId":{"shape":"Id"},
1007 "description":{"shape":"Description"},
1008 "knowledgeBaseState":{"shape":"KnowledgeBaseState"},
1009 "updatedAt":{"shape":"DateTimestamp"}
1010 }
1011 },
1012 "AgentRoleArn":{
1013 "type":"string",
1014 "max":2048,
1015 "min":0,
1016 "pattern":"arn:aws(-[^:]+)?:iam::([0-9]{12})?:role/(service-role/)?AmazonBedrockExecutionRoleForAgents.+"
1017 },
1018 "AgentStatus":{
1019 "type":"string",
1020 "enum":[
1021 "CREATING",
1022 "PREPARING",
1023 "PREPARED",
1024 "NOT_PREPARED",
1025 "DELETING",
1026 "FAILED",
1027 "VERSIONING",
1028 "UPDATING"
1029 ]
1030 },
1031 "AgentSummaries":{
1032 "type":"list",
1033 "member":{"shape":"AgentSummary"},
1034 "max":10,
1035 "min":0
1036 },
1037 "AgentSummary":{
1038 "type":"structure",
1039 "required":[
1040 "agentId",
1041 "agentName",
1042 "agentStatus",
1043 "updatedAt"
1044 ],
1045 "members":{
1046 "agentId":{"shape":"Id"},
1047 "agentName":{"shape":"Name"},
1048 "agentStatus":{"shape":"AgentStatus"},
1049 "description":{"shape":"Description"},
1050 "updatedAt":{"shape":"DateTimestamp"},
1051 "latestAgentVersion":{"shape":"Version"}
1052 }
1053 },
1054 "AgentVersion":{
1055 "type":"structure",
1056 "required":[
1057 "agentId",
1058 "agentName",
1059 "agentArn",
1060 "version",
1061 "agentStatus",
1062 "idleSessionTTLInSeconds",
1063 "agentResourceRoleArn",
1064 "createdAt",
1065 "updatedAt"
1066 ],
1067 "members":{
1068 "agentId":{"shape":"Id"},
1069 "agentName":{"shape":"Name"},
1070 "agentArn":{"shape":"AgentArn"},
1071 "version":{"shape":"NumericalVersion"},
1072 "instruction":{"shape":"Instruction"},
1073 "agentStatus":{"shape":"AgentStatus"},
1074 "foundationModel":{"shape":"ModelIdentifier"},
1075 "description":{"shape":"Description"},
1076 "idleSessionTTLInSeconds":{"shape":"SessionTTL"},
1077 "agentResourceRoleArn":{"shape":"AgentRoleArn"},
1078 "customerEncryptionKeyArn":{"shape":"KmsKeyArn"},
1079 "createdAt":{"shape":"DateTimestamp"},
1080 "updatedAt":{"shape":"DateTimestamp"},
1081 "failureReasons":{"shape":"FailureReasons"},
1082 "recommendedActions":{"shape":"RecommendedActions"},
1083 "promptOverrideConfiguration":{"shape":"PromptOverrideConfiguration"}
1084 }
1085 },
1086 "AgentVersionSummaries":{
1087 "type":"list",
1088 "member":{"shape":"AgentVersionSummary"},
1089 "max":10,
1090 "min":0
1091 },
1092 "AgentVersionSummary":{
1093 "type":"structure",
1094 "required":[
1095 "agentName",
1096 "agentStatus",
1097 "agentVersion",
1098 "createdAt",
1099 "updatedAt"
1100 ],
1101 "members":{
1102 "agentName":{"shape":"Name"},
1103 "agentStatus":{"shape":"AgentStatus"},
1104 "agentVersion":{"shape":"Version"},
1105 "createdAt":{"shape":"DateTimestamp"},
1106 "updatedAt":{"shape":"DateTimestamp"},
1107 "description":{"shape":"Description"}
1108 }
1109 },
1110 "AssociateAgentKnowledgeBaseRequest":{
1111 "type":"structure",
1112 "required":[
1113 "agentId",
1114 "agentVersion",
1115 "knowledgeBaseId",
1116 "description"
1117 ],
1118 "members":{
1119 "agentId":{
1120 "shape":"Id",
1121 "location":"uri",
1122 "locationName":"agentId"
1123 },
1124 "agentVersion":{
1125 "shape":"DraftVersion",
1126 "location":"uri",
1127 "locationName":"agentVersion"
1128 },
1129 "knowledgeBaseId":{"shape":"Id"},
1130 "description":{"shape":"Description"},
1131 "knowledgeBaseState":{"shape":"KnowledgeBaseState"}
1132 }
1133 },
1134 "AssociateAgentKnowledgeBaseResponse":{
1135 "type":"structure",
1136 "required":["agentKnowledgeBase"],
1137 "members":{
1138 "agentKnowledgeBase":{"shape":"AgentKnowledgeBase"}
1139 }
1140 },
1141 "BasePromptTemplate":{
1142 "type":"string",
1143 "max":100000,
1144 "min":1
1145 },
1146 "BedrockEmbeddingModelArn":{
1147 "type":"string",
1148 "max":1011,
1149 "min":20,
1150 "pattern":"arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}))"
1151 },
1152 "Boolean":{
1153 "type":"boolean",
1154 "box":true
1155 },
1156 "ChunkingConfiguration":{
1157 "type":"structure",
1158 "required":["chunkingStrategy"],
1159 "members":{
1160 "chunkingStrategy":{"shape":"ChunkingStrategy"},
1161 "fixedSizeChunkingConfiguration":{"shape":"FixedSizeChunkingConfiguration"}
1162 }
1163 },
1164 "ChunkingStrategy":{
1165 "type":"string",
1166 "enum":[
1167 "FIXED_SIZE",
1168 "NONE"
1169 ]
1170 },
1171 "ClientToken":{
1172 "type":"string",
1173 "max":256,
1174 "min":33,
1175 "pattern":"[a-zA-Z0-9](-*[a-zA-Z0-9])*"
1176 },
1177 "ConflictException":{
1178 "type":"structure",
1179 "members":{
1180 "message":{"shape":"NonBlankString"}
1181 },
1182 "error":{
1183 "httpStatusCode":409,
1184 "senderFault":true
1185 },
1186 "exception":true
1187 },
1188 "CreateAgentActionGroupRequest":{
1189 "type":"structure",
1190 "required":[
1191 "agentId",
1192 "agentVersion",
1193 "actionGroupName"
1194 ],
1195 "members":{
1196 "agentId":{
1197 "shape":"Id",
1198 "location":"uri",
1199 "locationName":"agentId"
1200 },
1201 "agentVersion":{
1202 "shape":"DraftVersion",
1203 "location":"uri",
1204 "locationName":"agentVersion"
1205 },
1206 "actionGroupName":{"shape":"Name"},
1207 "clientToken":{
1208 "shape":"ClientToken",
1209 "idempotencyToken":true
1210 },
1211 "description":{"shape":"Description"},
1212 "parentActionGroupSignature":{"shape":"ActionGroupSignature"},
1213 "actionGroupExecutor":{"shape":"ActionGroupExecutor"},
1214 "apiSchema":{"shape":"APISchema"},
1215 "actionGroupState":{"shape":"ActionGroupState"}
1216 }
1217 },
1218 "CreateAgentActionGroupResponse":{
1219 "type":"structure",
1220 "required":["agentActionGroup"],
1221 "members":{
1222 "agentActionGroup":{"shape":"AgentActionGroup"}
1223 }
1224 },
1225 "CreateAgentAliasRequest":{
1226 "type":"structure",
1227 "required":[
1228 "agentId",
1229 "agentAliasName"
1230 ],
1231 "members":{
1232 "agentId":{
1233 "shape":"Id",
1234 "location":"uri",
1235 "locationName":"agentId"
1236 },
1237 "agentAliasName":{"shape":"Name"},
1238 "clientToken":{
1239 "shape":"ClientToken",
1240 "idempotencyToken":true
1241 },
1242 "description":{"shape":"Description"},
1243 "routingConfiguration":{"shape":"AgentAliasRoutingConfiguration"},
1244 "tags":{"shape":"TagsMap"}
1245 }
1246 },
1247 "CreateAgentAliasResponse":{
1248 "type":"structure",
1249 "required":["agentAlias"],
1250 "members":{
1251 "agentAlias":{"shape":"AgentAlias"}
1252 }
1253 },
1254 "CreateAgentRequest":{
1255 "type":"structure",
1256 "required":[
1257 "agentName",
1258 "agentResourceRoleArn"
1259 ],
1260 "members":{
1261 "agentName":{"shape":"Name"},
1262 "clientToken":{
1263 "shape":"ClientToken",
1264 "idempotencyToken":true
1265 },
1266 "instruction":{"shape":"Instruction"},
1267 "foundationModel":{"shape":"ModelIdentifier"},
1268 "description":{"shape":"Description"},
1269 "idleSessionTTLInSeconds":{"shape":"SessionTTL"},
1270 "agentResourceRoleArn":{"shape":"AgentRoleArn"},
1271 "customerEncryptionKeyArn":{"shape":"KmsKeyArn"},
1272 "tags":{"shape":"TagsMap"},
1273 "promptOverrideConfiguration":{"shape":"PromptOverrideConfiguration"}
1274 }
1275 },
1276 "CreateAgentResponse":{
1277 "type":"structure",
1278 "required":["agent"],
1279 "members":{
1280 "agent":{"shape":"Agent"}
1281 }
1282 },
1283 "CreateDataSourceRequest":{
1284 "type":"structure",
1285 "required":[
1286 "knowledgeBaseId",
1287 "name",
1288 "dataSourceConfiguration"
1289 ],
1290 "members":{
1291 "knowledgeBaseId":{
1292 "shape":"Id",
1293 "location":"uri",
1294 "locationName":"knowledgeBaseId"
1295 },
1296 "clientToken":{
1297 "shape":"ClientToken",
1298 "idempotencyToken":true
1299 },
1300 "name":{"shape":"Name"},
1301 "description":{"shape":"Description"},
1302 "dataSourceConfiguration":{"shape":"DataSourceConfiguration"},
1303 "serverSideEncryptionConfiguration":{"shape":"ServerSideEncryptionConfiguration"},
1304 "vectorIngestionConfiguration":{"shape":"VectorIngestionConfiguration"}
1305 }
1306 },
1307 "CreateDataSourceResponse":{
1308 "type":"structure",
1309 "required":["dataSource"],
1310 "members":{
1311 "dataSource":{"shape":"DataSource"}
1312 }
1313 },
1314 "CreateKnowledgeBaseRequest":{
1315 "type":"structure",
1316 "required":[
1317 "name",
1318 "roleArn",
1319 "knowledgeBaseConfiguration",
1320 "storageConfiguration"
1321 ],
1322 "members":{
1323 "clientToken":{
1324 "shape":"ClientToken",
1325 "idempotencyToken":true
1326 },
1327 "name":{"shape":"Name"},
1328 "description":{"shape":"Description"},
1329 "roleArn":{"shape":"KnowledgeBaseRoleArn"},
1330 "knowledgeBaseConfiguration":{"shape":"KnowledgeBaseConfiguration"},
1331 "storageConfiguration":{"shape":"StorageConfiguration"},
1332 "tags":{"shape":"TagsMap"}
1333 }
1334 },
1335 "CreateKnowledgeBaseResponse":{
1336 "type":"structure",
1337 "required":["knowledgeBase"],
1338 "members":{
1339 "knowledgeBase":{"shape":"KnowledgeBase"}
1340 }
1341 },
1342 "CreationMode":{
1343 "type":"string",
1344 "enum":[
1345 "DEFAULT",
1346 "OVERRIDDEN"
1347 ]
1348 },
1349 "DataSource":{
1350 "type":"structure",
1351 "required":[
1352 "knowledgeBaseId",
1353 "dataSourceId",
1354 "name",
1355 "status",
1356 "dataSourceConfiguration",
1357 "createdAt",
1358 "updatedAt"
1359 ],
1360 "members":{
1361 "knowledgeBaseId":{"shape":"Id"},
1362 "dataSourceId":{"shape":"Id"},
1363 "name":{"shape":"Name"},
1364 "status":{"shape":"DataSourceStatus"},
1365 "description":{"shape":"Description"},
1366 "dataSourceConfiguration":{"shape":"DataSourceConfiguration"},
1367 "serverSideEncryptionConfiguration":{"shape":"ServerSideEncryptionConfiguration"},
1368 "vectorIngestionConfiguration":{"shape":"VectorIngestionConfiguration"},
1369 "createdAt":{"shape":"DateTimestamp"},
1370 "updatedAt":{"shape":"DateTimestamp"}
1371 }
1372 },
1373 "DataSourceConfiguration":{
1374 "type":"structure",
1375 "required":["type"],
1376 "members":{
1377 "type":{"shape":"DataSourceType"},
1378 "s3Configuration":{"shape":"S3DataSourceConfiguration"}
1379 }
1380 },
1381 "DataSourceStatus":{
1382 "type":"string",
1383 "enum":[
1384 "AVAILABLE",
1385 "DELETING"
1386 ]
1387 },
1388 "DataSourceSummaries":{
1389 "type":"list",
1390 "member":{"shape":"DataSourceSummary"}
1391 },
1392 "DataSourceSummary":{
1393 "type":"structure",
1394 "required":[
1395 "knowledgeBaseId",
1396 "dataSourceId",
1397 "name",
1398 "status",
1399 "updatedAt"
1400 ],
1401 "members":{
1402 "knowledgeBaseId":{"shape":"Id"},
1403 "dataSourceId":{"shape":"Id"},
1404 "name":{"shape":"Name"},
1405 "status":{"shape":"DataSourceStatus"},
1406 "description":{"shape":"Description"},
1407 "updatedAt":{"shape":"DateTimestamp"}
1408 }
1409 },
1410 "DataSourceType":{
1411 "type":"string",
1412 "enum":["S3"]
1413 },
1414 "DateTimestamp":{
1415 "type":"timestamp",
1416 "timestampFormat":"iso8601"
1417 },
1418 "DeleteAgentActionGroupRequest":{
1419 "type":"structure",
1420 "required":[
1421 "agentId",
1422 "agentVersion",
1423 "actionGroupId"
1424 ],
1425 "members":{
1426 "agentId":{
1427 "shape":"Id",
1428 "location":"uri",
1429 "locationName":"agentId"
1430 },
1431 "agentVersion":{
1432 "shape":"DraftVersion",
1433 "location":"uri",
1434 "locationName":"agentVersion"
1435 },
1436 "actionGroupId":{
1437 "shape":"Id",
1438 "location":"uri",
1439 "locationName":"actionGroupId"
1440 },
1441 "skipResourceInUseCheck":{
1442 "shape":"Boolean",
1443 "location":"querystring",
1444 "locationName":"skipResourceInUseCheck"
1445 }
1446 }
1447 },
1448 "DeleteAgentActionGroupResponse":{
1449 "type":"structure",
1450 "members":{
1451 }
1452 },
1453 "DeleteAgentAliasRequest":{
1454 "type":"structure",
1455 "required":[
1456 "agentId",
1457 "agentAliasId"
1458 ],
1459 "members":{
1460 "agentId":{
1461 "shape":"Id",
1462 "location":"uri",
1463 "locationName":"agentId"
1464 },
1465 "agentAliasId":{
1466 "shape":"AgentAliasId",
1467 "location":"uri",
1468 "locationName":"agentAliasId"
1469 }
1470 }
1471 },
1472 "DeleteAgentAliasResponse":{
1473 "type":"structure",
1474 "required":[
1475 "agentId",
1476 "agentAliasId",
1477 "agentAliasStatus"
1478 ],
1479 "members":{
1480 "agentId":{"shape":"Id"},
1481 "agentAliasId":{"shape":"AgentAliasId"},
1482 "agentAliasStatus":{"shape":"AgentAliasStatus"}
1483 }
1484 },
1485 "DeleteAgentRequest":{
1486 "type":"structure",
1487 "required":["agentId"],
1488 "members":{
1489 "agentId":{
1490 "shape":"Id",
1491 "location":"uri",
1492 "locationName":"agentId"
1493 },
1494 "skipResourceInUseCheck":{
1495 "shape":"Boolean",
1496 "location":"querystring",
1497 "locationName":"skipResourceInUseCheck"
1498 }
1499 }
1500 },
1501 "DeleteAgentResponse":{
1502 "type":"structure",
1503 "required":[
1504 "agentId",
1505 "agentStatus"
1506 ],
1507 "members":{
1508 "agentId":{"shape":"Id"},
1509 "agentStatus":{"shape":"AgentStatus"}
1510 }
1511 },
1512 "DeleteAgentVersionRequest":{
1513 "type":"structure",
1514 "required":[
1515 "agentId",
1516 "agentVersion"
1517 ],
1518 "members":{
1519 "agentId":{
1520 "shape":"Id",
1521 "location":"uri",
1522 "locationName":"agentId"
1523 },
1524 "agentVersion":{
1525 "shape":"NumericalVersion",
1526 "location":"uri",
1527 "locationName":"agentVersion"
1528 },
1529 "skipResourceInUseCheck":{
1530 "shape":"Boolean",
1531 "location":"querystring",
1532 "locationName":"skipResourceInUseCheck"
1533 }
1534 }
1535 },
1536 "DeleteAgentVersionResponse":{
1537 "type":"structure",
1538 "required":[
1539 "agentId",
1540 "agentVersion",
1541 "agentStatus"
1542 ],
1543 "members":{
1544 "agentId":{"shape":"Id"},
1545 "agentVersion":{"shape":"NumericalVersion"},
1546 "agentStatus":{"shape":"AgentStatus"}
1547 }
1548 },
1549 "DeleteDataSourceRequest":{
1550 "type":"structure",
1551 "required":[
1552 "knowledgeBaseId",
1553 "dataSourceId"
1554 ],
1555 "members":{
1556 "knowledgeBaseId":{
1557 "shape":"Id",
1558 "location":"uri",
1559 "locationName":"knowledgeBaseId"
1560 },
1561 "dataSourceId":{
1562 "shape":"Id",
1563 "location":"uri",
1564 "locationName":"dataSourceId"
1565 }
1566 }
1567 },
1568 "DeleteDataSourceResponse":{
1569 "type":"structure",
1570 "required":[
1571 "knowledgeBaseId",
1572 "dataSourceId",
1573 "status"
1574 ],
1575 "members":{
1576 "knowledgeBaseId":{"shape":"Id"},
1577 "dataSourceId":{"shape":"Id"},
1578 "status":{"shape":"DataSourceStatus"}
1579 }
1580 },
1581 "DeleteKnowledgeBaseRequest":{
1582 "type":"structure",
1583 "required":["knowledgeBaseId"],
1584 "members":{
1585 "knowledgeBaseId":{
1586 "shape":"Id",
1587 "location":"uri",
1588 "locationName":"knowledgeBaseId"
1589 }
1590 }
1591 },
1592 "DeleteKnowledgeBaseResponse":{
1593 "type":"structure",
1594 "required":[
1595 "knowledgeBaseId",
1596 "status"
1597 ],
1598 "members":{
1599 "knowledgeBaseId":{"shape":"Id"},
1600 "status":{"shape":"KnowledgeBaseStatus"}
1601 }
1602 },
1603 "Description":{
1604 "type":"string",
1605 "max":200,
1606 "min":1
1607 },
1608 "DisassociateAgentKnowledgeBaseRequest":{
1609 "type":"structure",
1610 "required":[
1611 "agentId",
1612 "agentVersion",
1613 "knowledgeBaseId"
1614 ],
1615 "members":{
1616 "agentId":{
1617 "shape":"Id",
1618 "location":"uri",
1619 "locationName":"agentId"
1620 },
1621 "agentVersion":{
1622 "shape":"DraftVersion",
1623 "location":"uri",
1624 "locationName":"agentVersion"
1625 },
1626 "knowledgeBaseId":{
1627 "shape":"Id",
1628 "location":"uri",
1629 "locationName":"knowledgeBaseId"
1630 }
1631 }
1632 },
1633 "DisassociateAgentKnowledgeBaseResponse":{
1634 "type":"structure",
1635 "members":{
1636 }
1637 },
1638 "DraftVersion":{
1639 "type":"string",
1640 "max":5,
1641 "min":5,
1642 "pattern":"DRAFT"
1643 },
1644 "FailureReason":{
1645 "type":"string",
1646 "max":2048,
1647 "min":0
1648 },
1649 "FailureReasons":{
1650 "type":"list",
1651 "member":{"shape":"FailureReason"},
1652 "max":2048,
1653 "min":0
1654 },
1655 "FieldName":{
1656 "type":"string",
1657 "max":2048,
1658 "min":0,
1659 "pattern":".*"
1660 },
1661 "FixedSizeChunkingConfiguration":{
1662 "type":"structure",
1663 "required":[
1664 "maxTokens",
1665 "overlapPercentage"
1666 ],
1667 "members":{
1668 "maxTokens":{"shape":"FixedSizeChunkingConfigurationMaxTokensInteger"},
1669 "overlapPercentage":{"shape":"FixedSizeChunkingConfigurationOverlapPercentageInteger"}
1670 }
1671 },
1672 "FixedSizeChunkingConfigurationMaxTokensInteger":{
1673 "type":"integer",
1674 "box":true,
1675 "min":1
1676 },
1677 "FixedSizeChunkingConfigurationOverlapPercentageInteger":{
1678 "type":"integer",
1679 "box":true,
1680 "max":99,
1681 "min":1
1682 },
1683 "GetAgentActionGroupRequest":{
1684 "type":"structure",
1685 "required":[
1686 "agentId",
1687 "agentVersion",
1688 "actionGroupId"
1689 ],
1690 "members":{
1691 "agentId":{
1692 "shape":"Id",
1693 "location":"uri",
1694 "locationName":"agentId"
1695 },
1696 "agentVersion":{
1697 "shape":"Version",
1698 "location":"uri",
1699 "locationName":"agentVersion"
1700 },
1701 "actionGroupId":{
1702 "shape":"Id",
1703 "location":"uri",
1704 "locationName":"actionGroupId"
1705 }
1706 }
1707 },
1708 "GetAgentActionGroupResponse":{
1709 "type":"structure",
1710 "required":["agentActionGroup"],
1711 "members":{
1712 "agentActionGroup":{"shape":"AgentActionGroup"}
1713 }
1714 },
1715 "GetAgentAliasRequest":{
1716 "type":"structure",
1717 "required":[
1718 "agentId",
1719 "agentAliasId"
1720 ],
1721 "members":{
1722 "agentId":{
1723 "shape":"Id",
1724 "location":"uri",
1725 "locationName":"agentId"
1726 },
1727 "agentAliasId":{
1728 "shape":"AgentAliasId",
1729 "location":"uri",
1730 "locationName":"agentAliasId"
1731 }
1732 }
1733 },
1734 "GetAgentAliasResponse":{
1735 "type":"structure",
1736 "required":["agentAlias"],
1737 "members":{
1738 "agentAlias":{"shape":"AgentAlias"}
1739 }
1740 },
1741 "GetAgentKnowledgeBaseRequest":{
1742 "type":"structure",
1743 "required":[
1744 "agentId",
1745 "agentVersion",
1746 "knowledgeBaseId"
1747 ],
1748 "members":{
1749 "agentId":{
1750 "shape":"Id",
1751 "location":"uri",
1752 "locationName":"agentId"
1753 },
1754 "agentVersion":{
1755 "shape":"Version",
1756 "location":"uri",
1757 "locationName":"agentVersion"
1758 },
1759 "knowledgeBaseId":{
1760 "shape":"Id",
1761 "location":"uri",
1762 "locationName":"knowledgeBaseId"
1763 }
1764 }
1765 },
1766 "GetAgentKnowledgeBaseResponse":{
1767 "type":"structure",
1768 "required":["agentKnowledgeBase"],
1769 "members":{
1770 "agentKnowledgeBase":{"shape":"AgentKnowledgeBase"}
1771 }
1772 },
1773 "GetAgentRequest":{
1774 "type":"structure",
1775 "required":["agentId"],
1776 "members":{
1777 "agentId":{
1778 "shape":"Id",
1779 "location":"uri",
1780 "locationName":"agentId"
1781 }
1782 }
1783 },
1784 "GetAgentResponse":{
1785 "type":"structure",
1786 "required":["agent"],
1787 "members":{
1788 "agent":{"shape":"Agent"}
1789 }
1790 },
1791 "GetAgentVersionRequest":{
1792 "type":"structure",
1793 "required":[
1794 "agentId",
1795 "agentVersion"
1796 ],
1797 "members":{
1798 "agentId":{
1799 "shape":"Id",
1800 "location":"uri",
1801 "locationName":"agentId"
1802 },
1803 "agentVersion":{
1804 "shape":"NumericalVersion",
1805 "location":"uri",
1806 "locationName":"agentVersion"
1807 }
1808 }
1809 },
1810 "GetAgentVersionResponse":{
1811 "type":"structure",
1812 "required":["agentVersion"],
1813 "members":{
1814 "agentVersion":{"shape":"AgentVersion"}
1815 }
1816 },
1817 "GetDataSourceRequest":{
1818 "type":"structure",
1819 "required":[
1820 "knowledgeBaseId",
1821 "dataSourceId"
1822 ],
1823 "members":{
1824 "knowledgeBaseId":{
1825 "shape":"Id",
1826 "location":"uri",
1827 "locationName":"knowledgeBaseId"
1828 },
1829 "dataSourceId":{
1830 "shape":"Id",
1831 "location":"uri",
1832 "locationName":"dataSourceId"
1833 }
1834 }
1835 },
1836 "GetDataSourceResponse":{
1837 "type":"structure",
1838 "required":["dataSource"],
1839 "members":{
1840 "dataSource":{"shape":"DataSource"}
1841 }
1842 },
1843 "GetIngestionJobRequest":{
1844 "type":"structure",
1845 "required":[
1846 "knowledgeBaseId",
1847 "dataSourceId",
1848 "ingestionJobId"
1849 ],
1850 "members":{
1851 "knowledgeBaseId":{
1852 "shape":"Id",
1853 "location":"uri",
1854 "locationName":"knowledgeBaseId"
1855 },
1856 "dataSourceId":{
1857 "shape":"Id",
1858 "location":"uri",
1859 "locationName":"dataSourceId"
1860 },
1861 "ingestionJobId":{
1862 "shape":"Id",
1863 "location":"uri",
1864 "locationName":"ingestionJobId"
1865 }
1866 }
1867 },
1868 "GetIngestionJobResponse":{
1869 "type":"structure",
1870 "required":["ingestionJob"],
1871 "members":{
1872 "ingestionJob":{"shape":"IngestionJob"}
1873 }
1874 },
1875 "GetKnowledgeBaseRequest":{
1876 "type":"structure",
1877 "required":["knowledgeBaseId"],
1878 "members":{
1879 "knowledgeBaseId":{
1880 "shape":"Id",
1881 "location":"uri",
1882 "locationName":"knowledgeBaseId"
1883 }
1884 }
1885 },
1886 "GetKnowledgeBaseResponse":{
1887 "type":"structure",
1888 "required":["knowledgeBase"],
1889 "members":{
1890 "knowledgeBase":{"shape":"KnowledgeBase"}
1891 }
1892 },
1893 "Id":{
1894 "type":"string",
1895 "pattern":"[0-9a-zA-Z]{10}"
1896 },
1897 "InferenceConfiguration":{
1898 "type":"structure",
1899 "members":{
1900 "temperature":{"shape":"Temperature"},
1901 "topP":{"shape":"TopP"},
1902 "topK":{"shape":"TopK"},
1903 "maximumLength":{"shape":"MaximumLength"},
1904 "stopSequences":{"shape":"StopSequences"}
1905 }
1906 },
1907 "IngestionJob":{
1908 "type":"structure",
1909 "required":[
1910 "knowledgeBaseId",
1911 "dataSourceId",
1912 "ingestionJobId",
1913 "status",
1914 "startedAt",
1915 "updatedAt"
1916 ],
1917 "members":{
1918 "knowledgeBaseId":{"shape":"Id"},
1919 "dataSourceId":{"shape":"Id"},
1920 "ingestionJobId":{"shape":"Id"},
1921 "description":{"shape":"Description"},
1922 "status":{"shape":"IngestionJobStatus"},
1923 "statistics":{"shape":"IngestionJobStatistics"},
1924 "failureReasons":{"shape":"FailureReasons"},
1925 "startedAt":{"shape":"DateTimestamp"},
1926 "updatedAt":{"shape":"DateTimestamp"}
1927 }
1928 },
1929 "IngestionJobFilter":{
1930 "type":"structure",
1931 "required":[
1932 "attribute",
1933 "operator",
1934 "values"
1935 ],
1936 "members":{
1937 "attribute":{"shape":"IngestionJobFilterAttribute"},
1938 "operator":{"shape":"IngestionJobFilterOperator"},
1939 "values":{"shape":"IngestionJobFilterValues"}
1940 }
1941 },
1942 "IngestionJobFilterAttribute":{
1943 "type":"string",
1944 "enum":["STATUS"]
1945 },
1946 "IngestionJobFilterOperator":{
1947 "type":"string",
1948 "enum":["EQ"]
1949 },
1950 "IngestionJobFilterValue":{
1951 "type":"string",
1952 "max":100,
1953 "min":0,
1954 "pattern":".*"
1955 },
1956 "IngestionJobFilterValues":{
1957 "type":"list",
1958 "member":{"shape":"IngestionJobFilterValue"},
1959 "max":10,
1960 "min":0
1961 },
1962 "IngestionJobFilters":{
1963 "type":"list",
1964 "member":{"shape":"IngestionJobFilter"},
1965 "max":1,
1966 "min":1
1967 },
1968 "IngestionJobSortBy":{
1969 "type":"structure",
1970 "required":[
1971 "attribute",
1972 "order"
1973 ],
1974 "members":{
1975 "attribute":{"shape":"IngestionJobSortByAttribute"},
1976 "order":{"shape":"SortOrder"}
1977 }
1978 },
1979 "IngestionJobSortByAttribute":{
1980 "type":"string",
1981 "enum":[
1982 "STATUS",
1983 "STARTED_AT"
1984 ]
1985 },
1986 "IngestionJobStatistics":{
1987 "type":"structure",
1988 "members":{
1989 "numberOfDocumentsScanned":{"shape":"PrimitiveLong"},
1990 "numberOfNewDocumentsIndexed":{"shape":"PrimitiveLong"},
1991 "numberOfModifiedDocumentsIndexed":{"shape":"PrimitiveLong"},
1992 "numberOfDocumentsDeleted":{"shape":"PrimitiveLong"},
1993 "numberOfDocumentsFailed":{"shape":"PrimitiveLong"}
1994 }
1995 },
1996 "IngestionJobStatus":{
1997 "type":"string",
1998 "enum":[
1999 "STARTING",
2000 "IN_PROGRESS",
2001 "COMPLETE",
2002 "FAILED"
2003 ]
2004 },
2005 "IngestionJobSummaries":{
2006 "type":"list",
2007 "member":{"shape":"IngestionJobSummary"}
2008 },
2009 "IngestionJobSummary":{
2010 "type":"structure",
2011 "required":[
2012 "knowledgeBaseId",
2013 "dataSourceId",
2014 "ingestionJobId",
2015 "status",
2016 "startedAt",
2017 "updatedAt"
2018 ],
2019 "members":{
2020 "knowledgeBaseId":{"shape":"Id"},
2021 "dataSourceId":{"shape":"Id"},
2022 "ingestionJobId":{"shape":"Id"},
2023 "description":{"shape":"Description"},
2024 "status":{"shape":"IngestionJobStatus"},
2025 "startedAt":{"shape":"DateTimestamp"},
2026 "updatedAt":{"shape":"DateTimestamp"},
2027 "statistics":{"shape":"IngestionJobStatistics"}
2028 }
2029 },
2030 "Instruction":{
2031 "type":"string",
2032 "max":1200,
2033 "min":40,
2034 "sensitive":true
2035 },
2036 "InternalServerException":{
2037 "type":"structure",
2038 "members":{
2039 "message":{"shape":"NonBlankString"}
2040 },
2041 "error":{"httpStatusCode":500},
2042 "exception":true,
2043 "fault":true
2044 },
2045 "KmsKeyArn":{
2046 "type":"string",
2047 "max":2048,
2048 "min":1,
2049 "pattern":"arn:aws(|-cn|-us-gov):kms:[a-zA-Z0-9-]*:[0-9]{12}:key/[a-zA-Z0-9-]{36}"
2050 },
2051 "KnowledgeBase":{
2052 "type":"structure",
2053 "required":[
2054 "knowledgeBaseId",
2055 "name",
2056 "knowledgeBaseArn",
2057 "roleArn",
2058 "knowledgeBaseConfiguration",
2059 "storageConfiguration",
2060 "status",
2061 "createdAt",
2062 "updatedAt"
2063 ],
2064 "members":{
2065 "knowledgeBaseId":{"shape":"Id"},
2066 "name":{"shape":"Name"},
2067 "knowledgeBaseArn":{"shape":"KnowledgeBaseArn"},
2068 "description":{"shape":"Description"},
2069 "roleArn":{"shape":"KnowledgeBaseRoleArn"},
2070 "knowledgeBaseConfiguration":{"shape":"KnowledgeBaseConfiguration"},
2071 "storageConfiguration":{"shape":"StorageConfiguration"},
2072 "status":{"shape":"KnowledgeBaseStatus"},
2073 "createdAt":{"shape":"DateTimestamp"},
2074 "updatedAt":{"shape":"DateTimestamp"},
2075 "failureReasons":{"shape":"FailureReasons"}
2076 }
2077 },
2078 "KnowledgeBaseArn":{
2079 "type":"string",
2080 "max":128,
2081 "min":0,
2082 "pattern":"arn:aws(|-cn|-us-gov):bedrock:[a-zA-Z0-9-]*:[0-9]{12}:knowledge-base/[0-9a-zA-Z]+"
2083 },
2084 "KnowledgeBaseConfiguration":{
2085 "type":"structure",
2086 "required":["type"],
2087 "members":{
2088 "type":{"shape":"KnowledgeBaseType"},
2089 "vectorKnowledgeBaseConfiguration":{"shape":"VectorKnowledgeBaseConfiguration"}
2090 }
2091 },
2092 "KnowledgeBaseRoleArn":{
2093 "type":"string",
2094 "max":2048,
2095 "min":0,
2096 "pattern":"arn:aws(-[^:]+)?:iam::([0-9]{12})?:role/(service-role/)?AmazonBedrockExecutionRoleForKnowledgeBase.+"
2097 },
2098 "KnowledgeBaseState":{
2099 "type":"string",
2100 "enum":[
2101 "ENABLED",
2102 "DISABLED"
2103 ]
2104 },
2105 "KnowledgeBaseStatus":{
2106 "type":"string",
2107 "enum":[
2108 "CREATING",
2109 "ACTIVE",
2110 "DELETING",
2111 "UPDATING",
2112 "FAILED"
2113 ]
2114 },
2115 "KnowledgeBaseStorageType":{
2116 "type":"string",
2117 "enum":[
2118 "OPENSEARCH_SERVERLESS",
2119 "PINECONE",
2120 "REDIS_ENTERPRISE_CLOUD"
2121 ]
2122 },
2123 "KnowledgeBaseSummaries":{
2124 "type":"list",
2125 "member":{"shape":"KnowledgeBaseSummary"}
2126 },
2127 "KnowledgeBaseSummary":{
2128 "type":"structure",
2129 "required":[
2130 "knowledgeBaseId",
2131 "name",
2132 "status",
2133 "updatedAt"
2134 ],
2135 "members":{
2136 "knowledgeBaseId":{"shape":"Id"},
2137 "name":{"shape":"Name"},
2138 "description":{"shape":"Description"},
2139 "status":{"shape":"KnowledgeBaseStatus"},
2140 "updatedAt":{"shape":"DateTimestamp"}
2141 }
2142 },
2143 "KnowledgeBaseType":{
2144 "type":"string",
2145 "enum":["VECTOR"]
2146 },
2147 "LambdaArn":{
2148 "type":"string",
2149 "max":2048,
2150 "min":0,
2151 "pattern":"arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9-_\\.]+(:(\\$LATEST|[a-zA-Z0-9-_]+))?"
2152 },
2153 "ListAgentActionGroupsRequest":{
2154 "type":"structure",
2155 "required":[
2156 "agentId",
2157 "agentVersion"
2158 ],
2159 "members":{
2160 "agentId":{
2161 "shape":"Id",
2162 "location":"uri",
2163 "locationName":"agentId"
2164 },
2165 "agentVersion":{
2166 "shape":"Version",
2167 "location":"uri",
2168 "locationName":"agentVersion"
2169 },
2170 "maxResults":{"shape":"MaxResults"},
2171 "nextToken":{"shape":"NextToken"}
2172 }
2173 },
2174 "ListAgentActionGroupsResponse":{
2175 "type":"structure",
2176 "required":["actionGroupSummaries"],
2177 "members":{
2178 "actionGroupSummaries":{"shape":"ActionGroupSummaries"},
2179 "nextToken":{"shape":"NextToken"}
2180 }
2181 },
2182 "ListAgentAliasesRequest":{
2183 "type":"structure",
2184 "required":["agentId"],
2185 "members":{
2186 "agentId":{
2187 "shape":"Id",
2188 "location":"uri",
2189 "locationName":"agentId"
2190 },
2191 "maxResults":{"shape":"MaxResults"},
2192 "nextToken":{"shape":"NextToken"}
2193 }
2194 },
2195 "ListAgentAliasesResponse":{
2196 "type":"structure",
2197 "required":["agentAliasSummaries"],
2198 "members":{
2199 "agentAliasSummaries":{"shape":"AgentAliasSummaries"},
2200 "nextToken":{"shape":"NextToken"}
2201 }
2202 },
2203 "ListAgentKnowledgeBasesRequest":{
2204 "type":"structure",
2205 "required":[
2206 "agentId",
2207 "agentVersion"
2208 ],
2209 "members":{
2210 "agentId":{
2211 "shape":"Id",
2212 "location":"uri",
2213 "locationName":"agentId"
2214 },
2215 "agentVersion":{
2216 "shape":"Version",
2217 "location":"uri",
2218 "locationName":"agentVersion"
2219 },
2220 "maxResults":{"shape":"MaxResults"},
2221 "nextToken":{"shape":"NextToken"}
2222 }
2223 },
2224 "ListAgentKnowledgeBasesResponse":{
2225 "type":"structure",
2226 "required":["agentKnowledgeBaseSummaries"],
2227 "members":{
2228 "agentKnowledgeBaseSummaries":{"shape":"AgentKnowledgeBaseSummaries"},
2229 "nextToken":{"shape":"NextToken"}
2230 }
2231 },
2232 "ListAgentVersionsRequest":{
2233 "type":"structure",
2234 "required":["agentId"],
2235 "members":{
2236 "agentId":{
2237 "shape":"Id",
2238 "location":"uri",
2239 "locationName":"agentId"
2240 },
2241 "maxResults":{"shape":"MaxResults"},
2242 "nextToken":{"shape":"NextToken"}
2243 }
2244 },
2245 "ListAgentVersionsResponse":{
2246 "type":"structure",
2247 "required":["agentVersionSummaries"],
2248 "members":{
2249 "agentVersionSummaries":{"shape":"AgentVersionSummaries"},
2250 "nextToken":{"shape":"NextToken"}
2251 }
2252 },
2253 "ListAgentsRequest":{
2254 "type":"structure",
2255 "members":{
2256 "maxResults":{"shape":"MaxResults"},
2257 "nextToken":{"shape":"NextToken"}
2258 }
2259 },
2260 "ListAgentsResponse":{
2261 "type":"structure",
2262 "required":["agentSummaries"],
2263 "members":{
2264 "agentSummaries":{"shape":"AgentSummaries"},
2265 "nextToken":{"shape":"NextToken"}
2266 }
2267 },
2268 "ListDataSourcesRequest":{
2269 "type":"structure",
2270 "required":["knowledgeBaseId"],
2271 "members":{
2272 "knowledgeBaseId":{
2273 "shape":"Id",
2274 "location":"uri",
2275 "locationName":"knowledgeBaseId"
2276 },
2277 "maxResults":{"shape":"MaxResults"},
2278 "nextToken":{"shape":"NextToken"}
2279 }
2280 },
2281 "ListDataSourcesResponse":{
2282 "type":"structure",
2283 "required":["dataSourceSummaries"],
2284 "members":{
2285 "dataSourceSummaries":{"shape":"DataSourceSummaries"},
2286 "nextToken":{"shape":"NextToken"}
2287 }
2288 },
2289 "ListIngestionJobsRequest":{
2290 "type":"structure",
2291 "required":[
2292 "knowledgeBaseId",
2293 "dataSourceId"
2294 ],
2295 "members":{
2296 "knowledgeBaseId":{
2297 "shape":"Id",
2298 "location":"uri",
2299 "locationName":"knowledgeBaseId"
2300 },
2301 "dataSourceId":{
2302 "shape":"Id",
2303 "location":"uri",
2304 "locationName":"dataSourceId"
2305 },
2306 "filters":{"shape":"IngestionJobFilters"},
2307 "sortBy":{"shape":"IngestionJobSortBy"},
2308 "maxResults":{"shape":"MaxResults"},
2309 "nextToken":{"shape":"NextToken"}
2310 }
2311 },
2312 "ListIngestionJobsResponse":{
2313 "type":"structure",
2314 "required":["ingestionJobSummaries"],
2315 "members":{
2316 "ingestionJobSummaries":{"shape":"IngestionJobSummaries"},
2317 "nextToken":{"shape":"NextToken"}
2318 }
2319 },
2320 "ListKnowledgeBasesRequest":{
2321 "type":"structure",
2322 "members":{
2323 "maxResults":{"shape":"MaxResults"},
2324 "nextToken":{"shape":"NextToken"}
2325 }
2326 },
2327 "ListKnowledgeBasesResponse":{
2328 "type":"structure",
2329 "required":["knowledgeBaseSummaries"],
2330 "members":{
2331 "knowledgeBaseSummaries":{"shape":"KnowledgeBaseSummaries"},
2332 "nextToken":{"shape":"NextToken"}
2333 }
2334 },
2335 "ListTagsForResourceRequest":{
2336 "type":"structure",
2337 "required":["resourceArn"],
2338 "members":{
2339 "resourceArn":{
2340 "shape":"TaggableResourcesArn",
2341 "location":"uri",
2342 "locationName":"resourceArn"
2343 }
2344 }
2345 },
2346 "ListTagsForResourceResponse":{
2347 "type":"structure",
2348 "members":{
2349 "tags":{"shape":"TagsMap"}
2350 }
2351 },
2352 "MaxResults":{
2353 "type":"integer",
2354 "box":true,
2355 "max":1000,
2356 "min":1
2357 },
2358 "MaximumLength":{
2359 "type":"integer",
2360 "box":true,
2361 "max":4096,
2362 "min":0
2363 },
2364 "ModelIdentifier":{
2365 "type":"string",
2366 "max":2048,
2367 "min":1,
2368 "pattern":".*(^[a-zA-Z0-9-_.]+$)|(^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}))$)|(^([0-9a-zA-Z][_-]?)+$)|^([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63})"
2369 },
2370 "Name":{
2371 "type":"string",
2372 "pattern":"([0-9a-zA-Z][_-]?){1,100}"
2373 },
2374 "NextToken":{
2375 "type":"string",
2376 "max":2048,
2377 "min":1,
2378 "pattern":"\\S*"
2379 },
2380 "NonBlankString":{
2381 "type":"string",
2382 "pattern":"[\\s\\S]+"
2383 },
2384 "NumericalVersion":{
2385 "type":"string",
2386 "pattern":"[0-9]{1,5}"
2387 },
2388 "OpenSearchServerlessCollectionArn":{
2389 "type":"string",
2390 "max":2048,
2391 "min":0,
2392 "pattern":"arn:aws:aoss:[a-z]{2}(-gov)?-[a-z]+-\\d{1}:\\d{12}:collection/[a-z0-9-]{3,32}"
2393 },
2394 "OpenSearchServerlessConfiguration":{
2395 "type":"structure",
2396 "required":[
2397 "collectionArn",
2398 "vectorIndexName",
2399 "fieldMapping"
2400 ],
2401 "members":{
2402 "collectionArn":{"shape":"OpenSearchServerlessCollectionArn"},
2403 "vectorIndexName":{"shape":"OpenSearchServerlessIndexName"},
2404 "fieldMapping":{"shape":"OpenSearchServerlessFieldMapping"}
2405 }
2406 },
2407 "OpenSearchServerlessFieldMapping":{
2408 "type":"structure",
2409 "required":[
2410 "vectorField",
2411 "textField",
2412 "metadataField"
2413 ],
2414 "members":{
2415 "vectorField":{"shape":"FieldName"},
2416 "textField":{"shape":"FieldName"},
2417 "metadataField":{"shape":"FieldName"}
2418 }
2419 },
2420 "OpenSearchServerlessIndexName":{
2421 "type":"string",
2422 "max":2048,
2423 "min":0,
2424 "pattern":".*"
2425 },
2426 "Payload":{
2427 "type":"string",
2428 "sensitive":true
2429 },
2430 "PineconeConfiguration":{
2431 "type":"structure",
2432 "required":[
2433 "connectionString",
2434 "credentialsSecretArn",
2435 "fieldMapping"
2436 ],
2437 "members":{
2438 "connectionString":{"shape":"PineconeConnectionString"},
2439 "credentialsSecretArn":{"shape":"SecretArn"},
2440 "namespace":{"shape":"PineconeNamespace"},
2441 "fieldMapping":{"shape":"PineconeFieldMapping"}
2442 }
2443 },
2444 "PineconeConnectionString":{
2445 "type":"string",
2446 "max":2048,
2447 "min":0,
2448 "pattern":".*"
2449 },
2450 "PineconeFieldMapping":{
2451 "type":"structure",
2452 "required":[
2453 "textField",
2454 "metadataField"
2455 ],
2456 "members":{
2457 "textField":{"shape":"FieldName"},
2458 "metadataField":{"shape":"FieldName"}
2459 }
2460 },
2461 "PineconeNamespace":{
2462 "type":"string",
2463 "max":2048,
2464 "min":0,
2465 "pattern":".*"
2466 },
2467 "PrepareAgentRequest":{
2468 "type":"structure",
2469 "required":["agentId"],
2470 "members":{
2471 "agentId":{
2472 "shape":"Id",
2473 "location":"uri",
2474 "locationName":"agentId"
2475 }
2476 }
2477 },
2478 "PrepareAgentResponse":{
2479 "type":"structure",
2480 "required":[
2481 "agentId",
2482 "agentStatus",
2483 "agentVersion",
2484 "preparedAt"
2485 ],
2486 "members":{
2487 "agentId":{"shape":"Id"},
2488 "agentStatus":{"shape":"AgentStatus"},
2489 "agentVersion":{"shape":"Version"},
2490 "preparedAt":{"shape":"DateTimestamp"}
2491 }
2492 },
2493 "PrimitiveLong":{"type":"long"},
2494 "PromptConfiguration":{
2495 "type":"structure",
2496 "members":{
2497 "promptType":{"shape":"PromptType"},
2498 "promptCreationMode":{"shape":"CreationMode"},
2499 "promptState":{"shape":"PromptState"},
2500 "basePromptTemplate":{"shape":"BasePromptTemplate"},
2501 "inferenceConfiguration":{"shape":"InferenceConfiguration"},
2502 "parserMode":{"shape":"CreationMode"}
2503 }
2504 },
2505 "PromptConfigurations":{
2506 "type":"list",
2507 "member":{"shape":"PromptConfiguration"},
2508 "max":10,
2509 "min":0
2510 },
2511 "PromptOverrideConfiguration":{
2512 "type":"structure",
2513 "required":["promptConfigurations"],
2514 "members":{
2515 "promptConfigurations":{"shape":"PromptConfigurations"},
2516 "overrideLambda":{"shape":"LambdaArn"}
2517 },
2518 "sensitive":true
2519 },
2520 "PromptState":{
2521 "type":"string",
2522 "enum":[
2523 "ENABLED",
2524 "DISABLED"
2525 ]
2526 },
2527 "PromptType":{
2528 "type":"string",
2529 "enum":[
2530 "PRE_PROCESSING",
2531 "ORCHESTRATION",
2532 "POST_PROCESSING",
2533 "KNOWLEDGE_BASE_RESPONSE_GENERATION"
2534 ]
2535 },
2536 "RecommendedAction":{
2537 "type":"string",
2538 "max":2048,
2539 "min":0
2540 },
2541 "RecommendedActions":{
2542 "type":"list",
2543 "member":{"shape":"RecommendedAction"},
2544 "max":2048,
2545 "min":0
2546 },
2547 "RedisEnterpriseCloudConfiguration":{
2548 "type":"structure",
2549 "required":[
2550 "endpoint",
2551 "vectorIndexName",
2552 "credentialsSecretArn",
2553 "fieldMapping"
2554 ],
2555 "members":{
2556 "endpoint":{"shape":"RedisEnterpriseCloudEndpoint"},
2557 "vectorIndexName":{"shape":"RedisEnterpriseCloudIndexName"},
2558 "credentialsSecretArn":{"shape":"SecretArn"},
2559 "fieldMapping":{"shape":"RedisEnterpriseCloudFieldMapping"}
2560 }
2561 },
2562 "RedisEnterpriseCloudEndpoint":{
2563 "type":"string",
2564 "max":2048,
2565 "min":0,
2566 "pattern":".*"
2567 },
2568 "RedisEnterpriseCloudFieldMapping":{
2569 "type":"structure",
2570 "required":[
2571 "vectorField",
2572 "textField",
2573 "metadataField"
2574 ],
2575 "members":{
2576 "vectorField":{"shape":"FieldName"},
2577 "textField":{"shape":"FieldName"},
2578 "metadataField":{"shape":"FieldName"}
2579 }
2580 },
2581 "RedisEnterpriseCloudIndexName":{
2582 "type":"string",
2583 "max":2048,
2584 "min":0,
2585 "pattern":".*"
2586 },
2587 "ResourceNotFoundException":{
2588 "type":"structure",
2589 "members":{
2590 "message":{"shape":"NonBlankString"}
2591 },
2592 "error":{
2593 "httpStatusCode":404,
2594 "senderFault":true
2595 },
2596 "exception":true
2597 },
2598 "S3BucketArn":{
2599 "type":"string",
2600 "max":2048,
2601 "min":1,
2602 "pattern":"arn:aws(|-cn|-us-gov):s3:::[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]"
2603 },
2604 "S3BucketName":{
2605 "type":"string",
2606 "max":63,
2607 "min":3,
2608 "pattern":"[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9]"
2609 },
2610 "S3DataSourceConfiguration":{
2611 "type":"structure",
2612 "required":["bucketArn"],
2613 "members":{
2614 "bucketArn":{"shape":"S3BucketArn"},
2615 "inclusionPrefixes":{"shape":"S3Prefixes"}
2616 }
2617 },
2618 "S3Identifier":{
2619 "type":"structure",
2620 "members":{
2621 "s3BucketName":{"shape":"S3BucketName"},
2622 "s3ObjectKey":{"shape":"S3ObjectKey"}
2623 }
2624 },
2625 "S3ObjectKey":{
2626 "type":"string",
2627 "max":1024,
2628 "min":1,
2629 "pattern":"[\\.\\-\\!\\*\\_\\'\\(\\)a-zA-Z0-9][\\.\\-\\!\\*\\_\\'\\(\\)\\/a-zA-Z0-9]*"
2630 },
2631 "S3Prefix":{
2632 "type":"string",
2633 "max":300,
2634 "min":1
2635 },
2636 "S3Prefixes":{
2637 "type":"list",
2638 "member":{"shape":"S3Prefix"},
2639 "max":1,
2640 "min":1
2641 },
2642 "SecretArn":{
2643 "type":"string",
2644 "pattern":"arn:aws(|-cn|-us-gov):secretsmanager:[a-z0-9-]{1,20}:([0-9]{12}|):secret:[a-zA-Z0-9/_+=.@-]{1,63}"
2645 },
2646 "ServerSideEncryptionConfiguration":{
2647 "type":"structure",
2648 "members":{
2649 "kmsKeyArn":{"shape":"KmsKeyArn"}
2650 }
2651 },
2652 "ServiceQuotaExceededException":{
2653 "type":"structure",
2654 "members":{
2655 "message":{"shape":"NonBlankString"}
2656 },
2657 "error":{
2658 "httpStatusCode":402,
2659 "senderFault":true
2660 },
2661 "exception":true
2662 },
2663 "SessionTTL":{
2664 "type":"integer",
2665 "box":true,
2666 "max":3600,
2667 "min":60
2668 },
2669 "SortOrder":{
2670 "type":"string",
2671 "enum":[
2672 "ASCENDING",
2673 "DESCENDING"
2674 ]
2675 },
2676 "StartIngestionJobRequest":{
2677 "type":"structure",
2678 "required":[
2679 "knowledgeBaseId",
2680 "dataSourceId"
2681 ],
2682 "members":{
2683 "knowledgeBaseId":{
2684 "shape":"Id",
2685 "location":"uri",
2686 "locationName":"knowledgeBaseId"
2687 },
2688 "dataSourceId":{
2689 "shape":"Id",
2690 "location":"uri",
2691 "locationName":"dataSourceId"
2692 },
2693 "clientToken":{
2694 "shape":"ClientToken",
2695 "idempotencyToken":true
2696 },
2697 "description":{"shape":"Description"}
2698 }
2699 },
2700 "StartIngestionJobResponse":{
2701 "type":"structure",
2702 "required":["ingestionJob"],
2703 "members":{
2704 "ingestionJob":{"shape":"IngestionJob"}
2705 }
2706 },
2707 "StopSequences":{
2708 "type":"list",
2709 "member":{"shape":"String"},
2710 "max":4,
2711 "min":0
2712 },
2713 "StorageConfiguration":{
2714 "type":"structure",
2715 "required":["type"],
2716 "members":{
2717 "type":{"shape":"KnowledgeBaseStorageType"},
2718 "opensearchServerlessConfiguration":{"shape":"OpenSearchServerlessConfiguration"},
2719 "pineconeConfiguration":{"shape":"PineconeConfiguration"},
2720 "redisEnterpriseCloudConfiguration":{"shape":"RedisEnterpriseCloudConfiguration"}
2721 }
2722 },
2723 "String":{"type":"string"},
2724 "TagKey":{
2725 "type":"string",
2726 "max":128,
2727 "min":1,
2728 "pattern":"[a-zA-Z0-9\\s._:/=+@-]*"
2729 },
2730 "TagKeyList":{
2731 "type":"list",
2732 "member":{"shape":"TagKey"},
2733 "max":200,
2734 "min":0
2735 },
2736 "TagResourceRequest":{
2737 "type":"structure",
2738 "required":[
2739 "resourceArn",
2740 "tags"
2741 ],
2742 "members":{
2743 "resourceArn":{
2744 "shape":"TaggableResourcesArn",
2745 "location":"uri",
2746 "locationName":"resourceArn"
2747 },
2748 "tags":{"shape":"TagsMap"}
2749 }
2750 },
2751 "TagResourceResponse":{
2752 "type":"structure",
2753 "members":{
2754 }
2755 },
2756 "TagValue":{
2757 "type":"string",
2758 "max":256,
2759 "min":0,
2760 "pattern":"[a-zA-Z0-9\\s._:/=+@-]*"
2761 },
2762 "TaggableResourcesArn":{
2763 "type":"string",
2764 "max":1011,
2765 "min":20,
2766 "pattern":".*(^arn:aws:bedrock:[a-zA-Z0-9-]+:/d{12}:(agent|agent-alias|knowledge-base)/[A-Z0-9]{10}(?:/[A-Z0-9]{10})?$).*"
2767 },
2768 "TagsMap":{
2769 "type":"map",
2770 "key":{"shape":"TagKey"},
2771 "value":{"shape":"TagValue"}
2772 },
2773 "Temperature":{
2774 "type":"float",
2775 "box":true,
2776 "max":1,
2777 "min":0
2778 },
2779 "ThrottlingException":{
2780 "type":"structure",
2781 "members":{
2782 "message":{"shape":"NonBlankString"}
2783 },
2784 "error":{
2785 "httpStatusCode":429,
2786 "senderFault":true
2787 },
2788 "exception":true
2789 },
2790 "TopK":{
2791 "type":"integer",
2792 "box":true,
2793 "max":500,
2794 "min":0
2795 },
2796 "TopP":{
2797 "type":"float",
2798 "box":true,
2799 "max":1,
2800 "min":0
2801 },
2802 "UntagResourceRequest":{
2803 "type":"structure",
2804 "required":[
2805 "resourceArn",
2806 "tagKeys"
2807 ],
2808 "members":{
2809 "resourceArn":{
2810 "shape":"TaggableResourcesArn",
2811 "location":"uri",
2812 "locationName":"resourceArn"
2813 },
2814 "tagKeys":{
2815 "shape":"TagKeyList",
2816 "location":"querystring",
2817 "locationName":"tagKeys"
2818 }
2819 }
2820 },
2821 "UntagResourceResponse":{
2822 "type":"structure",
2823 "members":{
2824 }
2825 },
2826 "UpdateAgentActionGroupRequest":{
2827 "type":"structure",
2828 "required":[
2829 "agentId",
2830 "agentVersion",
2831 "actionGroupId",
2832 "actionGroupName"
2833 ],
2834 "members":{
2835 "agentId":{
2836 "shape":"Id",
2837 "location":"uri",
2838 "locationName":"agentId"
2839 },
2840 "agentVersion":{
2841 "shape":"DraftVersion",
2842 "location":"uri",
2843 "locationName":"agentVersion"
2844 },
2845 "actionGroupId":{
2846 "shape":"Id",
2847 "location":"uri",
2848 "locationName":"actionGroupId"
2849 },
2850 "actionGroupName":{"shape":"Name"},
2851 "description":{"shape":"Description"},
2852 "parentActionGroupSignature":{"shape":"ActionGroupSignature"},
2853 "actionGroupExecutor":{"shape":"ActionGroupExecutor"},
2854 "actionGroupState":{"shape":"ActionGroupState"},
2855 "apiSchema":{"shape":"APISchema"}
2856 }
2857 },
2858 "UpdateAgentActionGroupResponse":{
2859 "type":"structure",
2860 "required":["agentActionGroup"],
2861 "members":{
2862 "agentActionGroup":{"shape":"AgentActionGroup"}
2863 }
2864 },
2865 "UpdateAgentAliasRequest":{
2866 "type":"structure",
2867 "required":[
2868 "agentId",
2869 "agentAliasId",
2870 "agentAliasName"
2871 ],
2872 "members":{
2873 "agentId":{
2874 "shape":"Id",
2875 "location":"uri",
2876 "locationName":"agentId"
2877 },
2878 "agentAliasId":{
2879 "shape":"AgentAliasId",
2880 "location":"uri",
2881 "locationName":"agentAliasId"
2882 },
2883 "agentAliasName":{"shape":"Name"},
2884 "description":{"shape":"Description"},
2885 "routingConfiguration":{"shape":"AgentAliasRoutingConfiguration"}
2886 }
2887 },
2888 "UpdateAgentAliasResponse":{
2889 "type":"structure",
2890 "required":["agentAlias"],
2891 "members":{
2892 "agentAlias":{"shape":"AgentAlias"}
2893 }
2894 },
2895 "UpdateAgentKnowledgeBaseRequest":{
2896 "type":"structure",
2897 "required":[
2898 "agentId",
2899 "agentVersion",
2900 "knowledgeBaseId"
2901 ],
2902 "members":{
2903 "agentId":{
2904 "shape":"Id",
2905 "location":"uri",
2906 "locationName":"agentId"
2907 },
2908 "agentVersion":{
2909 "shape":"DraftVersion",
2910 "location":"uri",
2911 "locationName":"agentVersion"
2912 },
2913 "knowledgeBaseId":{
2914 "shape":"Id",
2915 "location":"uri",
2916 "locationName":"knowledgeBaseId"
2917 },
2918 "description":{"shape":"Description"},
2919 "knowledgeBaseState":{"shape":"KnowledgeBaseState"}
2920 }
2921 },
2922 "UpdateAgentKnowledgeBaseResponse":{
2923 "type":"structure",
2924 "required":["agentKnowledgeBase"],
2925 "members":{
2926 "agentKnowledgeBase":{"shape":"AgentKnowledgeBase"}
2927 }
2928 },
2929 "UpdateAgentRequest":{
2930 "type":"structure",
2931 "required":[
2932 "agentId",
2933 "agentName",
2934 "agentResourceRoleArn"
2935 ],
2936 "members":{
2937 "agentId":{
2938 "shape":"Id",
2939 "location":"uri",
2940 "locationName":"agentId"
2941 },
2942 "agentName":{"shape":"Name"},
2943 "instruction":{"shape":"Instruction"},
2944 "foundationModel":{"shape":"ModelIdentifier"},
2945 "description":{"shape":"Description"},
2946 "idleSessionTTLInSeconds":{"shape":"SessionTTL"},
2947 "agentResourceRoleArn":{"shape":"AgentRoleArn"},
2948 "customerEncryptionKeyArn":{"shape":"KmsKeyArn"},
2949 "promptOverrideConfiguration":{"shape":"PromptOverrideConfiguration"}
2950 }
2951 },
2952 "UpdateAgentResponse":{
2953 "type":"structure",
2954 "required":["agent"],
2955 "members":{
2956 "agent":{"shape":"Agent"}
2957 }
2958 },
2959 "UpdateDataSourceRequest":{
2960 "type":"structure",
2961 "required":[
2962 "knowledgeBaseId",
2963 "dataSourceId",
2964 "name",
2965 "dataSourceConfiguration"
2966 ],
2967 "members":{
2968 "knowledgeBaseId":{
2969 "shape":"Id",
2970 "location":"uri",
2971 "locationName":"knowledgeBaseId"
2972 },
2973 "dataSourceId":{
2974 "shape":"Id",
2975 "location":"uri",
2976 "locationName":"dataSourceId"
2977 },
2978 "name":{"shape":"Name"},
2979 "description":{"shape":"Description"},
2980 "dataSourceConfiguration":{"shape":"DataSourceConfiguration"},
2981 "serverSideEncryptionConfiguration":{"shape":"ServerSideEncryptionConfiguration"},
2982 "vectorIngestionConfiguration":{"shape":"VectorIngestionConfiguration"}
2983 }
2984 },
2985 "UpdateDataSourceResponse":{
2986 "type":"structure",
2987 "required":["dataSource"],
2988 "members":{
2989 "dataSource":{"shape":"DataSource"}
2990 }
2991 },
2992 "UpdateKnowledgeBaseRequest":{
2993 "type":"structure",
2994 "required":[
2995 "knowledgeBaseId",
2996 "name",
2997 "roleArn",
2998 "knowledgeBaseConfiguration",
2999 "storageConfiguration"
3000 ],
3001 "members":{
3002 "knowledgeBaseId":{
3003 "shape":"Id",
3004 "location":"uri",
3005 "locationName":"knowledgeBaseId"
3006 },
3007 "name":{"shape":"Name"},
3008 "description":{"shape":"Description"},
3009 "roleArn":{"shape":"KnowledgeBaseRoleArn"},
3010 "knowledgeBaseConfiguration":{"shape":"KnowledgeBaseConfiguration"},
3011 "storageConfiguration":{"shape":"StorageConfiguration"}
3012 }
3013 },
3014 "UpdateKnowledgeBaseResponse":{
3015 "type":"structure",
3016 "required":["knowledgeBase"],
3017 "members":{
3018 "knowledgeBase":{"shape":"KnowledgeBase"}
3019 }
3020 },
3021 "ValidationException":{
3022 "type":"structure",
3023 "members":{
3024 "message":{"shape":"NonBlankString"},
3025 "fieldList":{"shape":"ValidationExceptionFieldList"}
3026 },
3027 "error":{
3028 "httpStatusCode":400,
3029 "senderFault":true
3030 },
3031 "exception":true
3032 },
3033 "ValidationExceptionField":{
3034 "type":"structure",
3035 "required":[
3036 "name",
3037 "message"
3038 ],
3039 "members":{
3040 "name":{"shape":"NonBlankString"},
3041 "message":{"shape":"NonBlankString"}
3042 }
3043 },
3044 "ValidationExceptionFieldList":{
3045 "type":"list",
3046 "member":{"shape":"ValidationExceptionField"}
3047 },
3048 "VectorIngestionConfiguration":{
3049 "type":"structure",
3050 "members":{
3051 "chunkingConfiguration":{"shape":"ChunkingConfiguration"}
3052 }
3053 },
3054 "VectorKnowledgeBaseConfiguration":{
3055 "type":"structure",
3056 "required":["embeddingModelArn"],
3057 "members":{
3058 "embeddingModelArn":{"shape":"BedrockEmbeddingModelArn"}
3059 }
3060 },
3061 "Version":{
3062 "type":"string",
3063 "max":5,
3064 "min":1,
3065 "pattern":"(DRAFT|[0-9]{0,4}[1-9][0-9]{0,4})"
3066 }
3067 }
3068 }