@aws-sdk/client-comprehend 3.54.0 → 3.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist-cjs/ComprehendClient.js +13 -13
- package/dist-cjs/commands/BatchDetectDominantLanguageCommand.js +3 -3
- package/dist-cjs/commands/BatchDetectEntitiesCommand.js +3 -3
- package/dist-cjs/commands/BatchDetectKeyPhrasesCommand.js +3 -3
- package/dist-cjs/commands/BatchDetectSentimentCommand.js +3 -3
- package/dist-cjs/commands/BatchDetectSyntaxCommand.js +3 -3
- package/dist-cjs/commands/ClassifyDocumentCommand.js +3 -3
- package/dist-cjs/commands/ContainsPiiEntitiesCommand.js +3 -3
- package/dist-cjs/commands/CreateDocumentClassifierCommand.js +3 -3
- package/dist-cjs/commands/CreateEndpointCommand.js +3 -3
- package/dist-cjs/commands/CreateEntityRecognizerCommand.js +3 -3
- package/dist-cjs/commands/DeleteDocumentClassifierCommand.js +3 -3
- package/dist-cjs/commands/DeleteEndpointCommand.js +3 -3
- package/dist-cjs/commands/DeleteEntityRecognizerCommand.js +3 -3
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/DescribeDocumentClassificationJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeDocumentClassifierCommand.js +3 -3
- package/dist-cjs/commands/DescribeDominantLanguageDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeEndpointCommand.js +3 -3
- package/dist-cjs/commands/DescribeEntitiesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeEntityRecognizerCommand.js +3 -3
- package/dist-cjs/commands/DescribeEventsDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeKeyPhrasesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/DescribePiiEntitiesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/DescribeSentimentDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeTargetedSentimentDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeTopicsDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/DetectDominantLanguageCommand.js +3 -3
- package/dist-cjs/commands/DetectEntitiesCommand.js +3 -3
- package/dist-cjs/commands/DetectKeyPhrasesCommand.js +3 -3
- package/dist-cjs/commands/DetectPiiEntitiesCommand.js +3 -3
- package/dist-cjs/commands/DetectSentimentCommand.js +3 -3
- package/dist-cjs/commands/DetectSyntaxCommand.js +3 -3
- package/dist-cjs/commands/ImportModelCommand.js +3 -3
- package/dist-cjs/commands/ListDocumentClassificationJobsCommand.js +3 -3
- package/dist-cjs/commands/ListDocumentClassifierSummariesCommand.js +3 -3
- package/dist-cjs/commands/ListDocumentClassifiersCommand.js +3 -3
- package/dist-cjs/commands/ListDominantLanguageDetectionJobsCommand.js +3 -3
- package/dist-cjs/commands/ListEndpointsCommand.js +3 -3
- package/dist-cjs/commands/ListEntitiesDetectionJobsCommand.js +3 -3
- package/dist-cjs/commands/ListEntityRecognizerSummariesCommand.js +3 -3
- package/dist-cjs/commands/ListEntityRecognizersCommand.js +3 -3
- package/dist-cjs/commands/ListEventsDetectionJobsCommand.js +3 -3
- package/dist-cjs/commands/ListKeyPhrasesDetectionJobsCommand.js +3 -3
- package/dist-cjs/commands/ListPiiEntitiesDetectionJobsCommand.js +3 -3
- package/dist-cjs/commands/ListSentimentDetectionJobsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListTargetedSentimentDetectionJobsCommand.js +3 -3
- package/dist-cjs/commands/ListTopicsDetectionJobsCommand.js +3 -3
- package/dist-cjs/commands/PutResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/StartDocumentClassificationJobCommand.js +3 -3
- package/dist-cjs/commands/StartDominantLanguageDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StartEntitiesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StartEventsDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StartKeyPhrasesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StartPiiEntitiesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StartSentimentDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StartTargetedSentimentDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StartTopicsDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StopDominantLanguageDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StopEntitiesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StopEventsDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StopKeyPhrasesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StopPiiEntitiesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StopSentimentDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StopTargetedSentimentDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StopTrainingDocumentClassifierCommand.js +3 -3
- package/dist-cjs/commands/StopTrainingEntityRecognizerCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateEndpointCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_1.js +417 -417
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/Comprehend.js +71 -71
- package/dist-es/pagination/ListDocumentClassificationJobsPaginator.js +4 -4
- package/dist-es/pagination/ListDocumentClassifierSummariesPaginator.js +4 -4
- package/dist-es/pagination/ListDocumentClassifiersPaginator.js +4 -4
- package/dist-es/pagination/ListDominantLanguageDetectionJobsPaginator.js +4 -4
- package/dist-es/pagination/ListEntitiesDetectionJobsPaginator.js +4 -4
- package/dist-es/pagination/ListEntityRecognizerSummariesPaginator.js +4 -4
- package/dist-es/pagination/ListEntityRecognizersPaginator.js +4 -4
- package/dist-es/pagination/ListEventsDetectionJobsPaginator.js +4 -4
- package/dist-es/pagination/ListKeyPhrasesDetectionJobsPaginator.js +4 -4
- package/dist-es/pagination/ListSentimentDetectionJobsPaginator.js +4 -4
- package/dist-es/pagination/ListTargetedSentimentDetectionJobsPaginator.js +4 -4
- package/dist-es/pagination/ListTopicsDetectionJobsPaginator.js +4 -4
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -760,7 +760,7 @@ const deserializeAws_json1_1BatchDetectDominantLanguageCommandError = async (out
|
|
|
760
760
|
$fault: "client",
|
|
761
761
|
$metadata: deserializeMetadata(output),
|
|
762
762
|
});
|
|
763
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
763
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
764
764
|
}
|
|
765
765
|
};
|
|
766
766
|
const deserializeAws_json1_1BatchDetectEntitiesCommand = async (output, context) => {
|
|
@@ -808,7 +808,7 @@ const deserializeAws_json1_1BatchDetectEntitiesCommandError = async (output, con
|
|
|
808
808
|
$fault: "client",
|
|
809
809
|
$metadata: deserializeMetadata(output),
|
|
810
810
|
});
|
|
811
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
811
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
812
812
|
}
|
|
813
813
|
};
|
|
814
814
|
const deserializeAws_json1_1BatchDetectKeyPhrasesCommand = async (output, context) => {
|
|
@@ -856,7 +856,7 @@ const deserializeAws_json1_1BatchDetectKeyPhrasesCommandError = async (output, c
|
|
|
856
856
|
$fault: "client",
|
|
857
857
|
$metadata: deserializeMetadata(output),
|
|
858
858
|
});
|
|
859
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
859
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
860
860
|
}
|
|
861
861
|
};
|
|
862
862
|
const deserializeAws_json1_1BatchDetectSentimentCommand = async (output, context) => {
|
|
@@ -904,7 +904,7 @@ const deserializeAws_json1_1BatchDetectSentimentCommandError = async (output, co
|
|
|
904
904
|
$fault: "client",
|
|
905
905
|
$metadata: deserializeMetadata(output),
|
|
906
906
|
});
|
|
907
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
907
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
908
908
|
}
|
|
909
909
|
};
|
|
910
910
|
const deserializeAws_json1_1BatchDetectSyntaxCommand = async (output, context) => {
|
|
@@ -952,7 +952,7 @@ const deserializeAws_json1_1BatchDetectSyntaxCommandError = async (output, conte
|
|
|
952
952
|
$fault: "client",
|
|
953
953
|
$metadata: deserializeMetadata(output),
|
|
954
954
|
});
|
|
955
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
955
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
956
956
|
}
|
|
957
957
|
};
|
|
958
958
|
const deserializeAws_json1_1ClassifyDocumentCommand = async (output, context) => {
|
|
@@ -997,7 +997,7 @@ const deserializeAws_json1_1ClassifyDocumentCommandError = async (output, contex
|
|
|
997
997
|
$fault: "client",
|
|
998
998
|
$metadata: deserializeMetadata(output),
|
|
999
999
|
});
|
|
1000
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1000
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1001
1001
|
}
|
|
1002
1002
|
};
|
|
1003
1003
|
const deserializeAws_json1_1ContainsPiiEntitiesCommand = async (output, context) => {
|
|
@@ -1042,7 +1042,7 @@ const deserializeAws_json1_1ContainsPiiEntitiesCommandError = async (output, con
|
|
|
1042
1042
|
$fault: "client",
|
|
1043
1043
|
$metadata: deserializeMetadata(output),
|
|
1044
1044
|
});
|
|
1045
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1045
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1046
1046
|
}
|
|
1047
1047
|
};
|
|
1048
1048
|
const deserializeAws_json1_1CreateDocumentClassifierCommand = async (output, context) => {
|
|
@@ -1099,7 +1099,7 @@ const deserializeAws_json1_1CreateDocumentClassifierCommandError = async (output
|
|
|
1099
1099
|
$fault: "client",
|
|
1100
1100
|
$metadata: deserializeMetadata(output),
|
|
1101
1101
|
});
|
|
1102
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1102
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1103
1103
|
}
|
|
1104
1104
|
};
|
|
1105
1105
|
const deserializeAws_json1_1CreateEndpointCommand = async (output, context) => {
|
|
@@ -1156,7 +1156,7 @@ const deserializeAws_json1_1CreateEndpointCommandError = async (output, context)
|
|
|
1156
1156
|
$fault: "client",
|
|
1157
1157
|
$metadata: deserializeMetadata(output),
|
|
1158
1158
|
});
|
|
1159
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1159
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1160
1160
|
}
|
|
1161
1161
|
};
|
|
1162
1162
|
const deserializeAws_json1_1CreateEntityRecognizerCommand = async (output, context) => {
|
|
@@ -1213,7 +1213,7 @@ const deserializeAws_json1_1CreateEntityRecognizerCommandError = async (output,
|
|
|
1213
1213
|
$fault: "client",
|
|
1214
1214
|
$metadata: deserializeMetadata(output),
|
|
1215
1215
|
});
|
|
1216
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1216
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1217
1217
|
}
|
|
1218
1218
|
};
|
|
1219
1219
|
const deserializeAws_json1_1DeleteDocumentClassifierCommand = async (output, context) => {
|
|
@@ -1264,7 +1264,7 @@ const deserializeAws_json1_1DeleteDocumentClassifierCommandError = async (output
|
|
|
1264
1264
|
$fault: "client",
|
|
1265
1265
|
$metadata: deserializeMetadata(output),
|
|
1266
1266
|
});
|
|
1267
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1267
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1268
1268
|
}
|
|
1269
1269
|
};
|
|
1270
1270
|
const deserializeAws_json1_1DeleteEndpointCommand = async (output, context) => {
|
|
@@ -1312,7 +1312,7 @@ const deserializeAws_json1_1DeleteEndpointCommandError = async (output, context)
|
|
|
1312
1312
|
$fault: "client",
|
|
1313
1313
|
$metadata: deserializeMetadata(output),
|
|
1314
1314
|
});
|
|
1315
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1315
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1316
1316
|
}
|
|
1317
1317
|
};
|
|
1318
1318
|
const deserializeAws_json1_1DeleteEntityRecognizerCommand = async (output, context) => {
|
|
@@ -1363,7 +1363,7 @@ const deserializeAws_json1_1DeleteEntityRecognizerCommandError = async (output,
|
|
|
1363
1363
|
$fault: "client",
|
|
1364
1364
|
$metadata: deserializeMetadata(output),
|
|
1365
1365
|
});
|
|
1366
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1366
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1367
1367
|
}
|
|
1368
1368
|
};
|
|
1369
1369
|
const deserializeAws_json1_1DeleteResourcePolicyCommand = async (output, context) => {
|
|
@@ -1405,7 +1405,7 @@ const deserializeAws_json1_1DeleteResourcePolicyCommandError = async (output, co
|
|
|
1405
1405
|
$fault: "client",
|
|
1406
1406
|
$metadata: deserializeMetadata(output),
|
|
1407
1407
|
});
|
|
1408
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1408
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1409
1409
|
}
|
|
1410
1410
|
};
|
|
1411
1411
|
const deserializeAws_json1_1DescribeDocumentClassificationJobCommand = async (output, context) => {
|
|
@@ -1450,7 +1450,7 @@ const deserializeAws_json1_1DescribeDocumentClassificationJobCommandError = asyn
|
|
|
1450
1450
|
$fault: "client",
|
|
1451
1451
|
$metadata: deserializeMetadata(output),
|
|
1452
1452
|
});
|
|
1453
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1453
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1454
1454
|
}
|
|
1455
1455
|
};
|
|
1456
1456
|
const deserializeAws_json1_1DescribeDocumentClassifierCommand = async (output, context) => {
|
|
@@ -1495,7 +1495,7 @@ const deserializeAws_json1_1DescribeDocumentClassifierCommandError = async (outp
|
|
|
1495
1495
|
$fault: "client",
|
|
1496
1496
|
$metadata: deserializeMetadata(output),
|
|
1497
1497
|
});
|
|
1498
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1498
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1499
1499
|
}
|
|
1500
1500
|
};
|
|
1501
1501
|
const deserializeAws_json1_1DescribeDominantLanguageDetectionJobCommand = async (output, context) => {
|
|
@@ -1540,7 +1540,7 @@ const deserializeAws_json1_1DescribeDominantLanguageDetectionJobCommandError = a
|
|
|
1540
1540
|
$fault: "client",
|
|
1541
1541
|
$metadata: deserializeMetadata(output),
|
|
1542
1542
|
});
|
|
1543
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1543
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1544
1544
|
}
|
|
1545
1545
|
};
|
|
1546
1546
|
const deserializeAws_json1_1DescribeEndpointCommand = async (output, context) => {
|
|
@@ -1585,7 +1585,7 @@ const deserializeAws_json1_1DescribeEndpointCommandError = async (output, contex
|
|
|
1585
1585
|
$fault: "client",
|
|
1586
1586
|
$metadata: deserializeMetadata(output),
|
|
1587
1587
|
});
|
|
1588
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1588
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1589
1589
|
}
|
|
1590
1590
|
};
|
|
1591
1591
|
const deserializeAws_json1_1DescribeEntitiesDetectionJobCommand = async (output, context) => {
|
|
@@ -1630,7 +1630,7 @@ const deserializeAws_json1_1DescribeEntitiesDetectionJobCommandError = async (ou
|
|
|
1630
1630
|
$fault: "client",
|
|
1631
1631
|
$metadata: deserializeMetadata(output),
|
|
1632
1632
|
});
|
|
1633
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1633
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1634
1634
|
}
|
|
1635
1635
|
};
|
|
1636
1636
|
const deserializeAws_json1_1DescribeEntityRecognizerCommand = async (output, context) => {
|
|
@@ -1675,7 +1675,7 @@ const deserializeAws_json1_1DescribeEntityRecognizerCommandError = async (output
|
|
|
1675
1675
|
$fault: "client",
|
|
1676
1676
|
$metadata: deserializeMetadata(output),
|
|
1677
1677
|
});
|
|
1678
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1678
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1679
1679
|
}
|
|
1680
1680
|
};
|
|
1681
1681
|
const deserializeAws_json1_1DescribeEventsDetectionJobCommand = async (output, context) => {
|
|
@@ -1720,7 +1720,7 @@ const deserializeAws_json1_1DescribeEventsDetectionJobCommandError = async (outp
|
|
|
1720
1720
|
$fault: "client",
|
|
1721
1721
|
$metadata: deserializeMetadata(output),
|
|
1722
1722
|
});
|
|
1723
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1723
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1724
1724
|
}
|
|
1725
1725
|
};
|
|
1726
1726
|
const deserializeAws_json1_1DescribeKeyPhrasesDetectionJobCommand = async (output, context) => {
|
|
@@ -1765,7 +1765,7 @@ const deserializeAws_json1_1DescribeKeyPhrasesDetectionJobCommandError = async (
|
|
|
1765
1765
|
$fault: "client",
|
|
1766
1766
|
$metadata: deserializeMetadata(output),
|
|
1767
1767
|
});
|
|
1768
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1768
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1769
1769
|
}
|
|
1770
1770
|
};
|
|
1771
1771
|
const deserializeAws_json1_1DescribePiiEntitiesDetectionJobCommand = async (output, context) => {
|
|
@@ -1810,7 +1810,7 @@ const deserializeAws_json1_1DescribePiiEntitiesDetectionJobCommandError = async
|
|
|
1810
1810
|
$fault: "client",
|
|
1811
1811
|
$metadata: deserializeMetadata(output),
|
|
1812
1812
|
});
|
|
1813
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1813
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1814
1814
|
}
|
|
1815
1815
|
};
|
|
1816
1816
|
const deserializeAws_json1_1DescribeResourcePolicyCommand = async (output, context) => {
|
|
@@ -1852,7 +1852,7 @@ const deserializeAws_json1_1DescribeResourcePolicyCommandError = async (output,
|
|
|
1852
1852
|
$fault: "client",
|
|
1853
1853
|
$metadata: deserializeMetadata(output),
|
|
1854
1854
|
});
|
|
1855
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1855
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1856
1856
|
}
|
|
1857
1857
|
};
|
|
1858
1858
|
const deserializeAws_json1_1DescribeSentimentDetectionJobCommand = async (output, context) => {
|
|
@@ -1897,7 +1897,7 @@ const deserializeAws_json1_1DescribeSentimentDetectionJobCommandError = async (o
|
|
|
1897
1897
|
$fault: "client",
|
|
1898
1898
|
$metadata: deserializeMetadata(output),
|
|
1899
1899
|
});
|
|
1900
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1900
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1901
1901
|
}
|
|
1902
1902
|
};
|
|
1903
1903
|
const deserializeAws_json1_1DescribeTargetedSentimentDetectionJobCommand = async (output, context) => {
|
|
@@ -1942,7 +1942,7 @@ const deserializeAws_json1_1DescribeTargetedSentimentDetectionJobCommandError =
|
|
|
1942
1942
|
$fault: "client",
|
|
1943
1943
|
$metadata: deserializeMetadata(output),
|
|
1944
1944
|
});
|
|
1945
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1945
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1946
1946
|
}
|
|
1947
1947
|
};
|
|
1948
1948
|
const deserializeAws_json1_1DescribeTopicsDetectionJobCommand = async (output, context) => {
|
|
@@ -1987,7 +1987,7 @@ const deserializeAws_json1_1DescribeTopicsDetectionJobCommandError = async (outp
|
|
|
1987
1987
|
$fault: "client",
|
|
1988
1988
|
$metadata: deserializeMetadata(output),
|
|
1989
1989
|
});
|
|
1990
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1990
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1991
1991
|
}
|
|
1992
1992
|
};
|
|
1993
1993
|
const deserializeAws_json1_1DetectDominantLanguageCommand = async (output, context) => {
|
|
@@ -2029,7 +2029,7 @@ const deserializeAws_json1_1DetectDominantLanguageCommandError = async (output,
|
|
|
2029
2029
|
$fault: "client",
|
|
2030
2030
|
$metadata: deserializeMetadata(output),
|
|
2031
2031
|
});
|
|
2032
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2032
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2033
2033
|
}
|
|
2034
2034
|
};
|
|
2035
2035
|
const deserializeAws_json1_1DetectEntitiesCommand = async (output, context) => {
|
|
@@ -2077,7 +2077,7 @@ const deserializeAws_json1_1DetectEntitiesCommandError = async (output, context)
|
|
|
2077
2077
|
$fault: "client",
|
|
2078
2078
|
$metadata: deserializeMetadata(output),
|
|
2079
2079
|
});
|
|
2080
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2080
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2081
2081
|
}
|
|
2082
2082
|
};
|
|
2083
2083
|
const deserializeAws_json1_1DetectKeyPhrasesCommand = async (output, context) => {
|
|
@@ -2122,7 +2122,7 @@ const deserializeAws_json1_1DetectKeyPhrasesCommandError = async (output, contex
|
|
|
2122
2122
|
$fault: "client",
|
|
2123
2123
|
$metadata: deserializeMetadata(output),
|
|
2124
2124
|
});
|
|
2125
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2125
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2126
2126
|
}
|
|
2127
2127
|
};
|
|
2128
2128
|
const deserializeAws_json1_1DetectPiiEntitiesCommand = async (output, context) => {
|
|
@@ -2167,7 +2167,7 @@ const deserializeAws_json1_1DetectPiiEntitiesCommandError = async (output, conte
|
|
|
2167
2167
|
$fault: "client",
|
|
2168
2168
|
$metadata: deserializeMetadata(output),
|
|
2169
2169
|
});
|
|
2170
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2170
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2171
2171
|
}
|
|
2172
2172
|
};
|
|
2173
2173
|
const deserializeAws_json1_1DetectSentimentCommand = async (output, context) => {
|
|
@@ -2212,7 +2212,7 @@ const deserializeAws_json1_1DetectSentimentCommandError = async (output, context
|
|
|
2212
2212
|
$fault: "client",
|
|
2213
2213
|
$metadata: deserializeMetadata(output),
|
|
2214
2214
|
});
|
|
2215
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2215
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2216
2216
|
}
|
|
2217
2217
|
};
|
|
2218
2218
|
const deserializeAws_json1_1DetectSyntaxCommand = async (output, context) => {
|
|
@@ -2257,7 +2257,7 @@ const deserializeAws_json1_1DetectSyntaxCommandError = async (output, context) =
|
|
|
2257
2257
|
$fault: "client",
|
|
2258
2258
|
$metadata: deserializeMetadata(output),
|
|
2259
2259
|
});
|
|
2260
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2260
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2261
2261
|
}
|
|
2262
2262
|
};
|
|
2263
2263
|
const deserializeAws_json1_1ImportModelCommand = async (output, context) => {
|
|
@@ -2317,7 +2317,7 @@ const deserializeAws_json1_1ImportModelCommandError = async (output, context) =>
|
|
|
2317
2317
|
$fault: "client",
|
|
2318
2318
|
$metadata: deserializeMetadata(output),
|
|
2319
2319
|
});
|
|
2320
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2320
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2321
2321
|
}
|
|
2322
2322
|
};
|
|
2323
2323
|
const deserializeAws_json1_1ListDocumentClassificationJobsCommand = async (output, context) => {
|
|
@@ -2362,7 +2362,7 @@ const deserializeAws_json1_1ListDocumentClassificationJobsCommandError = async (
|
|
|
2362
2362
|
$fault: "client",
|
|
2363
2363
|
$metadata: deserializeMetadata(output),
|
|
2364
2364
|
});
|
|
2365
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2365
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2366
2366
|
}
|
|
2367
2367
|
};
|
|
2368
2368
|
const deserializeAws_json1_1ListDocumentClassifiersCommand = async (output, context) => {
|
|
@@ -2407,7 +2407,7 @@ const deserializeAws_json1_1ListDocumentClassifiersCommandError = async (output,
|
|
|
2407
2407
|
$fault: "client",
|
|
2408
2408
|
$metadata: deserializeMetadata(output),
|
|
2409
2409
|
});
|
|
2410
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2410
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2411
2411
|
}
|
|
2412
2412
|
};
|
|
2413
2413
|
const deserializeAws_json1_1ListDocumentClassifierSummariesCommand = async (output, context) => {
|
|
@@ -2449,7 +2449,7 @@ const deserializeAws_json1_1ListDocumentClassifierSummariesCommandError = async
|
|
|
2449
2449
|
$fault: "client",
|
|
2450
2450
|
$metadata: deserializeMetadata(output),
|
|
2451
2451
|
});
|
|
2452
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2452
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2453
2453
|
}
|
|
2454
2454
|
};
|
|
2455
2455
|
const deserializeAws_json1_1ListDominantLanguageDetectionJobsCommand = async (output, context) => {
|
|
@@ -2494,7 +2494,7 @@ const deserializeAws_json1_1ListDominantLanguageDetectionJobsCommandError = asyn
|
|
|
2494
2494
|
$fault: "client",
|
|
2495
2495
|
$metadata: deserializeMetadata(output),
|
|
2496
2496
|
});
|
|
2497
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2497
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2498
2498
|
}
|
|
2499
2499
|
};
|
|
2500
2500
|
const deserializeAws_json1_1ListEndpointsCommand = async (output, context) => {
|
|
@@ -2536,7 +2536,7 @@ const deserializeAws_json1_1ListEndpointsCommandError = async (output, context)
|
|
|
2536
2536
|
$fault: "client",
|
|
2537
2537
|
$metadata: deserializeMetadata(output),
|
|
2538
2538
|
});
|
|
2539
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2539
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2540
2540
|
}
|
|
2541
2541
|
};
|
|
2542
2542
|
const deserializeAws_json1_1ListEntitiesDetectionJobsCommand = async (output, context) => {
|
|
@@ -2581,7 +2581,7 @@ const deserializeAws_json1_1ListEntitiesDetectionJobsCommandError = async (outpu
|
|
|
2581
2581
|
$fault: "client",
|
|
2582
2582
|
$metadata: deserializeMetadata(output),
|
|
2583
2583
|
});
|
|
2584
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2584
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2585
2585
|
}
|
|
2586
2586
|
};
|
|
2587
2587
|
const deserializeAws_json1_1ListEntityRecognizersCommand = async (output, context) => {
|
|
@@ -2626,7 +2626,7 @@ const deserializeAws_json1_1ListEntityRecognizersCommandError = async (output, c
|
|
|
2626
2626
|
$fault: "client",
|
|
2627
2627
|
$metadata: deserializeMetadata(output),
|
|
2628
2628
|
});
|
|
2629
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2629
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2630
2630
|
}
|
|
2631
2631
|
};
|
|
2632
2632
|
const deserializeAws_json1_1ListEntityRecognizerSummariesCommand = async (output, context) => {
|
|
@@ -2668,7 +2668,7 @@ const deserializeAws_json1_1ListEntityRecognizerSummariesCommandError = async (o
|
|
|
2668
2668
|
$fault: "client",
|
|
2669
2669
|
$metadata: deserializeMetadata(output),
|
|
2670
2670
|
});
|
|
2671
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2671
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2672
2672
|
}
|
|
2673
2673
|
};
|
|
2674
2674
|
const deserializeAws_json1_1ListEventsDetectionJobsCommand = async (output, context) => {
|
|
@@ -2713,7 +2713,7 @@ const deserializeAws_json1_1ListEventsDetectionJobsCommandError = async (output,
|
|
|
2713
2713
|
$fault: "client",
|
|
2714
2714
|
$metadata: deserializeMetadata(output),
|
|
2715
2715
|
});
|
|
2716
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2716
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2717
2717
|
}
|
|
2718
2718
|
};
|
|
2719
2719
|
const deserializeAws_json1_1ListKeyPhrasesDetectionJobsCommand = async (output, context) => {
|
|
@@ -2758,7 +2758,7 @@ const deserializeAws_json1_1ListKeyPhrasesDetectionJobsCommandError = async (out
|
|
|
2758
2758
|
$fault: "client",
|
|
2759
2759
|
$metadata: deserializeMetadata(output),
|
|
2760
2760
|
});
|
|
2761
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2761
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2762
2762
|
}
|
|
2763
2763
|
};
|
|
2764
2764
|
const deserializeAws_json1_1ListPiiEntitiesDetectionJobsCommand = async (output, context) => {
|
|
@@ -2803,7 +2803,7 @@ const deserializeAws_json1_1ListPiiEntitiesDetectionJobsCommandError = async (ou
|
|
|
2803
2803
|
$fault: "client",
|
|
2804
2804
|
$metadata: deserializeMetadata(output),
|
|
2805
2805
|
});
|
|
2806
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2806
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2807
2807
|
}
|
|
2808
2808
|
};
|
|
2809
2809
|
const deserializeAws_json1_1ListSentimentDetectionJobsCommand = async (output, context) => {
|
|
@@ -2848,7 +2848,7 @@ const deserializeAws_json1_1ListSentimentDetectionJobsCommandError = async (outp
|
|
|
2848
2848
|
$fault: "client",
|
|
2849
2849
|
$metadata: deserializeMetadata(output),
|
|
2850
2850
|
});
|
|
2851
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2851
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2852
2852
|
}
|
|
2853
2853
|
};
|
|
2854
2854
|
const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -2890,7 +2890,7 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
2890
2890
|
$fault: "client",
|
|
2891
2891
|
$metadata: deserializeMetadata(output),
|
|
2892
2892
|
});
|
|
2893
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2893
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2894
2894
|
}
|
|
2895
2895
|
};
|
|
2896
2896
|
const deserializeAws_json1_1ListTargetedSentimentDetectionJobsCommand = async (output, context) => {
|
|
@@ -2935,7 +2935,7 @@ const deserializeAws_json1_1ListTargetedSentimentDetectionJobsCommandError = asy
|
|
|
2935
2935
|
$fault: "client",
|
|
2936
2936
|
$metadata: deserializeMetadata(output),
|
|
2937
2937
|
});
|
|
2938
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2938
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2939
2939
|
}
|
|
2940
2940
|
};
|
|
2941
2941
|
const deserializeAws_json1_1ListTopicsDetectionJobsCommand = async (output, context) => {
|
|
@@ -2980,7 +2980,7 @@ const deserializeAws_json1_1ListTopicsDetectionJobsCommandError = async (output,
|
|
|
2980
2980
|
$fault: "client",
|
|
2981
2981
|
$metadata: deserializeMetadata(output),
|
|
2982
2982
|
});
|
|
2983
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2983
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2984
2984
|
}
|
|
2985
2985
|
};
|
|
2986
2986
|
const deserializeAws_json1_1PutResourcePolicyCommand = async (output, context) => {
|
|
@@ -3022,7 +3022,7 @@ const deserializeAws_json1_1PutResourcePolicyCommandError = async (output, conte
|
|
|
3022
3022
|
$fault: "client",
|
|
3023
3023
|
$metadata: deserializeMetadata(output),
|
|
3024
3024
|
});
|
|
3025
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3025
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3026
3026
|
}
|
|
3027
3027
|
};
|
|
3028
3028
|
const deserializeAws_json1_1StartDocumentClassificationJobCommand = async (output, context) => {
|
|
@@ -3076,7 +3076,7 @@ const deserializeAws_json1_1StartDocumentClassificationJobCommandError = async (
|
|
|
3076
3076
|
$fault: "client",
|
|
3077
3077
|
$metadata: deserializeMetadata(output),
|
|
3078
3078
|
});
|
|
3079
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3079
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3080
3080
|
}
|
|
3081
3081
|
};
|
|
3082
3082
|
const deserializeAws_json1_1StartDominantLanguageDetectionJobCommand = async (output, context) => {
|
|
@@ -3124,7 +3124,7 @@ const deserializeAws_json1_1StartDominantLanguageDetectionJobCommandError = asyn
|
|
|
3124
3124
|
$fault: "client",
|
|
3125
3125
|
$metadata: deserializeMetadata(output),
|
|
3126
3126
|
});
|
|
3127
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3127
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3128
3128
|
}
|
|
3129
3129
|
};
|
|
3130
3130
|
const deserializeAws_json1_1StartEntitiesDetectionJobCommand = async (output, context) => {
|
|
@@ -3178,7 +3178,7 @@ const deserializeAws_json1_1StartEntitiesDetectionJobCommandError = async (outpu
|
|
|
3178
3178
|
$fault: "client",
|
|
3179
3179
|
$metadata: deserializeMetadata(output),
|
|
3180
3180
|
});
|
|
3181
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3181
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3182
3182
|
}
|
|
3183
3183
|
};
|
|
3184
3184
|
const deserializeAws_json1_1StartEventsDetectionJobCommand = async (output, context) => {
|
|
@@ -3226,7 +3226,7 @@ const deserializeAws_json1_1StartEventsDetectionJobCommandError = async (output,
|
|
|
3226
3226
|
$fault: "client",
|
|
3227
3227
|
$metadata: deserializeMetadata(output),
|
|
3228
3228
|
});
|
|
3229
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3229
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3230
3230
|
}
|
|
3231
3231
|
};
|
|
3232
3232
|
const deserializeAws_json1_1StartKeyPhrasesDetectionJobCommand = async (output, context) => {
|
|
@@ -3274,7 +3274,7 @@ const deserializeAws_json1_1StartKeyPhrasesDetectionJobCommandError = async (out
|
|
|
3274
3274
|
$fault: "client",
|
|
3275
3275
|
$metadata: deserializeMetadata(output),
|
|
3276
3276
|
});
|
|
3277
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3277
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3278
3278
|
}
|
|
3279
3279
|
};
|
|
3280
3280
|
const deserializeAws_json1_1StartPiiEntitiesDetectionJobCommand = async (output, context) => {
|
|
@@ -3322,7 +3322,7 @@ const deserializeAws_json1_1StartPiiEntitiesDetectionJobCommandError = async (ou
|
|
|
3322
3322
|
$fault: "client",
|
|
3323
3323
|
$metadata: deserializeMetadata(output),
|
|
3324
3324
|
});
|
|
3325
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3325
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3326
3326
|
}
|
|
3327
3327
|
};
|
|
3328
3328
|
const deserializeAws_json1_1StartSentimentDetectionJobCommand = async (output, context) => {
|
|
@@ -3370,7 +3370,7 @@ const deserializeAws_json1_1StartSentimentDetectionJobCommandError = async (outp
|
|
|
3370
3370
|
$fault: "client",
|
|
3371
3371
|
$metadata: deserializeMetadata(output),
|
|
3372
3372
|
});
|
|
3373
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3373
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3374
3374
|
}
|
|
3375
3375
|
};
|
|
3376
3376
|
const deserializeAws_json1_1StartTargetedSentimentDetectionJobCommand = async (output, context) => {
|
|
@@ -3418,7 +3418,7 @@ const deserializeAws_json1_1StartTargetedSentimentDetectionJobCommandError = asy
|
|
|
3418
3418
|
$fault: "client",
|
|
3419
3419
|
$metadata: deserializeMetadata(output),
|
|
3420
3420
|
});
|
|
3421
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3421
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3422
3422
|
}
|
|
3423
3423
|
};
|
|
3424
3424
|
const deserializeAws_json1_1StartTopicsDetectionJobCommand = async (output, context) => {
|
|
@@ -3466,7 +3466,7 @@ const deserializeAws_json1_1StartTopicsDetectionJobCommandError = async (output,
|
|
|
3466
3466
|
$fault: "client",
|
|
3467
3467
|
$metadata: deserializeMetadata(output),
|
|
3468
3468
|
});
|
|
3469
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3469
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3470
3470
|
}
|
|
3471
3471
|
};
|
|
3472
3472
|
const deserializeAws_json1_1StopDominantLanguageDetectionJobCommand = async (output, context) => {
|
|
@@ -3508,7 +3508,7 @@ const deserializeAws_json1_1StopDominantLanguageDetectionJobCommandError = async
|
|
|
3508
3508
|
$fault: "client",
|
|
3509
3509
|
$metadata: deserializeMetadata(output),
|
|
3510
3510
|
});
|
|
3511
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3511
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3512
3512
|
}
|
|
3513
3513
|
};
|
|
3514
3514
|
const deserializeAws_json1_1StopEntitiesDetectionJobCommand = async (output, context) => {
|
|
@@ -3550,7 +3550,7 @@ const deserializeAws_json1_1StopEntitiesDetectionJobCommandError = async (output
|
|
|
3550
3550
|
$fault: "client",
|
|
3551
3551
|
$metadata: deserializeMetadata(output),
|
|
3552
3552
|
});
|
|
3553
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3553
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3554
3554
|
}
|
|
3555
3555
|
};
|
|
3556
3556
|
const deserializeAws_json1_1StopEventsDetectionJobCommand = async (output, context) => {
|
|
@@ -3592,7 +3592,7 @@ const deserializeAws_json1_1StopEventsDetectionJobCommandError = async (output,
|
|
|
3592
3592
|
$fault: "client",
|
|
3593
3593
|
$metadata: deserializeMetadata(output),
|
|
3594
3594
|
});
|
|
3595
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3595
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3596
3596
|
}
|
|
3597
3597
|
};
|
|
3598
3598
|
const deserializeAws_json1_1StopKeyPhrasesDetectionJobCommand = async (output, context) => {
|
|
@@ -3634,7 +3634,7 @@ const deserializeAws_json1_1StopKeyPhrasesDetectionJobCommandError = async (outp
|
|
|
3634
3634
|
$fault: "client",
|
|
3635
3635
|
$metadata: deserializeMetadata(output),
|
|
3636
3636
|
});
|
|
3637
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3637
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3638
3638
|
}
|
|
3639
3639
|
};
|
|
3640
3640
|
const deserializeAws_json1_1StopPiiEntitiesDetectionJobCommand = async (output, context) => {
|
|
@@ -3676,7 +3676,7 @@ const deserializeAws_json1_1StopPiiEntitiesDetectionJobCommandError = async (out
|
|
|
3676
3676
|
$fault: "client",
|
|
3677
3677
|
$metadata: deserializeMetadata(output),
|
|
3678
3678
|
});
|
|
3679
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3679
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3680
3680
|
}
|
|
3681
3681
|
};
|
|
3682
3682
|
const deserializeAws_json1_1StopSentimentDetectionJobCommand = async (output, context) => {
|
|
@@ -3718,7 +3718,7 @@ const deserializeAws_json1_1StopSentimentDetectionJobCommandError = async (outpu
|
|
|
3718
3718
|
$fault: "client",
|
|
3719
3719
|
$metadata: deserializeMetadata(output),
|
|
3720
3720
|
});
|
|
3721
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3721
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3722
3722
|
}
|
|
3723
3723
|
};
|
|
3724
3724
|
const deserializeAws_json1_1StopTargetedSentimentDetectionJobCommand = async (output, context) => {
|
|
@@ -3760,7 +3760,7 @@ const deserializeAws_json1_1StopTargetedSentimentDetectionJobCommandError = asyn
|
|
|
3760
3760
|
$fault: "client",
|
|
3761
3761
|
$metadata: deserializeMetadata(output),
|
|
3762
3762
|
});
|
|
3763
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3763
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3764
3764
|
}
|
|
3765
3765
|
};
|
|
3766
3766
|
const deserializeAws_json1_1StopTrainingDocumentClassifierCommand = async (output, context) => {
|
|
@@ -3805,7 +3805,7 @@ const deserializeAws_json1_1StopTrainingDocumentClassifierCommandError = async (
|
|
|
3805
3805
|
$fault: "client",
|
|
3806
3806
|
$metadata: deserializeMetadata(output),
|
|
3807
3807
|
});
|
|
3808
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3808
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3809
3809
|
}
|
|
3810
3810
|
};
|
|
3811
3811
|
const deserializeAws_json1_1StopTrainingEntityRecognizerCommand = async (output, context) => {
|
|
@@ -3850,7 +3850,7 @@ const deserializeAws_json1_1StopTrainingEntityRecognizerCommandError = async (ou
|
|
|
3850
3850
|
$fault: "client",
|
|
3851
3851
|
$metadata: deserializeMetadata(output),
|
|
3852
3852
|
});
|
|
3853
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3853
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3854
3854
|
}
|
|
3855
3855
|
};
|
|
3856
3856
|
const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
|
|
@@ -3898,7 +3898,7 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
3898
3898
|
$fault: "client",
|
|
3899
3899
|
$metadata: deserializeMetadata(output),
|
|
3900
3900
|
});
|
|
3901
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3901
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3902
3902
|
}
|
|
3903
3903
|
};
|
|
3904
3904
|
const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
|
|
@@ -3946,7 +3946,7 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
3946
3946
|
$fault: "client",
|
|
3947
3947
|
$metadata: deserializeMetadata(output),
|
|
3948
3948
|
});
|
|
3949
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3949
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3950
3950
|
}
|
|
3951
3951
|
};
|
|
3952
3952
|
const deserializeAws_json1_1UpdateEndpointCommand = async (output, context) => {
|
|
@@ -4000,7 +4000,7 @@ const deserializeAws_json1_1UpdateEndpointCommandError = async (output, context)
|
|
|
4000
4000
|
$fault: "client",
|
|
4001
4001
|
$metadata: deserializeMetadata(output),
|
|
4002
4002
|
});
|
|
4003
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4003
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4004
4004
|
}
|
|
4005
4005
|
};
|
|
4006
4006
|
const deserializeAws_json1_1BatchSizeLimitExceededExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -4010,7 +4010,7 @@ const deserializeAws_json1_1BatchSizeLimitExceededExceptionResponse = async (par
|
|
|
4010
4010
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4011
4011
|
...deserialized,
|
|
4012
4012
|
});
|
|
4013
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
4013
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
4014
4014
|
};
|
|
4015
4015
|
const deserializeAws_json1_1ConcurrentModificationExceptionResponse = async (parsedOutput, context) => {
|
|
4016
4016
|
const body = parsedOutput.body;
|
|
@@ -4019,7 +4019,7 @@ const deserializeAws_json1_1ConcurrentModificationExceptionResponse = async (par
|
|
|
4019
4019
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4020
4020
|
...deserialized,
|
|
4021
4021
|
});
|
|
4022
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
4022
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
4023
4023
|
};
|
|
4024
4024
|
const deserializeAws_json1_1InternalServerExceptionResponse = async (parsedOutput, context) => {
|
|
4025
4025
|
const body = parsedOutput.body;
|
|
@@ -4028,7 +4028,7 @@ const deserializeAws_json1_1InternalServerExceptionResponse = async (parsedOutpu
|
|
|
4028
4028
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4029
4029
|
...deserialized,
|
|
4030
4030
|
});
|
|
4031
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
4031
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
4032
4032
|
};
|
|
4033
4033
|
const deserializeAws_json1_1InvalidFilterExceptionResponse = async (parsedOutput, context) => {
|
|
4034
4034
|
const body = parsedOutput.body;
|
|
@@ -4037,7 +4037,7 @@ const deserializeAws_json1_1InvalidFilterExceptionResponse = async (parsedOutput
|
|
|
4037
4037
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4038
4038
|
...deserialized,
|
|
4039
4039
|
});
|
|
4040
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
4040
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
4041
4041
|
};
|
|
4042
4042
|
const deserializeAws_json1_1InvalidRequestExceptionResponse = async (parsedOutput, context) => {
|
|
4043
4043
|
const body = parsedOutput.body;
|
|
@@ -4046,7 +4046,7 @@ const deserializeAws_json1_1InvalidRequestExceptionResponse = async (parsedOutpu
|
|
|
4046
4046
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4047
4047
|
...deserialized,
|
|
4048
4048
|
});
|
|
4049
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
4049
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
4050
4050
|
};
|
|
4051
4051
|
const deserializeAws_json1_1JobNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
4052
4052
|
const body = parsedOutput.body;
|
|
@@ -4055,7 +4055,7 @@ const deserializeAws_json1_1JobNotFoundExceptionResponse = async (parsedOutput,
|
|
|
4055
4055
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4056
4056
|
...deserialized,
|
|
4057
4057
|
});
|
|
4058
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
4058
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
4059
4059
|
};
|
|
4060
4060
|
const deserializeAws_json1_1KmsKeyValidationExceptionResponse = async (parsedOutput, context) => {
|
|
4061
4061
|
const body = parsedOutput.body;
|
|
@@ -4064,7 +4064,7 @@ const deserializeAws_json1_1KmsKeyValidationExceptionResponse = async (parsedOut
|
|
|
4064
4064
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4065
4065
|
...deserialized,
|
|
4066
4066
|
});
|
|
4067
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
4067
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
4068
4068
|
};
|
|
4069
4069
|
const deserializeAws_json1_1ResourceInUseExceptionResponse = async (parsedOutput, context) => {
|
|
4070
4070
|
const body = parsedOutput.body;
|
|
@@ -4073,7 +4073,7 @@ const deserializeAws_json1_1ResourceInUseExceptionResponse = async (parsedOutput
|
|
|
4073
4073
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4074
4074
|
...deserialized,
|
|
4075
4075
|
});
|
|
4076
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
4076
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
4077
4077
|
};
|
|
4078
4078
|
const deserializeAws_json1_1ResourceLimitExceededExceptionResponse = async (parsedOutput, context) => {
|
|
4079
4079
|
const body = parsedOutput.body;
|
|
@@ -4082,7 +4082,7 @@ const deserializeAws_json1_1ResourceLimitExceededExceptionResponse = async (pars
|
|
|
4082
4082
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4083
4083
|
...deserialized,
|
|
4084
4084
|
});
|
|
4085
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
4085
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
4086
4086
|
};
|
|
4087
4087
|
const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
4088
4088
|
const body = parsedOutput.body;
|
|
@@ -4091,7 +4091,7 @@ const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOut
|
|
|
4091
4091
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4092
4092
|
...deserialized,
|
|
4093
4093
|
});
|
|
4094
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
4094
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
4095
4095
|
};
|
|
4096
4096
|
const deserializeAws_json1_1ResourceUnavailableExceptionResponse = async (parsedOutput, context) => {
|
|
4097
4097
|
const body = parsedOutput.body;
|
|
@@ -4100,7 +4100,7 @@ const deserializeAws_json1_1ResourceUnavailableExceptionResponse = async (parsed
|
|
|
4100
4100
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4101
4101
|
...deserialized,
|
|
4102
4102
|
});
|
|
4103
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
4103
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
4104
4104
|
};
|
|
4105
4105
|
const deserializeAws_json1_1TextSizeLimitExceededExceptionResponse = async (parsedOutput, context) => {
|
|
4106
4106
|
const body = parsedOutput.body;
|
|
@@ -4109,7 +4109,7 @@ const deserializeAws_json1_1TextSizeLimitExceededExceptionResponse = async (pars
|
|
|
4109
4109
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4110
4110
|
...deserialized,
|
|
4111
4111
|
});
|
|
4112
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
4112
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
4113
4113
|
};
|
|
4114
4114
|
const deserializeAws_json1_1TooManyRequestsExceptionResponse = async (parsedOutput, context) => {
|
|
4115
4115
|
const body = parsedOutput.body;
|
|
@@ -4118,7 +4118,7 @@ const deserializeAws_json1_1TooManyRequestsExceptionResponse = async (parsedOutp
|
|
|
4118
4118
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4119
4119
|
...deserialized,
|
|
4120
4120
|
});
|
|
4121
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
4121
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
4122
4122
|
};
|
|
4123
4123
|
const deserializeAws_json1_1TooManyTagKeysExceptionResponse = async (parsedOutput, context) => {
|
|
4124
4124
|
const body = parsedOutput.body;
|
|
@@ -4127,7 +4127,7 @@ const deserializeAws_json1_1TooManyTagKeysExceptionResponse = async (parsedOutpu
|
|
|
4127
4127
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4128
4128
|
...deserialized,
|
|
4129
4129
|
});
|
|
4130
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
4130
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
4131
4131
|
};
|
|
4132
4132
|
const deserializeAws_json1_1TooManyTagsExceptionResponse = async (parsedOutput, context) => {
|
|
4133
4133
|
const body = parsedOutput.body;
|
|
@@ -4136,7 +4136,7 @@ const deserializeAws_json1_1TooManyTagsExceptionResponse = async (parsedOutput,
|
|
|
4136
4136
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4137
4137
|
...deserialized,
|
|
4138
4138
|
});
|
|
4139
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
4139
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
4140
4140
|
};
|
|
4141
4141
|
const deserializeAws_json1_1UnsupportedLanguageExceptionResponse = async (parsedOutput, context) => {
|
|
4142
4142
|
const body = parsedOutput.body;
|
|
@@ -4145,7 +4145,7 @@ const deserializeAws_json1_1UnsupportedLanguageExceptionResponse = async (parsed
|
|
|
4145
4145
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4146
4146
|
...deserialized,
|
|
4147
4147
|
});
|
|
4148
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
4148
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
4149
4149
|
};
|
|
4150
4150
|
const serializeAws_json1_1AttributeNamesList = (input, context) => {
|
|
4151
4151
|
return input
|
|
@@ -4221,7 +4221,7 @@ const serializeAws_json1_1ContainsPiiEntitiesRequest = (input, context) => {
|
|
|
4221
4221
|
const serializeAws_json1_1CreateDocumentClassifierRequest = (input, context) => {
|
|
4222
4222
|
var _a;
|
|
4223
4223
|
return {
|
|
4224
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
4224
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
4225
4225
|
...(input.DataAccessRoleArn !== undefined &&
|
|
4226
4226
|
input.DataAccessRoleArn !== null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
4227
4227
|
...(input.DocumentClassifierName !== undefined &&
|
|
@@ -4249,7 +4249,7 @@ const serializeAws_json1_1CreateDocumentClassifierRequest = (input, context) =>
|
|
|
4249
4249
|
const serializeAws_json1_1CreateEndpointRequest = (input, context) => {
|
|
4250
4250
|
var _a;
|
|
4251
4251
|
return {
|
|
4252
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
4252
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
4253
4253
|
...(input.DataAccessRoleArn !== undefined &&
|
|
4254
4254
|
input.DataAccessRoleArn !== null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
4255
4255
|
...(input.DesiredInferenceUnits !== undefined &&
|
|
@@ -4262,7 +4262,7 @@ const serializeAws_json1_1CreateEndpointRequest = (input, context) => {
|
|
|
4262
4262
|
const serializeAws_json1_1CreateEntityRecognizerRequest = (input, context) => {
|
|
4263
4263
|
var _a;
|
|
4264
4264
|
return {
|
|
4265
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
4265
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
4266
4266
|
...(input.DataAccessRoleArn !== undefined &&
|
|
4267
4267
|
input.DataAccessRoleArn !== null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
4268
4268
|
...(input.InputDataConfig !== undefined &&
|
|
@@ -4827,7 +4827,7 @@ const serializeAws_json1_1SentimentDetectionJobFilter = (input, context) => {
|
|
|
4827
4827
|
const serializeAws_json1_1StartDocumentClassificationJobRequest = (input, context) => {
|
|
4828
4828
|
var _a;
|
|
4829
4829
|
return {
|
|
4830
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
4830
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
4831
4831
|
...(input.DataAccessRoleArn !== undefined &&
|
|
4832
4832
|
input.DataAccessRoleArn !== null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
4833
4833
|
...(input.DocumentClassifierArn !== undefined &&
|
|
@@ -4851,7 +4851,7 @@ const serializeAws_json1_1StartDocumentClassificationJobRequest = (input, contex
|
|
|
4851
4851
|
const serializeAws_json1_1StartDominantLanguageDetectionJobRequest = (input, context) => {
|
|
4852
4852
|
var _a;
|
|
4853
4853
|
return {
|
|
4854
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
4854
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
4855
4855
|
...(input.DataAccessRoleArn !== undefined &&
|
|
4856
4856
|
input.DataAccessRoleArn !== null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
4857
4857
|
...(input.InputDataConfig !== undefined &&
|
|
@@ -4873,7 +4873,7 @@ const serializeAws_json1_1StartDominantLanguageDetectionJobRequest = (input, con
|
|
|
4873
4873
|
const serializeAws_json1_1StartEntitiesDetectionJobRequest = (input, context) => {
|
|
4874
4874
|
var _a;
|
|
4875
4875
|
return {
|
|
4876
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
4876
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
4877
4877
|
...(input.DataAccessRoleArn !== undefined &&
|
|
4878
4878
|
input.DataAccessRoleArn !== null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
4879
4879
|
...(input.EntityRecognizerArn !== undefined &&
|
|
@@ -4898,7 +4898,7 @@ const serializeAws_json1_1StartEntitiesDetectionJobRequest = (input, context) =>
|
|
|
4898
4898
|
const serializeAws_json1_1StartEventsDetectionJobRequest = (input, context) => {
|
|
4899
4899
|
var _a;
|
|
4900
4900
|
return {
|
|
4901
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
4901
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
4902
4902
|
...(input.DataAccessRoleArn !== undefined &&
|
|
4903
4903
|
input.DataAccessRoleArn !== null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
4904
4904
|
...(input.InputDataConfig !== undefined &&
|
|
@@ -4921,7 +4921,7 @@ const serializeAws_json1_1StartEventsDetectionJobRequest = (input, context) => {
|
|
|
4921
4921
|
const serializeAws_json1_1StartKeyPhrasesDetectionJobRequest = (input, context) => {
|
|
4922
4922
|
var _a;
|
|
4923
4923
|
return {
|
|
4924
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
4924
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
4925
4925
|
...(input.DataAccessRoleArn !== undefined &&
|
|
4926
4926
|
input.DataAccessRoleArn !== null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
4927
4927
|
...(input.InputDataConfig !== undefined &&
|
|
@@ -4944,7 +4944,7 @@ const serializeAws_json1_1StartKeyPhrasesDetectionJobRequest = (input, context)
|
|
|
4944
4944
|
const serializeAws_json1_1StartPiiEntitiesDetectionJobRequest = (input, context) => {
|
|
4945
4945
|
var _a;
|
|
4946
4946
|
return {
|
|
4947
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
4947
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
4948
4948
|
...(input.DataAccessRoleArn !== undefined &&
|
|
4949
4949
|
input.DataAccessRoleArn !== null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
4950
4950
|
...(input.InputDataConfig !== undefined &&
|
|
@@ -4968,7 +4968,7 @@ const serializeAws_json1_1StartPiiEntitiesDetectionJobRequest = (input, context)
|
|
|
4968
4968
|
const serializeAws_json1_1StartSentimentDetectionJobRequest = (input, context) => {
|
|
4969
4969
|
var _a;
|
|
4970
4970
|
return {
|
|
4971
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
4971
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
4972
4972
|
...(input.DataAccessRoleArn !== undefined &&
|
|
4973
4973
|
input.DataAccessRoleArn !== null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
4974
4974
|
...(input.InputDataConfig !== undefined &&
|
|
@@ -4991,7 +4991,7 @@ const serializeAws_json1_1StartSentimentDetectionJobRequest = (input, context) =
|
|
|
4991
4991
|
const serializeAws_json1_1StartTargetedSentimentDetectionJobRequest = (input, context) => {
|
|
4992
4992
|
var _a;
|
|
4993
4993
|
return {
|
|
4994
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
4994
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
4995
4995
|
...(input.DataAccessRoleArn !== undefined &&
|
|
4996
4996
|
input.DataAccessRoleArn !== null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
4997
4997
|
...(input.InputDataConfig !== undefined &&
|
|
@@ -5014,7 +5014,7 @@ const serializeAws_json1_1StartTargetedSentimentDetectionJobRequest = (input, co
|
|
|
5014
5014
|
const serializeAws_json1_1StartTopicsDetectionJobRequest = (input, context) => {
|
|
5015
5015
|
var _a;
|
|
5016
5016
|
return {
|
|
5017
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
5017
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
5018
5018
|
...(input.DataAccessRoleArn !== undefined &&
|
|
5019
5019
|
input.DataAccessRoleArn !== null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
5020
5020
|
...(input.InputDataConfig !== undefined &&
|
|
@@ -5189,25 +5189,25 @@ const deserializeAws_json1_1AttributeNamesList = (output, context) => {
|
|
|
5189
5189
|
if (entry === null) {
|
|
5190
5190
|
return null;
|
|
5191
5191
|
}
|
|
5192
|
-
return smithy_client_1.expectString(entry);
|
|
5192
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
5193
5193
|
});
|
|
5194
5194
|
return retVal;
|
|
5195
5195
|
};
|
|
5196
5196
|
const deserializeAws_json1_1AugmentedManifestsListItem = (output, context) => {
|
|
5197
5197
|
return {
|
|
5198
|
-
AnnotationDataS3Uri: smithy_client_1.expectString(output.AnnotationDataS3Uri),
|
|
5198
|
+
AnnotationDataS3Uri: (0, smithy_client_1.expectString)(output.AnnotationDataS3Uri),
|
|
5199
5199
|
AttributeNames: output.AttributeNames !== undefined && output.AttributeNames !== null
|
|
5200
5200
|
? deserializeAws_json1_1AttributeNamesList(output.AttributeNames, context)
|
|
5201
5201
|
: undefined,
|
|
5202
|
-
DocumentType: smithy_client_1.expectString(output.DocumentType),
|
|
5203
|
-
S3Uri: smithy_client_1.expectString(output.S3Uri),
|
|
5204
|
-
SourceDocumentsS3Uri: smithy_client_1.expectString(output.SourceDocumentsS3Uri),
|
|
5205
|
-
Split: smithy_client_1.expectString(output.Split),
|
|
5202
|
+
DocumentType: (0, smithy_client_1.expectString)(output.DocumentType),
|
|
5203
|
+
S3Uri: (0, smithy_client_1.expectString)(output.S3Uri),
|
|
5204
|
+
SourceDocumentsS3Uri: (0, smithy_client_1.expectString)(output.SourceDocumentsS3Uri),
|
|
5205
|
+
Split: (0, smithy_client_1.expectString)(output.Split),
|
|
5206
5206
|
};
|
|
5207
5207
|
};
|
|
5208
5208
|
const deserializeAws_json1_1BatchDetectDominantLanguageItemResult = (output, context) => {
|
|
5209
5209
|
return {
|
|
5210
|
-
Index: smithy_client_1.expectInt32(output.Index),
|
|
5210
|
+
Index: (0, smithy_client_1.expectInt32)(output.Index),
|
|
5211
5211
|
Languages: output.Languages !== undefined && output.Languages !== null
|
|
5212
5212
|
? deserializeAws_json1_1ListOfDominantLanguages(output.Languages, context)
|
|
5213
5213
|
: undefined,
|
|
@@ -5228,7 +5228,7 @@ const deserializeAws_json1_1BatchDetectEntitiesItemResult = (output, context) =>
|
|
|
5228
5228
|
Entities: output.Entities !== undefined && output.Entities !== null
|
|
5229
5229
|
? deserializeAws_json1_1ListOfEntities(output.Entities, context)
|
|
5230
5230
|
: undefined,
|
|
5231
|
-
Index: smithy_client_1.expectInt32(output.Index),
|
|
5231
|
+
Index: (0, smithy_client_1.expectInt32)(output.Index),
|
|
5232
5232
|
};
|
|
5233
5233
|
};
|
|
5234
5234
|
const deserializeAws_json1_1BatchDetectEntitiesResponse = (output, context) => {
|
|
@@ -5243,7 +5243,7 @@ const deserializeAws_json1_1BatchDetectEntitiesResponse = (output, context) => {
|
|
|
5243
5243
|
};
|
|
5244
5244
|
const deserializeAws_json1_1BatchDetectKeyPhrasesItemResult = (output, context) => {
|
|
5245
5245
|
return {
|
|
5246
|
-
Index: smithy_client_1.expectInt32(output.Index),
|
|
5246
|
+
Index: (0, smithy_client_1.expectInt32)(output.Index),
|
|
5247
5247
|
KeyPhrases: output.KeyPhrases !== undefined && output.KeyPhrases !== null
|
|
5248
5248
|
? deserializeAws_json1_1ListOfKeyPhrases(output.KeyPhrases, context)
|
|
5249
5249
|
: undefined,
|
|
@@ -5261,8 +5261,8 @@ const deserializeAws_json1_1BatchDetectKeyPhrasesResponse = (output, context) =>
|
|
|
5261
5261
|
};
|
|
5262
5262
|
const deserializeAws_json1_1BatchDetectSentimentItemResult = (output, context) => {
|
|
5263
5263
|
return {
|
|
5264
|
-
Index: smithy_client_1.expectInt32(output.Index),
|
|
5265
|
-
Sentiment: smithy_client_1.expectString(output.Sentiment),
|
|
5264
|
+
Index: (0, smithy_client_1.expectInt32)(output.Index),
|
|
5265
|
+
Sentiment: (0, smithy_client_1.expectString)(output.Sentiment),
|
|
5266
5266
|
SentimentScore: output.SentimentScore !== undefined && output.SentimentScore !== null
|
|
5267
5267
|
? deserializeAws_json1_1SentimentScore(output.SentimentScore, context)
|
|
5268
5268
|
: undefined,
|
|
@@ -5280,7 +5280,7 @@ const deserializeAws_json1_1BatchDetectSentimentResponse = (output, context) =>
|
|
|
5280
5280
|
};
|
|
5281
5281
|
const deserializeAws_json1_1BatchDetectSyntaxItemResult = (output, context) => {
|
|
5282
5282
|
return {
|
|
5283
|
-
Index: smithy_client_1.expectInt32(output.Index),
|
|
5283
|
+
Index: (0, smithy_client_1.expectInt32)(output.Index),
|
|
5284
5284
|
SyntaxTokens: output.SyntaxTokens !== undefined && output.SyntaxTokens !== null
|
|
5285
5285
|
? deserializeAws_json1_1ListOfSyntaxTokens(output.SyntaxTokens, context)
|
|
5286
5286
|
: undefined,
|
|
@@ -5298,9 +5298,9 @@ const deserializeAws_json1_1BatchDetectSyntaxResponse = (output, context) => {
|
|
|
5298
5298
|
};
|
|
5299
5299
|
const deserializeAws_json1_1BatchItemError = (output, context) => {
|
|
5300
5300
|
return {
|
|
5301
|
-
ErrorCode: smithy_client_1.expectString(output.ErrorCode),
|
|
5302
|
-
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
5303
|
-
Index: smithy_client_1.expectInt32(output.Index),
|
|
5301
|
+
ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
|
|
5302
|
+
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
5303
|
+
Index: (0, smithy_client_1.expectInt32)(output.Index),
|
|
5304
5304
|
};
|
|
5305
5305
|
};
|
|
5306
5306
|
const deserializeAws_json1_1BatchItemErrorList = (output, context) => {
|
|
@@ -5316,19 +5316,19 @@ const deserializeAws_json1_1BatchItemErrorList = (output, context) => {
|
|
|
5316
5316
|
};
|
|
5317
5317
|
const deserializeAws_json1_1BatchSizeLimitExceededException = (output, context) => {
|
|
5318
5318
|
return {
|
|
5319
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
5319
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5320
5320
|
};
|
|
5321
5321
|
};
|
|
5322
5322
|
const deserializeAws_json1_1ClassifierEvaluationMetrics = (output, context) => {
|
|
5323
5323
|
return {
|
|
5324
|
-
Accuracy: smithy_client_1.limitedParseDouble(output.Accuracy),
|
|
5325
|
-
F1Score: smithy_client_1.limitedParseDouble(output.F1Score),
|
|
5326
|
-
HammingLoss: smithy_client_1.limitedParseDouble(output.HammingLoss),
|
|
5327
|
-
MicroF1Score: smithy_client_1.limitedParseDouble(output.MicroF1Score),
|
|
5328
|
-
MicroPrecision: smithy_client_1.limitedParseDouble(output.MicroPrecision),
|
|
5329
|
-
MicroRecall: smithy_client_1.limitedParseDouble(output.MicroRecall),
|
|
5330
|
-
Precision: smithy_client_1.limitedParseDouble(output.Precision),
|
|
5331
|
-
Recall: smithy_client_1.limitedParseDouble(output.Recall),
|
|
5324
|
+
Accuracy: (0, smithy_client_1.limitedParseDouble)(output.Accuracy),
|
|
5325
|
+
F1Score: (0, smithy_client_1.limitedParseDouble)(output.F1Score),
|
|
5326
|
+
HammingLoss: (0, smithy_client_1.limitedParseDouble)(output.HammingLoss),
|
|
5327
|
+
MicroF1Score: (0, smithy_client_1.limitedParseDouble)(output.MicroF1Score),
|
|
5328
|
+
MicroPrecision: (0, smithy_client_1.limitedParseDouble)(output.MicroPrecision),
|
|
5329
|
+
MicroRecall: (0, smithy_client_1.limitedParseDouble)(output.MicroRecall),
|
|
5330
|
+
Precision: (0, smithy_client_1.limitedParseDouble)(output.Precision),
|
|
5331
|
+
Recall: (0, smithy_client_1.limitedParseDouble)(output.Recall),
|
|
5332
5332
|
};
|
|
5333
5333
|
};
|
|
5334
5334
|
const deserializeAws_json1_1ClassifierMetadata = (output, context) => {
|
|
@@ -5336,9 +5336,9 @@ const deserializeAws_json1_1ClassifierMetadata = (output, context) => {
|
|
|
5336
5336
|
EvaluationMetrics: output.EvaluationMetrics !== undefined && output.EvaluationMetrics !== null
|
|
5337
5337
|
? deserializeAws_json1_1ClassifierEvaluationMetrics(output.EvaluationMetrics, context)
|
|
5338
5338
|
: undefined,
|
|
5339
|
-
NumberOfLabels: smithy_client_1.expectInt32(output.NumberOfLabels),
|
|
5340
|
-
NumberOfTestDocuments: smithy_client_1.expectInt32(output.NumberOfTestDocuments),
|
|
5341
|
-
NumberOfTrainedDocuments: smithy_client_1.expectInt32(output.NumberOfTrainedDocuments),
|
|
5339
|
+
NumberOfLabels: (0, smithy_client_1.expectInt32)(output.NumberOfLabels),
|
|
5340
|
+
NumberOfTestDocuments: (0, smithy_client_1.expectInt32)(output.NumberOfTestDocuments),
|
|
5341
|
+
NumberOfTrainedDocuments: (0, smithy_client_1.expectInt32)(output.NumberOfTrainedDocuments),
|
|
5342
5342
|
};
|
|
5343
5343
|
};
|
|
5344
5344
|
const deserializeAws_json1_1ClassifyDocumentResponse = (output, context) => {
|
|
@@ -5353,7 +5353,7 @@ const deserializeAws_json1_1ClassifyDocumentResponse = (output, context) => {
|
|
|
5353
5353
|
};
|
|
5354
5354
|
const deserializeAws_json1_1ConcurrentModificationException = (output, context) => {
|
|
5355
5355
|
return {
|
|
5356
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
5356
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5357
5357
|
};
|
|
5358
5358
|
};
|
|
5359
5359
|
const deserializeAws_json1_1ContainsPiiEntitiesResponse = (output, context) => {
|
|
@@ -5365,17 +5365,17 @@ const deserializeAws_json1_1ContainsPiiEntitiesResponse = (output, context) => {
|
|
|
5365
5365
|
};
|
|
5366
5366
|
const deserializeAws_json1_1CreateDocumentClassifierResponse = (output, context) => {
|
|
5367
5367
|
return {
|
|
5368
|
-
DocumentClassifierArn: smithy_client_1.expectString(output.DocumentClassifierArn),
|
|
5368
|
+
DocumentClassifierArn: (0, smithy_client_1.expectString)(output.DocumentClassifierArn),
|
|
5369
5369
|
};
|
|
5370
5370
|
};
|
|
5371
5371
|
const deserializeAws_json1_1CreateEndpointResponse = (output, context) => {
|
|
5372
5372
|
return {
|
|
5373
|
-
EndpointArn: smithy_client_1.expectString(output.EndpointArn),
|
|
5373
|
+
EndpointArn: (0, smithy_client_1.expectString)(output.EndpointArn),
|
|
5374
5374
|
};
|
|
5375
5375
|
};
|
|
5376
5376
|
const deserializeAws_json1_1CreateEntityRecognizerResponse = (output, context) => {
|
|
5377
5377
|
return {
|
|
5378
|
-
EntityRecognizerArn: smithy_client_1.expectString(output.EntityRecognizerArn),
|
|
5378
|
+
EntityRecognizerArn: (0, smithy_client_1.expectString)(output.EntityRecognizerArn),
|
|
5379
5379
|
};
|
|
5380
5380
|
};
|
|
5381
5381
|
const deserializeAws_json1_1DeleteDocumentClassifierResponse = (output, context) => {
|
|
@@ -5457,13 +5457,13 @@ const deserializeAws_json1_1DescribePiiEntitiesDetectionJobResponse = (output, c
|
|
|
5457
5457
|
const deserializeAws_json1_1DescribeResourcePolicyResponse = (output, context) => {
|
|
5458
5458
|
return {
|
|
5459
5459
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
5460
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
5460
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
5461
5461
|
: undefined,
|
|
5462
5462
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
5463
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
|
|
5463
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
5464
5464
|
: undefined,
|
|
5465
|
-
PolicyRevisionId: smithy_client_1.expectString(output.PolicyRevisionId),
|
|
5466
|
-
ResourcePolicy: smithy_client_1.expectString(output.ResourcePolicy),
|
|
5465
|
+
PolicyRevisionId: (0, smithy_client_1.expectString)(output.PolicyRevisionId),
|
|
5466
|
+
ResourcePolicy: (0, smithy_client_1.expectString)(output.ResourcePolicy),
|
|
5467
5467
|
};
|
|
5468
5468
|
};
|
|
5469
5469
|
const deserializeAws_json1_1DescribeSentimentDetectionJobResponse = (output, context) => {
|
|
@@ -5518,7 +5518,7 @@ const deserializeAws_json1_1DetectPiiEntitiesResponse = (output, context) => {
|
|
|
5518
5518
|
};
|
|
5519
5519
|
const deserializeAws_json1_1DetectSentimentResponse = (output, context) => {
|
|
5520
5520
|
return {
|
|
5521
|
-
Sentiment: smithy_client_1.expectString(output.Sentiment),
|
|
5521
|
+
Sentiment: (0, smithy_client_1.expectString)(output.Sentiment),
|
|
5522
5522
|
SentimentScore: output.SentimentScore !== undefined && output.SentimentScore !== null
|
|
5523
5523
|
? deserializeAws_json1_1SentimentScore(output.SentimentScore, context)
|
|
5524
5524
|
: undefined,
|
|
@@ -5533,32 +5533,32 @@ const deserializeAws_json1_1DetectSyntaxResponse = (output, context) => {
|
|
|
5533
5533
|
};
|
|
5534
5534
|
const deserializeAws_json1_1DocumentClass = (output, context) => {
|
|
5535
5535
|
return {
|
|
5536
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
5537
|
-
Score: smithy_client_1.limitedParseFloat32(output.Score),
|
|
5536
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5537
|
+
Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
|
|
5538
5538
|
};
|
|
5539
5539
|
};
|
|
5540
5540
|
const deserializeAws_json1_1DocumentClassificationJobProperties = (output, context) => {
|
|
5541
5541
|
return {
|
|
5542
|
-
DataAccessRoleArn: smithy_client_1.expectString(output.DataAccessRoleArn),
|
|
5543
|
-
DocumentClassifierArn: smithy_client_1.expectString(output.DocumentClassifierArn),
|
|
5542
|
+
DataAccessRoleArn: (0, smithy_client_1.expectString)(output.DataAccessRoleArn),
|
|
5543
|
+
DocumentClassifierArn: (0, smithy_client_1.expectString)(output.DocumentClassifierArn),
|
|
5544
5544
|
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
5545
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
|
|
5545
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
|
|
5546
5546
|
: undefined,
|
|
5547
5547
|
InputDataConfig: output.InputDataConfig !== undefined && output.InputDataConfig !== null
|
|
5548
5548
|
? deserializeAws_json1_1InputDataConfig(output.InputDataConfig, context)
|
|
5549
5549
|
: undefined,
|
|
5550
|
-
JobArn: smithy_client_1.expectString(output.JobArn),
|
|
5551
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
5552
|
-
JobName: smithy_client_1.expectString(output.JobName),
|
|
5553
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
5554
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
5550
|
+
JobArn: (0, smithy_client_1.expectString)(output.JobArn),
|
|
5551
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
5552
|
+
JobName: (0, smithy_client_1.expectString)(output.JobName),
|
|
5553
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
5554
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5555
5555
|
OutputDataConfig: output.OutputDataConfig !== undefined && output.OutputDataConfig !== null
|
|
5556
5556
|
? deserializeAws_json1_1OutputDataConfig(output.OutputDataConfig, context)
|
|
5557
5557
|
: undefined,
|
|
5558
5558
|
SubmitTime: output.SubmitTime !== undefined && output.SubmitTime !== null
|
|
5559
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.SubmitTime)))
|
|
5559
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.SubmitTime)))
|
|
5560
5560
|
: undefined,
|
|
5561
|
-
VolumeKmsKeyId: smithy_client_1.expectString(output.VolumeKmsKeyId),
|
|
5561
|
+
VolumeKmsKeyId: (0, smithy_client_1.expectString)(output.VolumeKmsKeyId),
|
|
5562
5562
|
VpcConfig: output.VpcConfig !== undefined && output.VpcConfig !== null
|
|
5563
5563
|
? deserializeAws_json1_1VpcConfig(output.VpcConfig, context)
|
|
5564
5564
|
: undefined,
|
|
@@ -5591,16 +5591,16 @@ const deserializeAws_json1_1DocumentClassifierInputDataConfig = (output, context
|
|
|
5591
5591
|
AugmentedManifests: output.AugmentedManifests !== undefined && output.AugmentedManifests !== null
|
|
5592
5592
|
? deserializeAws_json1_1DocumentClassifierAugmentedManifestsList(output.AugmentedManifests, context)
|
|
5593
5593
|
: undefined,
|
|
5594
|
-
DataFormat: smithy_client_1.expectString(output.DataFormat),
|
|
5595
|
-
LabelDelimiter: smithy_client_1.expectString(output.LabelDelimiter),
|
|
5596
|
-
S3Uri: smithy_client_1.expectString(output.S3Uri),
|
|
5597
|
-
TestS3Uri: smithy_client_1.expectString(output.TestS3Uri),
|
|
5594
|
+
DataFormat: (0, smithy_client_1.expectString)(output.DataFormat),
|
|
5595
|
+
LabelDelimiter: (0, smithy_client_1.expectString)(output.LabelDelimiter),
|
|
5596
|
+
S3Uri: (0, smithy_client_1.expectString)(output.S3Uri),
|
|
5597
|
+
TestS3Uri: (0, smithy_client_1.expectString)(output.TestS3Uri),
|
|
5598
5598
|
};
|
|
5599
5599
|
};
|
|
5600
5600
|
const deserializeAws_json1_1DocumentClassifierOutputDataConfig = (output, context) => {
|
|
5601
5601
|
return {
|
|
5602
|
-
KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
|
|
5603
|
-
S3Uri: smithy_client_1.expectString(output.S3Uri),
|
|
5602
|
+
KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
|
|
5603
|
+
S3Uri: (0, smithy_client_1.expectString)(output.S3Uri),
|
|
5604
5604
|
};
|
|
5605
5605
|
};
|
|
5606
5606
|
const deserializeAws_json1_1DocumentClassifierProperties = (output, context) => {
|
|
@@ -5608,34 +5608,34 @@ const deserializeAws_json1_1DocumentClassifierProperties = (output, context) =>
|
|
|
5608
5608
|
ClassifierMetadata: output.ClassifierMetadata !== undefined && output.ClassifierMetadata !== null
|
|
5609
5609
|
? deserializeAws_json1_1ClassifierMetadata(output.ClassifierMetadata, context)
|
|
5610
5610
|
: undefined,
|
|
5611
|
-
DataAccessRoleArn: smithy_client_1.expectString(output.DataAccessRoleArn),
|
|
5612
|
-
DocumentClassifierArn: smithy_client_1.expectString(output.DocumentClassifierArn),
|
|
5611
|
+
DataAccessRoleArn: (0, smithy_client_1.expectString)(output.DataAccessRoleArn),
|
|
5612
|
+
DocumentClassifierArn: (0, smithy_client_1.expectString)(output.DocumentClassifierArn),
|
|
5613
5613
|
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
5614
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
|
|
5614
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
|
|
5615
5615
|
: undefined,
|
|
5616
5616
|
InputDataConfig: output.InputDataConfig !== undefined && output.InputDataConfig !== null
|
|
5617
5617
|
? deserializeAws_json1_1DocumentClassifierInputDataConfig(output.InputDataConfig, context)
|
|
5618
5618
|
: undefined,
|
|
5619
|
-
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
5620
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
5621
|
-
Mode: smithy_client_1.expectString(output.Mode),
|
|
5622
|
-
ModelKmsKeyId: smithy_client_1.expectString(output.ModelKmsKeyId),
|
|
5619
|
+
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
5620
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5621
|
+
Mode: (0, smithy_client_1.expectString)(output.Mode),
|
|
5622
|
+
ModelKmsKeyId: (0, smithy_client_1.expectString)(output.ModelKmsKeyId),
|
|
5623
5623
|
OutputDataConfig: output.OutputDataConfig !== undefined && output.OutputDataConfig !== null
|
|
5624
5624
|
? deserializeAws_json1_1DocumentClassifierOutputDataConfig(output.OutputDataConfig, context)
|
|
5625
5625
|
: undefined,
|
|
5626
|
-
SourceModelArn: smithy_client_1.expectString(output.SourceModelArn),
|
|
5627
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
5626
|
+
SourceModelArn: (0, smithy_client_1.expectString)(output.SourceModelArn),
|
|
5627
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
5628
5628
|
SubmitTime: output.SubmitTime !== undefined && output.SubmitTime !== null
|
|
5629
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.SubmitTime)))
|
|
5629
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.SubmitTime)))
|
|
5630
5630
|
: undefined,
|
|
5631
5631
|
TrainingEndTime: output.TrainingEndTime !== undefined && output.TrainingEndTime !== null
|
|
5632
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.TrainingEndTime)))
|
|
5632
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.TrainingEndTime)))
|
|
5633
5633
|
: undefined,
|
|
5634
5634
|
TrainingStartTime: output.TrainingStartTime !== undefined && output.TrainingStartTime !== null
|
|
5635
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.TrainingStartTime)))
|
|
5635
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.TrainingStartTime)))
|
|
5636
5636
|
: undefined,
|
|
5637
|
-
VersionName: smithy_client_1.expectString(output.VersionName),
|
|
5638
|
-
VolumeKmsKeyId: smithy_client_1.expectString(output.VolumeKmsKeyId),
|
|
5637
|
+
VersionName: (0, smithy_client_1.expectString)(output.VersionName),
|
|
5638
|
+
VolumeKmsKeyId: (0, smithy_client_1.expectString)(output.VolumeKmsKeyId),
|
|
5639
5639
|
VpcConfig: output.VpcConfig !== undefined && output.VpcConfig !== null
|
|
5640
5640
|
? deserializeAws_json1_1VpcConfig(output.VpcConfig, context)
|
|
5641
5641
|
: undefined,
|
|
@@ -5665,25 +5665,25 @@ const deserializeAws_json1_1DocumentClassifierSummariesList = (output, context)
|
|
|
5665
5665
|
};
|
|
5666
5666
|
const deserializeAws_json1_1DocumentClassifierSummary = (output, context) => {
|
|
5667
5667
|
return {
|
|
5668
|
-
DocumentClassifierName: smithy_client_1.expectString(output.DocumentClassifierName),
|
|
5668
|
+
DocumentClassifierName: (0, smithy_client_1.expectString)(output.DocumentClassifierName),
|
|
5669
5669
|
LatestVersionCreatedAt: output.LatestVersionCreatedAt !== undefined && output.LatestVersionCreatedAt !== null
|
|
5670
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LatestVersionCreatedAt)))
|
|
5670
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LatestVersionCreatedAt)))
|
|
5671
5671
|
: undefined,
|
|
5672
|
-
LatestVersionName: smithy_client_1.expectString(output.LatestVersionName),
|
|
5673
|
-
LatestVersionStatus: smithy_client_1.expectString(output.LatestVersionStatus),
|
|
5674
|
-
NumberOfVersions: smithy_client_1.expectInt32(output.NumberOfVersions),
|
|
5672
|
+
LatestVersionName: (0, smithy_client_1.expectString)(output.LatestVersionName),
|
|
5673
|
+
LatestVersionStatus: (0, smithy_client_1.expectString)(output.LatestVersionStatus),
|
|
5674
|
+
NumberOfVersions: (0, smithy_client_1.expectInt32)(output.NumberOfVersions),
|
|
5675
5675
|
};
|
|
5676
5676
|
};
|
|
5677
5677
|
const deserializeAws_json1_1DocumentLabel = (output, context) => {
|
|
5678
5678
|
return {
|
|
5679
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
5680
|
-
Score: smithy_client_1.limitedParseFloat32(output.Score),
|
|
5679
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5680
|
+
Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
|
|
5681
5681
|
};
|
|
5682
5682
|
};
|
|
5683
5683
|
const deserializeAws_json1_1DocumentReaderConfig = (output, context) => {
|
|
5684
5684
|
return {
|
|
5685
|
-
DocumentReadAction: smithy_client_1.expectString(output.DocumentReadAction),
|
|
5686
|
-
DocumentReadMode: smithy_client_1.expectString(output.DocumentReadMode),
|
|
5685
|
+
DocumentReadAction: (0, smithy_client_1.expectString)(output.DocumentReadAction),
|
|
5686
|
+
DocumentReadMode: (0, smithy_client_1.expectString)(output.DocumentReadMode),
|
|
5687
5687
|
FeatureTypes: output.FeatureTypes !== undefined && output.FeatureTypes !== null
|
|
5688
5688
|
? deserializeAws_json1_1ListOfDocumentReadFeatureTypes(output.FeatureTypes, context)
|
|
5689
5689
|
: undefined,
|
|
@@ -5691,31 +5691,31 @@ const deserializeAws_json1_1DocumentReaderConfig = (output, context) => {
|
|
|
5691
5691
|
};
|
|
5692
5692
|
const deserializeAws_json1_1DominantLanguage = (output, context) => {
|
|
5693
5693
|
return {
|
|
5694
|
-
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
5695
|
-
Score: smithy_client_1.limitedParseFloat32(output.Score),
|
|
5694
|
+
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
5695
|
+
Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
|
|
5696
5696
|
};
|
|
5697
5697
|
};
|
|
5698
5698
|
const deserializeAws_json1_1DominantLanguageDetectionJobProperties = (output, context) => {
|
|
5699
5699
|
return {
|
|
5700
|
-
DataAccessRoleArn: smithy_client_1.expectString(output.DataAccessRoleArn),
|
|
5700
|
+
DataAccessRoleArn: (0, smithy_client_1.expectString)(output.DataAccessRoleArn),
|
|
5701
5701
|
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
5702
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
|
|
5702
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
|
|
5703
5703
|
: undefined,
|
|
5704
5704
|
InputDataConfig: output.InputDataConfig !== undefined && output.InputDataConfig !== null
|
|
5705
5705
|
? deserializeAws_json1_1InputDataConfig(output.InputDataConfig, context)
|
|
5706
5706
|
: undefined,
|
|
5707
|
-
JobArn: smithy_client_1.expectString(output.JobArn),
|
|
5708
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
5709
|
-
JobName: smithy_client_1.expectString(output.JobName),
|
|
5710
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
5711
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
5707
|
+
JobArn: (0, smithy_client_1.expectString)(output.JobArn),
|
|
5708
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
5709
|
+
JobName: (0, smithy_client_1.expectString)(output.JobName),
|
|
5710
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
5711
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5712
5712
|
OutputDataConfig: output.OutputDataConfig !== undefined && output.OutputDataConfig !== null
|
|
5713
5713
|
? deserializeAws_json1_1OutputDataConfig(output.OutputDataConfig, context)
|
|
5714
5714
|
: undefined,
|
|
5715
5715
|
SubmitTime: output.SubmitTime !== undefined && output.SubmitTime !== null
|
|
5716
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.SubmitTime)))
|
|
5716
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.SubmitTime)))
|
|
5717
5717
|
: undefined,
|
|
5718
|
-
VolumeKmsKeyId: smithy_client_1.expectString(output.VolumeKmsKeyId),
|
|
5718
|
+
VolumeKmsKeyId: (0, smithy_client_1.expectString)(output.VolumeKmsKeyId),
|
|
5719
5719
|
VpcConfig: output.VpcConfig !== undefined && output.VpcConfig !== null
|
|
5720
5720
|
? deserializeAws_json1_1VpcConfig(output.VpcConfig, context)
|
|
5721
5721
|
: undefined,
|
|
@@ -5735,20 +5735,20 @@ const deserializeAws_json1_1DominantLanguageDetectionJobPropertiesList = (output
|
|
|
5735
5735
|
const deserializeAws_json1_1EndpointProperties = (output, context) => {
|
|
5736
5736
|
return {
|
|
5737
5737
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
5738
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
5739
|
-
: undefined,
|
|
5740
|
-
CurrentInferenceUnits: smithy_client_1.expectInt32(output.CurrentInferenceUnits),
|
|
5741
|
-
DataAccessRoleArn: smithy_client_1.expectString(output.DataAccessRoleArn),
|
|
5742
|
-
DesiredDataAccessRoleArn: smithy_client_1.expectString(output.DesiredDataAccessRoleArn),
|
|
5743
|
-
DesiredInferenceUnits: smithy_client_1.expectInt32(output.DesiredInferenceUnits),
|
|
5744
|
-
DesiredModelArn: smithy_client_1.expectString(output.DesiredModelArn),
|
|
5745
|
-
EndpointArn: smithy_client_1.expectString(output.EndpointArn),
|
|
5738
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
5739
|
+
: undefined,
|
|
5740
|
+
CurrentInferenceUnits: (0, smithy_client_1.expectInt32)(output.CurrentInferenceUnits),
|
|
5741
|
+
DataAccessRoleArn: (0, smithy_client_1.expectString)(output.DataAccessRoleArn),
|
|
5742
|
+
DesiredDataAccessRoleArn: (0, smithy_client_1.expectString)(output.DesiredDataAccessRoleArn),
|
|
5743
|
+
DesiredInferenceUnits: (0, smithy_client_1.expectInt32)(output.DesiredInferenceUnits),
|
|
5744
|
+
DesiredModelArn: (0, smithy_client_1.expectString)(output.DesiredModelArn),
|
|
5745
|
+
EndpointArn: (0, smithy_client_1.expectString)(output.EndpointArn),
|
|
5746
5746
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
5747
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
|
|
5747
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
5748
5748
|
: undefined,
|
|
5749
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
5750
|
-
ModelArn: smithy_client_1.expectString(output.ModelArn),
|
|
5751
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
5749
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5750
|
+
ModelArn: (0, smithy_client_1.expectString)(output.ModelArn),
|
|
5751
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
5752
5752
|
};
|
|
5753
5753
|
};
|
|
5754
5754
|
const deserializeAws_json1_1EndpointPropertiesList = (output, context) => {
|
|
@@ -5764,27 +5764,27 @@ const deserializeAws_json1_1EndpointPropertiesList = (output, context) => {
|
|
|
5764
5764
|
};
|
|
5765
5765
|
const deserializeAws_json1_1EntitiesDetectionJobProperties = (output, context) => {
|
|
5766
5766
|
return {
|
|
5767
|
-
DataAccessRoleArn: smithy_client_1.expectString(output.DataAccessRoleArn),
|
|
5767
|
+
DataAccessRoleArn: (0, smithy_client_1.expectString)(output.DataAccessRoleArn),
|
|
5768
5768
|
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
5769
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
|
|
5769
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
|
|
5770
5770
|
: undefined,
|
|
5771
|
-
EntityRecognizerArn: smithy_client_1.expectString(output.EntityRecognizerArn),
|
|
5771
|
+
EntityRecognizerArn: (0, smithy_client_1.expectString)(output.EntityRecognizerArn),
|
|
5772
5772
|
InputDataConfig: output.InputDataConfig !== undefined && output.InputDataConfig !== null
|
|
5773
5773
|
? deserializeAws_json1_1InputDataConfig(output.InputDataConfig, context)
|
|
5774
5774
|
: undefined,
|
|
5775
|
-
JobArn: smithy_client_1.expectString(output.JobArn),
|
|
5776
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
5777
|
-
JobName: smithy_client_1.expectString(output.JobName),
|
|
5778
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
5779
|
-
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
5780
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
5775
|
+
JobArn: (0, smithy_client_1.expectString)(output.JobArn),
|
|
5776
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
5777
|
+
JobName: (0, smithy_client_1.expectString)(output.JobName),
|
|
5778
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
5779
|
+
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
5780
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5781
5781
|
OutputDataConfig: output.OutputDataConfig !== undefined && output.OutputDataConfig !== null
|
|
5782
5782
|
? deserializeAws_json1_1OutputDataConfig(output.OutputDataConfig, context)
|
|
5783
5783
|
: undefined,
|
|
5784
5784
|
SubmitTime: output.SubmitTime !== undefined && output.SubmitTime !== null
|
|
5785
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.SubmitTime)))
|
|
5785
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.SubmitTime)))
|
|
5786
5786
|
: undefined,
|
|
5787
|
-
VolumeKmsKeyId: smithy_client_1.expectString(output.VolumeKmsKeyId),
|
|
5787
|
+
VolumeKmsKeyId: (0, smithy_client_1.expectString)(output.VolumeKmsKeyId),
|
|
5788
5788
|
VpcConfig: output.VpcConfig !== undefined && output.VpcConfig !== null
|
|
5789
5789
|
? deserializeAws_json1_1VpcConfig(output.VpcConfig, context)
|
|
5790
5790
|
: undefined,
|
|
@@ -5803,23 +5803,23 @@ const deserializeAws_json1_1EntitiesDetectionJobPropertiesList = (output, contex
|
|
|
5803
5803
|
};
|
|
5804
5804
|
const deserializeAws_json1_1Entity = (output, context) => {
|
|
5805
5805
|
return {
|
|
5806
|
-
BeginOffset: smithy_client_1.expectInt32(output.BeginOffset),
|
|
5807
|
-
EndOffset: smithy_client_1.expectInt32(output.EndOffset),
|
|
5808
|
-
Score: smithy_client_1.limitedParseFloat32(output.Score),
|
|
5809
|
-
Text: smithy_client_1.expectString(output.Text),
|
|
5810
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
5806
|
+
BeginOffset: (0, smithy_client_1.expectInt32)(output.BeginOffset),
|
|
5807
|
+
EndOffset: (0, smithy_client_1.expectInt32)(output.EndOffset),
|
|
5808
|
+
Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
|
|
5809
|
+
Text: (0, smithy_client_1.expectString)(output.Text),
|
|
5810
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
5811
5811
|
};
|
|
5812
5812
|
};
|
|
5813
5813
|
const deserializeAws_json1_1EntityLabel = (output, context) => {
|
|
5814
5814
|
return {
|
|
5815
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
5816
|
-
Score: smithy_client_1.limitedParseFloat32(output.Score),
|
|
5815
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5816
|
+
Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
|
|
5817
5817
|
};
|
|
5818
5818
|
};
|
|
5819
5819
|
const deserializeAws_json1_1EntityRecognizerAnnotations = (output, context) => {
|
|
5820
5820
|
return {
|
|
5821
|
-
S3Uri: smithy_client_1.expectString(output.S3Uri),
|
|
5822
|
-
TestS3Uri: smithy_client_1.expectString(output.TestS3Uri),
|
|
5821
|
+
S3Uri: (0, smithy_client_1.expectString)(output.S3Uri),
|
|
5822
|
+
TestS3Uri: (0, smithy_client_1.expectString)(output.TestS3Uri),
|
|
5823
5823
|
};
|
|
5824
5824
|
};
|
|
5825
5825
|
const deserializeAws_json1_1EntityRecognizerAugmentedManifestsList = (output, context) => {
|
|
@@ -5835,21 +5835,21 @@ const deserializeAws_json1_1EntityRecognizerAugmentedManifestsList = (output, co
|
|
|
5835
5835
|
};
|
|
5836
5836
|
const deserializeAws_json1_1EntityRecognizerDocuments = (output, context) => {
|
|
5837
5837
|
return {
|
|
5838
|
-
InputFormat: smithy_client_1.expectString(output.InputFormat),
|
|
5839
|
-
S3Uri: smithy_client_1.expectString(output.S3Uri),
|
|
5840
|
-
TestS3Uri: smithy_client_1.expectString(output.TestS3Uri),
|
|
5838
|
+
InputFormat: (0, smithy_client_1.expectString)(output.InputFormat),
|
|
5839
|
+
S3Uri: (0, smithy_client_1.expectString)(output.S3Uri),
|
|
5840
|
+
TestS3Uri: (0, smithy_client_1.expectString)(output.TestS3Uri),
|
|
5841
5841
|
};
|
|
5842
5842
|
};
|
|
5843
5843
|
const deserializeAws_json1_1EntityRecognizerEntityList = (output, context) => {
|
|
5844
5844
|
return {
|
|
5845
|
-
S3Uri: smithy_client_1.expectString(output.S3Uri),
|
|
5845
|
+
S3Uri: (0, smithy_client_1.expectString)(output.S3Uri),
|
|
5846
5846
|
};
|
|
5847
5847
|
};
|
|
5848
5848
|
const deserializeAws_json1_1EntityRecognizerEvaluationMetrics = (output, context) => {
|
|
5849
5849
|
return {
|
|
5850
|
-
F1Score: smithy_client_1.limitedParseDouble(output.F1Score),
|
|
5851
|
-
Precision: smithy_client_1.limitedParseDouble(output.Precision),
|
|
5852
|
-
Recall: smithy_client_1.limitedParseDouble(output.Recall),
|
|
5850
|
+
F1Score: (0, smithy_client_1.limitedParseDouble)(output.F1Score),
|
|
5851
|
+
Precision: (0, smithy_client_1.limitedParseDouble)(output.Precision),
|
|
5852
|
+
Recall: (0, smithy_client_1.limitedParseDouble)(output.Recall),
|
|
5853
5853
|
};
|
|
5854
5854
|
};
|
|
5855
5855
|
const deserializeAws_json1_1EntityRecognizerInputDataConfig = (output, context) => {
|
|
@@ -5860,7 +5860,7 @@ const deserializeAws_json1_1EntityRecognizerInputDataConfig = (output, context)
|
|
|
5860
5860
|
AugmentedManifests: output.AugmentedManifests !== undefined && output.AugmentedManifests !== null
|
|
5861
5861
|
? deserializeAws_json1_1EntityRecognizerAugmentedManifestsList(output.AugmentedManifests, context)
|
|
5862
5862
|
: undefined,
|
|
5863
|
-
DataFormat: smithy_client_1.expectString(output.DataFormat),
|
|
5863
|
+
DataFormat: (0, smithy_client_1.expectString)(output.DataFormat),
|
|
5864
5864
|
Documents: output.Documents !== undefined && output.Documents !== null
|
|
5865
5865
|
? deserializeAws_json1_1EntityRecognizerDocuments(output.Documents, context)
|
|
5866
5866
|
: undefined,
|
|
@@ -5880,8 +5880,8 @@ const deserializeAws_json1_1EntityRecognizerMetadata = (output, context) => {
|
|
|
5880
5880
|
EvaluationMetrics: output.EvaluationMetrics !== undefined && output.EvaluationMetrics !== null
|
|
5881
5881
|
? deserializeAws_json1_1EntityRecognizerEvaluationMetrics(output.EvaluationMetrics, context)
|
|
5882
5882
|
: undefined,
|
|
5883
|
-
NumberOfTestDocuments: smithy_client_1.expectInt32(output.NumberOfTestDocuments),
|
|
5884
|
-
NumberOfTrainedDocuments: smithy_client_1.expectInt32(output.NumberOfTrainedDocuments),
|
|
5883
|
+
NumberOfTestDocuments: (0, smithy_client_1.expectInt32)(output.NumberOfTestDocuments),
|
|
5884
|
+
NumberOfTrainedDocuments: (0, smithy_client_1.expectInt32)(output.NumberOfTrainedDocuments),
|
|
5885
5885
|
};
|
|
5886
5886
|
};
|
|
5887
5887
|
const deserializeAws_json1_1EntityRecognizerMetadataEntityTypesList = (output, context) => {
|
|
@@ -5900,39 +5900,39 @@ const deserializeAws_json1_1EntityRecognizerMetadataEntityTypesListItem = (outpu
|
|
|
5900
5900
|
EvaluationMetrics: output.EvaluationMetrics !== undefined && output.EvaluationMetrics !== null
|
|
5901
5901
|
? deserializeAws_json1_1EntityTypesEvaluationMetrics(output.EvaluationMetrics, context)
|
|
5902
5902
|
: undefined,
|
|
5903
|
-
NumberOfTrainMentions: smithy_client_1.expectInt32(output.NumberOfTrainMentions),
|
|
5904
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
5903
|
+
NumberOfTrainMentions: (0, smithy_client_1.expectInt32)(output.NumberOfTrainMentions),
|
|
5904
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
5905
5905
|
};
|
|
5906
5906
|
};
|
|
5907
5907
|
const deserializeAws_json1_1EntityRecognizerProperties = (output, context) => {
|
|
5908
5908
|
return {
|
|
5909
|
-
DataAccessRoleArn: smithy_client_1.expectString(output.DataAccessRoleArn),
|
|
5909
|
+
DataAccessRoleArn: (0, smithy_client_1.expectString)(output.DataAccessRoleArn),
|
|
5910
5910
|
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
5911
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
|
|
5911
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
|
|
5912
5912
|
: undefined,
|
|
5913
|
-
EntityRecognizerArn: smithy_client_1.expectString(output.EntityRecognizerArn),
|
|
5913
|
+
EntityRecognizerArn: (0, smithy_client_1.expectString)(output.EntityRecognizerArn),
|
|
5914
5914
|
InputDataConfig: output.InputDataConfig !== undefined && output.InputDataConfig !== null
|
|
5915
5915
|
? deserializeAws_json1_1EntityRecognizerInputDataConfig(output.InputDataConfig, context)
|
|
5916
5916
|
: undefined,
|
|
5917
|
-
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
5918
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
5919
|
-
ModelKmsKeyId: smithy_client_1.expectString(output.ModelKmsKeyId),
|
|
5917
|
+
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
5918
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5919
|
+
ModelKmsKeyId: (0, smithy_client_1.expectString)(output.ModelKmsKeyId),
|
|
5920
5920
|
RecognizerMetadata: output.RecognizerMetadata !== undefined && output.RecognizerMetadata !== null
|
|
5921
5921
|
? deserializeAws_json1_1EntityRecognizerMetadata(output.RecognizerMetadata, context)
|
|
5922
5922
|
: undefined,
|
|
5923
|
-
SourceModelArn: smithy_client_1.expectString(output.SourceModelArn),
|
|
5924
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
5923
|
+
SourceModelArn: (0, smithy_client_1.expectString)(output.SourceModelArn),
|
|
5924
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
5925
5925
|
SubmitTime: output.SubmitTime !== undefined && output.SubmitTime !== null
|
|
5926
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.SubmitTime)))
|
|
5926
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.SubmitTime)))
|
|
5927
5927
|
: undefined,
|
|
5928
5928
|
TrainingEndTime: output.TrainingEndTime !== undefined && output.TrainingEndTime !== null
|
|
5929
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.TrainingEndTime)))
|
|
5929
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.TrainingEndTime)))
|
|
5930
5930
|
: undefined,
|
|
5931
5931
|
TrainingStartTime: output.TrainingStartTime !== undefined && output.TrainingStartTime !== null
|
|
5932
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.TrainingStartTime)))
|
|
5932
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.TrainingStartTime)))
|
|
5933
5933
|
: undefined,
|
|
5934
|
-
VersionName: smithy_client_1.expectString(output.VersionName),
|
|
5935
|
-
VolumeKmsKeyId: smithy_client_1.expectString(output.VolumeKmsKeyId),
|
|
5934
|
+
VersionName: (0, smithy_client_1.expectString)(output.VersionName),
|
|
5935
|
+
VolumeKmsKeyId: (0, smithy_client_1.expectString)(output.VolumeKmsKeyId),
|
|
5936
5936
|
VpcConfig: output.VpcConfig !== undefined && output.VpcConfig !== null
|
|
5937
5937
|
? deserializeAws_json1_1VpcConfig(output.VpcConfig, context)
|
|
5938
5938
|
: undefined,
|
|
@@ -5963,19 +5963,19 @@ const deserializeAws_json1_1EntityRecognizerSummariesList = (output, context) =>
|
|
|
5963
5963
|
const deserializeAws_json1_1EntityRecognizerSummary = (output, context) => {
|
|
5964
5964
|
return {
|
|
5965
5965
|
LatestVersionCreatedAt: output.LatestVersionCreatedAt !== undefined && output.LatestVersionCreatedAt !== null
|
|
5966
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LatestVersionCreatedAt)))
|
|
5966
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LatestVersionCreatedAt)))
|
|
5967
5967
|
: undefined,
|
|
5968
|
-
LatestVersionName: smithy_client_1.expectString(output.LatestVersionName),
|
|
5969
|
-
LatestVersionStatus: smithy_client_1.expectString(output.LatestVersionStatus),
|
|
5970
|
-
NumberOfVersions: smithy_client_1.expectInt32(output.NumberOfVersions),
|
|
5971
|
-
RecognizerName: smithy_client_1.expectString(output.RecognizerName),
|
|
5968
|
+
LatestVersionName: (0, smithy_client_1.expectString)(output.LatestVersionName),
|
|
5969
|
+
LatestVersionStatus: (0, smithy_client_1.expectString)(output.LatestVersionStatus),
|
|
5970
|
+
NumberOfVersions: (0, smithy_client_1.expectInt32)(output.NumberOfVersions),
|
|
5971
|
+
RecognizerName: (0, smithy_client_1.expectString)(output.RecognizerName),
|
|
5972
5972
|
};
|
|
5973
5973
|
};
|
|
5974
5974
|
const deserializeAws_json1_1EntityTypesEvaluationMetrics = (output, context) => {
|
|
5975
5975
|
return {
|
|
5976
|
-
F1Score: smithy_client_1.limitedParseDouble(output.F1Score),
|
|
5977
|
-
Precision: smithy_client_1.limitedParseDouble(output.Precision),
|
|
5978
|
-
Recall: smithy_client_1.limitedParseDouble(output.Recall),
|
|
5976
|
+
F1Score: (0, smithy_client_1.limitedParseDouble)(output.F1Score),
|
|
5977
|
+
Precision: (0, smithy_client_1.limitedParseDouble)(output.Precision),
|
|
5978
|
+
Recall: (0, smithy_client_1.limitedParseDouble)(output.Recall),
|
|
5979
5979
|
};
|
|
5980
5980
|
};
|
|
5981
5981
|
const deserializeAws_json1_1EntityTypesList = (output, context) => {
|
|
@@ -5991,29 +5991,29 @@ const deserializeAws_json1_1EntityTypesList = (output, context) => {
|
|
|
5991
5991
|
};
|
|
5992
5992
|
const deserializeAws_json1_1EntityTypesListItem = (output, context) => {
|
|
5993
5993
|
return {
|
|
5994
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
5994
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
5995
5995
|
};
|
|
5996
5996
|
};
|
|
5997
5997
|
const deserializeAws_json1_1EventsDetectionJobProperties = (output, context) => {
|
|
5998
5998
|
return {
|
|
5999
|
-
DataAccessRoleArn: smithy_client_1.expectString(output.DataAccessRoleArn),
|
|
5999
|
+
DataAccessRoleArn: (0, smithy_client_1.expectString)(output.DataAccessRoleArn),
|
|
6000
6000
|
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
6001
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
|
|
6001
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
|
|
6002
6002
|
: undefined,
|
|
6003
6003
|
InputDataConfig: output.InputDataConfig !== undefined && output.InputDataConfig !== null
|
|
6004
6004
|
? deserializeAws_json1_1InputDataConfig(output.InputDataConfig, context)
|
|
6005
6005
|
: undefined,
|
|
6006
|
-
JobArn: smithy_client_1.expectString(output.JobArn),
|
|
6007
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
6008
|
-
JobName: smithy_client_1.expectString(output.JobName),
|
|
6009
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
6010
|
-
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
6011
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
6006
|
+
JobArn: (0, smithy_client_1.expectString)(output.JobArn),
|
|
6007
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
6008
|
+
JobName: (0, smithy_client_1.expectString)(output.JobName),
|
|
6009
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
6010
|
+
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
6011
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
6012
6012
|
OutputDataConfig: output.OutputDataConfig !== undefined && output.OutputDataConfig !== null
|
|
6013
6013
|
? deserializeAws_json1_1OutputDataConfig(output.OutputDataConfig, context)
|
|
6014
6014
|
: undefined,
|
|
6015
6015
|
SubmitTime: output.SubmitTime !== undefined && output.SubmitTime !== null
|
|
6016
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.SubmitTime)))
|
|
6016
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.SubmitTime)))
|
|
6017
6017
|
: undefined,
|
|
6018
6018
|
TargetEventTypes: output.TargetEventTypes !== undefined && output.TargetEventTypes !== null
|
|
6019
6019
|
? deserializeAws_json1_1TargetEventTypes(output.TargetEventTypes, context)
|
|
@@ -6033,7 +6033,7 @@ const deserializeAws_json1_1EventsDetectionJobPropertiesList = (output, context)
|
|
|
6033
6033
|
};
|
|
6034
6034
|
const deserializeAws_json1_1ImportModelResponse = (output, context) => {
|
|
6035
6035
|
return {
|
|
6036
|
-
ModelArn: smithy_client_1.expectString(output.ModelArn),
|
|
6036
|
+
ModelArn: (0, smithy_client_1.expectString)(output.ModelArn),
|
|
6037
6037
|
};
|
|
6038
6038
|
};
|
|
6039
6039
|
const deserializeAws_json1_1InputDataConfig = (output, context) => {
|
|
@@ -6041,60 +6041,60 @@ const deserializeAws_json1_1InputDataConfig = (output, context) => {
|
|
|
6041
6041
|
DocumentReaderConfig: output.DocumentReaderConfig !== undefined && output.DocumentReaderConfig !== null
|
|
6042
6042
|
? deserializeAws_json1_1DocumentReaderConfig(output.DocumentReaderConfig, context)
|
|
6043
6043
|
: undefined,
|
|
6044
|
-
InputFormat: smithy_client_1.expectString(output.InputFormat),
|
|
6045
|
-
S3Uri: smithy_client_1.expectString(output.S3Uri),
|
|
6044
|
+
InputFormat: (0, smithy_client_1.expectString)(output.InputFormat),
|
|
6045
|
+
S3Uri: (0, smithy_client_1.expectString)(output.S3Uri),
|
|
6046
6046
|
};
|
|
6047
6047
|
};
|
|
6048
6048
|
const deserializeAws_json1_1InternalServerException = (output, context) => {
|
|
6049
6049
|
return {
|
|
6050
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
6050
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
6051
6051
|
};
|
|
6052
6052
|
};
|
|
6053
6053
|
const deserializeAws_json1_1InvalidFilterException = (output, context) => {
|
|
6054
6054
|
return {
|
|
6055
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
6055
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
6056
6056
|
};
|
|
6057
6057
|
};
|
|
6058
6058
|
const deserializeAws_json1_1InvalidRequestException = (output, context) => {
|
|
6059
6059
|
return {
|
|
6060
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
6060
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
6061
6061
|
};
|
|
6062
6062
|
};
|
|
6063
6063
|
const deserializeAws_json1_1JobNotFoundException = (output, context) => {
|
|
6064
6064
|
return {
|
|
6065
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
6065
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
6066
6066
|
};
|
|
6067
6067
|
};
|
|
6068
6068
|
const deserializeAws_json1_1KeyPhrase = (output, context) => {
|
|
6069
6069
|
return {
|
|
6070
|
-
BeginOffset: smithy_client_1.expectInt32(output.BeginOffset),
|
|
6071
|
-
EndOffset: smithy_client_1.expectInt32(output.EndOffset),
|
|
6072
|
-
Score: smithy_client_1.limitedParseFloat32(output.Score),
|
|
6073
|
-
Text: smithy_client_1.expectString(output.Text),
|
|
6070
|
+
BeginOffset: (0, smithy_client_1.expectInt32)(output.BeginOffset),
|
|
6071
|
+
EndOffset: (0, smithy_client_1.expectInt32)(output.EndOffset),
|
|
6072
|
+
Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
|
|
6073
|
+
Text: (0, smithy_client_1.expectString)(output.Text),
|
|
6074
6074
|
};
|
|
6075
6075
|
};
|
|
6076
6076
|
const deserializeAws_json1_1KeyPhrasesDetectionJobProperties = (output, context) => {
|
|
6077
6077
|
return {
|
|
6078
|
-
DataAccessRoleArn: smithy_client_1.expectString(output.DataAccessRoleArn),
|
|
6078
|
+
DataAccessRoleArn: (0, smithy_client_1.expectString)(output.DataAccessRoleArn),
|
|
6079
6079
|
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
6080
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
|
|
6080
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
|
|
6081
6081
|
: undefined,
|
|
6082
6082
|
InputDataConfig: output.InputDataConfig !== undefined && output.InputDataConfig !== null
|
|
6083
6083
|
? deserializeAws_json1_1InputDataConfig(output.InputDataConfig, context)
|
|
6084
6084
|
: undefined,
|
|
6085
|
-
JobArn: smithy_client_1.expectString(output.JobArn),
|
|
6086
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
6087
|
-
JobName: smithy_client_1.expectString(output.JobName),
|
|
6088
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
6089
|
-
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
6090
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
6085
|
+
JobArn: (0, smithy_client_1.expectString)(output.JobArn),
|
|
6086
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
6087
|
+
JobName: (0, smithy_client_1.expectString)(output.JobName),
|
|
6088
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
6089
|
+
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
6090
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
6091
6091
|
OutputDataConfig: output.OutputDataConfig !== undefined && output.OutputDataConfig !== null
|
|
6092
6092
|
? deserializeAws_json1_1OutputDataConfig(output.OutputDataConfig, context)
|
|
6093
6093
|
: undefined,
|
|
6094
6094
|
SubmitTime: output.SubmitTime !== undefined && output.SubmitTime !== null
|
|
6095
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.SubmitTime)))
|
|
6095
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.SubmitTime)))
|
|
6096
6096
|
: undefined,
|
|
6097
|
-
VolumeKmsKeyId: smithy_client_1.expectString(output.VolumeKmsKeyId),
|
|
6097
|
+
VolumeKmsKeyId: (0, smithy_client_1.expectString)(output.VolumeKmsKeyId),
|
|
6098
6098
|
VpcConfig: output.VpcConfig !== undefined && output.VpcConfig !== null
|
|
6099
6099
|
? deserializeAws_json1_1VpcConfig(output.VpcConfig, context)
|
|
6100
6100
|
: undefined,
|
|
@@ -6113,7 +6113,7 @@ const deserializeAws_json1_1KeyPhrasesDetectionJobPropertiesList = (output, cont
|
|
|
6113
6113
|
};
|
|
6114
6114
|
const deserializeAws_json1_1KmsKeyValidationException = (output, context) => {
|
|
6115
6115
|
return {
|
|
6116
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
6116
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
6117
6117
|
};
|
|
6118
6118
|
};
|
|
6119
6119
|
const deserializeAws_json1_1ListDocumentClassificationJobsResponse = (output, context) => {
|
|
@@ -6122,7 +6122,7 @@ const deserializeAws_json1_1ListDocumentClassificationJobsResponse = (output, co
|
|
|
6122
6122
|
output.DocumentClassificationJobPropertiesList !== null
|
|
6123
6123
|
? deserializeAws_json1_1DocumentClassificationJobPropertiesList(output.DocumentClassificationJobPropertiesList, context)
|
|
6124
6124
|
: undefined,
|
|
6125
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6125
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6126
6126
|
};
|
|
6127
6127
|
};
|
|
6128
6128
|
const deserializeAws_json1_1ListDocumentClassifiersResponse = (output, context) => {
|
|
@@ -6130,7 +6130,7 @@ const deserializeAws_json1_1ListDocumentClassifiersResponse = (output, context)
|
|
|
6130
6130
|
DocumentClassifierPropertiesList: output.DocumentClassifierPropertiesList !== undefined && output.DocumentClassifierPropertiesList !== null
|
|
6131
6131
|
? deserializeAws_json1_1DocumentClassifierPropertiesList(output.DocumentClassifierPropertiesList, context)
|
|
6132
6132
|
: undefined,
|
|
6133
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6133
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6134
6134
|
};
|
|
6135
6135
|
};
|
|
6136
6136
|
const deserializeAws_json1_1ListDocumentClassifierSummariesResponse = (output, context) => {
|
|
@@ -6138,7 +6138,7 @@ const deserializeAws_json1_1ListDocumentClassifierSummariesResponse = (output, c
|
|
|
6138
6138
|
DocumentClassifierSummariesList: output.DocumentClassifierSummariesList !== undefined && output.DocumentClassifierSummariesList !== null
|
|
6139
6139
|
? deserializeAws_json1_1DocumentClassifierSummariesList(output.DocumentClassifierSummariesList, context)
|
|
6140
6140
|
: undefined,
|
|
6141
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6141
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6142
6142
|
};
|
|
6143
6143
|
};
|
|
6144
6144
|
const deserializeAws_json1_1ListDominantLanguageDetectionJobsResponse = (output, context) => {
|
|
@@ -6147,7 +6147,7 @@ const deserializeAws_json1_1ListDominantLanguageDetectionJobsResponse = (output,
|
|
|
6147
6147
|
output.DominantLanguageDetectionJobPropertiesList !== null
|
|
6148
6148
|
? deserializeAws_json1_1DominantLanguageDetectionJobPropertiesList(output.DominantLanguageDetectionJobPropertiesList, context)
|
|
6149
6149
|
: undefined,
|
|
6150
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6150
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6151
6151
|
};
|
|
6152
6152
|
};
|
|
6153
6153
|
const deserializeAws_json1_1ListEndpointsResponse = (output, context) => {
|
|
@@ -6155,7 +6155,7 @@ const deserializeAws_json1_1ListEndpointsResponse = (output, context) => {
|
|
|
6155
6155
|
EndpointPropertiesList: output.EndpointPropertiesList !== undefined && output.EndpointPropertiesList !== null
|
|
6156
6156
|
? deserializeAws_json1_1EndpointPropertiesList(output.EndpointPropertiesList, context)
|
|
6157
6157
|
: undefined,
|
|
6158
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6158
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6159
6159
|
};
|
|
6160
6160
|
};
|
|
6161
6161
|
const deserializeAws_json1_1ListEntitiesDetectionJobsResponse = (output, context) => {
|
|
@@ -6163,7 +6163,7 @@ const deserializeAws_json1_1ListEntitiesDetectionJobsResponse = (output, context
|
|
|
6163
6163
|
EntitiesDetectionJobPropertiesList: output.EntitiesDetectionJobPropertiesList !== undefined && output.EntitiesDetectionJobPropertiesList !== null
|
|
6164
6164
|
? deserializeAws_json1_1EntitiesDetectionJobPropertiesList(output.EntitiesDetectionJobPropertiesList, context)
|
|
6165
6165
|
: undefined,
|
|
6166
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6166
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6167
6167
|
};
|
|
6168
6168
|
};
|
|
6169
6169
|
const deserializeAws_json1_1ListEntityRecognizersResponse = (output, context) => {
|
|
@@ -6171,7 +6171,7 @@ const deserializeAws_json1_1ListEntityRecognizersResponse = (output, context) =>
|
|
|
6171
6171
|
EntityRecognizerPropertiesList: output.EntityRecognizerPropertiesList !== undefined && output.EntityRecognizerPropertiesList !== null
|
|
6172
6172
|
? deserializeAws_json1_1EntityRecognizerPropertiesList(output.EntityRecognizerPropertiesList, context)
|
|
6173
6173
|
: undefined,
|
|
6174
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6174
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6175
6175
|
};
|
|
6176
6176
|
};
|
|
6177
6177
|
const deserializeAws_json1_1ListEntityRecognizerSummariesResponse = (output, context) => {
|
|
@@ -6179,7 +6179,7 @@ const deserializeAws_json1_1ListEntityRecognizerSummariesResponse = (output, con
|
|
|
6179
6179
|
EntityRecognizerSummariesList: output.EntityRecognizerSummariesList !== undefined && output.EntityRecognizerSummariesList !== null
|
|
6180
6180
|
? deserializeAws_json1_1EntityRecognizerSummariesList(output.EntityRecognizerSummariesList, context)
|
|
6181
6181
|
: undefined,
|
|
6182
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6182
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6183
6183
|
};
|
|
6184
6184
|
};
|
|
6185
6185
|
const deserializeAws_json1_1ListEventsDetectionJobsResponse = (output, context) => {
|
|
@@ -6187,7 +6187,7 @@ const deserializeAws_json1_1ListEventsDetectionJobsResponse = (output, context)
|
|
|
6187
6187
|
EventsDetectionJobPropertiesList: output.EventsDetectionJobPropertiesList !== undefined && output.EventsDetectionJobPropertiesList !== null
|
|
6188
6188
|
? deserializeAws_json1_1EventsDetectionJobPropertiesList(output.EventsDetectionJobPropertiesList, context)
|
|
6189
6189
|
: undefined,
|
|
6190
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6190
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6191
6191
|
};
|
|
6192
6192
|
};
|
|
6193
6193
|
const deserializeAws_json1_1ListKeyPhrasesDetectionJobsResponse = (output, context) => {
|
|
@@ -6195,7 +6195,7 @@ const deserializeAws_json1_1ListKeyPhrasesDetectionJobsResponse = (output, conte
|
|
|
6195
6195
|
KeyPhrasesDetectionJobPropertiesList: output.KeyPhrasesDetectionJobPropertiesList !== undefined && output.KeyPhrasesDetectionJobPropertiesList !== null
|
|
6196
6196
|
? deserializeAws_json1_1KeyPhrasesDetectionJobPropertiesList(output.KeyPhrasesDetectionJobPropertiesList, context)
|
|
6197
6197
|
: undefined,
|
|
6198
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6198
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6199
6199
|
};
|
|
6200
6200
|
};
|
|
6201
6201
|
const deserializeAws_json1_1ListOfClasses = (output, context) => {
|
|
@@ -6271,7 +6271,7 @@ const deserializeAws_json1_1ListOfDocumentReadFeatureTypes = (output, context) =
|
|
|
6271
6271
|
if (entry === null) {
|
|
6272
6272
|
return null;
|
|
6273
6273
|
}
|
|
6274
|
-
return smithy_client_1.expectString(entry);
|
|
6274
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6275
6275
|
});
|
|
6276
6276
|
return retVal;
|
|
6277
6277
|
};
|
|
@@ -6348,7 +6348,7 @@ const deserializeAws_json1_1ListOfPiiEntityTypes = (output, context) => {
|
|
|
6348
6348
|
if (entry === null) {
|
|
6349
6349
|
return null;
|
|
6350
6350
|
}
|
|
6351
|
-
return smithy_client_1.expectString(entry);
|
|
6351
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6352
6352
|
});
|
|
6353
6353
|
return retVal;
|
|
6354
6354
|
};
|
|
@@ -6365,7 +6365,7 @@ const deserializeAws_json1_1ListOfSyntaxTokens = (output, context) => {
|
|
|
6365
6365
|
};
|
|
6366
6366
|
const deserializeAws_json1_1ListPiiEntitiesDetectionJobsResponse = (output, context) => {
|
|
6367
6367
|
return {
|
|
6368
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6368
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6369
6369
|
PiiEntitiesDetectionJobPropertiesList: output.PiiEntitiesDetectionJobPropertiesList !== undefined &&
|
|
6370
6370
|
output.PiiEntitiesDetectionJobPropertiesList !== null
|
|
6371
6371
|
? deserializeAws_json1_1PiiEntitiesDetectionJobPropertiesList(output.PiiEntitiesDetectionJobPropertiesList, context)
|
|
@@ -6374,7 +6374,7 @@ const deserializeAws_json1_1ListPiiEntitiesDetectionJobsResponse = (output, cont
|
|
|
6374
6374
|
};
|
|
6375
6375
|
const deserializeAws_json1_1ListSentimentDetectionJobsResponse = (output, context) => {
|
|
6376
6376
|
return {
|
|
6377
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6377
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6378
6378
|
SentimentDetectionJobPropertiesList: output.SentimentDetectionJobPropertiesList !== undefined && output.SentimentDetectionJobPropertiesList !== null
|
|
6379
6379
|
? deserializeAws_json1_1SentimentDetectionJobPropertiesList(output.SentimentDetectionJobPropertiesList, context)
|
|
6380
6380
|
: undefined,
|
|
@@ -6382,7 +6382,7 @@ const deserializeAws_json1_1ListSentimentDetectionJobsResponse = (output, contex
|
|
|
6382
6382
|
};
|
|
6383
6383
|
const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
|
|
6384
6384
|
return {
|
|
6385
|
-
ResourceArn: smithy_client_1.expectString(output.ResourceArn),
|
|
6385
|
+
ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
|
|
6386
6386
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
6387
6387
|
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
6388
6388
|
: undefined,
|
|
@@ -6390,7 +6390,7 @@ const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
|
|
|
6390
6390
|
};
|
|
6391
6391
|
const deserializeAws_json1_1ListTargetedSentimentDetectionJobsResponse = (output, context) => {
|
|
6392
6392
|
return {
|
|
6393
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6393
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6394
6394
|
TargetedSentimentDetectionJobPropertiesList: output.TargetedSentimentDetectionJobPropertiesList !== undefined &&
|
|
6395
6395
|
output.TargetedSentimentDetectionJobPropertiesList !== null
|
|
6396
6396
|
? deserializeAws_json1_1TargetedSentimentDetectionJobPropertiesList(output.TargetedSentimentDetectionJobPropertiesList, context)
|
|
@@ -6399,7 +6399,7 @@ const deserializeAws_json1_1ListTargetedSentimentDetectionJobsResponse = (output
|
|
|
6399
6399
|
};
|
|
6400
6400
|
const deserializeAws_json1_1ListTopicsDetectionJobsResponse = (output, context) => {
|
|
6401
6401
|
return {
|
|
6402
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6402
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
6403
6403
|
TopicsDetectionJobPropertiesList: output.TopicsDetectionJobPropertiesList !== undefined && output.TopicsDetectionJobPropertiesList !== null
|
|
6404
6404
|
? deserializeAws_json1_1TopicsDetectionJobPropertiesList(output.TopicsDetectionJobPropertiesList, context)
|
|
6405
6405
|
: undefined,
|
|
@@ -6407,32 +6407,32 @@ const deserializeAws_json1_1ListTopicsDetectionJobsResponse = (output, context)
|
|
|
6407
6407
|
};
|
|
6408
6408
|
const deserializeAws_json1_1OutputDataConfig = (output, context) => {
|
|
6409
6409
|
return {
|
|
6410
|
-
KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
|
|
6411
|
-
S3Uri: smithy_client_1.expectString(output.S3Uri),
|
|
6410
|
+
KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
|
|
6411
|
+
S3Uri: (0, smithy_client_1.expectString)(output.S3Uri),
|
|
6412
6412
|
};
|
|
6413
6413
|
};
|
|
6414
6414
|
const deserializeAws_json1_1PartOfSpeechTag = (output, context) => {
|
|
6415
6415
|
return {
|
|
6416
|
-
Score: smithy_client_1.limitedParseFloat32(output.Score),
|
|
6417
|
-
Tag: smithy_client_1.expectString(output.Tag),
|
|
6416
|
+
Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
|
|
6417
|
+
Tag: (0, smithy_client_1.expectString)(output.Tag),
|
|
6418
6418
|
};
|
|
6419
6419
|
};
|
|
6420
6420
|
const deserializeAws_json1_1PiiEntitiesDetectionJobProperties = (output, context) => {
|
|
6421
6421
|
return {
|
|
6422
|
-
DataAccessRoleArn: smithy_client_1.expectString(output.DataAccessRoleArn),
|
|
6422
|
+
DataAccessRoleArn: (0, smithy_client_1.expectString)(output.DataAccessRoleArn),
|
|
6423
6423
|
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
6424
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
|
|
6424
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
|
|
6425
6425
|
: undefined,
|
|
6426
6426
|
InputDataConfig: output.InputDataConfig !== undefined && output.InputDataConfig !== null
|
|
6427
6427
|
? deserializeAws_json1_1InputDataConfig(output.InputDataConfig, context)
|
|
6428
6428
|
: undefined,
|
|
6429
|
-
JobArn: smithy_client_1.expectString(output.JobArn),
|
|
6430
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
6431
|
-
JobName: smithy_client_1.expectString(output.JobName),
|
|
6432
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
6433
|
-
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
6434
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
6435
|
-
Mode: smithy_client_1.expectString(output.Mode),
|
|
6429
|
+
JobArn: (0, smithy_client_1.expectString)(output.JobArn),
|
|
6430
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
6431
|
+
JobName: (0, smithy_client_1.expectString)(output.JobName),
|
|
6432
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
6433
|
+
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
6434
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
6435
|
+
Mode: (0, smithy_client_1.expectString)(output.Mode),
|
|
6436
6436
|
OutputDataConfig: output.OutputDataConfig !== undefined && output.OutputDataConfig !== null
|
|
6437
6437
|
? deserializeAws_json1_1PiiOutputDataConfig(output.OutputDataConfig, context)
|
|
6438
6438
|
: undefined,
|
|
@@ -6440,7 +6440,7 @@ const deserializeAws_json1_1PiiEntitiesDetectionJobProperties = (output, context
|
|
|
6440
6440
|
? deserializeAws_json1_1RedactionConfig(output.RedactionConfig, context)
|
|
6441
6441
|
: undefined,
|
|
6442
6442
|
SubmitTime: output.SubmitTime !== undefined && output.SubmitTime !== null
|
|
6443
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.SubmitTime)))
|
|
6443
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.SubmitTime)))
|
|
6444
6444
|
: undefined,
|
|
6445
6445
|
};
|
|
6446
6446
|
};
|
|
@@ -6457,27 +6457,27 @@ const deserializeAws_json1_1PiiEntitiesDetectionJobPropertiesList = (output, con
|
|
|
6457
6457
|
};
|
|
6458
6458
|
const deserializeAws_json1_1PiiEntity = (output, context) => {
|
|
6459
6459
|
return {
|
|
6460
|
-
BeginOffset: smithy_client_1.expectInt32(output.BeginOffset),
|
|
6461
|
-
EndOffset: smithy_client_1.expectInt32(output.EndOffset),
|
|
6462
|
-
Score: smithy_client_1.limitedParseFloat32(output.Score),
|
|
6463
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
6460
|
+
BeginOffset: (0, smithy_client_1.expectInt32)(output.BeginOffset),
|
|
6461
|
+
EndOffset: (0, smithy_client_1.expectInt32)(output.EndOffset),
|
|
6462
|
+
Score: (0, smithy_client_1.limitedParseFloat32)(output.Score),
|
|
6463
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
6464
6464
|
};
|
|
6465
6465
|
};
|
|
6466
6466
|
const deserializeAws_json1_1PiiOutputDataConfig = (output, context) => {
|
|
6467
6467
|
return {
|
|
6468
|
-
KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
|
|
6469
|
-
S3Uri: smithy_client_1.expectString(output.S3Uri),
|
|
6468
|
+
KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
|
|
6469
|
+
S3Uri: (0, smithy_client_1.expectString)(output.S3Uri),
|
|
6470
6470
|
};
|
|
6471
6471
|
};
|
|
6472
6472
|
const deserializeAws_json1_1PutResourcePolicyResponse = (output, context) => {
|
|
6473
6473
|
return {
|
|
6474
|
-
PolicyRevisionId: smithy_client_1.expectString(output.PolicyRevisionId),
|
|
6474
|
+
PolicyRevisionId: (0, smithy_client_1.expectString)(output.PolicyRevisionId),
|
|
6475
6475
|
};
|
|
6476
6476
|
};
|
|
6477
6477
|
const deserializeAws_json1_1RedactionConfig = (output, context) => {
|
|
6478
6478
|
return {
|
|
6479
|
-
MaskCharacter: smithy_client_1.expectString(output.MaskCharacter),
|
|
6480
|
-
MaskMode: smithy_client_1.expectString(output.MaskMode),
|
|
6479
|
+
MaskCharacter: (0, smithy_client_1.expectString)(output.MaskCharacter),
|
|
6480
|
+
MaskMode: (0, smithy_client_1.expectString)(output.MaskMode),
|
|
6481
6481
|
PiiEntityTypes: output.PiiEntityTypes !== undefined && output.PiiEntityTypes !== null
|
|
6482
6482
|
? deserializeAws_json1_1ListOfPiiEntityTypes(output.PiiEntityTypes, context)
|
|
6483
6483
|
: undefined,
|
|
@@ -6485,22 +6485,22 @@ const deserializeAws_json1_1RedactionConfig = (output, context) => {
|
|
|
6485
6485
|
};
|
|
6486
6486
|
const deserializeAws_json1_1ResourceInUseException = (output, context) => {
|
|
6487
6487
|
return {
|
|
6488
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
6488
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
6489
6489
|
};
|
|
6490
6490
|
};
|
|
6491
6491
|
const deserializeAws_json1_1ResourceLimitExceededException = (output, context) => {
|
|
6492
6492
|
return {
|
|
6493
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
6493
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
6494
6494
|
};
|
|
6495
6495
|
};
|
|
6496
6496
|
const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
|
|
6497
6497
|
return {
|
|
6498
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
6498
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
6499
6499
|
};
|
|
6500
6500
|
};
|
|
6501
6501
|
const deserializeAws_json1_1ResourceUnavailableException = (output, context) => {
|
|
6502
6502
|
return {
|
|
6503
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
6503
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
6504
6504
|
};
|
|
6505
6505
|
};
|
|
6506
6506
|
const deserializeAws_json1_1SecurityGroupIds = (output, context) => {
|
|
@@ -6510,32 +6510,32 @@ const deserializeAws_json1_1SecurityGroupIds = (output, context) => {
|
|
|
6510
6510
|
if (entry === null) {
|
|
6511
6511
|
return null;
|
|
6512
6512
|
}
|
|
6513
|
-
return smithy_client_1.expectString(entry);
|
|
6513
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6514
6514
|
});
|
|
6515
6515
|
return retVal;
|
|
6516
6516
|
};
|
|
6517
6517
|
const deserializeAws_json1_1SentimentDetectionJobProperties = (output, context) => {
|
|
6518
6518
|
return {
|
|
6519
|
-
DataAccessRoleArn: smithy_client_1.expectString(output.DataAccessRoleArn),
|
|
6519
|
+
DataAccessRoleArn: (0, smithy_client_1.expectString)(output.DataAccessRoleArn),
|
|
6520
6520
|
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
6521
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
|
|
6521
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
|
|
6522
6522
|
: undefined,
|
|
6523
6523
|
InputDataConfig: output.InputDataConfig !== undefined && output.InputDataConfig !== null
|
|
6524
6524
|
? deserializeAws_json1_1InputDataConfig(output.InputDataConfig, context)
|
|
6525
6525
|
: undefined,
|
|
6526
|
-
JobArn: smithy_client_1.expectString(output.JobArn),
|
|
6527
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
6528
|
-
JobName: smithy_client_1.expectString(output.JobName),
|
|
6529
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
6530
|
-
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
6531
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
6526
|
+
JobArn: (0, smithy_client_1.expectString)(output.JobArn),
|
|
6527
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
6528
|
+
JobName: (0, smithy_client_1.expectString)(output.JobName),
|
|
6529
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
6530
|
+
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
6531
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
6532
6532
|
OutputDataConfig: output.OutputDataConfig !== undefined && output.OutputDataConfig !== null
|
|
6533
6533
|
? deserializeAws_json1_1OutputDataConfig(output.OutputDataConfig, context)
|
|
6534
6534
|
: undefined,
|
|
6535
6535
|
SubmitTime: output.SubmitTime !== undefined && output.SubmitTime !== null
|
|
6536
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.SubmitTime)))
|
|
6536
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.SubmitTime)))
|
|
6537
6537
|
: undefined,
|
|
6538
|
-
VolumeKmsKeyId: smithy_client_1.expectString(output.VolumeKmsKeyId),
|
|
6538
|
+
VolumeKmsKeyId: (0, smithy_client_1.expectString)(output.VolumeKmsKeyId),
|
|
6539
6539
|
VpcConfig: output.VpcConfig !== undefined && output.VpcConfig !== null
|
|
6540
6540
|
? deserializeAws_json1_1VpcConfig(output.VpcConfig, context)
|
|
6541
6541
|
: undefined,
|
|
@@ -6554,115 +6554,115 @@ const deserializeAws_json1_1SentimentDetectionJobPropertiesList = (output, conte
|
|
|
6554
6554
|
};
|
|
6555
6555
|
const deserializeAws_json1_1SentimentScore = (output, context) => {
|
|
6556
6556
|
return {
|
|
6557
|
-
Mixed: smithy_client_1.limitedParseFloat32(output.Mixed),
|
|
6558
|
-
Negative: smithy_client_1.limitedParseFloat32(output.Negative),
|
|
6559
|
-
Neutral: smithy_client_1.limitedParseFloat32(output.Neutral),
|
|
6560
|
-
Positive: smithy_client_1.limitedParseFloat32(output.Positive),
|
|
6557
|
+
Mixed: (0, smithy_client_1.limitedParseFloat32)(output.Mixed),
|
|
6558
|
+
Negative: (0, smithy_client_1.limitedParseFloat32)(output.Negative),
|
|
6559
|
+
Neutral: (0, smithy_client_1.limitedParseFloat32)(output.Neutral),
|
|
6560
|
+
Positive: (0, smithy_client_1.limitedParseFloat32)(output.Positive),
|
|
6561
6561
|
};
|
|
6562
6562
|
};
|
|
6563
6563
|
const deserializeAws_json1_1StartDocumentClassificationJobResponse = (output, context) => {
|
|
6564
6564
|
return {
|
|
6565
|
-
JobArn: smithy_client_1.expectString(output.JobArn),
|
|
6566
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
6567
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
6565
|
+
JobArn: (0, smithy_client_1.expectString)(output.JobArn),
|
|
6566
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
6567
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
6568
6568
|
};
|
|
6569
6569
|
};
|
|
6570
6570
|
const deserializeAws_json1_1StartDominantLanguageDetectionJobResponse = (output, context) => {
|
|
6571
6571
|
return {
|
|
6572
|
-
JobArn: smithy_client_1.expectString(output.JobArn),
|
|
6573
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
6574
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
6572
|
+
JobArn: (0, smithy_client_1.expectString)(output.JobArn),
|
|
6573
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
6574
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
6575
6575
|
};
|
|
6576
6576
|
};
|
|
6577
6577
|
const deserializeAws_json1_1StartEntitiesDetectionJobResponse = (output, context) => {
|
|
6578
6578
|
return {
|
|
6579
|
-
JobArn: smithy_client_1.expectString(output.JobArn),
|
|
6580
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
6581
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
6579
|
+
JobArn: (0, smithy_client_1.expectString)(output.JobArn),
|
|
6580
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
6581
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
6582
6582
|
};
|
|
6583
6583
|
};
|
|
6584
6584
|
const deserializeAws_json1_1StartEventsDetectionJobResponse = (output, context) => {
|
|
6585
6585
|
return {
|
|
6586
|
-
JobArn: smithy_client_1.expectString(output.JobArn),
|
|
6587
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
6588
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
6586
|
+
JobArn: (0, smithy_client_1.expectString)(output.JobArn),
|
|
6587
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
6588
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
6589
6589
|
};
|
|
6590
6590
|
};
|
|
6591
6591
|
const deserializeAws_json1_1StartKeyPhrasesDetectionJobResponse = (output, context) => {
|
|
6592
6592
|
return {
|
|
6593
|
-
JobArn: smithy_client_1.expectString(output.JobArn),
|
|
6594
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
6595
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
6593
|
+
JobArn: (0, smithy_client_1.expectString)(output.JobArn),
|
|
6594
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
6595
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
6596
6596
|
};
|
|
6597
6597
|
};
|
|
6598
6598
|
const deserializeAws_json1_1StartPiiEntitiesDetectionJobResponse = (output, context) => {
|
|
6599
6599
|
return {
|
|
6600
|
-
JobArn: smithy_client_1.expectString(output.JobArn),
|
|
6601
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
6602
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
6600
|
+
JobArn: (0, smithy_client_1.expectString)(output.JobArn),
|
|
6601
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
6602
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
6603
6603
|
};
|
|
6604
6604
|
};
|
|
6605
6605
|
const deserializeAws_json1_1StartSentimentDetectionJobResponse = (output, context) => {
|
|
6606
6606
|
return {
|
|
6607
|
-
JobArn: smithy_client_1.expectString(output.JobArn),
|
|
6608
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
6609
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
6607
|
+
JobArn: (0, smithy_client_1.expectString)(output.JobArn),
|
|
6608
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
6609
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
6610
6610
|
};
|
|
6611
6611
|
};
|
|
6612
6612
|
const deserializeAws_json1_1StartTargetedSentimentDetectionJobResponse = (output, context) => {
|
|
6613
6613
|
return {
|
|
6614
|
-
JobArn: smithy_client_1.expectString(output.JobArn),
|
|
6615
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
6616
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
6614
|
+
JobArn: (0, smithy_client_1.expectString)(output.JobArn),
|
|
6615
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
6616
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
6617
6617
|
};
|
|
6618
6618
|
};
|
|
6619
6619
|
const deserializeAws_json1_1StartTopicsDetectionJobResponse = (output, context) => {
|
|
6620
6620
|
return {
|
|
6621
|
-
JobArn: smithy_client_1.expectString(output.JobArn),
|
|
6622
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
6623
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
6621
|
+
JobArn: (0, smithy_client_1.expectString)(output.JobArn),
|
|
6622
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
6623
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
6624
6624
|
};
|
|
6625
6625
|
};
|
|
6626
6626
|
const deserializeAws_json1_1StopDominantLanguageDetectionJobResponse = (output, context) => {
|
|
6627
6627
|
return {
|
|
6628
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
6629
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
6628
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
6629
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
6630
6630
|
};
|
|
6631
6631
|
};
|
|
6632
6632
|
const deserializeAws_json1_1StopEntitiesDetectionJobResponse = (output, context) => {
|
|
6633
6633
|
return {
|
|
6634
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
6635
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
6634
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
6635
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
6636
6636
|
};
|
|
6637
6637
|
};
|
|
6638
6638
|
const deserializeAws_json1_1StopEventsDetectionJobResponse = (output, context) => {
|
|
6639
6639
|
return {
|
|
6640
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
6641
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
6640
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
6641
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
6642
6642
|
};
|
|
6643
6643
|
};
|
|
6644
6644
|
const deserializeAws_json1_1StopKeyPhrasesDetectionJobResponse = (output, context) => {
|
|
6645
6645
|
return {
|
|
6646
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
6647
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
6646
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
6647
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
6648
6648
|
};
|
|
6649
6649
|
};
|
|
6650
6650
|
const deserializeAws_json1_1StopPiiEntitiesDetectionJobResponse = (output, context) => {
|
|
6651
6651
|
return {
|
|
6652
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
6653
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
6652
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
6653
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
6654
6654
|
};
|
|
6655
6655
|
};
|
|
6656
6656
|
const deserializeAws_json1_1StopSentimentDetectionJobResponse = (output, context) => {
|
|
6657
6657
|
return {
|
|
6658
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
6659
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
6658
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
6659
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
6660
6660
|
};
|
|
6661
6661
|
};
|
|
6662
6662
|
const deserializeAws_json1_1StopTargetedSentimentDetectionJobResponse = (output, context) => {
|
|
6663
6663
|
return {
|
|
6664
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
6665
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
6664
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
6665
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
6666
6666
|
};
|
|
6667
6667
|
};
|
|
6668
6668
|
const deserializeAws_json1_1StopTrainingDocumentClassifierResponse = (output, context) => {
|
|
@@ -6678,25 +6678,25 @@ const deserializeAws_json1_1Subnets = (output, context) => {
|
|
|
6678
6678
|
if (entry === null) {
|
|
6679
6679
|
return null;
|
|
6680
6680
|
}
|
|
6681
|
-
return smithy_client_1.expectString(entry);
|
|
6681
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6682
6682
|
});
|
|
6683
6683
|
return retVal;
|
|
6684
6684
|
};
|
|
6685
6685
|
const deserializeAws_json1_1SyntaxToken = (output, context) => {
|
|
6686
6686
|
return {
|
|
6687
|
-
BeginOffset: smithy_client_1.expectInt32(output.BeginOffset),
|
|
6688
|
-
EndOffset: smithy_client_1.expectInt32(output.EndOffset),
|
|
6687
|
+
BeginOffset: (0, smithy_client_1.expectInt32)(output.BeginOffset),
|
|
6688
|
+
EndOffset: (0, smithy_client_1.expectInt32)(output.EndOffset),
|
|
6689
6689
|
PartOfSpeech: output.PartOfSpeech !== undefined && output.PartOfSpeech !== null
|
|
6690
6690
|
? deserializeAws_json1_1PartOfSpeechTag(output.PartOfSpeech, context)
|
|
6691
6691
|
: undefined,
|
|
6692
|
-
Text: smithy_client_1.expectString(output.Text),
|
|
6693
|
-
TokenId: smithy_client_1.expectInt32(output.TokenId),
|
|
6692
|
+
Text: (0, smithy_client_1.expectString)(output.Text),
|
|
6693
|
+
TokenId: (0, smithy_client_1.expectInt32)(output.TokenId),
|
|
6694
6694
|
};
|
|
6695
6695
|
};
|
|
6696
6696
|
const deserializeAws_json1_1Tag = (output, context) => {
|
|
6697
6697
|
return {
|
|
6698
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
6699
|
-
Value: smithy_client_1.expectString(output.Value),
|
|
6698
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
6699
|
+
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
6700
6700
|
};
|
|
6701
6701
|
};
|
|
6702
6702
|
const deserializeAws_json1_1TagList = (output, context) => {
|
|
@@ -6715,26 +6715,26 @@ const deserializeAws_json1_1TagResourceResponse = (output, context) => {
|
|
|
6715
6715
|
};
|
|
6716
6716
|
const deserializeAws_json1_1TargetedSentimentDetectionJobProperties = (output, context) => {
|
|
6717
6717
|
return {
|
|
6718
|
-
DataAccessRoleArn: smithy_client_1.expectString(output.DataAccessRoleArn),
|
|
6718
|
+
DataAccessRoleArn: (0, smithy_client_1.expectString)(output.DataAccessRoleArn),
|
|
6719
6719
|
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
6720
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
|
|
6720
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
|
|
6721
6721
|
: undefined,
|
|
6722
6722
|
InputDataConfig: output.InputDataConfig !== undefined && output.InputDataConfig !== null
|
|
6723
6723
|
? deserializeAws_json1_1InputDataConfig(output.InputDataConfig, context)
|
|
6724
6724
|
: undefined,
|
|
6725
|
-
JobArn: smithy_client_1.expectString(output.JobArn),
|
|
6726
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
6727
|
-
JobName: smithy_client_1.expectString(output.JobName),
|
|
6728
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
6729
|
-
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
6730
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
6725
|
+
JobArn: (0, smithy_client_1.expectString)(output.JobArn),
|
|
6726
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
6727
|
+
JobName: (0, smithy_client_1.expectString)(output.JobName),
|
|
6728
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
6729
|
+
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
6730
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
6731
6731
|
OutputDataConfig: output.OutputDataConfig !== undefined && output.OutputDataConfig !== null
|
|
6732
6732
|
? deserializeAws_json1_1OutputDataConfig(output.OutputDataConfig, context)
|
|
6733
6733
|
: undefined,
|
|
6734
6734
|
SubmitTime: output.SubmitTime !== undefined && output.SubmitTime !== null
|
|
6735
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.SubmitTime)))
|
|
6735
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.SubmitTime)))
|
|
6736
6736
|
: undefined,
|
|
6737
|
-
VolumeKmsKeyId: smithy_client_1.expectString(output.VolumeKmsKeyId),
|
|
6737
|
+
VolumeKmsKeyId: (0, smithy_client_1.expectString)(output.VolumeKmsKeyId),
|
|
6738
6738
|
VpcConfig: output.VpcConfig !== undefined && output.VpcConfig !== null
|
|
6739
6739
|
? deserializeAws_json1_1VpcConfig(output.VpcConfig, context)
|
|
6740
6740
|
: undefined,
|
|
@@ -6758,52 +6758,52 @@ const deserializeAws_json1_1TargetEventTypes = (output, context) => {
|
|
|
6758
6758
|
if (entry === null) {
|
|
6759
6759
|
return null;
|
|
6760
6760
|
}
|
|
6761
|
-
return smithy_client_1.expectString(entry);
|
|
6761
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6762
6762
|
});
|
|
6763
6763
|
return retVal;
|
|
6764
6764
|
};
|
|
6765
6765
|
const deserializeAws_json1_1TextSizeLimitExceededException = (output, context) => {
|
|
6766
6766
|
return {
|
|
6767
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
6767
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
6768
6768
|
};
|
|
6769
6769
|
};
|
|
6770
6770
|
const deserializeAws_json1_1TooManyRequestsException = (output, context) => {
|
|
6771
6771
|
return {
|
|
6772
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
6772
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
6773
6773
|
};
|
|
6774
6774
|
};
|
|
6775
6775
|
const deserializeAws_json1_1TooManyTagKeysException = (output, context) => {
|
|
6776
6776
|
return {
|
|
6777
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
6777
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
6778
6778
|
};
|
|
6779
6779
|
};
|
|
6780
6780
|
const deserializeAws_json1_1TooManyTagsException = (output, context) => {
|
|
6781
6781
|
return {
|
|
6782
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
6782
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
6783
6783
|
};
|
|
6784
6784
|
};
|
|
6785
6785
|
const deserializeAws_json1_1TopicsDetectionJobProperties = (output, context) => {
|
|
6786
6786
|
return {
|
|
6787
|
-
DataAccessRoleArn: smithy_client_1.expectString(output.DataAccessRoleArn),
|
|
6787
|
+
DataAccessRoleArn: (0, smithy_client_1.expectString)(output.DataAccessRoleArn),
|
|
6788
6788
|
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
6789
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
|
|
6789
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
|
|
6790
6790
|
: undefined,
|
|
6791
6791
|
InputDataConfig: output.InputDataConfig !== undefined && output.InputDataConfig !== null
|
|
6792
6792
|
? deserializeAws_json1_1InputDataConfig(output.InputDataConfig, context)
|
|
6793
6793
|
: undefined,
|
|
6794
|
-
JobArn: smithy_client_1.expectString(output.JobArn),
|
|
6795
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
6796
|
-
JobName: smithy_client_1.expectString(output.JobName),
|
|
6797
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
6798
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
6799
|
-
NumberOfTopics: smithy_client_1.expectInt32(output.NumberOfTopics),
|
|
6794
|
+
JobArn: (0, smithy_client_1.expectString)(output.JobArn),
|
|
6795
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
6796
|
+
JobName: (0, smithy_client_1.expectString)(output.JobName),
|
|
6797
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
6798
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
6799
|
+
NumberOfTopics: (0, smithy_client_1.expectInt32)(output.NumberOfTopics),
|
|
6800
6800
|
OutputDataConfig: output.OutputDataConfig !== undefined && output.OutputDataConfig !== null
|
|
6801
6801
|
? deserializeAws_json1_1OutputDataConfig(output.OutputDataConfig, context)
|
|
6802
6802
|
: undefined,
|
|
6803
6803
|
SubmitTime: output.SubmitTime !== undefined && output.SubmitTime !== null
|
|
6804
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.SubmitTime)))
|
|
6804
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.SubmitTime)))
|
|
6805
6805
|
: undefined,
|
|
6806
|
-
VolumeKmsKeyId: smithy_client_1.expectString(output.VolumeKmsKeyId),
|
|
6806
|
+
VolumeKmsKeyId: (0, smithy_client_1.expectString)(output.VolumeKmsKeyId),
|
|
6807
6807
|
VpcConfig: output.VpcConfig !== undefined && output.VpcConfig !== null
|
|
6808
6808
|
? deserializeAws_json1_1VpcConfig(output.VpcConfig, context)
|
|
6809
6809
|
: undefined,
|
|
@@ -6822,7 +6822,7 @@ const deserializeAws_json1_1TopicsDetectionJobPropertiesList = (output, context)
|
|
|
6822
6822
|
};
|
|
6823
6823
|
const deserializeAws_json1_1UnsupportedLanguageException = (output, context) => {
|
|
6824
6824
|
return {
|
|
6825
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
6825
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
6826
6826
|
};
|
|
6827
6827
|
};
|
|
6828
6828
|
const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
|