1{
2  "version":"2.0",
3  "metadata":{
4    "apiVersion":"2019-02-03",
5    "endpointPrefix":"kendra",
6    "jsonVersion":"1.1",
7    "protocol":"json",
8    "serviceAbbreviation":"kendra",
9    "serviceFullName":"AWSKendraFrontendService",
10    "serviceId":"kendra",
11    "signatureVersion":"v4",
12    "signingName":"kendra",
13    "targetPrefix":"AWSKendraFrontendService",
14    "uid":"kendra-2019-02-03"
15  },
16  "operations":{
17    "BatchDeleteDocument":{
18      "name":"BatchDeleteDocument",
19      "http":{
20        "method":"POST",
21        "requestUri":"/"
22      },
23      "input":{"shape":"BatchDeleteDocumentRequest"},
24      "output":{"shape":"BatchDeleteDocumentResponse"},
25      "errors":[
26        {"shape":"ValidationException"},
27        {"shape":"ConflictException"},
28        {"shape":"ResourceNotFoundException"},
29        {"shape":"ThrottlingException"},
30        {"shape":"AccessDeniedException"},
31        {"shape":"InternalServerException"}
32      ]
33    },
34    "BatchPutDocument":{
35      "name":"BatchPutDocument",
36      "http":{
37        "method":"POST",
38        "requestUri":"/"
39      },
40      "input":{"shape":"BatchPutDocumentRequest"},
41      "output":{"shape":"BatchPutDocumentResponse"},
42      "errors":[
43        {"shape":"ValidationException"},
44        {"shape":"ConflictException"},
45        {"shape":"ResourceNotFoundException"},
46        {"shape":"ThrottlingException"},
47        {"shape":"AccessDeniedException"},
48        {"shape":"ServiceQuotaExceededException"},
49        {"shape":"InternalServerException"}
50      ]
51    },
52    "CreateDataSource":{
53      "name":"CreateDataSource",
54      "http":{
55        "method":"POST",
56        "requestUri":"/"
57      },
58      "input":{"shape":"CreateDataSourceRequest"},
59      "output":{"shape":"CreateDataSourceResponse"},
60      "errors":[
61        {"shape":"ValidationException"},
62        {"shape":"ConflictException"},
63        {"shape":"ResourceNotFoundException"},
64        {"shape":"ResourceAlreadyExistException"},
65        {"shape":"ServiceQuotaExceededException"},
66        {"shape":"ThrottlingException"},
67        {"shape":"AccessDeniedException"},
68        {"shape":"InternalServerException"}
69      ]
70    },
71    "CreateFaq":{
72      "name":"CreateFaq",
73      "http":{
74        "method":"POST",
75        "requestUri":"/"
76      },
77      "input":{"shape":"CreateFaqRequest"},
78      "output":{"shape":"CreateFaqResponse"},
79      "errors":[
80        {"shape":"ValidationException"},
81        {"shape":"ConflictException"},
82        {"shape":"ResourceNotFoundException"},
83        {"shape":"ThrottlingException"},
84        {"shape":"ServiceQuotaExceededException"},
85        {"shape":"AccessDeniedException"},
86        {"shape":"InternalServerException"}
87      ]
88    },
89    "CreateIndex":{
90      "name":"CreateIndex",
91      "http":{
92        "method":"POST",
93        "requestUri":"/"
94      },
95      "input":{"shape":"CreateIndexRequest"},
96      "output":{"shape":"CreateIndexResponse"},
97      "errors":[
98        {"shape":"ValidationException"},
99        {"shape":"ResourceAlreadyExistException"},
100        {"shape":"ServiceQuotaExceededException"},
101        {"shape":"ThrottlingException"},
102        {"shape":"AccessDeniedException"},
103        {"shape":"ConflictException"},
104        {"shape":"InternalServerException"}
105      ]
106    },
107    "DeleteDataSource":{
108      "name":"DeleteDataSource",
109      "http":{
110        "method":"POST",
111        "requestUri":"/"
112      },
113      "input":{"shape":"DeleteDataSourceRequest"},
114      "errors":[
115        {"shape":"AccessDeniedException"},
116        {"shape":"ValidationException"},
117        {"shape":"ConflictException"},
118        {"shape":"ResourceNotFoundException"},
119        {"shape":"ThrottlingException"},
120        {"shape":"InternalServerException"}
121      ]
122    },
123    "DeleteFaq":{
124      "name":"DeleteFaq",
125      "http":{
126        "method":"POST",
127        "requestUri":"/"
128      },
129      "input":{"shape":"DeleteFaqRequest"},
130      "errors":[
131        {"shape":"ValidationException"},
132        {"shape":"ConflictException"},
133        {"shape":"ResourceNotFoundException"},
134        {"shape":"ThrottlingException"},
135        {"shape":"AccessDeniedException"},
136        {"shape":"InternalServerException"}
137      ]
138    },
139    "DeleteIndex":{
140      "name":"DeleteIndex",
141      "http":{
142        "method":"POST",
143        "requestUri":"/"
144      },
145      "input":{"shape":"DeleteIndexRequest"},
146      "errors":[
147        {"shape":"ValidationException"},
148        {"shape":"ConflictException"},
149        {"shape":"ResourceNotFoundException"},
150        {"shape":"ThrottlingException"},
151        {"shape":"AccessDeniedException"},
152        {"shape":"InternalServerException"}
153      ]
154    },
155    "DescribeDataSource":{
156      "name":"DescribeDataSource",
157      "http":{
158        "method":"POST",
159        "requestUri":"/"
160      },
161      "input":{"shape":"DescribeDataSourceRequest"},
162      "output":{"shape":"DescribeDataSourceResponse"},
163      "errors":[
164        {"shape":"ValidationException"},
165        {"shape":"ResourceNotFoundException"},
166        {"shape":"ThrottlingException"},
167        {"shape":"AccessDeniedException"},
168        {"shape":"InternalServerException"}
169      ]
170    },
171    "DescribeFaq":{
172      "name":"DescribeFaq",
173      "http":{
174        "method":"POST",
175        "requestUri":"/"
176      },
177      "input":{"shape":"DescribeFaqRequest"},
178      "output":{"shape":"DescribeFaqResponse"},
179      "errors":[
180        {"shape":"ValidationException"},
181        {"shape":"ResourceNotFoundException"},
182        {"shape":"ThrottlingException"},
183        {"shape":"AccessDeniedException"},
184        {"shape":"InternalServerException"}
185      ]
186    },
187    "DescribeIndex":{
188      "name":"DescribeIndex",
189      "http":{
190        "method":"POST",
191        "requestUri":"/"
192      },
193      "input":{"shape":"DescribeIndexRequest"},
194      "output":{"shape":"DescribeIndexResponse"},
195      "errors":[
196        {"shape":"ValidationException"},
197        {"shape":"ResourceNotFoundException"},
198        {"shape":"ThrottlingException"},
199        {"shape":"AccessDeniedException"},
200        {"shape":"InternalServerException"}
201      ]
202    },
203    "ListDataSourceSyncJobs":{
204      "name":"ListDataSourceSyncJobs",
205      "http":{
206        "method":"POST",
207        "requestUri":"/"
208      },
209      "input":{"shape":"ListDataSourceSyncJobsRequest"},
210      "output":{"shape":"ListDataSourceSyncJobsResponse"},
211      "errors":[
212        {"shape":"ValidationException"},
213        {"shape":"ResourceNotFoundException"},
214        {"shape":"ThrottlingException"},
215        {"shape":"AccessDeniedException"},
216        {"shape":"ConflictException"},
217        {"shape":"InternalServerException"}
218      ]
219    },
220    "ListDataSources":{
221      "name":"ListDataSources",
222      "http":{
223        "method":"POST",
224        "requestUri":"/"
225      },
226      "input":{"shape":"ListDataSourcesRequest"},
227      "output":{"shape":"ListDataSourcesResponse"},
228      "errors":[
229        {"shape":"ValidationException"},
230        {"shape":"ResourceNotFoundException"},
231        {"shape":"AccessDeniedException"},
232        {"shape":"ThrottlingException"},
233        {"shape":"InternalServerException"}
234      ]
235    },
236    "ListFaqs":{
237      "name":"ListFaqs",
238      "http":{
239        "method":"POST",
240        "requestUri":"/"
241      },
242      "input":{"shape":"ListFaqsRequest"},
243      "output":{"shape":"ListFaqsResponse"},
244      "errors":[
245        {"shape":"ValidationException"},
246        {"shape":"ResourceNotFoundException"},
247        {"shape":"ThrottlingException"},
248        {"shape":"AccessDeniedException"},
249        {"shape":"InternalServerException"}
250      ]
251    },
252    "ListIndices":{
253      "name":"ListIndices",
254      "http":{
255        "method":"POST",
256        "requestUri":"/"
257      },
258      "input":{"shape":"ListIndicesRequest"},
259      "output":{"shape":"ListIndicesResponse"},
260      "errors":[
261        {"shape":"ValidationException"},
262        {"shape":"ThrottlingException"},
263        {"shape":"AccessDeniedException"},
264        {"shape":"InternalServerException"}
265      ]
266    },
267    "ListTagsForResource":{
268      "name":"ListTagsForResource",
269      "http":{
270        "method":"POST",
271        "requestUri":"/"
272      },
273      "input":{"shape":"ListTagsForResourceRequest"},
274      "output":{"shape":"ListTagsForResourceResponse"},
275      "errors":[
276        {"shape":"ValidationException"},
277        {"shape":"ResourceUnavailableException"},
278        {"shape":"ThrottlingException"},
279        {"shape":"AccessDeniedException"},
280        {"shape":"InternalServerException"}
281      ]
282    },
283    "Query":{
284      "name":"Query",
285      "http":{
286        "method":"POST",
287        "requestUri":"/"
288      },
289      "input":{"shape":"QueryRequest"},
290      "output":{"shape":"QueryResult"},
291      "errors":[
292        {"shape":"ValidationException"},
293        {"shape":"ConflictException"},
294        {"shape":"ResourceNotFoundException"},
295        {"shape":"ThrottlingException"},
296        {"shape":"AccessDeniedException"},
297        {"shape":"ServiceQuotaExceededException"},
298        {"shape":"InternalServerException"}
299      ]
300    },
301    "StartDataSourceSyncJob":{
302      "name":"StartDataSourceSyncJob",
303      "http":{
304        "method":"POST",
305        "requestUri":"/"
306      },
307      "input":{"shape":"StartDataSourceSyncJobRequest"},
308      "output":{"shape":"StartDataSourceSyncJobResponse"},
309      "errors":[
310        {"shape":"ValidationException"},
311        {"shape":"ResourceNotFoundException"},
312        {"shape":"ResourceInUseException"},
313        {"shape":"ThrottlingException"},
314        {"shape":"AccessDeniedException"},
315        {"shape":"ConflictException"},
316        {"shape":"InternalServerException"}
317      ]
318    },
319    "StopDataSourceSyncJob":{
320      "name":"StopDataSourceSyncJob",
321      "http":{
322        "method":"POST",
323        "requestUri":"/"
324      },
325      "input":{"shape":"StopDataSourceSyncJobRequest"},
326      "errors":[
327        {"shape":"ValidationException"},
328        {"shape":"ResourceNotFoundException"},
329        {"shape":"ThrottlingException"},
330        {"shape":"AccessDeniedException"},
331        {"shape":"InternalServerException"}
332      ]
333    },
334    "SubmitFeedback":{
335      "name":"SubmitFeedback",
336      "http":{
337        "method":"POST",
338        "requestUri":"/"
339      },
340      "input":{"shape":"SubmitFeedbackRequest"},
341      "errors":[
342        {"shape":"ValidationException"},
343        {"shape":"ResourceUnavailableException"},
344        {"shape":"ResourceNotFoundException"},
345        {"shape":"ThrottlingException"},
346        {"shape":"AccessDeniedException"},
347        {"shape":"InternalServerException"}
348      ]
349    },
350    "TagResource":{
351      "name":"TagResource",
352      "http":{
353        "method":"POST",
354        "requestUri":"/"
355      },
356      "input":{"shape":"TagResourceRequest"},
357      "output":{"shape":"TagResourceResponse"},
358      "errors":[
359        {"shape":"ValidationException"},
360        {"shape":"ResourceUnavailableException"},
361        {"shape":"ThrottlingException"},
362        {"shape":"AccessDeniedException"},
363        {"shape":"InternalServerException"}
364      ]
365    },
366    "UntagResource":{
367      "name":"UntagResource",
368      "http":{
369        "method":"POST",
370        "requestUri":"/"
371      },
372      "input":{"shape":"UntagResourceRequest"},
373      "output":{"shape":"UntagResourceResponse"},
374      "errors":[
375        {"shape":"ValidationException"},
376        {"shape":"ResourceUnavailableException"},
377        {"shape":"ThrottlingException"},
378        {"shape":"AccessDeniedException"},
379        {"shape":"InternalServerException"}
380      ]
381    },
382    "UpdateDataSource":{
383      "name":"UpdateDataSource",
384      "http":{
385        "method":"POST",
386        "requestUri":"/"
387      },
388      "input":{"shape":"UpdateDataSourceRequest"},
389      "errors":[
390        {"shape":"ValidationException"},
391        {"shape":"ConflictException"},
392        {"shape":"ResourceNotFoundException"},
393        {"shape":"ThrottlingException"},
394        {"shape":"AccessDeniedException"},
395        {"shape":"InternalServerException"}
396      ]
397    },
398    "UpdateIndex":{
399      "name":"UpdateIndex",
400      "http":{
401        "method":"POST",
402        "requestUri":"/"
403      },
404      "input":{"shape":"UpdateIndexRequest"},
405      "errors":[
406        {"shape":"ValidationException"},
407        {"shape":"ConflictException"},
408        {"shape":"ResourceNotFoundException"},
409        {"shape":"ThrottlingException"},
410        {"shape":"AccessDeniedException"},
411        {"shape":"ServiceQuotaExceededException"},
412        {"shape":"InternalServerException"}
413      ]
414    }
415  },
416  "shapes":{
417    "AccessControlListConfiguration":{
418      "type":"structure",
419      "members":{
420        "KeyPath":{"shape":"S3ObjectKey"}
421      }
422    },
423    "AccessDeniedException":{
424      "type":"structure",
425      "members":{
426        "Message":{"shape":"ErrorMessage"}
427      },
428      "exception":true
429    },
430    "AclConfiguration":{
431      "type":"structure",
432      "required":["AllowedGroupsColumnName"],
433      "members":{
434        "AllowedGroupsColumnName":{"shape":"ColumnName"}
435      }
436    },
437    "AdditionalResultAttribute":{
438      "type":"structure",
439      "required":[
440        "Key",
441        "ValueType",
442        "Value"
443      ],
444      "members":{
445        "Key":{"shape":"String"},
446        "ValueType":{"shape":"AdditionalResultAttributeValueType"},
447        "Value":{"shape":"AdditionalResultAttributeValue"}
448      }
449    },
450    "AdditionalResultAttributeList":{
451      "type":"list",
452      "member":{"shape":"AdditionalResultAttribute"}
453    },
454    "AdditionalResultAttributeValue":{
455      "type":"structure",
456      "members":{
457        "TextWithHighlightsValue":{"shape":"TextWithHighlights"}
458      }
459    },
460    "AdditionalResultAttributeValueType":{
461      "type":"string",
462      "enum":["TEXT_WITH_HIGHLIGHTS_VALUE"]
463    },
464    "AmazonResourceName":{
465      "type":"string",
466      "max":1011,
467      "min":1
468    },
469    "AttributeFilter":{
470      "type":"structure",
471      "members":{
472        "AndAllFilters":{"shape":"AttributeFilterList"},
473        "OrAllFilters":{"shape":"AttributeFilterList"},
474        "NotFilter":{"shape":"AttributeFilter"},
475        "EqualsTo":{"shape":"DocumentAttribute"},
476        "ContainsAll":{"shape":"DocumentAttribute"},
477        "ContainsAny":{"shape":"DocumentAttribute"},
478        "GreaterThan":{"shape":"DocumentAttribute"},
479        "GreaterThanOrEquals":{"shape":"DocumentAttribute"},
480        "LessThan":{"shape":"DocumentAttribute"},
481        "LessThanOrEquals":{"shape":"DocumentAttribute"}
482      }
483    },
484    "AttributeFilterList":{
485      "type":"list",
486      "member":{"shape":"AttributeFilter"}
487    },
488    "BatchDeleteDocumentRequest":{
489      "type":"structure",
490      "required":[
491        "IndexId",
492        "DocumentIdList"
493      ],
494      "members":{
495        "IndexId":{"shape":"IndexId"},
496        "DocumentIdList":{"shape":"DocumentIdList"},
497        "DataSourceSyncJobMetricTarget":{"shape":"DataSourceSyncJobMetricTarget"}
498      }
499    },
500    "BatchDeleteDocumentResponse":{
501      "type":"structure",
502      "members":{
503        "FailedDocuments":{"shape":"BatchDeleteDocumentResponseFailedDocuments"}
504      }
505    },
506    "BatchDeleteDocumentResponseFailedDocument":{
507      "type":"structure",
508      "members":{
509        "Id":{"shape":"DocumentId"},
510        "ErrorCode":{"shape":"ErrorCode"},
511        "ErrorMessage":{"shape":"ErrorMessage"}
512      }
513    },
514    "BatchDeleteDocumentResponseFailedDocuments":{
515      "type":"list",
516      "member":{"shape":"BatchDeleteDocumentResponseFailedDocument"}
517    },
518    "BatchPutDocumentRequest":{
519      "type":"structure",
520      "required":[
521        "IndexId",
522        "Documents"
523      ],
524      "members":{
525        "IndexId":{"shape":"IndexId"},
526        "RoleArn":{"shape":"RoleArn"},
527        "Documents":{"shape":"DocumentList"}
528      }
529    },
530    "BatchPutDocumentResponse":{
531      "type":"structure",
532      "members":{
533        "FailedDocuments":{"shape":"BatchPutDocumentResponseFailedDocuments"}
534      }
535    },
536    "BatchPutDocumentResponseFailedDocument":{
537      "type":"structure",
538      "members":{
539        "Id":{"shape":"DocumentId"},
540        "ErrorCode":{"shape":"ErrorCode"},
541        "ErrorMessage":{"shape":"ErrorMessage"}
542      }
543    },
544    "BatchPutDocumentResponseFailedDocuments":{
545      "type":"list",
546      "member":{"shape":"BatchPutDocumentResponseFailedDocument"}
547    },
548    "Blob":{"type":"blob"},
549    "Boolean":{"type":"boolean"},
550    "CapacityUnitsConfiguration":{
551      "type":"structure",
552      "required":[
553        "StorageCapacityUnits",
554        "QueryCapacityUnits"
555      ],
556      "members":{
557        "StorageCapacityUnits":{"shape":"StorageCapacityUnit"},
558        "QueryCapacityUnits":{"shape":"QueryCapacityUnit"}
559      }
560    },
561    "ChangeDetectingColumns":{
562      "type":"list",
563      "member":{"shape":"ColumnName"},
564      "max":5,
565      "min":1
566    },
567    "ClickFeedback":{
568      "type":"structure",
569      "required":[
570        "ResultId",
571        "ClickTime"
572      ],
573      "members":{
574        "ResultId":{"shape":"ResultId"},
575        "ClickTime":{"shape":"Timestamp"}
576      }
577    },
578    "ClickFeedbackList":{
579      "type":"list",
580      "member":{"shape":"ClickFeedback"}
581    },
582    "ClientTokenName":{
583      "type":"string",
584      "max":100,
585      "min":1
586    },
587    "ColumnConfiguration":{
588      "type":"structure",
589      "required":[
590        "DocumentIdColumnName",
591        "DocumentDataColumnName",
592        "ChangeDetectingColumns"
593      ],
594      "members":{
595        "DocumentIdColumnName":{"shape":"ColumnName"},
596        "DocumentDataColumnName":{"shape":"ColumnName"},
597        "DocumentTitleColumnName":{"shape":"ColumnName"},
598        "FieldMappings":{"shape":"DataSourceToIndexFieldMappingList"},
599        "ChangeDetectingColumns":{"shape":"ChangeDetectingColumns"}
600      }
601    },
602    "ColumnName":{
603      "type":"string",
604      "max":100,
605      "min":1,
606      "pattern":"^[a-zA-Z][a-zA-Z0-9_]*$"
607    },
608    "ConflictException":{
609      "type":"structure",
610      "members":{
611        "Message":{"shape":"ErrorMessage"}
612      },
613      "exception":true
614    },
615    "ConnectionConfiguration":{
616      "type":"structure",
617      "required":[
618        "DatabaseHost",
619        "DatabasePort",
620        "DatabaseName",
621        "TableName",
622        "SecretArn"
623      ],
624      "members":{
625        "DatabaseHost":{"shape":"DatabaseHost"},
626        "DatabasePort":{"shape":"DatabasePort"},
627        "DatabaseName":{"shape":"DatabaseName"},
628        "TableName":{"shape":"TableName"},
629        "SecretArn":{"shape":"SecretArn"}
630      }
631    },
632    "ContentType":{
633      "type":"string",
634      "enum":[
635        "PDF",
636        "HTML",
637        "MS_WORD",
638        "PLAIN_TEXT",
639        "PPT"
640      ]
641    },
642    "CreateDataSourceRequest":{
643      "type":"structure",
644      "required":[
645        "Name",
646        "IndexId",
647        "Type",
648        "Configuration",
649        "RoleArn"
650      ],
651      "members":{
652        "Name":{"shape":"DataSourceName"},
653        "IndexId":{"shape":"IndexId"},
654        "Type":{"shape":"DataSourceType"},
655        "Configuration":{"shape":"DataSourceConfiguration"},
656        "Description":{"shape":"Description"},
657        "Schedule":{"shape":"ScanSchedule"},
658        "RoleArn":{"shape":"RoleArn"},
659        "Tags":{"shape":"TagList"}
660      }
661    },
662    "CreateDataSourceResponse":{
663      "type":"structure",
664      "required":["Id"],
665      "members":{
666        "Id":{"shape":"DataSourceId"}
667      }
668    },
669    "CreateFaqRequest":{
670      "type":"structure",
671      "required":[
672        "IndexId",
673        "Name",
674        "S3Path",
675        "RoleArn"
676      ],
677      "members":{
678        "IndexId":{"shape":"IndexId"},
679        "Name":{"shape":"FaqName"},
680        "Description":{"shape":"Description"},
681        "S3Path":{"shape":"S3Path"},
682        "RoleArn":{"shape":"RoleArn"},
683        "Tags":{"shape":"TagList"}
684      }
685    },
686    "CreateFaqResponse":{
687      "type":"structure",
688      "members":{
689        "Id":{"shape":"FaqId"}
690      }
691    },
692    "CreateIndexRequest":{
693      "type":"structure",
694      "required":[
695        "Name",
696        "RoleArn"
697      ],
698      "members":{
699        "Name":{"shape":"IndexName"},
700        "Edition":{"shape":"IndexEdition"},
701        "RoleArn":{"shape":"RoleArn"},
702        "ServerSideEncryptionConfiguration":{"shape":"ServerSideEncryptionConfiguration"},
703        "Description":{"shape":"Description"},
704        "ClientToken":{
705          "shape":"ClientTokenName",
706          "idempotencyToken":true
707        },
708        "Tags":{"shape":"TagList"}
709      }
710    },
711    "CreateIndexResponse":{
712      "type":"structure",
713      "members":{
714        "Id":{"shape":"IndexId"}
715      }
716    },
717    "DataSourceConfiguration":{
718      "type":"structure",
719      "members":{
720        "S3Configuration":{"shape":"S3DataSourceConfiguration"},
721        "SharePointConfiguration":{"shape":"SharePointConfiguration"},
722        "DatabaseConfiguration":{"shape":"DatabaseConfiguration"},
723        "SalesforceConfiguration":{"shape":"SalesforceConfiguration"},
724        "OneDriveConfiguration":{"shape":"OneDriveConfiguration"},
725        "ServiceNowConfiguration":{"shape":"ServiceNowConfiguration"}
726      }
727    },
728    "DataSourceDateFieldFormat":{
729      "type":"string",
730      "max":40,
731      "min":4,
732      "pattern":"^(?!\\s).*(?<!\\s)$"
733    },
734    "DataSourceFieldName":{
735      "type":"string",
736      "max":100,
737      "min":1,
738      "pattern":"^[a-zA-Z][a-zA-Z0-9_.]*$"
739    },
740    "DataSourceId":{
741      "type":"string",
742      "max":100,
743      "min":1,
744      "pattern":"[a-zA-Z0-9][a-zA-Z0-9_-]*"
745    },
746    "DataSourceInclusionsExclusionsStrings":{
747      "type":"list",
748      "member":{"shape":"DataSourceInclusionsExclusionsStringsMember"},
749      "max":100,
750      "min":0
751    },
752    "DataSourceInclusionsExclusionsStringsMember":{
753      "type":"string",
754      "max":50,
755      "min":1
756    },
757    "DataSourceName":{
758      "type":"string",
759      "max":1000,
760      "min":1,
761      "pattern":"[a-zA-Z0-9][a-zA-Z0-9_-]*"
762    },
763    "DataSourceStatus":{
764      "type":"string",
765      "enum":[
766        "CREATING",
767        "DELETING",
768        "FAILED",
769        "UPDATING",
770        "ACTIVE"
771      ]
772    },
773    "DataSourceSummary":{
774      "type":"structure",
775      "members":{
776        "Name":{"shape":"DataSourceName"},
777        "Id":{"shape":"DataSourceId"},
778        "Type":{"shape":"DataSourceType"},
779        "CreatedAt":{"shape":"Timestamp"},
780        "UpdatedAt":{"shape":"Timestamp"},
781        "Status":{"shape":"DataSourceStatus"}
782      }
783    },
784    "DataSourceSummaryList":{
785      "type":"list",
786      "member":{"shape":"DataSourceSummary"}
787    },
788    "DataSourceSyncJob":{
789      "type":"structure",
790      "members":{
791        "ExecutionId":{"shape":"String"},
792        "StartTime":{"shape":"Timestamp"},
793        "EndTime":{"shape":"Timestamp"},
794        "Status":{"shape":"DataSourceSyncJobStatus"},
795        "ErrorMessage":{"shape":"ErrorMessage"},
796        "ErrorCode":{"shape":"ErrorCode"},
797        "DataSourceErrorCode":{"shape":"String"},
798        "Metrics":{"shape":"DataSourceSyncJobMetrics"}
799      }
800    },
801    "DataSourceSyncJobHistoryList":{
802      "type":"list",
803      "member":{"shape":"DataSourceSyncJob"}
804    },
805    "DataSourceSyncJobId":{
806      "type":"string",
807      "max":100,
808      "min":1,
809      "pattern":"[a-zA-Z0-9][a-zA-Z0-9_-]*"
810    },
811    "DataSourceSyncJobMetricTarget":{
812      "type":"structure",
813      "required":[
814        "DataSourceId",
815        "DataSourceSyncJobId"
816      ],
817      "members":{
818        "DataSourceId":{"shape":"DataSourceId"},
819        "DataSourceSyncJobId":{"shape":"DataSourceSyncJobId"}
820      }
821    },
822    "DataSourceSyncJobMetrics":{
823      "type":"structure",
824      "members":{
825        "DocumentsAdded":{"shape":"MetricValue"},
826        "DocumentsModified":{"shape":"MetricValue"},
827        "DocumentsDeleted":{"shape":"MetricValue"},
828        "DocumentsFailed":{"shape":"MetricValue"},
829        "DocumentsScanned":{"shape":"MetricValue"}
830      }
831    },
832    "DataSourceSyncJobStatus":{
833      "type":"string",
834      "enum":[
835        "FAILED",
836        "SUCCEEDED",
837        "SYNCING",
838        "INCOMPLETE",
839        "STOPPING",
840        "ABORTED",
841        "SYNCING_INDEXING"
842      ]
843    },
844    "DataSourceToIndexFieldMapping":{
845      "type":"structure",
846      "required":[
847        "DataSourceFieldName",
848        "IndexFieldName"
849      ],
850      "members":{
851        "DataSourceFieldName":{"shape":"DataSourceFieldName"},
852        "DateFieldFormat":{"shape":"DataSourceDateFieldFormat"},
853        "IndexFieldName":{"shape":"IndexFieldName"}
854      }
855    },
856    "DataSourceToIndexFieldMappingList":{
857      "type":"list",
858      "member":{"shape":"DataSourceToIndexFieldMapping"},
859      "max":100,
860      "min":1
861    },
862    "DataSourceType":{
863      "type":"string",
864      "enum":[
865        "S3",
866        "SHAREPOINT",
867        "DATABASE",
868        "SALESFORCE",
869        "ONEDRIVE",
870        "SERVICENOW"
871      ]
872    },
873    "DataSourceVpcConfiguration":{
874      "type":"structure",
875      "required":[
876        "SubnetIds",
877        "SecurityGroupIds"
878      ],
879      "members":{
880        "SubnetIds":{"shape":"SubnetIdList"},
881        "SecurityGroupIds":{"shape":"SecurityGroupIdList"}
882      }
883    },
884    "DatabaseConfiguration":{
885      "type":"structure",
886      "required":[
887        "DatabaseEngineType",
888        "ConnectionConfiguration",
889        "ColumnConfiguration"
890      ],
891      "members":{
892        "DatabaseEngineType":{"shape":"DatabaseEngineType"},
893        "ConnectionConfiguration":{"shape":"ConnectionConfiguration"},
894        "VpcConfiguration":{"shape":"DataSourceVpcConfiguration"},
895        "ColumnConfiguration":{"shape":"ColumnConfiguration"},
896        "AclConfiguration":{"shape":"AclConfiguration"}
897      }
898    },
899    "DatabaseEngineType":{
900      "type":"string",
901      "enum":[
902        "RDS_AURORA_MYSQL",
903        "RDS_AURORA_POSTGRESQL",
904        "RDS_MYSQL",
905        "RDS_POSTGRESQL"
906      ]
907    },
908    "DatabaseHost":{
909      "type":"string",
910      "max":253,
911      "min":1
912    },
913    "DatabaseName":{
914      "type":"string",
915      "max":100,
916      "min":1,
917      "pattern":"^[a-zA-Z][a-zA-Z0-9_]*$"
918    },
919    "DatabasePort":{
920      "type":"integer",
921      "max":65535,
922      "min":1
923    },
924    "DeleteDataSourceRequest":{
925      "type":"structure",
926      "required":[
927        "Id",
928        "IndexId"
929      ],
930      "members":{
931        "Id":{"shape":"DataSourceId"},
932        "IndexId":{"shape":"IndexId"}
933      }
934    },
935    "DeleteFaqRequest":{
936      "type":"structure",
937      "required":[
938        "Id",
939        "IndexId"
940      ],
941      "members":{
942        "Id":{"shape":"FaqId"},
943        "IndexId":{"shape":"IndexId"}
944      }
945    },
946    "DeleteIndexRequest":{
947      "type":"structure",
948      "required":["Id"],
949      "members":{
950        "Id":{"shape":"IndexId"}
951      }
952    },
953    "DescribeDataSourceRequest":{
954      "type":"structure",
955      "required":[
956        "Id",
957        "IndexId"
958      ],
959      "members":{
960        "Id":{"shape":"DataSourceId"},
961        "IndexId":{"shape":"IndexId"}
962      }
963    },
964    "DescribeDataSourceResponse":{
965      "type":"structure",
966      "members":{
967        "Id":{"shape":"DataSourceId"},
968        "IndexId":{"shape":"IndexId"},
969        "Name":{"shape":"DataSourceName"},
970        "Type":{"shape":"DataSourceType"},
971        "Configuration":{"shape":"DataSourceConfiguration"},
972        "CreatedAt":{"shape":"Timestamp"},
973        "UpdatedAt":{"shape":"Timestamp"},
974        "Description":{"shape":"Description"},
975        "Status":{"shape":"DataSourceStatus"},
976        "Schedule":{"shape":"ScanSchedule"},
977        "RoleArn":{"shape":"RoleArn"},
978        "ErrorMessage":{"shape":"ErrorMessage"}
979      }
980    },
981    "DescribeFaqRequest":{
982      "type":"structure",
983      "required":[
984        "Id",
985        "IndexId"
986      ],
987      "members":{
988        "Id":{"shape":"FaqId"},
989        "IndexId":{"shape":"IndexId"}
990      }
991    },
992    "DescribeFaqResponse":{
993      "type":"structure",
994      "members":{
995        "Id":{"shape":"FaqId"},
996        "IndexId":{"shape":"IndexId"},
997        "Name":{"shape":"FaqName"},
998        "Description":{"shape":"Description"},
999        "CreatedAt":{"shape":"Timestamp"},
1000        "UpdatedAt":{"shape":"Timestamp"},
1001        "S3Path":{"shape":"S3Path"},
1002        "Status":{"shape":"FaqStatus"},
1003        "RoleArn":{"shape":"RoleArn"},
1004        "ErrorMessage":{"shape":"ErrorMessage"}
1005      }
1006    },
1007    "DescribeIndexRequest":{
1008      "type":"structure",
1009      "required":["Id"],
1010      "members":{
1011        "Id":{"shape":"IndexId"}
1012      }
1013    },
1014    "DescribeIndexResponse":{
1015      "type":"structure",
1016      "members":{
1017        "Name":{"shape":"IndexName"},
1018        "Id":{"shape":"IndexId"},
1019        "Edition":{"shape":"IndexEdition"},
1020        "RoleArn":{"shape":"RoleArn"},
1021        "ServerSideEncryptionConfiguration":{"shape":"ServerSideEncryptionConfiguration"},
1022        "Status":{"shape":"IndexStatus"},
1023        "Description":{"shape":"Description"},
1024        "CreatedAt":{"shape":"Timestamp"},
1025        "UpdatedAt":{"shape":"Timestamp"},
1026        "DocumentMetadataConfigurations":{"shape":"DocumentMetadataConfigurationList"},
1027        "IndexStatistics":{"shape":"IndexStatistics"},
1028        "ErrorMessage":{"shape":"ErrorMessage"},
1029        "CapacityUnits":{"shape":"CapacityUnitsConfiguration"}
1030      }
1031    },
1032    "Description":{
1033      "type":"string",
1034      "max":1000,
1035      "min":1,
1036      "pattern":"^\\P{C}*$"
1037    },
1038    "Document":{
1039      "type":"structure",
1040      "required":["Id"],
1041      "members":{
1042        "Id":{"shape":"DocumentId"},
1043        "Title":{"shape":"Title"},
1044        "Blob":{"shape":"Blob"},
1045        "S3Path":{"shape":"S3Path"},
1046        "Attributes":{"shape":"DocumentAttributeList"},
1047        "AccessControlList":{"shape":"PrincipalList"},
1048        "ContentType":{"shape":"ContentType"}
1049      }
1050    },
1051    "DocumentAttribute":{
1052      "type":"structure",
1053      "required":[
1054        "Key",
1055        "Value"
1056      ],
1057      "members":{
1058        "Key":{"shape":"DocumentAttributeKey"},
1059        "Value":{"shape":"DocumentAttributeValue"}
1060      }
1061    },
1062    "DocumentAttributeKey":{
1063      "type":"string",
1064      "max":200,
1065      "min":1,
1066      "pattern":"[a-zA-Z0-9_][a-zA-Z0-9_-]*"
1067    },
1068    "DocumentAttributeKeyList":{
1069      "type":"list",
1070      "member":{"shape":"DocumentAttributeKey"},
1071      "max":100,
1072      "min":1
1073    },
1074    "DocumentAttributeList":{
1075      "type":"list",
1076      "member":{"shape":"DocumentAttribute"}
1077    },
1078    "DocumentAttributeStringListValue":{
1079      "type":"list",
1080      "member":{"shape":"String"}
1081    },
1082    "DocumentAttributeStringValue":{
1083      "type":"string",
1084      "max":2048,
1085      "min":1
1086    },
1087    "DocumentAttributeValue":{
1088      "type":"structure",
1089      "members":{
1090        "StringValue":{"shape":"DocumentAttributeStringValue"},
1091        "StringListValue":{"shape":"DocumentAttributeStringListValue"},
1092        "LongValue":{"shape":"Long"},
1093        "DateValue":{"shape":"Timestamp"}
1094      }
1095    },
1096    "DocumentAttributeValueCountPair":{
1097      "type":"structure",
1098      "members":{
1099        "DocumentAttributeValue":{"shape":"DocumentAttributeValue"},
1100        "Count":{"shape":"Integer"}
1101      }
1102    },
1103    "DocumentAttributeValueCountPairList":{
1104      "type":"list",
1105      "member":{"shape":"DocumentAttributeValueCountPair"}
1106    },
1107    "DocumentAttributeValueType":{
1108      "type":"string",
1109      "enum":[
1110        "STRING_VALUE",
1111        "STRING_LIST_VALUE",
1112        "LONG_VALUE",
1113        "DATE_VALUE"
1114      ]
1115    },
1116    "DocumentId":{
1117      "type":"string",
1118      "max":2048,
1119      "min":1
1120    },
1121    "DocumentIdList":{
1122      "type":"list",
1123      "member":{"shape":"DocumentId"},
1124      "max":10,
1125      "min":1
1126    },
1127    "DocumentList":{
1128      "type":"list",
1129      "member":{"shape":"Document"},
1130      "max":10,
1131      "min":1
1132    },
1133    "DocumentMetadataBoolean":{"type":"boolean"},
1134    "DocumentMetadataConfiguration":{
1135      "type":"structure",
1136      "required":[
1137        "Name",
1138        "Type"
1139      ],
1140      "members":{
1141        "Name":{"shape":"DocumentMetadataConfigurationName"},
1142        "Type":{"shape":"DocumentAttributeValueType"},
1143        "Relevance":{"shape":"Relevance"},
1144        "Search":{"shape":"Search"}
1145      }
1146    },
1147    "DocumentMetadataConfigurationList":{
1148      "type":"list",
1149      "member":{"shape":"DocumentMetadataConfiguration"},
1150      "max":500,
1151      "min":0
1152    },
1153    "DocumentMetadataConfigurationName":{
1154      "type":"string",
1155      "max":30,
1156      "min":1
1157    },
1158    "DocumentsMetadataConfiguration":{
1159      "type":"structure",
1160      "members":{
1161        "S3Prefix":{"shape":"S3ObjectKey"}
1162      }
1163    },
1164    "Duration":{
1165      "type":"string",
1166      "max":10,
1167      "min":1,
1168      "pattern":"[0-9]+[s]"
1169    },
1170    "ErrorCode":{
1171      "type":"string",
1172      "enum":[
1173        "InternalError",
1174        "InvalidRequest"
1175      ]
1176    },
1177    "ErrorMessage":{
1178      "type":"string",
1179      "max":2048,
1180      "min":1,
1181      "pattern":"^\\P{C}*$"
1182    },
1183    "Facet":{
1184      "type":"structure",
1185      "members":{
1186        "DocumentAttributeKey":{"shape":"DocumentAttributeKey"}
1187      }
1188    },
1189    "FacetList":{
1190      "type":"list",
1191      "member":{"shape":"Facet"}
1192    },
1193    "FacetResult":{
1194      "type":"structure",
1195      "members":{
1196        "DocumentAttributeKey":{"shape":"DocumentAttributeKey"},
1197        "DocumentAttributeValueCountPairs":{"shape":"DocumentAttributeValueCountPairList"}
1198      }
1199    },
1200    "FacetResultList":{
1201      "type":"list",
1202      "member":{"shape":"FacetResult"}
1203    },
1204    "FaqId":{
1205      "type":"string",
1206      "max":100,
1207      "min":1,
1208      "pattern":"[a-zA-Z0-9][a-zA-Z0-9_-]*"
1209    },
1210    "FaqName":{
1211      "type":"string",
1212      "max":100,
1213      "min":1,
1214      "pattern":"[a-zA-Z0-9][a-zA-Z0-9_-]*"
1215    },
1216    "FaqStatistics":{
1217      "type":"structure",
1218      "required":["IndexedQuestionAnswersCount"],
1219      "members":{
1220        "IndexedQuestionAnswersCount":{"shape":"IndexedQuestionAnswersCount"}
1221      }
1222    },
1223    "FaqStatus":{
1224      "type":"string",
1225      "enum":[
1226        "CREATING",
1227        "UPDATING",
1228        "ACTIVE",
1229        "DELETING",
1230        "FAILED"
1231      ]
1232    },
1233    "FaqSummary":{
1234      "type":"structure",
1235      "members":{
1236        "Id":{"shape":"FaqId"},
1237        "Name":{"shape":"FaqName"},
1238        "Status":{"shape":"FaqStatus"},
1239        "CreatedAt":{"shape":"Timestamp"},
1240        "UpdatedAt":{"shape":"Timestamp"}
1241      }
1242    },
1243    "FaqSummaryItems":{
1244      "type":"list",
1245      "member":{"shape":"FaqSummary"}
1246    },
1247    "Highlight":{
1248      "type":"structure",
1249      "required":[
1250        "BeginOffset",
1251        "EndOffset"
1252      ],
1253      "members":{
1254        "BeginOffset":{"shape":"Integer"},
1255        "EndOffset":{"shape":"Integer"},
1256        "TopAnswer":{"shape":"Boolean"}
1257      }
1258    },
1259    "HighlightList":{
1260      "type":"list",
1261      "member":{"shape":"Highlight"}
1262    },
1263    "Importance":{
1264      "type":"integer",
1265      "max":10,
1266      "min":1
1267    },
1268    "IndexConfigurationSummary":{
1269      "type":"structure",
1270      "required":[
1271        "CreatedAt",
1272        "UpdatedAt",
1273        "Status"
1274      ],
1275      "members":{
1276        "Name":{"shape":"IndexName"},
1277        "Id":{"shape":"IndexId"},
1278        "Edition":{"shape":"IndexEdition"},
1279        "CreatedAt":{"shape":"Timestamp"},
1280        "UpdatedAt":{"shape":"Timestamp"},
1281        "Status":{"shape":"IndexStatus"}
1282      }
1283    },
1284    "IndexConfigurationSummaryList":{
1285      "type":"list",
1286      "member":{"shape":"IndexConfigurationSummary"}
1287    },
1288    "IndexEdition":{
1289      "type":"string",
1290      "enum":[
1291        "DEVELOPER_EDITION",
1292        "ENTERPRISE_EDITION"
1293      ]
1294    },
1295    "IndexFieldName":{
1296      "type":"string",
1297      "max":30,
1298      "min":1,
1299      "pattern":"^\\P{C}*$"
1300    },
1301    "IndexId":{
1302      "type":"string",
1303      "max":36,
1304      "min":36,
1305      "pattern":"[a-zA-Z0-9][a-zA-Z0-9-]*"
1306    },
1307    "IndexName":{
1308      "type":"string",
1309      "max":1000,
1310      "min":1,
1311      "pattern":"[a-zA-Z0-9][a-zA-Z0-9_-]*"
1312    },
1313    "IndexStatistics":{
1314      "type":"structure",
1315      "required":[
1316        "FaqStatistics",
1317        "TextDocumentStatistics"
1318      ],
1319      "members":{
1320        "FaqStatistics":{"shape":"FaqStatistics"},
1321        "TextDocumentStatistics":{"shape":"TextDocumentStatistics"}
1322      }
1323    },
1324    "IndexStatus":{
1325      "type":"string",
1326      "enum":[
1327        "CREATING",
1328        "ACTIVE",
1329        "DELETING",
1330        "FAILED",
1331        "UPDATING",
1332        "SYSTEM_UPDATING"
1333      ]
1334    },
1335    "IndexedQuestionAnswersCount":{
1336      "type":"integer",
1337      "min":0
1338    },
1339    "IndexedTextBytes":{
1340      "type":"long",
1341      "min":0
1342    },
1343    "IndexedTextDocumentsCount":{
1344      "type":"integer",
1345      "min":0
1346    },
1347    "Integer":{"type":"integer"},
1348    "InternalServerException":{
1349      "type":"structure",
1350      "members":{
1351        "Message":{"shape":"ErrorMessage"}
1352      },
1353      "exception":true,
1354      "fault":true
1355    },
1356    "KmsKeyId":{
1357      "type":"string",
1358      "max":2048,
1359      "min":1,
1360      "sensitive":true
1361    },
1362    "ListDataSourceSyncJobsRequest":{
1363      "type":"structure",
1364      "required":[
1365        "Id",
1366        "IndexId"
1367      ],
1368      "members":{
1369        "Id":{"shape":"DataSourceId"},
1370        "IndexId":{"shape":"IndexId"},
1371        "NextToken":{"shape":"NextToken"},
1372        "MaxResults":{"shape":"MaxResultsIntegerForListDataSourceSyncJobsRequest"},
1373        "StartTimeFilter":{"shape":"TimeRange"},
1374        "StatusFilter":{"shape":"DataSourceSyncJobStatus"}
1375      }
1376    },
1377    "ListDataSourceSyncJobsResponse":{
1378      "type":"structure",
1379      "members":{
1380        "History":{"shape":"DataSourceSyncJobHistoryList"},
1381        "NextToken":{"shape":"NextToken"}
1382      }
1383    },
1384    "ListDataSourcesRequest":{
1385      "type":"structure",
1386      "required":["IndexId"],
1387      "members":{
1388        "IndexId":{"shape":"IndexId"},
1389        "NextToken":{"shape":"NextToken"},
1390        "MaxResults":{"shape":"MaxResultsIntegerForListDataSourcesRequest"}
1391      }
1392    },
1393    "ListDataSourcesResponse":{
1394      "type":"structure",
1395      "members":{
1396        "SummaryItems":{"shape":"DataSourceSummaryList"},
1397        "NextToken":{"shape":"NextToken"}
1398      }
1399    },
1400    "ListFaqsRequest":{
1401      "type":"structure",
1402      "required":["IndexId"],
1403      "members":{
1404        "IndexId":{"shape":"IndexId"},
1405        "NextToken":{"shape":"NextToken"},
1406        "MaxResults":{"shape":"MaxResultsIntegerForListFaqsRequest"}
1407      }
1408    },
1409    "ListFaqsResponse":{
1410      "type":"structure",
1411      "members":{
1412        "NextToken":{"shape":"NextToken"},
1413        "FaqSummaryItems":{"shape":"FaqSummaryItems"}
1414      }
1415    },
1416    "ListIndicesRequest":{
1417      "type":"structure",
1418      "members":{
1419        "NextToken":{"shape":"NextToken"},
1420        "MaxResults":{"shape":"MaxResultsIntegerForListIndicesRequest"}
1421      }
1422    },
1423    "ListIndicesResponse":{
1424      "type":"structure",
1425      "members":{
1426        "IndexConfigurationSummaryItems":{"shape":"IndexConfigurationSummaryList"},
1427        "NextToken":{"shape":"NextToken"}
1428      }
1429    },
1430    "ListTagsForResourceRequest":{
1431      "type":"structure",
1432      "required":["ResourceARN"],
1433      "members":{
1434        "ResourceARN":{"shape":"AmazonResourceName"}
1435      }
1436    },
1437    "ListTagsForResourceResponse":{
1438      "type":"structure",
1439      "members":{
1440        "Tags":{"shape":"TagList"}
1441      }
1442    },
1443    "Long":{"type":"long"},
1444    "MaxResultsIntegerForListDataSourceSyncJobsRequest":{
1445      "type":"integer",
1446      "max":10,
1447      "min":1
1448    },
1449    "MaxResultsIntegerForListDataSourcesRequest":{
1450      "type":"integer",
1451      "max":100,
1452      "min":1
1453    },
1454    "MaxResultsIntegerForListFaqsRequest":{
1455      "type":"integer",
1456      "max":100,
1457      "min":1
1458    },
1459    "MaxResultsIntegerForListIndicesRequest":{
1460      "type":"integer",
1461      "max":100,
1462      "min":1
1463    },
1464    "MetricValue":{
1465      "type":"string",
1466      "pattern":"(([1-9][0-9]*)|0)"
1467    },
1468    "NextToken":{
1469      "type":"string",
1470      "max":800,
1471      "min":1
1472    },
1473    "OneDriveConfiguration":{
1474      "type":"structure",
1475      "required":[
1476        "TenantDomain",
1477        "SecretArn",
1478        "OneDriveUsers"
1479      ],
1480      "members":{
1481        "TenantDomain":{"shape":"TenantDomain"},
1482        "SecretArn":{"shape":"SecretArn"},
1483        "OneDriveUsers":{"shape":"OneDriveUsers"},
1484        "InclusionPatterns":{"shape":"DataSourceInclusionsExclusionsStrings"},
1485        "ExclusionPatterns":{"shape":"DataSourceInclusionsExclusionsStrings"},
1486        "FieldMappings":{"shape":"DataSourceToIndexFieldMappingList"}
1487      }
1488    },
1489    "OneDriveUser":{
1490      "type":"string",
1491      "max":256,
1492      "min":1,
1493      "pattern":"^(?!\\s).+@([a-zA-Z0-9_\\-\\.]+)\\.([a-zA-Z]{2,5})$"
1494    },
1495    "OneDriveUserList":{
1496      "type":"list",
1497      "member":{"shape":"OneDriveUser"},
1498      "max":100,
1499      "min":1
1500    },
1501    "OneDriveUsers":{
1502      "type":"structure",
1503      "members":{
1504        "OneDriveUserList":{"shape":"OneDriveUserList"},
1505        "OneDriveUserS3Path":{"shape":"S3Path"}
1506      }
1507    },
1508    "Order":{
1509      "type":"string",
1510      "enum":[
1511        "ASCENDING",
1512        "DESCENDING"
1513      ]
1514    },
1515    "Principal":{
1516      "type":"structure",
1517      "required":[
1518        "Name",
1519        "Type",
1520        "Access"
1521      ],
1522      "members":{
1523        "Name":{"shape":"PrincipalName"},
1524        "Type":{"shape":"PrincipalType"},
1525        "Access":{"shape":"ReadAccessType"}
1526      }
1527    },
1528    "PrincipalList":{
1529      "type":"list",
1530      "member":{"shape":"Principal"}
1531    },
1532    "PrincipalName":{
1533      "type":"string",
1534      "max":200,
1535      "min":1,
1536      "pattern":"^\\P{C}*$"
1537    },
1538    "PrincipalType":{
1539      "type":"string",
1540      "enum":[
1541        "USER",
1542        "GROUP"
1543      ]
1544    },
1545    "QueryCapacityUnit":{
1546      "type":"integer",
1547      "min":0
1548    },
1549    "QueryId":{
1550      "type":"string",
1551      "max":36,
1552      "min":1
1553    },
1554    "QueryRequest":{
1555      "type":"structure",
1556      "required":[
1557        "IndexId",
1558        "QueryText"
1559      ],
1560      "members":{
1561        "IndexId":{"shape":"IndexId"},
1562        "QueryText":{"shape":"QueryText"},
1563        "AttributeFilter":{"shape":"AttributeFilter"},
1564        "Facets":{"shape":"FacetList"},
1565        "RequestedDocumentAttributes":{"shape":"DocumentAttributeKeyList"},
1566        "QueryResultTypeFilter":{"shape":"QueryResultType"},
1567        "PageNumber":{"shape":"Integer"},
1568        "PageSize":{"shape":"Integer"}
1569      }
1570    },
1571    "QueryResult":{
1572      "type":"structure",
1573      "members":{
1574        "QueryId":{"shape":"QueryId"},
1575        "ResultItems":{"shape":"QueryResultItemList"},
1576        "FacetResults":{"shape":"FacetResultList"},
1577        "TotalNumberOfResults":{"shape":"Integer"}
1578      }
1579    },
1580    "QueryResultItem":{
1581      "type":"structure",
1582      "members":{
1583        "Id":{"shape":"ResultId"},
1584        "Type":{"shape":"QueryResultType"},
1585        "AdditionalAttributes":{"shape":"AdditionalResultAttributeList"},
1586        "DocumentId":{"shape":"DocumentId"},
1587        "DocumentTitle":{"shape":"TextWithHighlights"},
1588        "DocumentExcerpt":{"shape":"TextWithHighlights"},
1589        "DocumentURI":{"shape":"Url"},
1590        "DocumentAttributes":{"shape":"DocumentAttributeList"}
1591      }
1592    },
1593    "QueryResultItemList":{
1594      "type":"list",
1595      "member":{"shape":"QueryResultItem"}
1596    },
1597    "QueryResultType":{
1598      "type":"string",
1599      "enum":[
1600        "DOCUMENT",
1601        "QUESTION_ANSWER",
1602        "ANSWER"
1603      ]
1604    },
1605    "QueryText":{
1606      "type":"string",
1607      "max":1000,
1608      "min":1,
1609      "pattern":"^\\P{C}*$"
1610    },
1611    "ReadAccessType":{
1612      "type":"string",
1613      "enum":[
1614        "ALLOW",
1615        "DENY"
1616      ]
1617    },
1618    "Relevance":{
1619      "type":"structure",
1620      "members":{
1621        "Freshness":{"shape":"DocumentMetadataBoolean"},
1622        "Importance":{"shape":"Importance"},
1623        "Duration":{"shape":"Duration"},
1624        "RankOrder":{"shape":"Order"},
1625        "ValueImportanceMap":{"shape":"ValueImportanceMap"}
1626      }
1627    },
1628    "RelevanceFeedback":{
1629      "type":"structure",
1630      "required":[
1631        "ResultId",
1632        "RelevanceValue"
1633      ],
1634      "members":{
1635        "ResultId":{"shape":"ResultId"},
1636        "RelevanceValue":{"shape":"RelevanceType"}
1637      }
1638    },
1639    "RelevanceFeedbackList":{
1640      "type":"list",
1641      "member":{"shape":"RelevanceFeedback"}
1642    },
1643    "RelevanceType":{
1644      "type":"string",
1645      "enum":[
1646        "RELEVANT",
1647        "NOT_RELEVANT"
1648      ]
1649    },
1650    "ResourceAlreadyExistException":{
1651      "type":"structure",
1652      "members":{
1653        "Message":{"shape":"ErrorMessage"}
1654      },
1655      "exception":true
1656    },
1657    "ResourceInUseException":{
1658      "type":"structure",
1659      "members":{
1660        "Message":{"shape":"ErrorMessage"}
1661      },
1662      "exception":true
1663    },
1664    "ResourceNotFoundException":{
1665      "type":"structure",
1666      "members":{
1667        "Message":{"shape":"ErrorMessage"}
1668      },
1669      "exception":true
1670    },
1671    "ResourceUnavailableException":{
1672      "type":"structure",
1673      "members":{
1674        "Message":{"shape":"ErrorMessage"}
1675      },
1676      "exception":true
1677    },
1678    "ResultId":{
1679      "type":"string",
1680      "max":73,
1681      "min":1
1682    },
1683    "RoleArn":{
1684      "type":"string",
1685      "max":1284,
1686      "min":1,
1687      "pattern":"arn:[a-z0-9-\\.]{1,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[^/].{0,1023}"
1688    },
1689    "S3BucketName":{
1690      "type":"string",
1691      "max":63,
1692      "min":3,
1693      "pattern":"[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9]"
1694    },
1695    "S3DataSourceConfiguration":{
1696      "type":"structure",
1697      "required":["BucketName"],
1698      "members":{
1699        "BucketName":{"shape":"S3BucketName"},
1700        "InclusionPrefixes":{"shape":"DataSourceInclusionsExclusionsStrings"},
1701        "ExclusionPatterns":{"shape":"DataSourceInclusionsExclusionsStrings"},
1702        "DocumentsMetadataConfiguration":{"shape":"DocumentsMetadataConfiguration"},
1703        "AccessControlListConfiguration":{"shape":"AccessControlListConfiguration"}
1704      }
1705    },
1706    "S3ObjectKey":{
1707      "type":"string",
1708      "max":1024,
1709      "min":1
1710    },
1711    "S3Path":{
1712      "type":"structure",
1713      "required":[
1714        "Bucket",
1715        "Key"
1716      ],
1717      "members":{
1718        "Bucket":{"shape":"S3BucketName"},
1719        "Key":{"shape":"S3ObjectKey"}
1720      }
1721    },
1722    "SalesforceChatterFeedConfiguration":{
1723      "type":"structure",
1724      "required":["DocumentDataFieldName"],
1725      "members":{
1726        "DocumentDataFieldName":{"shape":"DataSourceFieldName"},
1727        "DocumentTitleFieldName":{"shape":"DataSourceFieldName"},
1728        "FieldMappings":{"shape":"DataSourceToIndexFieldMappingList"},
1729        "IncludeFilterTypes":{"shape":"SalesforceChatterFeedIncludeFilterTypes"}
1730      }
1731    },
1732    "SalesforceChatterFeedIncludeFilterType":{
1733      "type":"string",
1734      "enum":[
1735        "ACTIVE_USER",
1736        "STANDARD_USER"
1737      ]
1738    },
1739    "SalesforceChatterFeedIncludeFilterTypes":{
1740      "type":"list",
1741      "member":{"shape":"SalesforceChatterFeedIncludeFilterType"},
1742      "max":2,
1743      "min":1
1744    },
1745    "SalesforceConfiguration":{
1746      "type":"structure",
1747      "required":[
1748        "ServerUrl",
1749        "SecretArn"
1750      ],
1751      "members":{
1752        "ServerUrl":{"shape":"Url"},
1753        "SecretArn":{"shape":"SecretArn"},
1754        "StandardObjectConfigurations":{"shape":"SalesforceStandardObjectConfigurationList"},
1755        "KnowledgeArticleConfiguration":{"shape":"SalesforceKnowledgeArticleConfiguration"},
1756        "ChatterFeedConfiguration":{"shape":"SalesforceChatterFeedConfiguration"},
1757        "CrawlAttachments":{"shape":"Boolean"},
1758        "StandardObjectAttachmentConfiguration":{"shape":"SalesforceStandardObjectAttachmentConfiguration"},
1759        "IncludeAttachmentFilePatterns":{"shape":"DataSourceInclusionsExclusionsStrings"},
1760        "ExcludeAttachmentFilePatterns":{"shape":"DataSourceInclusionsExclusionsStrings"}
1761      }
1762    },
1763    "SalesforceCustomKnowledgeArticleTypeConfiguration":{
1764      "type":"structure",
1765      "required":[
1766        "Name",
1767        "DocumentDataFieldName"
1768      ],
1769      "members":{
1770        "Name":{"shape":"SalesforceCustomKnowledgeArticleTypeName"},
1771        "DocumentDataFieldName":{"shape":"DataSourceFieldName"},
1772        "DocumentTitleFieldName":{"shape":"DataSourceFieldName"},
1773        "FieldMappings":{"shape":"DataSourceToIndexFieldMappingList"}
1774      }
1775    },
1776    "SalesforceCustomKnowledgeArticleTypeConfigurationList":{
1777      "type":"list",
1778      "member":{"shape":"SalesforceCustomKnowledgeArticleTypeConfiguration"},
1779      "max":10,
1780      "min":1
1781    },
1782    "SalesforceCustomKnowledgeArticleTypeName":{
1783      "type":"string",
1784      "max":100,
1785      "min":1,
1786      "pattern":"^[a-zA-Z][a-zA-Z0-9_]*$"
1787    },
1788    "SalesforceKnowledgeArticleConfiguration":{
1789      "type":"structure",
1790      "required":["IncludedStates"],
1791      "members":{
1792        "IncludedStates":{"shape":"SalesforceKnowledgeArticleStateList"},
1793        "StandardKnowledgeArticleTypeConfiguration":{"shape":"SalesforceStandardKnowledgeArticleTypeConfiguration"},
1794        "CustomKnowledgeArticleTypeConfigurations":{"shape":"SalesforceCustomKnowledgeArticleTypeConfigurationList"}
1795      }
1796    },
1797    "SalesforceKnowledgeArticleState":{
1798      "type":"string",
1799      "enum":[
1800        "DRAFT",
1801        "PUBLISHED",
1802        "ARCHIVED"
1803      ]
1804    },
1805    "SalesforceKnowledgeArticleStateList":{
1806      "type":"list",
1807      "member":{"shape":"SalesforceKnowledgeArticleState"},
1808      "max":3,
1809      "min":1
1810    },
1811    "SalesforceStandardKnowledgeArticleTypeConfiguration":{
1812      "type":"structure",
1813      "required":["DocumentDataFieldName"],
1814      "members":{
1815        "DocumentDataFieldName":{"shape":"DataSourceFieldName"},
1816        "DocumentTitleFieldName":{"shape":"DataSourceFieldName"},
1817        "FieldMappings":{"shape":"DataSourceToIndexFieldMappingList"}
1818      }
1819    },
1820    "SalesforceStandardObjectAttachmentConfiguration":{
1821      "type":"structure",
1822      "members":{
1823        "DocumentTitleFieldName":{"shape":"DataSourceFieldName"},
1824        "FieldMappings":{"shape":"DataSourceToIndexFieldMappingList"}
1825      }
1826    },
1827    "SalesforceStandardObjectConfiguration":{
1828      "type":"structure",
1829      "required":[
1830        "Name",
1831        "DocumentDataFieldName"
1832      ],
1833      "members":{
1834        "Name":{"shape":"SalesforceStandardObjectName"},
1835        "DocumentDataFieldName":{"shape":"DataSourceFieldName"},
1836        "DocumentTitleFieldName":{"shape":"DataSourceFieldName"},
1837        "FieldMappings":{"shape":"DataSourceToIndexFieldMappingList"}
1838      }
1839    },
1840    "SalesforceStandardObjectConfigurationList":{
1841      "type":"list",
1842      "member":{"shape":"SalesforceStandardObjectConfiguration"},
1843      "max":17,
1844      "min":1
1845    },
1846    "SalesforceStandardObjectName":{
1847      "type":"string",
1848      "enum":[
1849        "ACCOUNT",
1850        "CAMPAIGN",
1851        "CASE",
1852        "CONTACT",
1853        "CONTRACT",
1854        "DOCUMENT",
1855        "GROUP",
1856        "IDEA",
1857        "LEAD",
1858        "OPPORTUNITY",
1859        "PARTNER",
1860        "PRICEBOOK",
1861        "PRODUCT",
1862        "PROFILE",
1863        "SOLUTION",
1864        "TASK",
1865        "USER"
1866      ]
1867    },
1868    "ScanSchedule":{"type":"string"},
1869    "Search":{
1870      "type":"structure",
1871      "members":{
1872        "Facetable":{"shape":"Boolean"},
1873        "Searchable":{"shape":"Boolean"},
1874        "Displayable":{"shape":"Boolean"}
1875      }
1876    },
1877    "SecretArn":{
1878      "type":"string",
1879      "max":1284,
1880      "min":1,
1881      "pattern":"arn:[a-z0-9-\\.]{1,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[^/].{0,1023}"
1882    },
1883    "SecurityGroupIdList":{
1884      "type":"list",
1885      "member":{"shape":"VpcSecurityGroupId"},
1886      "max":10,
1887      "min":1
1888    },
1889    "ServerSideEncryptionConfiguration":{
1890      "type":"structure",
1891      "members":{
1892        "KmsKeyId":{"shape":"KmsKeyId"}
1893      }
1894    },
1895    "ServiceNowBuildVersionType":{
1896      "type":"string",
1897      "enum":[
1898        "LONDON",
1899        "OTHERS"
1900      ]
1901    },
1902    "ServiceNowConfiguration":{
1903      "type":"structure",
1904      "required":[
1905        "HostUrl",
1906        "SecretArn",
1907        "ServiceNowBuildVersion"
1908      ],
1909      "members":{
1910        "HostUrl":{"shape":"ServiceNowHostUrl"},
1911        "SecretArn":{"shape":"SecretArn"},
1912        "ServiceNowBuildVersion":{"shape":"ServiceNowBuildVersionType"},
1913        "KnowledgeArticleConfiguration":{"shape":"ServiceNowKnowledgeArticleConfiguration"},
1914        "ServiceCatalogConfiguration":{"shape":"ServiceNowServiceCatalogConfiguration"}
1915      }
1916    },
1917    "ServiceNowHostUrl":{
1918      "type":"string",
1919      "max":2048,
1920      "min":1,
1921      "pattern":"^(?!(^(https?|ftp|file):\\/\\/))[a-z0-9-]+(\\.service-now\\.com)$"
1922    },
1923    "ServiceNowKnowledgeArticleConfiguration":{
1924      "type":"structure",
1925      "required":["DocumentDataFieldName"],
1926      "members":{
1927        "CrawlAttachments":{"shape":"Boolean"},
1928        "IncludeAttachmentFilePatterns":{"shape":"DataSourceInclusionsExclusionsStrings"},
1929        "ExcludeAttachmentFilePatterns":{"shape":"DataSourceInclusionsExclusionsStrings"},
1930        "DocumentDataFieldName":{"shape":"DataSourceFieldName"},
1931        "DocumentTitleFieldName":{"shape":"DataSourceFieldName"},
1932        "FieldMappings":{"shape":"DataSourceToIndexFieldMappingList"}
1933      }
1934    },
1935    "ServiceNowServiceCatalogConfiguration":{
1936      "type":"structure",
1937      "required":["DocumentDataFieldName"],
1938      "members":{
1939        "CrawlAttachments":{"shape":"Boolean"},
1940        "IncludeAttachmentFilePatterns":{"shape":"DataSourceInclusionsExclusionsStrings"},
1941        "ExcludeAttachmentFilePatterns":{"shape":"DataSourceInclusionsExclusionsStrings"},
1942        "DocumentDataFieldName":{"shape":"DataSourceFieldName"},
1943        "DocumentTitleFieldName":{"shape":"DataSourceFieldName"},
1944        "FieldMappings":{"shape":"DataSourceToIndexFieldMappingList"}
1945      }
1946    },
1947    "ServiceQuotaExceededException":{
1948      "type":"structure",
1949      "members":{
1950        "Message":{"shape":"ErrorMessage"}
1951      },
1952      "exception":true
1953    },
1954    "SharePointConfiguration":{
1955      "type":"structure",
1956      "required":[
1957        "SharePointVersion",
1958        "Urls",
1959        "SecretArn"
1960      ],
1961      "members":{
1962        "SharePointVersion":{"shape":"SharePointVersion"},
1963        "Urls":{"shape":"SharePointUrlList"},
1964        "SecretArn":{"shape":"SecretArn"},
1965        "CrawlAttachments":{"shape":"Boolean"},
1966        "UseChangeLog":{"shape":"Boolean"},
1967        "InclusionPatterns":{"shape":"DataSourceInclusionsExclusionsStrings"},
1968        "ExclusionPatterns":{"shape":"DataSourceInclusionsExclusionsStrings"},
1969        "VpcConfiguration":{"shape":"DataSourceVpcConfiguration"},
1970        "FieldMappings":{"shape":"DataSourceToIndexFieldMappingList"},
1971        "DocumentTitleFieldName":{"shape":"DataSourceFieldName"}
1972      }
1973    },
1974    "SharePointUrlList":{
1975      "type":"list",
1976      "member":{"shape":"Url"},
1977      "max":100,
1978      "min":1
1979    },
1980    "SharePointVersion":{
1981      "type":"string",
1982      "enum":["SHAREPOINT_ONLINE"]
1983    },
1984    "StartDataSourceSyncJobRequest":{
1985      "type":"structure",
1986      "required":[
1987        "Id",
1988        "IndexId"
1989      ],
1990      "members":{
1991        "Id":{"shape":"DataSourceId"},
1992        "IndexId":{"shape":"IndexId"}
1993      }
1994    },
1995    "StartDataSourceSyncJobResponse":{
1996      "type":"structure",
1997      "members":{
1998        "ExecutionId":{"shape":"String"}
1999      }
2000    },
2001    "StopDataSourceSyncJobRequest":{
2002      "type":"structure",
2003      "required":[
2004        "Id",
2005        "IndexId"
2006      ],
2007      "members":{
2008        "Id":{"shape":"DataSourceId"},
2009        "IndexId":{"shape":"IndexId"}
2010      }
2011    },
2012    "StorageCapacityUnit":{
2013      "type":"integer",
2014      "min":0
2015    },
2016    "String":{
2017      "type":"string",
2018      "max":2048,
2019      "min":1
2020    },
2021    "SubmitFeedbackRequest":{
2022      "type":"structure",
2023      "required":[
2024        "IndexId",
2025        "QueryId"
2026      ],
2027      "members":{
2028        "IndexId":{"shape":"IndexId"},
2029        "QueryId":{"shape":"QueryId"},
2030        "ClickFeedbackItems":{"shape":"ClickFeedbackList"},
2031        "RelevanceFeedbackItems":{"shape":"RelevanceFeedbackList"}
2032      }
2033    },
2034    "SubnetId":{
2035      "type":"string",
2036      "max":200,
2037      "min":1,
2038      "pattern":"[\\-0-9a-zA-Z]+"
2039    },
2040    "SubnetIdList":{
2041      "type":"list",
2042      "member":{"shape":"SubnetId"},
2043      "max":6,
2044      "min":1
2045    },
2046    "TableName":{
2047      "type":"string",
2048      "max":100,
2049      "min":1,
2050      "pattern":"^[a-zA-Z][a-zA-Z0-9_]*$"
2051    },
2052    "Tag":{
2053      "type":"structure",
2054      "required":[
2055        "Key",
2056        "Value"
2057      ],
2058      "members":{
2059        "Key":{"shape":"TagKey"},
2060        "Value":{"shape":"TagValue"}
2061      }
2062    },
2063    "TagKey":{
2064      "type":"string",
2065      "max":128,
2066      "min":1
2067    },
2068    "TagKeyList":{
2069      "type":"list",
2070      "member":{"shape":"TagKey"},
2071      "max":200,
2072      "min":0
2073    },
2074    "TagList":{
2075      "type":"list",
2076      "member":{"shape":"Tag"},
2077      "max":200,
2078      "min":0
2079    },
2080    "TagResourceRequest":{
2081      "type":"structure",
2082      "required":[
2083        "ResourceARN",
2084        "Tags"
2085      ],
2086      "members":{
2087        "ResourceARN":{"shape":"AmazonResourceName"},
2088        "Tags":{"shape":"TagList"}
2089      }
2090    },
2091    "TagResourceResponse":{
2092      "type":"structure",
2093      "members":{
2094      }
2095    },
2096    "TagValue":{
2097      "type":"string",
2098      "max":256,
2099      "min":0
2100    },
2101    "TenantDomain":{
2102      "type":"string",
2103      "max":256,
2104      "min":1,
2105      "pattern":"^([a-zA-Z0-9]+(-[a-zA-Z0-9]+)*\\.)+[a-z]{2,}$"
2106    },
2107    "TextDocumentStatistics":{
2108      "type":"structure",
2109      "required":[
2110        "IndexedTextDocumentsCount",
2111        "IndexedTextBytes"
2112      ],
2113      "members":{
2114        "IndexedTextDocumentsCount":{"shape":"IndexedTextDocumentsCount"},
2115        "IndexedTextBytes":{"shape":"IndexedTextBytes"}
2116      }
2117    },
2118    "TextWithHighlights":{
2119      "type":"structure",
2120      "members":{
2121        "Text":{"shape":"String"},
2122        "Highlights":{"shape":"HighlightList"}
2123      }
2124    },
2125    "ThrottlingException":{
2126      "type":"structure",
2127      "members":{
2128        "Message":{"shape":"ErrorMessage"}
2129      },
2130      "exception":true
2131    },
2132    "TimeRange":{
2133      "type":"structure",
2134      "members":{
2135        "StartTime":{"shape":"Timestamp"},
2136        "EndTime":{"shape":"Timestamp"}
2137      }
2138    },
2139    "Timestamp":{"type":"timestamp"},
2140    "Title":{"type":"string"},
2141    "UntagResourceRequest":{
2142      "type":"structure",
2143      "required":[
2144        "ResourceARN",
2145        "TagKeys"
2146      ],
2147      "members":{
2148        "ResourceARN":{"shape":"AmazonResourceName"},
2149        "TagKeys":{"shape":"TagKeyList"}
2150      }
2151    },
2152    "UntagResourceResponse":{
2153      "type":"structure",
2154      "members":{
2155      }
2156    },
2157    "UpdateDataSourceRequest":{
2158      "type":"structure",
2159      "required":[
2160        "Id",
2161        "IndexId"
2162      ],
2163      "members":{
2164        "Id":{"shape":"DataSourceId"},
2165        "Name":{"shape":"DataSourceName"},
2166        "IndexId":{"shape":"IndexId"},
2167        "Configuration":{"shape":"DataSourceConfiguration"},
2168        "Description":{"shape":"Description"},
2169        "Schedule":{"shape":"ScanSchedule"},
2170        "RoleArn":{"shape":"RoleArn"}
2171      }
2172    },
2173    "UpdateIndexRequest":{
2174      "type":"structure",
2175      "required":["Id"],
2176      "members":{
2177        "Id":{"shape":"IndexId"},
2178        "Name":{"shape":"IndexName"},
2179        "RoleArn":{"shape":"RoleArn"},
2180        "Description":{"shape":"Description"},
2181        "DocumentMetadataConfigurationUpdates":{"shape":"DocumentMetadataConfigurationList"},
2182        "CapacityUnits":{"shape":"CapacityUnitsConfiguration"}
2183      }
2184    },
2185    "Url":{
2186      "type":"string",
2187      "max":2048,
2188      "min":1,
2189      "pattern":"^(https?|ftp|file):\\/\\/([^\\s]*)"
2190    },
2191    "ValidationException":{
2192      "type":"structure",
2193      "members":{
2194        "Message":{"shape":"ErrorMessage"}
2195      },
2196      "exception":true
2197    },
2198    "ValueImportanceMap":{
2199      "type":"map",
2200      "key":{"shape":"ValueImportanceMapKey"},
2201      "value":{"shape":"Importance"}
2202    },
2203    "ValueImportanceMapKey":{
2204      "type":"string",
2205      "max":50,
2206      "min":1
2207    },
2208    "VpcSecurityGroupId":{
2209      "type":"string",
2210      "max":200,
2211      "min":1,
2212      "pattern":"[-0-9a-zA-Z]+"
2213    }
2214  }
2215}
2216