|
92 | 92 | {"shape":"InternalServerException"}
|
93 | 93 | ]
|
94 | 94 | },
|
| 95 | + "BatchDetectTargetedSentiment":{ |
| 96 | + "name":"BatchDetectTargetedSentiment", |
| 97 | + "http":{ |
| 98 | + "method":"POST", |
| 99 | + "requestUri":"/" |
| 100 | + }, |
| 101 | + "input":{"shape":"BatchDetectTargetedSentimentRequest"}, |
| 102 | + "output":{"shape":"BatchDetectTargetedSentimentResponse"}, |
| 103 | + "errors":[ |
| 104 | + {"shape":"InvalidRequestException"}, |
| 105 | + {"shape":"TextSizeLimitExceededException"}, |
| 106 | + {"shape":"UnsupportedLanguageException"}, |
| 107 | + {"shape":"BatchSizeLimitExceededException"}, |
| 108 | + {"shape":"InternalServerException"} |
| 109 | + ] |
| 110 | + }, |
95 | 111 | "ClassifyDocument":{
|
96 | 112 | "name":"ClassifyDocument",
|
97 | 113 | "http":{
|
|
527 | 543 | {"shape":"InternalServerException"}
|
528 | 544 | ]
|
529 | 545 | },
|
| 546 | + "DetectTargetedSentiment":{ |
| 547 | + "name":"DetectTargetedSentiment", |
| 548 | + "http":{ |
| 549 | + "method":"POST", |
| 550 | + "requestUri":"/" |
| 551 | + }, |
| 552 | + "input":{"shape":"DetectTargetedSentimentRequest"}, |
| 553 | + "output":{"shape":"DetectTargetedSentimentResponse"}, |
| 554 | + "errors":[ |
| 555 | + {"shape":"InvalidRequestException"}, |
| 556 | + {"shape":"TextSizeLimitExceededException"}, |
| 557 | + {"shape":"UnsupportedLanguageException"}, |
| 558 | + {"shape":"InternalServerException"} |
| 559 | + ] |
| 560 | + }, |
530 | 561 | "ImportModel":{
|
531 | 562 | "name":"ImportModel",
|
532 | 563 | "http":{
|
|
1290 | 1321 | },
|
1291 | 1322 | "sensitive":true
|
1292 | 1323 | },
|
| 1324 | + "BatchDetectTargetedSentimentItemResult":{ |
| 1325 | + "type":"structure", |
| 1326 | + "members":{ |
| 1327 | + "Index":{"shape":"Integer"}, |
| 1328 | + "Entities":{"shape":"ListOfTargetedSentimentEntities"} |
| 1329 | + } |
| 1330 | + }, |
| 1331 | + "BatchDetectTargetedSentimentRequest":{ |
| 1332 | + "type":"structure", |
| 1333 | + "required":[ |
| 1334 | + "TextList", |
| 1335 | + "LanguageCode" |
| 1336 | + ], |
| 1337 | + "members":{ |
| 1338 | + "TextList":{"shape":"CustomerInputStringList"}, |
| 1339 | + "LanguageCode":{"shape":"LanguageCode"} |
| 1340 | + } |
| 1341 | + }, |
| 1342 | + "BatchDetectTargetedSentimentResponse":{ |
| 1343 | + "type":"structure", |
| 1344 | + "required":[ |
| 1345 | + "ResultList", |
| 1346 | + "ErrorList" |
| 1347 | + ], |
| 1348 | + "members":{ |
| 1349 | + "ResultList":{"shape":"ListOfDetectTargetedSentimentResult"}, |
| 1350 | + "ErrorList":{"shape":"BatchItemErrorList"} |
| 1351 | + }, |
| 1352 | + "sensitive":true |
| 1353 | + }, |
1293 | 1354 | "BatchItemError":{
|
1294 | 1355 | "type":"structure",
|
1295 | 1356 | "members":{
|
|
1829 | 1890 | },
|
1830 | 1891 | "sensitive":true
|
1831 | 1892 | },
|
| 1893 | + "DetectTargetedSentimentRequest":{ |
| 1894 | + "type":"structure", |
| 1895 | + "required":[ |
| 1896 | + "Text", |
| 1897 | + "LanguageCode" |
| 1898 | + ], |
| 1899 | + "members":{ |
| 1900 | + "Text":{"shape":"CustomerInputString"}, |
| 1901 | + "LanguageCode":{"shape":"LanguageCode"} |
| 1902 | + } |
| 1903 | + }, |
| 1904 | + "DetectTargetedSentimentResponse":{ |
| 1905 | + "type":"structure", |
| 1906 | + "members":{ |
| 1907 | + "Entities":{"shape":"ListOfTargetedSentimentEntities"} |
| 1908 | + }, |
| 1909 | + "sensitive":true |
| 1910 | + }, |
1832 | 1911 | "DocumentClass":{
|
1833 | 1912 | "type":"structure",
|
1834 | 1913 | "members":{
|
|
2659 | 2738 | "type":"list",
|
2660 | 2739 | "member":{"shape":"DocumentClass"}
|
2661 | 2740 | },
|
| 2741 | + "ListOfDescriptiveMentionIndices":{ |
| 2742 | + "type":"list", |
| 2743 | + "member":{"shape":"Integer"} |
| 2744 | + }, |
2662 | 2745 | "ListOfDetectDominantLanguageResult":{
|
2663 | 2746 | "type":"list",
|
2664 | 2747 | "member":{"shape":"BatchDetectDominantLanguageItemResult"}
|
|
2679 | 2762 | "type":"list",
|
2680 | 2763 | "member":{"shape":"BatchDetectSyntaxItemResult"}
|
2681 | 2764 | },
|
| 2765 | + "ListOfDetectTargetedSentimentResult":{ |
| 2766 | + "type":"list", |
| 2767 | + "member":{"shape":"BatchDetectTargetedSentimentItemResult"} |
| 2768 | + }, |
2682 | 2769 | "ListOfDocumentReadFeatureTypes":{
|
2683 | 2770 | "type":"list",
|
2684 | 2771 | "member":{"shape":"DocumentReadFeatureTypes"},
|
|
2705 | 2792 | "type":"list",
|
2706 | 2793 | "member":{"shape":"DocumentLabel"}
|
2707 | 2794 | },
|
| 2795 | + "ListOfMentions":{ |
| 2796 | + "type":"list", |
| 2797 | + "member":{"shape":"TargetedSentimentMention"} |
| 2798 | + }, |
2708 | 2799 | "ListOfPiiEntities":{
|
2709 | 2800 | "type":"list",
|
2710 | 2801 | "member":{"shape":"PiiEntity"}
|
|
2717 | 2808 | "type":"list",
|
2718 | 2809 | "member":{"shape":"SyntaxToken"}
|
2719 | 2810 | },
|
| 2811 | + "ListOfTargetedSentimentEntities":{ |
| 2812 | + "type":"list", |
| 2813 | + "member":{"shape":"TargetedSentimentEntity"} |
| 2814 | + }, |
2720 | 2815 | "ListPiiEntitiesDetectionJobsRequest":{
|
2721 | 2816 | "type":"structure",
|
2722 | 2817 | "members":{
|
|
2802 | 2897 | "max":500,
|
2803 | 2898 | "min":1
|
2804 | 2899 | },
|
| 2900 | + "MentionSentiment":{ |
| 2901 | + "type":"structure", |
| 2902 | + "members":{ |
| 2903 | + "Sentiment":{"shape":"SentimentType"}, |
| 2904 | + "SentimentScore":{"shape":"SentimentScore"} |
| 2905 | + } |
| 2906 | + }, |
2805 | 2907 | "ModelStatus":{
|
2806 | 2908 | "type":"string",
|
2807 | 2909 | "enum":[
|
|
3614 | 3716 | "type":"list",
|
3615 | 3717 | "member":{"shape":"TargetedSentimentDetectionJobProperties"}
|
3616 | 3718 | },
|
| 3719 | + "TargetedSentimentEntity":{ |
| 3720 | + "type":"structure", |
| 3721 | + "members":{ |
| 3722 | + "DescriptiveMentionIndex":{"shape":"ListOfDescriptiveMentionIndices"}, |
| 3723 | + "Mentions":{"shape":"ListOfMentions"} |
| 3724 | + } |
| 3725 | + }, |
| 3726 | + "TargetedSentimentEntityType":{ |
| 3727 | + "type":"string", |
| 3728 | + "enum":[ |
| 3729 | + "PERSON", |
| 3730 | + "LOCATION", |
| 3731 | + "ORGANIZATION", |
| 3732 | + "FACILITY", |
| 3733 | + "BRAND", |
| 3734 | + "COMMERCIAL_ITEM", |
| 3735 | + "MOVIE", |
| 3736 | + "MUSIC", |
| 3737 | + "BOOK", |
| 3738 | + "SOFTWARE", |
| 3739 | + "GAME", |
| 3740 | + "PERSONAL_TITLE", |
| 3741 | + "EVENT", |
| 3742 | + "DATE", |
| 3743 | + "QUANTITY", |
| 3744 | + "ATTRIBUTE", |
| 3745 | + "OTHER" |
| 3746 | + ] |
| 3747 | + }, |
| 3748 | + "TargetedSentimentMention":{ |
| 3749 | + "type":"structure", |
| 3750 | + "members":{ |
| 3751 | + "Score":{"shape":"Float"}, |
| 3752 | + "GroupScore":{"shape":"Float"}, |
| 3753 | + "Text":{"shape":"String"}, |
| 3754 | + "Type":{"shape":"TargetedSentimentEntityType"}, |
| 3755 | + "MentionSentiment":{"shape":"MentionSentiment"}, |
| 3756 | + "BeginOffset":{"shape":"Integer"}, |
| 3757 | + "EndOffset":{"shape":"Integer"} |
| 3758 | + } |
| 3759 | + }, |
3617 | 3760 | "TextSizeLimitExceededException":{
|
3618 | 3761 | "type":"structure",
|
3619 | 3762 | "members":{
|
|
0 commit comments