1 | {
|
2 | "version": "2.0",
|
3 | "metadata": {
|
4 | "apiVersion": "2017-11-27",
|
5 | "endpointPrefix": "comprehend",
|
6 | "jsonVersion": "1.1",
|
7 | "protocol": "json",
|
8 | "serviceFullName": "Amazon Comprehend",
|
9 | "serviceId": "Comprehend",
|
10 | "signatureVersion": "v4",
|
11 | "signingName": "comprehend",
|
12 | "targetPrefix": "Comprehend_20171127",
|
13 | "uid": "comprehend-2017-11-27"
|
14 | },
|
15 | "operations": {
|
16 | "BatchDetectDominantLanguage": {
|
17 | "input": {
|
18 | "type": "structure",
|
19 | "required": [
|
20 | "TextList"
|
21 | ],
|
22 | "members": {
|
23 | "TextList": {
|
24 | "shape": "S2"
|
25 | }
|
26 | }
|
27 | },
|
28 | "output": {
|
29 | "type": "structure",
|
30 | "required": [
|
31 | "ResultList",
|
32 | "ErrorList"
|
33 | ],
|
34 | "members": {
|
35 | "ResultList": {
|
36 | "type": "list",
|
37 | "member": {
|
38 | "type": "structure",
|
39 | "members": {
|
40 | "Index": {
|
41 | "type": "integer"
|
42 | },
|
43 | "Languages": {
|
44 | "shape": "S8"
|
45 | }
|
46 | }
|
47 | }
|
48 | },
|
49 | "ErrorList": {
|
50 | "shape": "Sb"
|
51 | }
|
52 | }
|
53 | }
|
54 | },
|
55 | "BatchDetectEntities": {
|
56 | "input": {
|
57 | "type": "structure",
|
58 | "required": [
|
59 | "TextList",
|
60 | "LanguageCode"
|
61 | ],
|
62 | "members": {
|
63 | "TextList": {
|
64 | "shape": "S2"
|
65 | },
|
66 | "LanguageCode": {}
|
67 | }
|
68 | },
|
69 | "output": {
|
70 | "type": "structure",
|
71 | "required": [
|
72 | "ResultList",
|
73 | "ErrorList"
|
74 | ],
|
75 | "members": {
|
76 | "ResultList": {
|
77 | "type": "list",
|
78 | "member": {
|
79 | "type": "structure",
|
80 | "members": {
|
81 | "Index": {
|
82 | "type": "integer"
|
83 | },
|
84 | "Entities": {
|
85 | "shape": "Si"
|
86 | }
|
87 | }
|
88 | }
|
89 | },
|
90 | "ErrorList": {
|
91 | "shape": "Sb"
|
92 | }
|
93 | }
|
94 | }
|
95 | },
|
96 | "BatchDetectKeyPhrases": {
|
97 | "input": {
|
98 | "type": "structure",
|
99 | "required": [
|
100 | "TextList",
|
101 | "LanguageCode"
|
102 | ],
|
103 | "members": {
|
104 | "TextList": {
|
105 | "shape": "S2"
|
106 | },
|
107 | "LanguageCode": {}
|
108 | }
|
109 | },
|
110 | "output": {
|
111 | "type": "structure",
|
112 | "required": [
|
113 | "ResultList",
|
114 | "ErrorList"
|
115 | ],
|
116 | "members": {
|
117 | "ResultList": {
|
118 | "type": "list",
|
119 | "member": {
|
120 | "type": "structure",
|
121 | "members": {
|
122 | "Index": {
|
123 | "type": "integer"
|
124 | },
|
125 | "KeyPhrases": {
|
126 | "shape": "Sp"
|
127 | }
|
128 | }
|
129 | }
|
130 | },
|
131 | "ErrorList": {
|
132 | "shape": "Sb"
|
133 | }
|
134 | }
|
135 | }
|
136 | },
|
137 | "BatchDetectSentiment": {
|
138 | "input": {
|
139 | "type": "structure",
|
140 | "required": [
|
141 | "TextList",
|
142 | "LanguageCode"
|
143 | ],
|
144 | "members": {
|
145 | "TextList": {
|
146 | "shape": "S2"
|
147 | },
|
148 | "LanguageCode": {}
|
149 | }
|
150 | },
|
151 | "output": {
|
152 | "type": "structure",
|
153 | "required": [
|
154 | "ResultList",
|
155 | "ErrorList"
|
156 | ],
|
157 | "members": {
|
158 | "ResultList": {
|
159 | "type": "list",
|
160 | "member": {
|
161 | "type": "structure",
|
162 | "members": {
|
163 | "Index": {
|
164 | "type": "integer"
|
165 | },
|
166 | "Sentiment": {},
|
167 | "SentimentScore": {
|
168 | "shape": "Sw"
|
169 | }
|
170 | }
|
171 | }
|
172 | },
|
173 | "ErrorList": {
|
174 | "shape": "Sb"
|
175 | }
|
176 | }
|
177 | }
|
178 | },
|
179 | "BatchDetectSyntax": {
|
180 | "input": {
|
181 | "type": "structure",
|
182 | "required": [
|
183 | "TextList",
|
184 | "LanguageCode"
|
185 | ],
|
186 | "members": {
|
187 | "TextList": {
|
188 | "shape": "S2"
|
189 | },
|
190 | "LanguageCode": {}
|
191 | }
|
192 | },
|
193 | "output": {
|
194 | "type": "structure",
|
195 | "required": [
|
196 | "ResultList",
|
197 | "ErrorList"
|
198 | ],
|
199 | "members": {
|
200 | "ResultList": {
|
201 | "type": "list",
|
202 | "member": {
|
203 | "type": "structure",
|
204 | "members": {
|
205 | "Index": {
|
206 | "type": "integer"
|
207 | },
|
208 | "SyntaxTokens": {
|
209 | "shape": "S12"
|
210 | }
|
211 | }
|
212 | }
|
213 | },
|
214 | "ErrorList": {
|
215 | "shape": "Sb"
|
216 | }
|
217 | }
|
218 | }
|
219 | },
|
220 | "CreateDocumentClassifier": {
|
221 | "input": {
|
222 | "type": "structure",
|
223 | "required": [
|
224 | "DocumentClassifierName",
|
225 | "DataAccessRoleArn",
|
226 | "InputDataConfig",
|
227 | "LanguageCode"
|
228 | ],
|
229 | "members": {
|
230 | "DocumentClassifierName": {},
|
231 | "DataAccessRoleArn": {},
|
232 | "InputDataConfig": {
|
233 | "shape": "S19"
|
234 | },
|
235 | "ClientRequestToken": {
|
236 | "idempotencyToken": true
|
237 | },
|
238 | "LanguageCode": {}
|
239 | }
|
240 | },
|
241 | "output": {
|
242 | "type": "structure",
|
243 | "members": {
|
244 | "DocumentClassifierArn": {}
|
245 | }
|
246 | }
|
247 | },
|
248 | "CreateEntityRecognizer": {
|
249 | "input": {
|
250 | "type": "structure",
|
251 | "required": [
|
252 | "RecognizerName",
|
253 | "DataAccessRoleArn",
|
254 | "InputDataConfig",
|
255 | "LanguageCode"
|
256 | ],
|
257 | "members": {
|
258 | "RecognizerName": {},
|
259 | "DataAccessRoleArn": {},
|
260 | "InputDataConfig": {
|
261 | "shape": "S1f"
|
262 | },
|
263 | "ClientRequestToken": {
|
264 | "idempotencyToken": true
|
265 | },
|
266 | "LanguageCode": {}
|
267 | }
|
268 | },
|
269 | "output": {
|
270 | "type": "structure",
|
271 | "members": {
|
272 | "EntityRecognizerArn": {}
|
273 | }
|
274 | }
|
275 | },
|
276 | "DeleteDocumentClassifier": {
|
277 | "input": {
|
278 | "type": "structure",
|
279 | "required": [
|
280 | "DocumentClassifierArn"
|
281 | ],
|
282 | "members": {
|
283 | "DocumentClassifierArn": {}
|
284 | }
|
285 | },
|
286 | "output": {
|
287 | "type": "structure",
|
288 | "members": {}
|
289 | }
|
290 | },
|
291 | "DeleteEntityRecognizer": {
|
292 | "input": {
|
293 | "type": "structure",
|
294 | "required": [
|
295 | "EntityRecognizerArn"
|
296 | ],
|
297 | "members": {
|
298 | "EntityRecognizerArn": {}
|
299 | }
|
300 | },
|
301 | "output": {
|
302 | "type": "structure",
|
303 | "members": {}
|
304 | }
|
305 | },
|
306 | "DescribeDocumentClassificationJob": {
|
307 | "input": {
|
308 | "type": "structure",
|
309 | "required": [
|
310 | "JobId"
|
311 | ],
|
312 | "members": {
|
313 | "JobId": {}
|
314 | }
|
315 | },
|
316 | "output": {
|
317 | "type": "structure",
|
318 | "members": {
|
319 | "DocumentClassificationJobProperties": {
|
320 | "shape": "S1v"
|
321 | }
|
322 | }
|
323 | }
|
324 | },
|
325 | "DescribeDocumentClassifier": {
|
326 | "input": {
|
327 | "type": "structure",
|
328 | "required": [
|
329 | "DocumentClassifierArn"
|
330 | ],
|
331 | "members": {
|
332 | "DocumentClassifierArn": {}
|
333 | }
|
334 | },
|
335 | "output": {
|
336 | "type": "structure",
|
337 | "members": {
|
338 | "DocumentClassifierProperties": {
|
339 | "shape": "S25"
|
340 | }
|
341 | }
|
342 | }
|
343 | },
|
344 | "DescribeDominantLanguageDetectionJob": {
|
345 | "input": {
|
346 | "type": "structure",
|
347 | "required": [
|
348 | "JobId"
|
349 | ],
|
350 | "members": {
|
351 | "JobId": {}
|
352 | }
|
353 | },
|
354 | "output": {
|
355 | "type": "structure",
|
356 | "members": {
|
357 | "DominantLanguageDetectionJobProperties": {
|
358 | "shape": "S2c"
|
359 | }
|
360 | }
|
361 | }
|
362 | },
|
363 | "DescribeEntitiesDetectionJob": {
|
364 | "input": {
|
365 | "type": "structure",
|
366 | "required": [
|
367 | "JobId"
|
368 | ],
|
369 | "members": {
|
370 | "JobId": {}
|
371 | }
|
372 | },
|
373 | "output": {
|
374 | "type": "structure",
|
375 | "members": {
|
376 | "EntitiesDetectionJobProperties": {
|
377 | "shape": "S2f"
|
378 | }
|
379 | }
|
380 | }
|
381 | },
|
382 | "DescribeEntityRecognizer": {
|
383 | "input": {
|
384 | "type": "structure",
|
385 | "required": [
|
386 | "EntityRecognizerArn"
|
387 | ],
|
388 | "members": {
|
389 | "EntityRecognizerArn": {}
|
390 | }
|
391 | },
|
392 | "output": {
|
393 | "type": "structure",
|
394 | "members": {
|
395 | "EntityRecognizerProperties": {
|
396 | "shape": "S2i"
|
397 | }
|
398 | }
|
399 | }
|
400 | },
|
401 | "DescribeKeyPhrasesDetectionJob": {
|
402 | "input": {
|
403 | "type": "structure",
|
404 | "required": [
|
405 | "JobId"
|
406 | ],
|
407 | "members": {
|
408 | "JobId": {}
|
409 | }
|
410 | },
|
411 | "output": {
|
412 | "type": "structure",
|
413 | "members": {
|
414 | "KeyPhrasesDetectionJobProperties": {
|
415 | "shape": "S2p"
|
416 | }
|
417 | }
|
418 | }
|
419 | },
|
420 | "DescribeSentimentDetectionJob": {
|
421 | "input": {
|
422 | "type": "structure",
|
423 | "required": [
|
424 | "JobId"
|
425 | ],
|
426 | "members": {
|
427 | "JobId": {}
|
428 | }
|
429 | },
|
430 | "output": {
|
431 | "type": "structure",
|
432 | "members": {
|
433 | "SentimentDetectionJobProperties": {
|
434 | "shape": "S2s"
|
435 | }
|
436 | }
|
437 | }
|
438 | },
|
439 | "DescribeTopicsDetectionJob": {
|
440 | "input": {
|
441 | "type": "structure",
|
442 | "required": [
|
443 | "JobId"
|
444 | ],
|
445 | "members": {
|
446 | "JobId": {}
|
447 | }
|
448 | },
|
449 | "output": {
|
450 | "type": "structure",
|
451 | "members": {
|
452 | "TopicsDetectionJobProperties": {
|
453 | "shape": "S2v"
|
454 | }
|
455 | }
|
456 | }
|
457 | },
|
458 | "DetectDominantLanguage": {
|
459 | "input": {
|
460 | "type": "structure",
|
461 | "required": [
|
462 | "Text"
|
463 | ],
|
464 | "members": {
|
465 | "Text": {}
|
466 | }
|
467 | },
|
468 | "output": {
|
469 | "type": "structure",
|
470 | "members": {
|
471 | "Languages": {
|
472 | "shape": "S8"
|
473 | }
|
474 | }
|
475 | }
|
476 | },
|
477 | "DetectEntities": {
|
478 | "input": {
|
479 | "type": "structure",
|
480 | "required": [
|
481 | "Text",
|
482 | "LanguageCode"
|
483 | ],
|
484 | "members": {
|
485 | "Text": {},
|
486 | "LanguageCode": {}
|
487 | }
|
488 | },
|
489 | "output": {
|
490 | "type": "structure",
|
491 | "members": {
|
492 | "Entities": {
|
493 | "shape": "Si"
|
494 | }
|
495 | }
|
496 | }
|
497 | },
|
498 | "DetectKeyPhrases": {
|
499 | "input": {
|
500 | "type": "structure",
|
501 | "required": [
|
502 | "Text",
|
503 | "LanguageCode"
|
504 | ],
|
505 | "members": {
|
506 | "Text": {},
|
507 | "LanguageCode": {}
|
508 | }
|
509 | },
|
510 | "output": {
|
511 | "type": "structure",
|
512 | "members": {
|
513 | "KeyPhrases": {
|
514 | "shape": "Sp"
|
515 | }
|
516 | }
|
517 | }
|
518 | },
|
519 | "DetectSentiment": {
|
520 | "input": {
|
521 | "type": "structure",
|
522 | "required": [
|
523 | "Text",
|
524 | "LanguageCode"
|
525 | ],
|
526 | "members": {
|
527 | "Text": {},
|
528 | "LanguageCode": {}
|
529 | }
|
530 | },
|
531 | "output": {
|
532 | "type": "structure",
|
533 | "members": {
|
534 | "Sentiment": {},
|
535 | "SentimentScore": {
|
536 | "shape": "Sw"
|
537 | }
|
538 | }
|
539 | }
|
540 | },
|
541 | "DetectSyntax": {
|
542 | "input": {
|
543 | "type": "structure",
|
544 | "required": [
|
545 | "Text",
|
546 | "LanguageCode"
|
547 | ],
|
548 | "members": {
|
549 | "Text": {},
|
550 | "LanguageCode": {}
|
551 | }
|
552 | },
|
553 | "output": {
|
554 | "type": "structure",
|
555 | "members": {
|
556 | "SyntaxTokens": {
|
557 | "shape": "S12"
|
558 | }
|
559 | }
|
560 | }
|
561 | },
|
562 | "ListDocumentClassificationJobs": {
|
563 | "input": {
|
564 | "type": "structure",
|
565 | "members": {
|
566 | "Filter": {
|
567 | "type": "structure",
|
568 | "members": {
|
569 | "JobName": {},
|
570 | "JobStatus": {},
|
571 | "SubmitTimeBefore": {
|
572 | "type": "timestamp"
|
573 | },
|
574 | "SubmitTimeAfter": {
|
575 | "type": "timestamp"
|
576 | }
|
577 | }
|
578 | },
|
579 | "NextToken": {},
|
580 | "MaxResults": {
|
581 | "type": "integer"
|
582 | }
|
583 | }
|
584 | },
|
585 | "output": {
|
586 | "type": "structure",
|
587 | "members": {
|
588 | "DocumentClassificationJobPropertiesList": {
|
589 | "type": "list",
|
590 | "member": {
|
591 | "shape": "S1v"
|
592 | }
|
593 | },
|
594 | "NextToken": {}
|
595 | }
|
596 | }
|
597 | },
|
598 | "ListDocumentClassifiers": {
|
599 | "input": {
|
600 | "type": "structure",
|
601 | "members": {
|
602 | "Filter": {
|
603 | "type": "structure",
|
604 | "members": {
|
605 | "Status": {},
|
606 | "SubmitTimeBefore": {
|
607 | "type": "timestamp"
|
608 | },
|
609 | "SubmitTimeAfter": {
|
610 | "type": "timestamp"
|
611 | }
|
612 | }
|
613 | },
|
614 | "NextToken": {},
|
615 | "MaxResults": {
|
616 | "type": "integer"
|
617 | }
|
618 | }
|
619 | },
|
620 | "output": {
|
621 | "type": "structure",
|
622 | "members": {
|
623 | "DocumentClassifierPropertiesList": {
|
624 | "type": "list",
|
625 | "member": {
|
626 | "shape": "S25"
|
627 | }
|
628 | },
|
629 | "NextToken": {}
|
630 | }
|
631 | }
|
632 | },
|
633 | "ListDominantLanguageDetectionJobs": {
|
634 | "input": {
|
635 | "type": "structure",
|
636 | "members": {
|
637 | "Filter": {
|
638 | "type": "structure",
|
639 | "members": {
|
640 | "JobName": {},
|
641 | "JobStatus": {},
|
642 | "SubmitTimeBefore": {
|
643 | "type": "timestamp"
|
644 | },
|
645 | "SubmitTimeAfter": {
|
646 | "type": "timestamp"
|
647 | }
|
648 | }
|
649 | },
|
650 | "NextToken": {},
|
651 | "MaxResults": {
|
652 | "type": "integer"
|
653 | }
|
654 | }
|
655 | },
|
656 | "output": {
|
657 | "type": "structure",
|
658 | "members": {
|
659 | "DominantLanguageDetectionJobPropertiesList": {
|
660 | "type": "list",
|
661 | "member": {
|
662 | "shape": "S2c"
|
663 | }
|
664 | },
|
665 | "NextToken": {}
|
666 | }
|
667 | }
|
668 | },
|
669 | "ListEntitiesDetectionJobs": {
|
670 | "input": {
|
671 | "type": "structure",
|
672 | "members": {
|
673 | "Filter": {
|
674 | "type": "structure",
|
675 | "members": {
|
676 | "JobName": {},
|
677 | "JobStatus": {},
|
678 | "SubmitTimeBefore": {
|
679 | "type": "timestamp"
|
680 | },
|
681 | "SubmitTimeAfter": {
|
682 | "type": "timestamp"
|
683 | }
|
684 | }
|
685 | },
|
686 | "NextToken": {},
|
687 | "MaxResults": {
|
688 | "type": "integer"
|
689 | }
|
690 | }
|
691 | },
|
692 | "output": {
|
693 | "type": "structure",
|
694 | "members": {
|
695 | "EntitiesDetectionJobPropertiesList": {
|
696 | "type": "list",
|
697 | "member": {
|
698 | "shape": "S2f"
|
699 | }
|
700 | },
|
701 | "NextToken": {}
|
702 | }
|
703 | }
|
704 | },
|
705 | "ListEntityRecognizers": {
|
706 | "input": {
|
707 | "type": "structure",
|
708 | "members": {
|
709 | "Filter": {
|
710 | "type": "structure",
|
711 | "members": {
|
712 | "Status": {},
|
713 | "SubmitTimeBefore": {
|
714 | "type": "timestamp"
|
715 | },
|
716 | "SubmitTimeAfter": {
|
717 | "type": "timestamp"
|
718 | }
|
719 | }
|
720 | },
|
721 | "NextToken": {},
|
722 | "MaxResults": {
|
723 | "type": "integer"
|
724 | }
|
725 | }
|
726 | },
|
727 | "output": {
|
728 | "type": "structure",
|
729 | "members": {
|
730 | "EntityRecognizerPropertiesList": {
|
731 | "type": "list",
|
732 | "member": {
|
733 | "shape": "S2i"
|
734 | }
|
735 | },
|
736 | "NextToken": {}
|
737 | }
|
738 | }
|
739 | },
|
740 | "ListKeyPhrasesDetectionJobs": {
|
741 | "input": {
|
742 | "type": "structure",
|
743 | "members": {
|
744 | "Filter": {
|
745 | "type": "structure",
|
746 | "members": {
|
747 | "JobName": {},
|
748 | "JobStatus": {},
|
749 | "SubmitTimeBefore": {
|
750 | "type": "timestamp"
|
751 | },
|
752 | "SubmitTimeAfter": {
|
753 | "type": "timestamp"
|
754 | }
|
755 | }
|
756 | },
|
757 | "NextToken": {},
|
758 | "MaxResults": {
|
759 | "type": "integer"
|
760 | }
|
761 | }
|
762 | },
|
763 | "output": {
|
764 | "type": "structure",
|
765 | "members": {
|
766 | "KeyPhrasesDetectionJobPropertiesList": {
|
767 | "type": "list",
|
768 | "member": {
|
769 | "shape": "S2p"
|
770 | }
|
771 | },
|
772 | "NextToken": {}
|
773 | }
|
774 | }
|
775 | },
|
776 | "ListSentimentDetectionJobs": {
|
777 | "input": {
|
778 | "type": "structure",
|
779 | "members": {
|
780 | "Filter": {
|
781 | "type": "structure",
|
782 | "members": {
|
783 | "JobName": {},
|
784 | "JobStatus": {},
|
785 | "SubmitTimeBefore": {
|
786 | "type": "timestamp"
|
787 | },
|
788 | "SubmitTimeAfter": {
|
789 | "type": "timestamp"
|
790 | }
|
791 | }
|
792 | },
|
793 | "NextToken": {},
|
794 | "MaxResults": {
|
795 | "type": "integer"
|
796 | }
|
797 | }
|
798 | },
|
799 | "output": {
|
800 | "type": "structure",
|
801 | "members": {
|
802 | "SentimentDetectionJobPropertiesList": {
|
803 | "type": "list",
|
804 | "member": {
|
805 | "shape": "S2s"
|
806 | }
|
807 | },
|
808 | "NextToken": {}
|
809 | }
|
810 | }
|
811 | },
|
812 | "ListTopicsDetectionJobs": {
|
813 | "input": {
|
814 | "type": "structure",
|
815 | "members": {
|
816 | "Filter": {
|
817 | "type": "structure",
|
818 | "members": {
|
819 | "JobName": {},
|
820 | "JobStatus": {},
|
821 | "SubmitTimeBefore": {
|
822 | "type": "timestamp"
|
823 | },
|
824 | "SubmitTimeAfter": {
|
825 | "type": "timestamp"
|
826 | }
|
827 | }
|
828 | },
|
829 | "NextToken": {},
|
830 | "MaxResults": {
|
831 | "type": "integer"
|
832 | }
|
833 | }
|
834 | },
|
835 | "output": {
|
836 | "type": "structure",
|
837 | "members": {
|
838 | "TopicsDetectionJobPropertiesList": {
|
839 | "type": "list",
|
840 | "member": {
|
841 | "shape": "S2v"
|
842 | }
|
843 | },
|
844 | "NextToken": {}
|
845 | }
|
846 | }
|
847 | },
|
848 | "StartDocumentClassificationJob": {
|
849 | "input": {
|
850 | "type": "structure",
|
851 | "required": [
|
852 | "DocumentClassifierArn",
|
853 | "InputDataConfig",
|
854 | "OutputDataConfig",
|
855 | "DataAccessRoleArn"
|
856 | ],
|
857 | "members": {
|
858 | "JobName": {},
|
859 | "DocumentClassifierArn": {},
|
860 | "InputDataConfig": {
|
861 | "shape": "S20"
|
862 | },
|
863 | "OutputDataConfig": {
|
864 | "shape": "S22"
|
865 | },
|
866 | "DataAccessRoleArn": {},
|
867 | "ClientRequestToken": {
|
868 | "idempotencyToken": true
|
869 | }
|
870 | }
|
871 | },
|
872 | "output": {
|
873 | "type": "structure",
|
874 | "members": {
|
875 | "JobId": {},
|
876 | "JobStatus": {}
|
877 | }
|
878 | }
|
879 | },
|
880 | "StartDominantLanguageDetectionJob": {
|
881 | "input": {
|
882 | "type": "structure",
|
883 | "required": [
|
884 | "InputDataConfig",
|
885 | "OutputDataConfig",
|
886 | "DataAccessRoleArn"
|
887 | ],
|
888 | "members": {
|
889 | "InputDataConfig": {
|
890 | "shape": "S20"
|
891 | },
|
892 | "OutputDataConfig": {
|
893 | "shape": "S22"
|
894 | },
|
895 | "DataAccessRoleArn": {},
|
896 | "JobName": {},
|
897 | "ClientRequestToken": {
|
898 | "idempotencyToken": true
|
899 | }
|
900 | }
|
901 | },
|
902 | "output": {
|
903 | "type": "structure",
|
904 | "members": {
|
905 | "JobId": {},
|
906 | "JobStatus": {}
|
907 | }
|
908 | }
|
909 | },
|
910 | "StartEntitiesDetectionJob": {
|
911 | "input": {
|
912 | "type": "structure",
|
913 | "required": [
|
914 | "InputDataConfig",
|
915 | "OutputDataConfig",
|
916 | "DataAccessRoleArn",
|
917 | "LanguageCode"
|
918 | ],
|
919 | "members": {
|
920 | "InputDataConfig": {
|
921 | "shape": "S20"
|
922 | },
|
923 | "OutputDataConfig": {
|
924 | "shape": "S22"
|
925 | },
|
926 | "DataAccessRoleArn": {},
|
927 | "JobName": {},
|
928 | "EntityRecognizerArn": {},
|
929 | "LanguageCode": {},
|
930 | "ClientRequestToken": {
|
931 | "idempotencyToken": true
|
932 | }
|
933 | }
|
934 | },
|
935 | "output": {
|
936 | "type": "structure",
|
937 | "members": {
|
938 | "JobId": {},
|
939 | "JobStatus": {}
|
940 | }
|
941 | }
|
942 | },
|
943 | "StartKeyPhrasesDetectionJob": {
|
944 | "input": {
|
945 | "type": "structure",
|
946 | "required": [
|
947 | "InputDataConfig",
|
948 | "OutputDataConfig",
|
949 | "DataAccessRoleArn",
|
950 | "LanguageCode"
|
951 | ],
|
952 | "members": {
|
953 | "InputDataConfig": {
|
954 | "shape": "S20"
|
955 | },
|
956 | "OutputDataConfig": {
|
957 | "shape": "S22"
|
958 | },
|
959 | "DataAccessRoleArn": {},
|
960 | "JobName": {},
|
961 | "LanguageCode": {},
|
962 | "ClientRequestToken": {
|
963 | "idempotencyToken": true
|
964 | }
|
965 | }
|
966 | },
|
967 | "output": {
|
968 | "type": "structure",
|
969 | "members": {
|
970 | "JobId": {},
|
971 | "JobStatus": {}
|
972 | }
|
973 | }
|
974 | },
|
975 | "StartSentimentDetectionJob": {
|
976 | "input": {
|
977 | "type": "structure",
|
978 | "required": [
|
979 | "InputDataConfig",
|
980 | "OutputDataConfig",
|
981 | "DataAccessRoleArn",
|
982 | "LanguageCode"
|
983 | ],
|
984 | "members": {
|
985 | "InputDataConfig": {
|
986 | "shape": "S20"
|
987 | },
|
988 | "OutputDataConfig": {
|
989 | "shape": "S22"
|
990 | },
|
991 | "DataAccessRoleArn": {},
|
992 | "JobName": {},
|
993 | "LanguageCode": {},
|
994 | "ClientRequestToken": {
|
995 | "idempotencyToken": true
|
996 | }
|
997 | }
|
998 | },
|
999 | "output": {
|
1000 | "type": "structure",
|
1001 | "members": {
|
1002 | "JobId": {},
|
1003 | "JobStatus": {}
|
1004 | }
|
1005 | }
|
1006 | },
|
1007 | "StartTopicsDetectionJob": {
|
1008 | "input": {
|
1009 | "type": "structure",
|
1010 | "required": [
|
1011 | "InputDataConfig",
|
1012 | "OutputDataConfig",
|
1013 | "DataAccessRoleArn"
|
1014 | ],
|
1015 | "members": {
|
1016 | "InputDataConfig": {
|
1017 | "shape": "S20"
|
1018 | },
|
1019 | "OutputDataConfig": {
|
1020 | "shape": "S22"
|
1021 | },
|
1022 | "DataAccessRoleArn": {},
|
1023 | "JobName": {},
|
1024 | "NumberOfTopics": {
|
1025 | "type": "integer"
|
1026 | },
|
1027 | "ClientRequestToken": {
|
1028 | "idempotencyToken": true
|
1029 | }
|
1030 | }
|
1031 | },
|
1032 | "output": {
|
1033 | "type": "structure",
|
1034 | "members": {
|
1035 | "JobId": {},
|
1036 | "JobStatus": {}
|
1037 | }
|
1038 | }
|
1039 | },
|
1040 | "StopDominantLanguageDetectionJob": {
|
1041 | "input": {
|
1042 | "type": "structure",
|
1043 | "required": [
|
1044 | "JobId"
|
1045 | ],
|
1046 | "members": {
|
1047 | "JobId": {}
|
1048 | }
|
1049 | },
|
1050 | "output": {
|
1051 | "type": "structure",
|
1052 | "members": {
|
1053 | "JobId": {},
|
1054 | "JobStatus": {}
|
1055 | }
|
1056 | }
|
1057 | },
|
1058 | "StopEntitiesDetectionJob": {
|
1059 | "input": {
|
1060 | "type": "structure",
|
1061 | "required": [
|
1062 | "JobId"
|
1063 | ],
|
1064 | "members": {
|
1065 | "JobId": {}
|
1066 | }
|
1067 | },
|
1068 | "output": {
|
1069 | "type": "structure",
|
1070 | "members": {
|
1071 | "JobId": {},
|
1072 | "JobStatus": {}
|
1073 | }
|
1074 | }
|
1075 | },
|
1076 | "StopKeyPhrasesDetectionJob": {
|
1077 | "input": {
|
1078 | "type": "structure",
|
1079 | "required": [
|
1080 | "JobId"
|
1081 | ],
|
1082 | "members": {
|
1083 | "JobId": {}
|
1084 | }
|
1085 | },
|
1086 | "output": {
|
1087 | "type": "structure",
|
1088 | "members": {
|
1089 | "JobId": {},
|
1090 | "JobStatus": {}
|
1091 | }
|
1092 | }
|
1093 | },
|
1094 | "StopSentimentDetectionJob": {
|
1095 | "input": {
|
1096 | "type": "structure",
|
1097 | "required": [
|
1098 | "JobId"
|
1099 | ],
|
1100 | "members": {
|
1101 | "JobId": {}
|
1102 | }
|
1103 | },
|
1104 | "output": {
|
1105 | "type": "structure",
|
1106 | "members": {
|
1107 | "JobId": {},
|
1108 | "JobStatus": {}
|
1109 | }
|
1110 | }
|
1111 | },
|
1112 | "StopTrainingDocumentClassifier": {
|
1113 | "input": {
|
1114 | "type": "structure",
|
1115 | "required": [
|
1116 | "DocumentClassifierArn"
|
1117 | ],
|
1118 | "members": {
|
1119 | "DocumentClassifierArn": {}
|
1120 | }
|
1121 | },
|
1122 | "output": {
|
1123 | "type": "structure",
|
1124 | "members": {}
|
1125 | }
|
1126 | },
|
1127 | "StopTrainingEntityRecognizer": {
|
1128 | "input": {
|
1129 | "type": "structure",
|
1130 | "required": [
|
1131 | "EntityRecognizerArn"
|
1132 | ],
|
1133 | "members": {
|
1134 | "EntityRecognizerArn": {}
|
1135 | }
|
1136 | },
|
1137 | "output": {
|
1138 | "type": "structure",
|
1139 | "members": {}
|
1140 | }
|
1141 | }
|
1142 | },
|
1143 | "shapes": {
|
1144 | "S2": {
|
1145 | "type": "list",
|
1146 | "member": {}
|
1147 | },
|
1148 | "S8": {
|
1149 | "type": "list",
|
1150 | "member": {
|
1151 | "type": "structure",
|
1152 | "members": {
|
1153 | "LanguageCode": {},
|
1154 | "Score": {
|
1155 | "type": "float"
|
1156 | }
|
1157 | }
|
1158 | }
|
1159 | },
|
1160 | "Sb": {
|
1161 | "type": "list",
|
1162 | "member": {
|
1163 | "type": "structure",
|
1164 | "members": {
|
1165 | "Index": {
|
1166 | "type": "integer"
|
1167 | },
|
1168 | "ErrorCode": {},
|
1169 | "ErrorMessage": {}
|
1170 | }
|
1171 | }
|
1172 | },
|
1173 | "Si": {
|
1174 | "type": "list",
|
1175 | "member": {
|
1176 | "type": "structure",
|
1177 | "members": {
|
1178 | "Score": {
|
1179 | "type": "float"
|
1180 | },
|
1181 | "Type": {},
|
1182 | "Text": {},
|
1183 | "BeginOffset": {
|
1184 | "type": "integer"
|
1185 | },
|
1186 | "EndOffset": {
|
1187 | "type": "integer"
|
1188 | }
|
1189 | }
|
1190 | }
|
1191 | },
|
1192 | "Sp": {
|
1193 | "type": "list",
|
1194 | "member": {
|
1195 | "type": "structure",
|
1196 | "members": {
|
1197 | "Score": {
|
1198 | "type": "float"
|
1199 | },
|
1200 | "Text": {},
|
1201 | "BeginOffset": {
|
1202 | "type": "integer"
|
1203 | },
|
1204 | "EndOffset": {
|
1205 | "type": "integer"
|
1206 | }
|
1207 | }
|
1208 | }
|
1209 | },
|
1210 | "Sw": {
|
1211 | "type": "structure",
|
1212 | "members": {
|
1213 | "Positive": {
|
1214 | "type": "float"
|
1215 | },
|
1216 | "Negative": {
|
1217 | "type": "float"
|
1218 | },
|
1219 | "Neutral": {
|
1220 | "type": "float"
|
1221 | },
|
1222 | "Mixed": {
|
1223 | "type": "float"
|
1224 | }
|
1225 | }
|
1226 | },
|
1227 | "S12": {
|
1228 | "type": "list",
|
1229 | "member": {
|
1230 | "type": "structure",
|
1231 | "members": {
|
1232 | "TokenId": {
|
1233 | "type": "integer"
|
1234 | },
|
1235 | "Text": {},
|
1236 | "BeginOffset": {
|
1237 | "type": "integer"
|
1238 | },
|
1239 | "EndOffset": {
|
1240 | "type": "integer"
|
1241 | },
|
1242 | "PartOfSpeech": {
|
1243 | "type": "structure",
|
1244 | "members": {
|
1245 | "Tag": {},
|
1246 | "Score": {
|
1247 | "type": "float"
|
1248 | }
|
1249 | }
|
1250 | }
|
1251 | }
|
1252 | }
|
1253 | },
|
1254 | "S19": {
|
1255 | "type": "structure",
|
1256 | "required": [
|
1257 | "S3Uri"
|
1258 | ],
|
1259 | "members": {
|
1260 | "S3Uri": {}
|
1261 | }
|
1262 | },
|
1263 | "S1f": {
|
1264 | "type": "structure",
|
1265 | "required": [
|
1266 | "EntityTypes",
|
1267 | "Documents"
|
1268 | ],
|
1269 | "members": {
|
1270 | "EntityTypes": {
|
1271 | "type": "list",
|
1272 | "member": {
|
1273 | "type": "structure",
|
1274 | "required": [
|
1275 | "Type"
|
1276 | ],
|
1277 | "members": {
|
1278 | "Type": {}
|
1279 | }
|
1280 | }
|
1281 | },
|
1282 | "Documents": {
|
1283 | "type": "structure",
|
1284 | "required": [
|
1285 | "S3Uri"
|
1286 | ],
|
1287 | "members": {
|
1288 | "S3Uri": {}
|
1289 | }
|
1290 | },
|
1291 | "Annotations": {
|
1292 | "type": "structure",
|
1293 | "required": [
|
1294 | "S3Uri"
|
1295 | ],
|
1296 | "members": {
|
1297 | "S3Uri": {}
|
1298 | }
|
1299 | },
|
1300 | "EntityList": {
|
1301 | "type": "structure",
|
1302 | "required": [
|
1303 | "S3Uri"
|
1304 | ],
|
1305 | "members": {
|
1306 | "S3Uri": {}
|
1307 | }
|
1308 | }
|
1309 | }
|
1310 | },
|
1311 | "S1v": {
|
1312 | "type": "structure",
|
1313 | "members": {
|
1314 | "JobId": {},
|
1315 | "JobName": {},
|
1316 | "JobStatus": {},
|
1317 | "Message": {},
|
1318 | "SubmitTime": {
|
1319 | "type": "timestamp"
|
1320 | },
|
1321 | "EndTime": {
|
1322 | "type": "timestamp"
|
1323 | },
|
1324 | "DocumentClassifierArn": {},
|
1325 | "InputDataConfig": {
|
1326 | "shape": "S20"
|
1327 | },
|
1328 | "OutputDataConfig": {
|
1329 | "shape": "S22"
|
1330 | },
|
1331 | "DataAccessRoleArn": {}
|
1332 | }
|
1333 | },
|
1334 | "S20": {
|
1335 | "type": "structure",
|
1336 | "required": [
|
1337 | "S3Uri"
|
1338 | ],
|
1339 | "members": {
|
1340 | "S3Uri": {},
|
1341 | "InputFormat": {}
|
1342 | }
|
1343 | },
|
1344 | "S22": {
|
1345 | "type": "structure",
|
1346 | "required": [
|
1347 | "S3Uri"
|
1348 | ],
|
1349 | "members": {
|
1350 | "S3Uri": {}
|
1351 | }
|
1352 | },
|
1353 | "S25": {
|
1354 | "type": "structure",
|
1355 | "members": {
|
1356 | "DocumentClassifierArn": {},
|
1357 | "LanguageCode": {},
|
1358 | "Status": {},
|
1359 | "Message": {},
|
1360 | "SubmitTime": {
|
1361 | "type": "timestamp"
|
1362 | },
|
1363 | "EndTime": {
|
1364 | "type": "timestamp"
|
1365 | },
|
1366 | "TrainingStartTime": {
|
1367 | "type": "timestamp"
|
1368 | },
|
1369 | "TrainingEndTime": {
|
1370 | "type": "timestamp"
|
1371 | },
|
1372 | "InputDataConfig": {
|
1373 | "shape": "S19"
|
1374 | },
|
1375 | "ClassifierMetadata": {
|
1376 | "type": "structure",
|
1377 | "members": {
|
1378 | "NumberOfLabels": {
|
1379 | "type": "integer"
|
1380 | },
|
1381 | "NumberOfTrainedDocuments": {
|
1382 | "type": "integer"
|
1383 | },
|
1384 | "NumberOfTestDocuments": {
|
1385 | "type": "integer"
|
1386 | },
|
1387 | "EvaluationMetrics": {
|
1388 | "type": "structure",
|
1389 | "members": {
|
1390 | "Accuracy": {
|
1391 | "type": "double"
|
1392 | },
|
1393 | "Precision": {
|
1394 | "type": "double"
|
1395 | },
|
1396 | "Recall": {
|
1397 | "type": "double"
|
1398 | },
|
1399 | "F1Score": {
|
1400 | "type": "double"
|
1401 | }
|
1402 | }
|
1403 | }
|
1404 | }
|
1405 | },
|
1406 | "DataAccessRoleArn": {}
|
1407 | }
|
1408 | },
|
1409 | "S2c": {
|
1410 | "type": "structure",
|
1411 | "members": {
|
1412 | "JobId": {},
|
1413 | "JobName": {},
|
1414 | "JobStatus": {},
|
1415 | "Message": {},
|
1416 | "SubmitTime": {
|
1417 | "type": "timestamp"
|
1418 | },
|
1419 | "EndTime": {
|
1420 | "type": "timestamp"
|
1421 | },
|
1422 | "InputDataConfig": {
|
1423 | "shape": "S20"
|
1424 | },
|
1425 | "OutputDataConfig": {
|
1426 | "shape": "S22"
|
1427 | },
|
1428 | "DataAccessRoleArn": {}
|
1429 | }
|
1430 | },
|
1431 | "S2f": {
|
1432 | "type": "structure",
|
1433 | "members": {
|
1434 | "JobId": {},
|
1435 | "JobName": {},
|
1436 | "JobStatus": {},
|
1437 | "Message": {},
|
1438 | "SubmitTime": {
|
1439 | "type": "timestamp"
|
1440 | },
|
1441 | "EndTime": {
|
1442 | "type": "timestamp"
|
1443 | },
|
1444 | "EntityRecognizerArn": {},
|
1445 | "InputDataConfig": {
|
1446 | "shape": "S20"
|
1447 | },
|
1448 | "OutputDataConfig": {
|
1449 | "shape": "S22"
|
1450 | },
|
1451 | "LanguageCode": {},
|
1452 | "DataAccessRoleArn": {}
|
1453 | }
|
1454 | },
|
1455 | "S2i": {
|
1456 | "type": "structure",
|
1457 | "members": {
|
1458 | "EntityRecognizerArn": {},
|
1459 | "LanguageCode": {},
|
1460 | "Status": {},
|
1461 | "Message": {},
|
1462 | "SubmitTime": {
|
1463 | "type": "timestamp"
|
1464 | },
|
1465 | "EndTime": {
|
1466 | "type": "timestamp"
|
1467 | },
|
1468 | "TrainingStartTime": {
|
1469 | "type": "timestamp"
|
1470 | },
|
1471 | "TrainingEndTime": {
|
1472 | "type": "timestamp"
|
1473 | },
|
1474 | "InputDataConfig": {
|
1475 | "shape": "S1f"
|
1476 | },
|
1477 | "RecognizerMetadata": {
|
1478 | "type": "structure",
|
1479 | "members": {
|
1480 | "NumberOfTrainedDocuments": {
|
1481 | "type": "integer"
|
1482 | },
|
1483 | "NumberOfTestDocuments": {
|
1484 | "type": "integer"
|
1485 | },
|
1486 | "EvaluationMetrics": {
|
1487 | "type": "structure",
|
1488 | "members": {
|
1489 | "Precision": {
|
1490 | "type": "double"
|
1491 | },
|
1492 | "Recall": {
|
1493 | "type": "double"
|
1494 | },
|
1495 | "F1Score": {
|
1496 | "type": "double"
|
1497 | }
|
1498 | }
|
1499 | },
|
1500 | "EntityTypes": {
|
1501 | "type": "list",
|
1502 | "member": {
|
1503 | "type": "structure",
|
1504 | "members": {
|
1505 | "Type": {}
|
1506 | }
|
1507 | }
|
1508 | }
|
1509 | }
|
1510 | },
|
1511 | "DataAccessRoleArn": {}
|
1512 | }
|
1513 | },
|
1514 | "S2p": {
|
1515 | "type": "structure",
|
1516 | "members": {
|
1517 | "JobId": {},
|
1518 | "JobName": {},
|
1519 | "JobStatus": {},
|
1520 | "Message": {},
|
1521 | "SubmitTime": {
|
1522 | "type": "timestamp"
|
1523 | },
|
1524 | "EndTime": {
|
1525 | "type": "timestamp"
|
1526 | },
|
1527 | "InputDataConfig": {
|
1528 | "shape": "S20"
|
1529 | },
|
1530 | "OutputDataConfig": {
|
1531 | "shape": "S22"
|
1532 | },
|
1533 | "LanguageCode": {},
|
1534 | "DataAccessRoleArn": {}
|
1535 | }
|
1536 | },
|
1537 | "S2s": {
|
1538 | "type": "structure",
|
1539 | "members": {
|
1540 | "JobId": {},
|
1541 | "JobName": {},
|
1542 | "JobStatus": {},
|
1543 | "Message": {},
|
1544 | "SubmitTime": {
|
1545 | "type": "timestamp"
|
1546 | },
|
1547 | "EndTime": {
|
1548 | "type": "timestamp"
|
1549 | },
|
1550 | "InputDataConfig": {
|
1551 | "shape": "S20"
|
1552 | },
|
1553 | "OutputDataConfig": {
|
1554 | "shape": "S22"
|
1555 | },
|
1556 | "LanguageCode": {},
|
1557 | "DataAccessRoleArn": {}
|
1558 | }
|
1559 | },
|
1560 | "S2v": {
|
1561 | "type": "structure",
|
1562 | "members": {
|
1563 | "JobId": {},
|
1564 | "JobName": {},
|
1565 | "JobStatus": {},
|
1566 | "Message": {},
|
1567 | "SubmitTime": {
|
1568 | "type": "timestamp"
|
1569 | },
|
1570 | "EndTime": {
|
1571 | "type": "timestamp"
|
1572 | },
|
1573 | "InputDataConfig": {
|
1574 | "shape": "S20"
|
1575 | },
|
1576 | "OutputDataConfig": {
|
1577 | "shape": "S22"
|
1578 | },
|
1579 | "NumberOfTopics": {
|
1580 | "type": "integer"
|
1581 | }
|
1582 | }
|
1583 | }
|
1584 | }
|
1585 | } |
\ | No newline at end of file |