@aws-sdk/client-rekognition 3.53.0 → 3.55.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/RekognitionClient.js +13 -13
- package/dist-cjs/commands/CompareFacesCommand.js +3 -3
- package/dist-cjs/commands/CreateCollectionCommand.js +3 -3
- package/dist-cjs/commands/CreateDatasetCommand.js +3 -3
- package/dist-cjs/commands/CreateProjectCommand.js +3 -3
- package/dist-cjs/commands/CreateProjectVersionCommand.js +3 -3
- package/dist-cjs/commands/CreateStreamProcessorCommand.js +3 -3
- package/dist-cjs/commands/DeleteCollectionCommand.js +3 -3
- package/dist-cjs/commands/DeleteDatasetCommand.js +3 -3
- package/dist-cjs/commands/DeleteFacesCommand.js +3 -3
- package/dist-cjs/commands/DeleteProjectCommand.js +3 -3
- package/dist-cjs/commands/DeleteProjectVersionCommand.js +3 -3
- package/dist-cjs/commands/DeleteStreamProcessorCommand.js +3 -3
- package/dist-cjs/commands/DescribeCollectionCommand.js +3 -3
- package/dist-cjs/commands/DescribeDatasetCommand.js +3 -3
- package/dist-cjs/commands/DescribeProjectVersionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeProjectsCommand.js +3 -3
- package/dist-cjs/commands/DescribeStreamProcessorCommand.js +3 -3
- package/dist-cjs/commands/DetectCustomLabelsCommand.js +3 -3
- package/dist-cjs/commands/DetectFacesCommand.js +3 -3
- package/dist-cjs/commands/DetectLabelsCommand.js +3 -3
- package/dist-cjs/commands/DetectModerationLabelsCommand.js +3 -3
- package/dist-cjs/commands/DetectProtectiveEquipmentCommand.js +3 -3
- package/dist-cjs/commands/DetectTextCommand.js +3 -3
- package/dist-cjs/commands/DistributeDatasetEntriesCommand.js +3 -3
- package/dist-cjs/commands/GetCelebrityInfoCommand.js +3 -3
- package/dist-cjs/commands/GetCelebrityRecognitionCommand.js +3 -3
- package/dist-cjs/commands/GetContentModerationCommand.js +3 -3
- package/dist-cjs/commands/GetFaceDetectionCommand.js +3 -3
- package/dist-cjs/commands/GetFaceSearchCommand.js +3 -3
- package/dist-cjs/commands/GetLabelDetectionCommand.js +3 -3
- package/dist-cjs/commands/GetPersonTrackingCommand.js +3 -3
- package/dist-cjs/commands/GetSegmentDetectionCommand.js +3 -3
- package/dist-cjs/commands/GetTextDetectionCommand.js +3 -3
- package/dist-cjs/commands/IndexFacesCommand.js +3 -3
- package/dist-cjs/commands/ListCollectionsCommand.js +3 -3
- package/dist-cjs/commands/ListDatasetEntriesCommand.js +3 -3
- package/dist-cjs/commands/ListDatasetLabelsCommand.js +3 -3
- package/dist-cjs/commands/ListFacesCommand.js +3 -3
- package/dist-cjs/commands/ListStreamProcessorsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/RecognizeCelebritiesCommand.js +3 -3
- package/dist-cjs/commands/SearchFacesByImageCommand.js +3 -3
- package/dist-cjs/commands/SearchFacesCommand.js +3 -3
- package/dist-cjs/commands/StartCelebrityRecognitionCommand.js +3 -3
- package/dist-cjs/commands/StartContentModerationCommand.js +3 -3
- package/dist-cjs/commands/StartFaceDetectionCommand.js +3 -3
- package/dist-cjs/commands/StartFaceSearchCommand.js +3 -3
- package/dist-cjs/commands/StartLabelDetectionCommand.js +3 -3
- package/dist-cjs/commands/StartPersonTrackingCommand.js +3 -3
- package/dist-cjs/commands/StartProjectVersionCommand.js +3 -3
- package/dist-cjs/commands/StartSegmentDetectionCommand.js +3 -3
- package/dist-cjs/commands/StartStreamProcessorCommand.js +3 -3
- package/dist-cjs/commands/StartTextDetectionCommand.js +3 -3
- package/dist-cjs/commands/StopProjectVersionCommand.js +3 -3
- package/dist-cjs/commands/StopStreamProcessorCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateDatasetEntriesCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_1.js +397 -397
- 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-cjs/waiters/waitForProjectVersionRunning.js +3 -3
- package/dist-cjs/waiters/waitForProjectVersionTrainingCompleted.js +3 -3
- package/dist-es/Rekognition.js +58 -58
- package/dist-es/pagination/DescribeProjectVersionsPaginator.js +4 -4
- package/dist-es/pagination/DescribeProjectsPaginator.js +4 -4
- package/dist-es/pagination/GetCelebrityRecognitionPaginator.js +4 -4
- package/dist-es/pagination/GetContentModerationPaginator.js +4 -4
- package/dist-es/pagination/GetFaceDetectionPaginator.js +4 -4
- package/dist-es/pagination/GetFaceSearchPaginator.js +4 -4
- package/dist-es/pagination/GetLabelDetectionPaginator.js +4 -4
- package/dist-es/pagination/GetPersonTrackingPaginator.js +4 -4
- package/dist-es/pagination/GetSegmentDetectionPaginator.js +4 -4
- package/dist-es/pagination/GetTextDetectionPaginator.js +4 -4
- package/dist-es/pagination/ListCollectionsPaginator.js +4 -4
- package/dist-es/pagination/ListDatasetEntriesPaginator.js +4 -4
- package/dist-es/pagination/ListDatasetLabelsPaginator.js +4 -4
- package/dist-es/pagination/ListFacesPaginator.js +4 -4
- package/dist-es/pagination/ListStreamProcessorsPaginator.js +4 -4
- package/dist-es/waiters/waitForProjectVersionRunning.js +2 -2
- package/dist-es/waiters/waitForProjectVersionTrainingCompleted.js +2 -2
- package/dist-types/RekognitionClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/RekognitionClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +35 -35
|
@@ -641,7 +641,7 @@ const deserializeAws_json1_1CompareFacesCommandError = async (output, context) =
|
|
|
641
641
|
$fault: "client",
|
|
642
642
|
$metadata: deserializeMetadata(output),
|
|
643
643
|
});
|
|
644
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
644
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
645
645
|
}
|
|
646
646
|
};
|
|
647
647
|
const deserializeAws_json1_1CreateCollectionCommand = async (output, context) => {
|
|
@@ -695,7 +695,7 @@ const deserializeAws_json1_1CreateCollectionCommandError = async (output, contex
|
|
|
695
695
|
$fault: "client",
|
|
696
696
|
$metadata: deserializeMetadata(output),
|
|
697
697
|
});
|
|
698
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
698
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
699
699
|
}
|
|
700
700
|
};
|
|
701
701
|
const deserializeAws_json1_1CreateDatasetCommand = async (output, context) => {
|
|
@@ -755,7 +755,7 @@ const deserializeAws_json1_1CreateDatasetCommandError = async (output, context)
|
|
|
755
755
|
$fault: "client",
|
|
756
756
|
$metadata: deserializeMetadata(output),
|
|
757
757
|
});
|
|
758
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
758
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
759
759
|
}
|
|
760
760
|
};
|
|
761
761
|
const deserializeAws_json1_1CreateProjectCommand = async (output, context) => {
|
|
@@ -809,7 +809,7 @@ const deserializeAws_json1_1CreateProjectCommandError = async (output, context)
|
|
|
809
809
|
$fault: "client",
|
|
810
810
|
$metadata: deserializeMetadata(output),
|
|
811
811
|
});
|
|
812
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
812
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
813
813
|
}
|
|
814
814
|
};
|
|
815
815
|
const deserializeAws_json1_1CreateProjectVersionCommand = async (output, context) => {
|
|
@@ -869,7 +869,7 @@ const deserializeAws_json1_1CreateProjectVersionCommandError = async (output, co
|
|
|
869
869
|
$fault: "client",
|
|
870
870
|
$metadata: deserializeMetadata(output),
|
|
871
871
|
});
|
|
872
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
872
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
873
873
|
}
|
|
874
874
|
};
|
|
875
875
|
const deserializeAws_json1_1CreateStreamProcessorCommand = async (output, context) => {
|
|
@@ -926,7 +926,7 @@ const deserializeAws_json1_1CreateStreamProcessorCommandError = async (output, c
|
|
|
926
926
|
$fault: "client",
|
|
927
927
|
$metadata: deserializeMetadata(output),
|
|
928
928
|
});
|
|
929
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
929
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
930
930
|
}
|
|
931
931
|
};
|
|
932
932
|
const deserializeAws_json1_1DeleteCollectionCommand = async (output, context) => {
|
|
@@ -977,7 +977,7 @@ const deserializeAws_json1_1DeleteCollectionCommandError = async (output, contex
|
|
|
977
977
|
$fault: "client",
|
|
978
978
|
$metadata: deserializeMetadata(output),
|
|
979
979
|
});
|
|
980
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
980
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
981
981
|
}
|
|
982
982
|
};
|
|
983
983
|
const deserializeAws_json1_1DeleteDatasetCommand = async (output, context) => {
|
|
@@ -1034,7 +1034,7 @@ const deserializeAws_json1_1DeleteDatasetCommandError = async (output, context)
|
|
|
1034
1034
|
$fault: "client",
|
|
1035
1035
|
$metadata: deserializeMetadata(output),
|
|
1036
1036
|
});
|
|
1037
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1037
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1038
1038
|
}
|
|
1039
1039
|
};
|
|
1040
1040
|
const deserializeAws_json1_1DeleteFacesCommand = async (output, context) => {
|
|
@@ -1085,7 +1085,7 @@ const deserializeAws_json1_1DeleteFacesCommandError = async (output, context) =>
|
|
|
1085
1085
|
$fault: "client",
|
|
1086
1086
|
$metadata: deserializeMetadata(output),
|
|
1087
1087
|
});
|
|
1088
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1088
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1089
1089
|
}
|
|
1090
1090
|
};
|
|
1091
1091
|
const deserializeAws_json1_1DeleteProjectCommand = async (output, context) => {
|
|
@@ -1139,7 +1139,7 @@ const deserializeAws_json1_1DeleteProjectCommandError = async (output, context)
|
|
|
1139
1139
|
$fault: "client",
|
|
1140
1140
|
$metadata: deserializeMetadata(output),
|
|
1141
1141
|
});
|
|
1142
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1142
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1143
1143
|
}
|
|
1144
1144
|
};
|
|
1145
1145
|
const deserializeAws_json1_1DeleteProjectVersionCommand = async (output, context) => {
|
|
@@ -1193,7 +1193,7 @@ const deserializeAws_json1_1DeleteProjectVersionCommandError = async (output, co
|
|
|
1193
1193
|
$fault: "client",
|
|
1194
1194
|
$metadata: deserializeMetadata(output),
|
|
1195
1195
|
});
|
|
1196
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1196
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1197
1197
|
}
|
|
1198
1198
|
};
|
|
1199
1199
|
const deserializeAws_json1_1DeleteStreamProcessorCommand = async (output, context) => {
|
|
@@ -1247,7 +1247,7 @@ const deserializeAws_json1_1DeleteStreamProcessorCommandError = async (output, c
|
|
|
1247
1247
|
$fault: "client",
|
|
1248
1248
|
$metadata: deserializeMetadata(output),
|
|
1249
1249
|
});
|
|
1250
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1250
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1251
1251
|
}
|
|
1252
1252
|
};
|
|
1253
1253
|
const deserializeAws_json1_1DescribeCollectionCommand = async (output, context) => {
|
|
@@ -1298,7 +1298,7 @@ const deserializeAws_json1_1DescribeCollectionCommandError = async (output, cont
|
|
|
1298
1298
|
$fault: "client",
|
|
1299
1299
|
$metadata: deserializeMetadata(output),
|
|
1300
1300
|
});
|
|
1301
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1301
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1302
1302
|
}
|
|
1303
1303
|
};
|
|
1304
1304
|
const deserializeAws_json1_1DescribeDatasetCommand = async (output, context) => {
|
|
@@ -1349,7 +1349,7 @@ const deserializeAws_json1_1DescribeDatasetCommandError = async (output, context
|
|
|
1349
1349
|
$fault: "client",
|
|
1350
1350
|
$metadata: deserializeMetadata(output),
|
|
1351
1351
|
});
|
|
1352
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1352
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1353
1353
|
}
|
|
1354
1354
|
};
|
|
1355
1355
|
const deserializeAws_json1_1DescribeProjectsCommand = async (output, context) => {
|
|
@@ -1400,7 +1400,7 @@ const deserializeAws_json1_1DescribeProjectsCommandError = async (output, contex
|
|
|
1400
1400
|
$fault: "client",
|
|
1401
1401
|
$metadata: deserializeMetadata(output),
|
|
1402
1402
|
});
|
|
1403
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1403
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1404
1404
|
}
|
|
1405
1405
|
};
|
|
1406
1406
|
const deserializeAws_json1_1DescribeProjectVersionsCommand = async (output, context) => {
|
|
@@ -1454,7 +1454,7 @@ const deserializeAws_json1_1DescribeProjectVersionsCommandError = async (output,
|
|
|
1454
1454
|
$fault: "client",
|
|
1455
1455
|
$metadata: deserializeMetadata(output),
|
|
1456
1456
|
});
|
|
1457
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1457
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1458
1458
|
}
|
|
1459
1459
|
};
|
|
1460
1460
|
const deserializeAws_json1_1DescribeStreamProcessorCommand = async (output, context) => {
|
|
@@ -1505,7 +1505,7 @@ const deserializeAws_json1_1DescribeStreamProcessorCommandError = async (output,
|
|
|
1505
1505
|
$fault: "client",
|
|
1506
1506
|
$metadata: deserializeMetadata(output),
|
|
1507
1507
|
});
|
|
1508
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1508
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1509
1509
|
}
|
|
1510
1510
|
};
|
|
1511
1511
|
const deserializeAws_json1_1DetectCustomLabelsCommand = async (output, context) => {
|
|
@@ -1571,7 +1571,7 @@ const deserializeAws_json1_1DetectCustomLabelsCommandError = async (output, cont
|
|
|
1571
1571
|
$fault: "client",
|
|
1572
1572
|
$metadata: deserializeMetadata(output),
|
|
1573
1573
|
});
|
|
1574
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1574
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1575
1575
|
}
|
|
1576
1576
|
};
|
|
1577
1577
|
const deserializeAws_json1_1DetectFacesCommand = async (output, context) => {
|
|
@@ -1628,7 +1628,7 @@ const deserializeAws_json1_1DetectFacesCommandError = async (output, context) =>
|
|
|
1628
1628
|
$fault: "client",
|
|
1629
1629
|
$metadata: deserializeMetadata(output),
|
|
1630
1630
|
});
|
|
1631
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1631
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1632
1632
|
}
|
|
1633
1633
|
};
|
|
1634
1634
|
const deserializeAws_json1_1DetectLabelsCommand = async (output, context) => {
|
|
@@ -1685,7 +1685,7 @@ const deserializeAws_json1_1DetectLabelsCommandError = async (output, context) =
|
|
|
1685
1685
|
$fault: "client",
|
|
1686
1686
|
$metadata: deserializeMetadata(output),
|
|
1687
1687
|
});
|
|
1688
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1688
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1689
1689
|
}
|
|
1690
1690
|
};
|
|
1691
1691
|
const deserializeAws_json1_1DetectModerationLabelsCommand = async (output, context) => {
|
|
@@ -1745,7 +1745,7 @@ const deserializeAws_json1_1DetectModerationLabelsCommandError = async (output,
|
|
|
1745
1745
|
$fault: "client",
|
|
1746
1746
|
$metadata: deserializeMetadata(output),
|
|
1747
1747
|
});
|
|
1748
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1748
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1749
1749
|
}
|
|
1750
1750
|
};
|
|
1751
1751
|
const deserializeAws_json1_1DetectProtectiveEquipmentCommand = async (output, context) => {
|
|
@@ -1802,7 +1802,7 @@ const deserializeAws_json1_1DetectProtectiveEquipmentCommandError = async (outpu
|
|
|
1802
1802
|
$fault: "client",
|
|
1803
1803
|
$metadata: deserializeMetadata(output),
|
|
1804
1804
|
});
|
|
1805
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1805
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1806
1806
|
}
|
|
1807
1807
|
};
|
|
1808
1808
|
const deserializeAws_json1_1DetectTextCommand = async (output, context) => {
|
|
@@ -1859,7 +1859,7 @@ const deserializeAws_json1_1DetectTextCommandError = async (output, context) =>
|
|
|
1859
1859
|
$fault: "client",
|
|
1860
1860
|
$metadata: deserializeMetadata(output),
|
|
1861
1861
|
});
|
|
1862
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1862
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1863
1863
|
}
|
|
1864
1864
|
};
|
|
1865
1865
|
const deserializeAws_json1_1DistributeDatasetEntriesCommand = async (output, context) => {
|
|
@@ -1913,7 +1913,7 @@ const deserializeAws_json1_1DistributeDatasetEntriesCommandError = async (output
|
|
|
1913
1913
|
$fault: "client",
|
|
1914
1914
|
$metadata: deserializeMetadata(output),
|
|
1915
1915
|
});
|
|
1916
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1916
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1917
1917
|
}
|
|
1918
1918
|
};
|
|
1919
1919
|
const deserializeAws_json1_1GetCelebrityInfoCommand = async (output, context) => {
|
|
@@ -1964,7 +1964,7 @@ const deserializeAws_json1_1GetCelebrityInfoCommandError = async (output, contex
|
|
|
1964
1964
|
$fault: "client",
|
|
1965
1965
|
$metadata: deserializeMetadata(output),
|
|
1966
1966
|
});
|
|
1967
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1967
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1968
1968
|
}
|
|
1969
1969
|
};
|
|
1970
1970
|
const deserializeAws_json1_1GetCelebrityRecognitionCommand = async (output, context) => {
|
|
@@ -2018,7 +2018,7 @@ const deserializeAws_json1_1GetCelebrityRecognitionCommandError = async (output,
|
|
|
2018
2018
|
$fault: "client",
|
|
2019
2019
|
$metadata: deserializeMetadata(output),
|
|
2020
2020
|
});
|
|
2021
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2021
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2022
2022
|
}
|
|
2023
2023
|
};
|
|
2024
2024
|
const deserializeAws_json1_1GetContentModerationCommand = async (output, context) => {
|
|
@@ -2072,7 +2072,7 @@ const deserializeAws_json1_1GetContentModerationCommandError = async (output, co
|
|
|
2072
2072
|
$fault: "client",
|
|
2073
2073
|
$metadata: deserializeMetadata(output),
|
|
2074
2074
|
});
|
|
2075
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2075
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2076
2076
|
}
|
|
2077
2077
|
};
|
|
2078
2078
|
const deserializeAws_json1_1GetFaceDetectionCommand = async (output, context) => {
|
|
@@ -2126,7 +2126,7 @@ const deserializeAws_json1_1GetFaceDetectionCommandError = async (output, contex
|
|
|
2126
2126
|
$fault: "client",
|
|
2127
2127
|
$metadata: deserializeMetadata(output),
|
|
2128
2128
|
});
|
|
2129
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2129
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2130
2130
|
}
|
|
2131
2131
|
};
|
|
2132
2132
|
const deserializeAws_json1_1GetFaceSearchCommand = async (output, context) => {
|
|
@@ -2180,7 +2180,7 @@ const deserializeAws_json1_1GetFaceSearchCommandError = async (output, context)
|
|
|
2180
2180
|
$fault: "client",
|
|
2181
2181
|
$metadata: deserializeMetadata(output),
|
|
2182
2182
|
});
|
|
2183
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2183
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2184
2184
|
}
|
|
2185
2185
|
};
|
|
2186
2186
|
const deserializeAws_json1_1GetLabelDetectionCommand = async (output, context) => {
|
|
@@ -2234,7 +2234,7 @@ const deserializeAws_json1_1GetLabelDetectionCommandError = async (output, conte
|
|
|
2234
2234
|
$fault: "client",
|
|
2235
2235
|
$metadata: deserializeMetadata(output),
|
|
2236
2236
|
});
|
|
2237
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2237
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2238
2238
|
}
|
|
2239
2239
|
};
|
|
2240
2240
|
const deserializeAws_json1_1GetPersonTrackingCommand = async (output, context) => {
|
|
@@ -2288,7 +2288,7 @@ const deserializeAws_json1_1GetPersonTrackingCommandError = async (output, conte
|
|
|
2288
2288
|
$fault: "client",
|
|
2289
2289
|
$metadata: deserializeMetadata(output),
|
|
2290
2290
|
});
|
|
2291
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2291
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2292
2292
|
}
|
|
2293
2293
|
};
|
|
2294
2294
|
const deserializeAws_json1_1GetSegmentDetectionCommand = async (output, context) => {
|
|
@@ -2342,7 +2342,7 @@ const deserializeAws_json1_1GetSegmentDetectionCommandError = async (output, con
|
|
|
2342
2342
|
$fault: "client",
|
|
2343
2343
|
$metadata: deserializeMetadata(output),
|
|
2344
2344
|
});
|
|
2345
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2345
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2346
2346
|
}
|
|
2347
2347
|
};
|
|
2348
2348
|
const deserializeAws_json1_1GetTextDetectionCommand = async (output, context) => {
|
|
@@ -2396,7 +2396,7 @@ const deserializeAws_json1_1GetTextDetectionCommandError = async (output, contex
|
|
|
2396
2396
|
$fault: "client",
|
|
2397
2397
|
$metadata: deserializeMetadata(output),
|
|
2398
2398
|
});
|
|
2399
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2399
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2400
2400
|
}
|
|
2401
2401
|
};
|
|
2402
2402
|
const deserializeAws_json1_1IndexFacesCommand = async (output, context) => {
|
|
@@ -2459,7 +2459,7 @@ const deserializeAws_json1_1IndexFacesCommandError = async (output, context) =>
|
|
|
2459
2459
|
$fault: "client",
|
|
2460
2460
|
$metadata: deserializeMetadata(output),
|
|
2461
2461
|
});
|
|
2462
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2462
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2463
2463
|
}
|
|
2464
2464
|
};
|
|
2465
2465
|
const deserializeAws_json1_1ListCollectionsCommand = async (output, context) => {
|
|
@@ -2513,7 +2513,7 @@ const deserializeAws_json1_1ListCollectionsCommandError = async (output, context
|
|
|
2513
2513
|
$fault: "client",
|
|
2514
2514
|
$metadata: deserializeMetadata(output),
|
|
2515
2515
|
});
|
|
2516
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2516
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2517
2517
|
}
|
|
2518
2518
|
};
|
|
2519
2519
|
const deserializeAws_json1_1ListDatasetEntriesCommand = async (output, context) => {
|
|
@@ -2573,7 +2573,7 @@ const deserializeAws_json1_1ListDatasetEntriesCommandError = async (output, cont
|
|
|
2573
2573
|
$fault: "client",
|
|
2574
2574
|
$metadata: deserializeMetadata(output),
|
|
2575
2575
|
});
|
|
2576
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2576
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2577
2577
|
}
|
|
2578
2578
|
};
|
|
2579
2579
|
const deserializeAws_json1_1ListDatasetLabelsCommand = async (output, context) => {
|
|
@@ -2633,7 +2633,7 @@ const deserializeAws_json1_1ListDatasetLabelsCommandError = async (output, conte
|
|
|
2633
2633
|
$fault: "client",
|
|
2634
2634
|
$metadata: deserializeMetadata(output),
|
|
2635
2635
|
});
|
|
2636
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2636
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2637
2637
|
}
|
|
2638
2638
|
};
|
|
2639
2639
|
const deserializeAws_json1_1ListFacesCommand = async (output, context) => {
|
|
@@ -2687,7 +2687,7 @@ const deserializeAws_json1_1ListFacesCommandError = async (output, context) => {
|
|
|
2687
2687
|
$fault: "client",
|
|
2688
2688
|
$metadata: deserializeMetadata(output),
|
|
2689
2689
|
});
|
|
2690
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2690
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2691
2691
|
}
|
|
2692
2692
|
};
|
|
2693
2693
|
const deserializeAws_json1_1ListStreamProcessorsCommand = async (output, context) => {
|
|
@@ -2738,7 +2738,7 @@ const deserializeAws_json1_1ListStreamProcessorsCommandError = async (output, co
|
|
|
2738
2738
|
$fault: "client",
|
|
2739
2739
|
$metadata: deserializeMetadata(output),
|
|
2740
2740
|
});
|
|
2741
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2741
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2742
2742
|
}
|
|
2743
2743
|
};
|
|
2744
2744
|
const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -2789,7 +2789,7 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
2789
2789
|
$fault: "client",
|
|
2790
2790
|
$metadata: deserializeMetadata(output),
|
|
2791
2791
|
});
|
|
2792
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2792
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2793
2793
|
}
|
|
2794
2794
|
};
|
|
2795
2795
|
const deserializeAws_json1_1RecognizeCelebritiesCommand = async (output, context) => {
|
|
@@ -2846,7 +2846,7 @@ const deserializeAws_json1_1RecognizeCelebritiesCommandError = async (output, co
|
|
|
2846
2846
|
$fault: "client",
|
|
2847
2847
|
$metadata: deserializeMetadata(output),
|
|
2848
2848
|
});
|
|
2849
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2849
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2850
2850
|
}
|
|
2851
2851
|
};
|
|
2852
2852
|
const deserializeAws_json1_1SearchFacesCommand = async (output, context) => {
|
|
@@ -2897,7 +2897,7 @@ const deserializeAws_json1_1SearchFacesCommandError = async (output, context) =>
|
|
|
2897
2897
|
$fault: "client",
|
|
2898
2898
|
$metadata: deserializeMetadata(output),
|
|
2899
2899
|
});
|
|
2900
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2900
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2901
2901
|
}
|
|
2902
2902
|
};
|
|
2903
2903
|
const deserializeAws_json1_1SearchFacesByImageCommand = async (output, context) => {
|
|
@@ -2957,7 +2957,7 @@ const deserializeAws_json1_1SearchFacesByImageCommandError = async (output, cont
|
|
|
2957
2957
|
$fault: "client",
|
|
2958
2958
|
$metadata: deserializeMetadata(output),
|
|
2959
2959
|
});
|
|
2960
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2960
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2961
2961
|
}
|
|
2962
2962
|
};
|
|
2963
2963
|
const deserializeAws_json1_1StartCelebrityRecognitionCommand = async (output, context) => {
|
|
@@ -3017,7 +3017,7 @@ const deserializeAws_json1_1StartCelebrityRecognitionCommandError = async (outpu
|
|
|
3017
3017
|
$fault: "client",
|
|
3018
3018
|
$metadata: deserializeMetadata(output),
|
|
3019
3019
|
});
|
|
3020
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3020
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3021
3021
|
}
|
|
3022
3022
|
};
|
|
3023
3023
|
const deserializeAws_json1_1StartContentModerationCommand = async (output, context) => {
|
|
@@ -3077,7 +3077,7 @@ const deserializeAws_json1_1StartContentModerationCommandError = async (output,
|
|
|
3077
3077
|
$fault: "client",
|
|
3078
3078
|
$metadata: deserializeMetadata(output),
|
|
3079
3079
|
});
|
|
3080
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3080
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3081
3081
|
}
|
|
3082
3082
|
};
|
|
3083
3083
|
const deserializeAws_json1_1StartFaceDetectionCommand = async (output, context) => {
|
|
@@ -3137,7 +3137,7 @@ const deserializeAws_json1_1StartFaceDetectionCommandError = async (output, cont
|
|
|
3137
3137
|
$fault: "client",
|
|
3138
3138
|
$metadata: deserializeMetadata(output),
|
|
3139
3139
|
});
|
|
3140
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3140
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3141
3141
|
}
|
|
3142
3142
|
};
|
|
3143
3143
|
const deserializeAws_json1_1StartFaceSearchCommand = async (output, context) => {
|
|
@@ -3200,7 +3200,7 @@ const deserializeAws_json1_1StartFaceSearchCommandError = async (output, context
|
|
|
3200
3200
|
$fault: "client",
|
|
3201
3201
|
$metadata: deserializeMetadata(output),
|
|
3202
3202
|
});
|
|
3203
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3203
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3204
3204
|
}
|
|
3205
3205
|
};
|
|
3206
3206
|
const deserializeAws_json1_1StartLabelDetectionCommand = async (output, context) => {
|
|
@@ -3260,7 +3260,7 @@ const deserializeAws_json1_1StartLabelDetectionCommandError = async (output, con
|
|
|
3260
3260
|
$fault: "client",
|
|
3261
3261
|
$metadata: deserializeMetadata(output),
|
|
3262
3262
|
});
|
|
3263
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3263
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3264
3264
|
}
|
|
3265
3265
|
};
|
|
3266
3266
|
const deserializeAws_json1_1StartPersonTrackingCommand = async (output, context) => {
|
|
@@ -3320,7 +3320,7 @@ const deserializeAws_json1_1StartPersonTrackingCommandError = async (output, con
|
|
|
3320
3320
|
$fault: "client",
|
|
3321
3321
|
$metadata: deserializeMetadata(output),
|
|
3322
3322
|
});
|
|
3323
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3323
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3324
3324
|
}
|
|
3325
3325
|
};
|
|
3326
3326
|
const deserializeAws_json1_1StartProjectVersionCommand = async (output, context) => {
|
|
@@ -3377,7 +3377,7 @@ const deserializeAws_json1_1StartProjectVersionCommandError = async (output, con
|
|
|
3377
3377
|
$fault: "client",
|
|
3378
3378
|
$metadata: deserializeMetadata(output),
|
|
3379
3379
|
});
|
|
3380
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3380
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3381
3381
|
}
|
|
3382
3382
|
};
|
|
3383
3383
|
const deserializeAws_json1_1StartSegmentDetectionCommand = async (output, context) => {
|
|
@@ -3437,7 +3437,7 @@ const deserializeAws_json1_1StartSegmentDetectionCommandError = async (output, c
|
|
|
3437
3437
|
$fault: "client",
|
|
3438
3438
|
$metadata: deserializeMetadata(output),
|
|
3439
3439
|
});
|
|
3440
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3440
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3441
3441
|
}
|
|
3442
3442
|
};
|
|
3443
3443
|
const deserializeAws_json1_1StartStreamProcessorCommand = async (output, context) => {
|
|
@@ -3491,7 +3491,7 @@ const deserializeAws_json1_1StartStreamProcessorCommandError = async (output, co
|
|
|
3491
3491
|
$fault: "client",
|
|
3492
3492
|
$metadata: deserializeMetadata(output),
|
|
3493
3493
|
});
|
|
3494
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3494
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3495
3495
|
}
|
|
3496
3496
|
};
|
|
3497
3497
|
const deserializeAws_json1_1StartTextDetectionCommand = async (output, context) => {
|
|
@@ -3551,7 +3551,7 @@ const deserializeAws_json1_1StartTextDetectionCommandError = async (output, cont
|
|
|
3551
3551
|
$fault: "client",
|
|
3552
3552
|
$metadata: deserializeMetadata(output),
|
|
3553
3553
|
});
|
|
3554
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3554
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3555
3555
|
}
|
|
3556
3556
|
};
|
|
3557
3557
|
const deserializeAws_json1_1StopProjectVersionCommand = async (output, context) => {
|
|
@@ -3605,7 +3605,7 @@ const deserializeAws_json1_1StopProjectVersionCommandError = async (output, cont
|
|
|
3605
3605
|
$fault: "client",
|
|
3606
3606
|
$metadata: deserializeMetadata(output),
|
|
3607
3607
|
});
|
|
3608
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3608
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3609
3609
|
}
|
|
3610
3610
|
};
|
|
3611
3611
|
const deserializeAws_json1_1StopStreamProcessorCommand = async (output, context) => {
|
|
@@ -3659,7 +3659,7 @@ const deserializeAws_json1_1StopStreamProcessorCommandError = async (output, con
|
|
|
3659
3659
|
$fault: "client",
|
|
3660
3660
|
$metadata: deserializeMetadata(output),
|
|
3661
3661
|
});
|
|
3662
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3662
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3663
3663
|
}
|
|
3664
3664
|
};
|
|
3665
3665
|
const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
|
|
@@ -3713,7 +3713,7 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
3713
3713
|
$fault: "client",
|
|
3714
3714
|
$metadata: deserializeMetadata(output),
|
|
3715
3715
|
});
|
|
3716
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3716
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3717
3717
|
}
|
|
3718
3718
|
};
|
|
3719
3719
|
const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
|
|
@@ -3764,7 +3764,7 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
3764
3764
|
$fault: "client",
|
|
3765
3765
|
$metadata: deserializeMetadata(output),
|
|
3766
3766
|
});
|
|
3767
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3767
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3768
3768
|
}
|
|
3769
3769
|
};
|
|
3770
3770
|
const deserializeAws_json1_1UpdateDatasetEntriesCommand = async (output, context) => {
|
|
@@ -3821,7 +3821,7 @@ const deserializeAws_json1_1UpdateDatasetEntriesCommandError = async (output, co
|
|
|
3821
3821
|
$fault: "client",
|
|
3822
3822
|
$metadata: deserializeMetadata(output),
|
|
3823
3823
|
});
|
|
3824
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3824
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3825
3825
|
}
|
|
3826
3826
|
};
|
|
3827
3827
|
const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -3831,7 +3831,7 @@ const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput,
|
|
|
3831
3831
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3832
3832
|
...deserialized,
|
|
3833
3833
|
});
|
|
3834
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3834
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3835
3835
|
};
|
|
3836
3836
|
const deserializeAws_json1_1HumanLoopQuotaExceededExceptionResponse = async (parsedOutput, context) => {
|
|
3837
3837
|
const body = parsedOutput.body;
|
|
@@ -3840,7 +3840,7 @@ const deserializeAws_json1_1HumanLoopQuotaExceededExceptionResponse = async (par
|
|
|
3840
3840
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3841
3841
|
...deserialized,
|
|
3842
3842
|
});
|
|
3843
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3843
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3844
3844
|
};
|
|
3845
3845
|
const deserializeAws_json1_1IdempotentParameterMismatchExceptionResponse = async (parsedOutput, context) => {
|
|
3846
3846
|
const body = parsedOutput.body;
|
|
@@ -3849,7 +3849,7 @@ const deserializeAws_json1_1IdempotentParameterMismatchExceptionResponse = async
|
|
|
3849
3849
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3850
3850
|
...deserialized,
|
|
3851
3851
|
});
|
|
3852
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3852
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3853
3853
|
};
|
|
3854
3854
|
const deserializeAws_json1_1ImageTooLargeExceptionResponse = async (parsedOutput, context) => {
|
|
3855
3855
|
const body = parsedOutput.body;
|
|
@@ -3858,7 +3858,7 @@ const deserializeAws_json1_1ImageTooLargeExceptionResponse = async (parsedOutput
|
|
|
3858
3858
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3859
3859
|
...deserialized,
|
|
3860
3860
|
});
|
|
3861
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3861
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3862
3862
|
};
|
|
3863
3863
|
const deserializeAws_json1_1InternalServerErrorResponse = async (parsedOutput, context) => {
|
|
3864
3864
|
const body = parsedOutput.body;
|
|
@@ -3867,7 +3867,7 @@ const deserializeAws_json1_1InternalServerErrorResponse = async (parsedOutput, c
|
|
|
3867
3867
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3868
3868
|
...deserialized,
|
|
3869
3869
|
});
|
|
3870
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3870
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3871
3871
|
};
|
|
3872
3872
|
const deserializeAws_json1_1InvalidImageFormatExceptionResponse = async (parsedOutput, context) => {
|
|
3873
3873
|
const body = parsedOutput.body;
|
|
@@ -3876,7 +3876,7 @@ const deserializeAws_json1_1InvalidImageFormatExceptionResponse = async (parsedO
|
|
|
3876
3876
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3877
3877
|
...deserialized,
|
|
3878
3878
|
});
|
|
3879
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3879
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3880
3880
|
};
|
|
3881
3881
|
const deserializeAws_json1_1InvalidPaginationTokenExceptionResponse = async (parsedOutput, context) => {
|
|
3882
3882
|
const body = parsedOutput.body;
|
|
@@ -3885,7 +3885,7 @@ const deserializeAws_json1_1InvalidPaginationTokenExceptionResponse = async (par
|
|
|
3885
3885
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3886
3886
|
...deserialized,
|
|
3887
3887
|
});
|
|
3888
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3888
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3889
3889
|
};
|
|
3890
3890
|
const deserializeAws_json1_1InvalidParameterExceptionResponse = async (parsedOutput, context) => {
|
|
3891
3891
|
const body = parsedOutput.body;
|
|
@@ -3894,7 +3894,7 @@ const deserializeAws_json1_1InvalidParameterExceptionResponse = async (parsedOut
|
|
|
3894
3894
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3895
3895
|
...deserialized,
|
|
3896
3896
|
});
|
|
3897
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3897
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3898
3898
|
};
|
|
3899
3899
|
const deserializeAws_json1_1InvalidS3ObjectExceptionResponse = async (parsedOutput, context) => {
|
|
3900
3900
|
const body = parsedOutput.body;
|
|
@@ -3903,7 +3903,7 @@ const deserializeAws_json1_1InvalidS3ObjectExceptionResponse = async (parsedOutp
|
|
|
3903
3903
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3904
3904
|
...deserialized,
|
|
3905
3905
|
});
|
|
3906
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3906
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3907
3907
|
};
|
|
3908
3908
|
const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput, context) => {
|
|
3909
3909
|
const body = parsedOutput.body;
|
|
@@ -3912,7 +3912,7 @@ const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput
|
|
|
3912
3912
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3913
3913
|
...deserialized,
|
|
3914
3914
|
});
|
|
3915
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3915
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3916
3916
|
};
|
|
3917
3917
|
const deserializeAws_json1_1ProvisionedThroughputExceededExceptionResponse = async (parsedOutput, context) => {
|
|
3918
3918
|
const body = parsedOutput.body;
|
|
@@ -3921,7 +3921,7 @@ const deserializeAws_json1_1ProvisionedThroughputExceededExceptionResponse = asy
|
|
|
3921
3921
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3922
3922
|
...deserialized,
|
|
3923
3923
|
});
|
|
3924
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3924
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3925
3925
|
};
|
|
3926
3926
|
const deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
|
|
3927
3927
|
const body = parsedOutput.body;
|
|
@@ -3930,7 +3930,7 @@ const deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse = async (pars
|
|
|
3930
3930
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3931
3931
|
...deserialized,
|
|
3932
3932
|
});
|
|
3933
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3933
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3934
3934
|
};
|
|
3935
3935
|
const deserializeAws_json1_1ResourceInUseExceptionResponse = async (parsedOutput, context) => {
|
|
3936
3936
|
const body = parsedOutput.body;
|
|
@@ -3939,7 +3939,7 @@ const deserializeAws_json1_1ResourceInUseExceptionResponse = async (parsedOutput
|
|
|
3939
3939
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3940
3940
|
...deserialized,
|
|
3941
3941
|
});
|
|
3942
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3942
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3943
3943
|
};
|
|
3944
3944
|
const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
3945
3945
|
const body = parsedOutput.body;
|
|
@@ -3948,7 +3948,7 @@ const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOut
|
|
|
3948
3948
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3949
3949
|
...deserialized,
|
|
3950
3950
|
});
|
|
3951
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3951
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3952
3952
|
};
|
|
3953
3953
|
const deserializeAws_json1_1ResourceNotReadyExceptionResponse = async (parsedOutput, context) => {
|
|
3954
3954
|
const body = parsedOutput.body;
|
|
@@ -3957,7 +3957,7 @@ const deserializeAws_json1_1ResourceNotReadyExceptionResponse = async (parsedOut
|
|
|
3957
3957
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3958
3958
|
...deserialized,
|
|
3959
3959
|
});
|
|
3960
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3960
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3961
3961
|
};
|
|
3962
3962
|
const deserializeAws_json1_1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
|
|
3963
3963
|
const body = parsedOutput.body;
|
|
@@ -3966,7 +3966,7 @@ const deserializeAws_json1_1ServiceQuotaExceededExceptionResponse = async (parse
|
|
|
3966
3966
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3967
3967
|
...deserialized,
|
|
3968
3968
|
});
|
|
3969
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3969
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3970
3970
|
};
|
|
3971
3971
|
const deserializeAws_json1_1ThrottlingExceptionResponse = async (parsedOutput, context) => {
|
|
3972
3972
|
const body = parsedOutput.body;
|
|
@@ -3975,7 +3975,7 @@ const deserializeAws_json1_1ThrottlingExceptionResponse = async (parsedOutput, c
|
|
|
3975
3975
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3976
3976
|
...deserialized,
|
|
3977
3977
|
});
|
|
3978
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3978
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3979
3979
|
};
|
|
3980
3980
|
const deserializeAws_json1_1VideoTooLargeExceptionResponse = async (parsedOutput, context) => {
|
|
3981
3981
|
const body = parsedOutput.body;
|
|
@@ -3984,7 +3984,7 @@ const deserializeAws_json1_1VideoTooLargeExceptionResponse = async (parsedOutput
|
|
|
3984
3984
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3985
3985
|
...deserialized,
|
|
3986
3986
|
});
|
|
3987
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
3987
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3988
3988
|
};
|
|
3989
3989
|
const serializeAws_json1_1Asset = (input, context) => {
|
|
3990
3990
|
return {
|
|
@@ -4017,24 +4017,24 @@ const serializeAws_json1_1Attributes = (input, context) => {
|
|
|
4017
4017
|
const serializeAws_json1_1BlackFrame = (input, context) => {
|
|
4018
4018
|
return {
|
|
4019
4019
|
...(input.MaxPixelThreshold !== undefined &&
|
|
4020
|
-
input.MaxPixelThreshold !== null && { MaxPixelThreshold: smithy_client_1.serializeFloat(input.MaxPixelThreshold) }),
|
|
4020
|
+
input.MaxPixelThreshold !== null && { MaxPixelThreshold: (0, smithy_client_1.serializeFloat)(input.MaxPixelThreshold) }),
|
|
4021
4021
|
...(input.MinCoveragePercentage !== undefined &&
|
|
4022
|
-
input.MinCoveragePercentage !== null && { MinCoveragePercentage: smithy_client_1.serializeFloat(input.MinCoveragePercentage) }),
|
|
4022
|
+
input.MinCoveragePercentage !== null && { MinCoveragePercentage: (0, smithy_client_1.serializeFloat)(input.MinCoveragePercentage) }),
|
|
4023
4023
|
};
|
|
4024
4024
|
};
|
|
4025
4025
|
const serializeAws_json1_1BoundingBox = (input, context) => {
|
|
4026
4026
|
return {
|
|
4027
|
-
...(input.Height !== undefined && input.Height !== null && { Height: smithy_client_1.serializeFloat(input.Height) }),
|
|
4028
|
-
...(input.Left !== undefined && input.Left !== null && { Left: smithy_client_1.serializeFloat(input.Left) }),
|
|
4029
|
-
...(input.Top !== undefined && input.Top !== null && { Top: smithy_client_1.serializeFloat(input.Top) }),
|
|
4030
|
-
...(input.Width !== undefined && input.Width !== null && { Width: smithy_client_1.serializeFloat(input.Width) }),
|
|
4027
|
+
...(input.Height !== undefined && input.Height !== null && { Height: (0, smithy_client_1.serializeFloat)(input.Height) }),
|
|
4028
|
+
...(input.Left !== undefined && input.Left !== null && { Left: (0, smithy_client_1.serializeFloat)(input.Left) }),
|
|
4029
|
+
...(input.Top !== undefined && input.Top !== null && { Top: (0, smithy_client_1.serializeFloat)(input.Top) }),
|
|
4030
|
+
...(input.Width !== undefined && input.Width !== null && { Width: (0, smithy_client_1.serializeFloat)(input.Width) }),
|
|
4031
4031
|
};
|
|
4032
4032
|
};
|
|
4033
4033
|
const serializeAws_json1_1CompareFacesRequest = (input, context) => {
|
|
4034
4034
|
return {
|
|
4035
4035
|
...(input.QualityFilter !== undefined && input.QualityFilter !== null && { QualityFilter: input.QualityFilter }),
|
|
4036
4036
|
...(input.SimilarityThreshold !== undefined &&
|
|
4037
|
-
input.SimilarityThreshold !== null && { SimilarityThreshold: smithy_client_1.serializeFloat(input.SimilarityThreshold) }),
|
|
4037
|
+
input.SimilarityThreshold !== null && { SimilarityThreshold: (0, smithy_client_1.serializeFloat)(input.SimilarityThreshold) }),
|
|
4038
4038
|
...(input.SourceImage !== undefined &&
|
|
4039
4039
|
input.SourceImage !== null && { SourceImage: serializeAws_json1_1Image(input.SourceImage, context) }),
|
|
4040
4040
|
...(input.TargetImage !== undefined &&
|
|
@@ -4195,7 +4195,7 @@ const serializeAws_json1_1DetectCustomLabelsRequest = (input, context) => {
|
|
|
4195
4195
|
input.Image !== null && { Image: serializeAws_json1_1Image(input.Image, context) }),
|
|
4196
4196
|
...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }),
|
|
4197
4197
|
...(input.MinConfidence !== undefined &&
|
|
4198
|
-
input.MinConfidence !== null && { MinConfidence: smithy_client_1.serializeFloat(input.MinConfidence) }),
|
|
4198
|
+
input.MinConfidence !== null && { MinConfidence: (0, smithy_client_1.serializeFloat)(input.MinConfidence) }),
|
|
4199
4199
|
...(input.ProjectVersionArn !== undefined &&
|
|
4200
4200
|
input.ProjectVersionArn !== null && { ProjectVersionArn: input.ProjectVersionArn }),
|
|
4201
4201
|
};
|
|
@@ -4211,11 +4211,11 @@ const serializeAws_json1_1DetectFacesRequest = (input, context) => {
|
|
|
4211
4211
|
const serializeAws_json1_1DetectionFilter = (input, context) => {
|
|
4212
4212
|
return {
|
|
4213
4213
|
...(input.MinBoundingBoxHeight !== undefined &&
|
|
4214
|
-
input.MinBoundingBoxHeight !== null && { MinBoundingBoxHeight: smithy_client_1.serializeFloat(input.MinBoundingBoxHeight) }),
|
|
4214
|
+
input.MinBoundingBoxHeight !== null && { MinBoundingBoxHeight: (0, smithy_client_1.serializeFloat)(input.MinBoundingBoxHeight) }),
|
|
4215
4215
|
...(input.MinBoundingBoxWidth !== undefined &&
|
|
4216
|
-
input.MinBoundingBoxWidth !== null && { MinBoundingBoxWidth: smithy_client_1.serializeFloat(input.MinBoundingBoxWidth) }),
|
|
4216
|
+
input.MinBoundingBoxWidth !== null && { MinBoundingBoxWidth: (0, smithy_client_1.serializeFloat)(input.MinBoundingBoxWidth) }),
|
|
4217
4217
|
...(input.MinConfidence !== undefined &&
|
|
4218
|
-
input.MinConfidence !== null && { MinConfidence: smithy_client_1.serializeFloat(input.MinConfidence) }),
|
|
4218
|
+
input.MinConfidence !== null && { MinConfidence: (0, smithy_client_1.serializeFloat)(input.MinConfidence) }),
|
|
4219
4219
|
};
|
|
4220
4220
|
};
|
|
4221
4221
|
const serializeAws_json1_1DetectLabelsRequest = (input, context) => {
|
|
@@ -4224,7 +4224,7 @@ const serializeAws_json1_1DetectLabelsRequest = (input, context) => {
|
|
|
4224
4224
|
input.Image !== null && { Image: serializeAws_json1_1Image(input.Image, context) }),
|
|
4225
4225
|
...(input.MaxLabels !== undefined && input.MaxLabels !== null && { MaxLabels: input.MaxLabels }),
|
|
4226
4226
|
...(input.MinConfidence !== undefined &&
|
|
4227
|
-
input.MinConfidence !== null && { MinConfidence: smithy_client_1.serializeFloat(input.MinConfidence) }),
|
|
4227
|
+
input.MinConfidence !== null && { MinConfidence: (0, smithy_client_1.serializeFloat)(input.MinConfidence) }),
|
|
4228
4228
|
};
|
|
4229
4229
|
};
|
|
4230
4230
|
const serializeAws_json1_1DetectModerationLabelsRequest = (input, context) => {
|
|
@@ -4236,7 +4236,7 @@ const serializeAws_json1_1DetectModerationLabelsRequest = (input, context) => {
|
|
|
4236
4236
|
...(input.Image !== undefined &&
|
|
4237
4237
|
input.Image !== null && { Image: serializeAws_json1_1Image(input.Image, context) }),
|
|
4238
4238
|
...(input.MinConfidence !== undefined &&
|
|
4239
|
-
input.MinConfidence !== null && { MinConfidence: smithy_client_1.serializeFloat(input.MinConfidence) }),
|
|
4239
|
+
input.MinConfidence !== null && { MinConfidence: (0, smithy_client_1.serializeFloat)(input.MinConfidence) }),
|
|
4240
4240
|
};
|
|
4241
4241
|
};
|
|
4242
4242
|
const serializeAws_json1_1DetectProtectiveEquipmentRequest = (input, context) => {
|
|
@@ -4304,7 +4304,7 @@ const serializeAws_json1_1FaceSearchSettings = (input, context) => {
|
|
|
4304
4304
|
return {
|
|
4305
4305
|
...(input.CollectionId !== undefined && input.CollectionId !== null && { CollectionId: input.CollectionId }),
|
|
4306
4306
|
...(input.FaceMatchThreshold !== undefined &&
|
|
4307
|
-
input.FaceMatchThreshold !== null && { FaceMatchThreshold: smithy_client_1.serializeFloat(input.FaceMatchThreshold) }),
|
|
4307
|
+
input.FaceMatchThreshold !== null && { FaceMatchThreshold: (0, smithy_client_1.serializeFloat)(input.FaceMatchThreshold) }),
|
|
4308
4308
|
};
|
|
4309
4309
|
};
|
|
4310
4310
|
const serializeAws_json1_1GetCelebrityInfoRequest = (input, context) => {
|
|
@@ -4501,7 +4501,7 @@ const serializeAws_json1_1ProjectNames = (input, context) => {
|
|
|
4501
4501
|
const serializeAws_json1_1ProtectiveEquipmentSummarizationAttributes = (input, context) => {
|
|
4502
4502
|
return {
|
|
4503
4503
|
...(input.MinConfidence !== undefined &&
|
|
4504
|
-
input.MinConfidence !== null && { MinConfidence: smithy_client_1.serializeFloat(input.MinConfidence) }),
|
|
4504
|
+
input.MinConfidence !== null && { MinConfidence: (0, smithy_client_1.serializeFloat)(input.MinConfidence) }),
|
|
4505
4505
|
...(input.RequiredEquipmentTypes !== undefined &&
|
|
4506
4506
|
input.RequiredEquipmentTypes !== null && {
|
|
4507
4507
|
RequiredEquipmentTypes: serializeAws_json1_1ProtectiveEquipmentTypes(input.RequiredEquipmentTypes, context),
|
|
@@ -4551,7 +4551,7 @@ const serializeAws_json1_1SearchFacesByImageRequest = (input, context) => {
|
|
|
4551
4551
|
return {
|
|
4552
4552
|
...(input.CollectionId !== undefined && input.CollectionId !== null && { CollectionId: input.CollectionId }),
|
|
4553
4553
|
...(input.FaceMatchThreshold !== undefined &&
|
|
4554
|
-
input.FaceMatchThreshold !== null && { FaceMatchThreshold: smithy_client_1.serializeFloat(input.FaceMatchThreshold) }),
|
|
4554
|
+
input.FaceMatchThreshold !== null && { FaceMatchThreshold: (0, smithy_client_1.serializeFloat)(input.FaceMatchThreshold) }),
|
|
4555
4555
|
...(input.Image !== undefined &&
|
|
4556
4556
|
input.Image !== null && { Image: serializeAws_json1_1Image(input.Image, context) }),
|
|
4557
4557
|
...(input.MaxFaces !== undefined && input.MaxFaces !== null && { MaxFaces: input.MaxFaces }),
|
|
@@ -4563,7 +4563,7 @@ const serializeAws_json1_1SearchFacesRequest = (input, context) => {
|
|
|
4563
4563
|
...(input.CollectionId !== undefined && input.CollectionId !== null && { CollectionId: input.CollectionId }),
|
|
4564
4564
|
...(input.FaceId !== undefined && input.FaceId !== null && { FaceId: input.FaceId }),
|
|
4565
4565
|
...(input.FaceMatchThreshold !== undefined &&
|
|
4566
|
-
input.FaceMatchThreshold !== null && { FaceMatchThreshold: smithy_client_1.serializeFloat(input.FaceMatchThreshold) }),
|
|
4566
|
+
input.FaceMatchThreshold !== null && { FaceMatchThreshold: (0, smithy_client_1.serializeFloat)(input.FaceMatchThreshold) }),
|
|
4567
4567
|
...(input.MaxFaces !== undefined && input.MaxFaces !== null && { MaxFaces: input.MaxFaces }),
|
|
4568
4568
|
};
|
|
4569
4569
|
};
|
|
@@ -4596,7 +4596,7 @@ const serializeAws_json1_1StartContentModerationRequest = (input, context) => {
|
|
|
4596
4596
|
input.ClientRequestToken !== null && { ClientRequestToken: input.ClientRequestToken }),
|
|
4597
4597
|
...(input.JobTag !== undefined && input.JobTag !== null && { JobTag: input.JobTag }),
|
|
4598
4598
|
...(input.MinConfidence !== undefined &&
|
|
4599
|
-
input.MinConfidence !== null && { MinConfidence: smithy_client_1.serializeFloat(input.MinConfidence) }),
|
|
4599
|
+
input.MinConfidence !== null && { MinConfidence: (0, smithy_client_1.serializeFloat)(input.MinConfidence) }),
|
|
4600
4600
|
...(input.NotificationChannel !== undefined &&
|
|
4601
4601
|
input.NotificationChannel !== null && {
|
|
4602
4602
|
NotificationChannel: serializeAws_json1_1NotificationChannel(input.NotificationChannel, context),
|
|
@@ -4626,7 +4626,7 @@ const serializeAws_json1_1StartFaceSearchRequest = (input, context) => {
|
|
|
4626
4626
|
input.ClientRequestToken !== null && { ClientRequestToken: input.ClientRequestToken }),
|
|
4627
4627
|
...(input.CollectionId !== undefined && input.CollectionId !== null && { CollectionId: input.CollectionId }),
|
|
4628
4628
|
...(input.FaceMatchThreshold !== undefined &&
|
|
4629
|
-
input.FaceMatchThreshold !== null && { FaceMatchThreshold: smithy_client_1.serializeFloat(input.FaceMatchThreshold) }),
|
|
4629
|
+
input.FaceMatchThreshold !== null && { FaceMatchThreshold: (0, smithy_client_1.serializeFloat)(input.FaceMatchThreshold) }),
|
|
4630
4630
|
...(input.JobTag !== undefined && input.JobTag !== null && { JobTag: input.JobTag }),
|
|
4631
4631
|
...(input.NotificationChannel !== undefined &&
|
|
4632
4632
|
input.NotificationChannel !== null && {
|
|
@@ -4642,7 +4642,7 @@ const serializeAws_json1_1StartLabelDetectionRequest = (input, context) => {
|
|
|
4642
4642
|
input.ClientRequestToken !== null && { ClientRequestToken: input.ClientRequestToken }),
|
|
4643
4643
|
...(input.JobTag !== undefined && input.JobTag !== null && { JobTag: input.JobTag }),
|
|
4644
4644
|
...(input.MinConfidence !== undefined &&
|
|
4645
|
-
input.MinConfidence !== null && { MinConfidence: smithy_client_1.serializeFloat(input.MinConfidence) }),
|
|
4645
|
+
input.MinConfidence !== null && { MinConfidence: (0, smithy_client_1.serializeFloat)(input.MinConfidence) }),
|
|
4646
4646
|
...(input.NotificationChannel !== undefined &&
|
|
4647
4647
|
input.NotificationChannel !== null && {
|
|
4648
4648
|
NotificationChannel: serializeAws_json1_1NotificationChannel(input.NotificationChannel, context),
|
|
@@ -4704,7 +4704,7 @@ const serializeAws_json1_1StartSegmentDetectionRequest = (input, context) => {
|
|
|
4704
4704
|
const serializeAws_json1_1StartShotDetectionFilter = (input, context) => {
|
|
4705
4705
|
return {
|
|
4706
4706
|
...(input.MinSegmentConfidence !== undefined &&
|
|
4707
|
-
input.MinSegmentConfidence !== null && { MinSegmentConfidence: smithy_client_1.serializeFloat(input.MinSegmentConfidence) }),
|
|
4707
|
+
input.MinSegmentConfidence !== null && { MinSegmentConfidence: (0, smithy_client_1.serializeFloat)(input.MinSegmentConfidence) }),
|
|
4708
4708
|
};
|
|
4709
4709
|
};
|
|
4710
4710
|
const serializeAws_json1_1StartStreamProcessorRequest = (input, context) => {
|
|
@@ -4717,7 +4717,7 @@ const serializeAws_json1_1StartTechnicalCueDetectionFilter = (input, context) =>
|
|
|
4717
4717
|
...(input.BlackFrame !== undefined &&
|
|
4718
4718
|
input.BlackFrame !== null && { BlackFrame: serializeAws_json1_1BlackFrame(input.BlackFrame, context) }),
|
|
4719
4719
|
...(input.MinSegmentConfidence !== undefined &&
|
|
4720
|
-
input.MinSegmentConfidence !== null && { MinSegmentConfidence: smithy_client_1.serializeFloat(input.MinSegmentConfidence) }),
|
|
4720
|
+
input.MinSegmentConfidence !== null && { MinSegmentConfidence: (0, smithy_client_1.serializeFloat)(input.MinSegmentConfidence) }),
|
|
4721
4721
|
};
|
|
4722
4722
|
};
|
|
4723
4723
|
const serializeAws_json1_1StartTextDetectionFilters = (input, context) => {
|
|
@@ -4850,15 +4850,15 @@ const serializeAws_json1_1Video = (input, context) => {
|
|
|
4850
4850
|
};
|
|
4851
4851
|
const deserializeAws_json1_1AccessDeniedException = (output, context) => {
|
|
4852
4852
|
return {
|
|
4853
|
-
Code: smithy_client_1.expectString(output.Code),
|
|
4854
|
-
Logref: smithy_client_1.expectString(output.Logref),
|
|
4855
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
4853
|
+
Code: (0, smithy_client_1.expectString)(output.Code),
|
|
4854
|
+
Logref: (0, smithy_client_1.expectString)(output.Logref),
|
|
4855
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4856
4856
|
};
|
|
4857
4857
|
};
|
|
4858
4858
|
const deserializeAws_json1_1AgeRange = (output, context) => {
|
|
4859
4859
|
return {
|
|
4860
|
-
High: smithy_client_1.expectInt32(output.High),
|
|
4861
|
-
Low: smithy_client_1.expectInt32(output.Low),
|
|
4860
|
+
High: (0, smithy_client_1.expectInt32)(output.High),
|
|
4861
|
+
Low: (0, smithy_client_1.expectInt32)(output.Low),
|
|
4862
4862
|
};
|
|
4863
4863
|
};
|
|
4864
4864
|
const deserializeAws_json1_1Asset = (output, context) => {
|
|
@@ -4881,10 +4881,10 @@ const deserializeAws_json1_1Assets = (output, context) => {
|
|
|
4881
4881
|
};
|
|
4882
4882
|
const deserializeAws_json1_1AudioMetadata = (output, context) => {
|
|
4883
4883
|
return {
|
|
4884
|
-
Codec: smithy_client_1.expectString(output.Codec),
|
|
4885
|
-
DurationMillis: smithy_client_1.expectLong(output.DurationMillis),
|
|
4886
|
-
NumberOfChannels: smithy_client_1.expectLong(output.NumberOfChannels),
|
|
4887
|
-
SampleRate: smithy_client_1.expectLong(output.SampleRate),
|
|
4884
|
+
Codec: (0, smithy_client_1.expectString)(output.Codec),
|
|
4885
|
+
DurationMillis: (0, smithy_client_1.expectLong)(output.DurationMillis),
|
|
4886
|
+
NumberOfChannels: (0, smithy_client_1.expectLong)(output.NumberOfChannels),
|
|
4887
|
+
SampleRate: (0, smithy_client_1.expectLong)(output.SampleRate),
|
|
4888
4888
|
};
|
|
4889
4889
|
};
|
|
4890
4890
|
const deserializeAws_json1_1AudioMetadataList = (output, context) => {
|
|
@@ -4900,8 +4900,8 @@ const deserializeAws_json1_1AudioMetadataList = (output, context) => {
|
|
|
4900
4900
|
};
|
|
4901
4901
|
const deserializeAws_json1_1Beard = (output, context) => {
|
|
4902
4902
|
return {
|
|
4903
|
-
Confidence: smithy_client_1.limitedParseFloat32(output.Confidence),
|
|
4904
|
-
Value: smithy_client_1.expectBoolean(output.Value),
|
|
4903
|
+
Confidence: (0, smithy_client_1.limitedParseFloat32)(output.Confidence),
|
|
4904
|
+
Value: (0, smithy_client_1.expectBoolean)(output.Value),
|
|
4905
4905
|
};
|
|
4906
4906
|
};
|
|
4907
4907
|
const deserializeAws_json1_1BodyParts = (output, context) => {
|
|
@@ -4917,10 +4917,10 @@ const deserializeAws_json1_1BodyParts = (output, context) => {
|
|
|
4917
4917
|
};
|
|
4918
4918
|
const deserializeAws_json1_1BoundingBox = (output, context) => {
|
|
4919
4919
|
return {
|
|
4920
|
-
Height: smithy_client_1.limitedParseFloat32(output.Height),
|
|
4921
|
-
Left: smithy_client_1.limitedParseFloat32(output.Left),
|
|
4922
|
-
Top: smithy_client_1.limitedParseFloat32(output.Top),
|
|
4923
|
-
Width: smithy_client_1.limitedParseFloat32(output.Width),
|
|
4920
|
+
Height: (0, smithy_client_1.limitedParseFloat32)(output.Height),
|
|
4921
|
+
Left: (0, smithy_client_1.limitedParseFloat32)(output.Left),
|
|
4922
|
+
Top: (0, smithy_client_1.limitedParseFloat32)(output.Top),
|
|
4923
|
+
Width: (0, smithy_client_1.limitedParseFloat32)(output.Width),
|
|
4924
4924
|
};
|
|
4925
4925
|
};
|
|
4926
4926
|
const deserializeAws_json1_1Celebrity = (output, context) => {
|
|
@@ -4928,12 +4928,12 @@ const deserializeAws_json1_1Celebrity = (output, context) => {
|
|
|
4928
4928
|
Face: output.Face !== undefined && output.Face !== null
|
|
4929
4929
|
? deserializeAws_json1_1ComparedFace(output.Face, context)
|
|
4930
4930
|
: undefined,
|
|
4931
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
4931
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
4932
4932
|
KnownGender: output.KnownGender !== undefined && output.KnownGender !== null
|
|
4933
4933
|
? deserializeAws_json1_1KnownGender(output.KnownGender, context)
|
|
4934
4934
|
: undefined,
|
|
4935
|
-
MatchConfidence: smithy_client_1.limitedParseFloat32(output.MatchConfidence),
|
|
4936
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
4935
|
+
MatchConfidence: (0, smithy_client_1.limitedParseFloat32)(output.MatchConfidence),
|
|
4936
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4937
4937
|
Urls: output.Urls !== undefined && output.Urls !== null ? deserializeAws_json1_1Urls(output.Urls, context) : undefined,
|
|
4938
4938
|
};
|
|
4939
4939
|
};
|
|
@@ -4942,15 +4942,15 @@ const deserializeAws_json1_1CelebrityDetail = (output, context) => {
|
|
|
4942
4942
|
BoundingBox: output.BoundingBox !== undefined && output.BoundingBox !== null
|
|
4943
4943
|
? deserializeAws_json1_1BoundingBox(output.BoundingBox, context)
|
|
4944
4944
|
: undefined,
|
|
4945
|
-
Confidence: smithy_client_1.limitedParseFloat32(output.Confidence),
|
|
4945
|
+
Confidence: (0, smithy_client_1.limitedParseFloat32)(output.Confidence),
|
|
4946
4946
|
Face: output.Face !== undefined && output.Face !== null
|
|
4947
4947
|
? deserializeAws_json1_1FaceDetail(output.Face, context)
|
|
4948
4948
|
: undefined,
|
|
4949
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
4949
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
4950
4950
|
KnownGender: output.KnownGender !== undefined && output.KnownGender !== null
|
|
4951
4951
|
? deserializeAws_json1_1KnownGender(output.KnownGender, context)
|
|
4952
4952
|
: undefined,
|
|
4953
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
4953
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4954
4954
|
Urls: output.Urls !== undefined && output.Urls !== null ? deserializeAws_json1_1Urls(output.Urls, context) : undefined,
|
|
4955
4955
|
};
|
|
4956
4956
|
};
|
|
@@ -4970,7 +4970,7 @@ const deserializeAws_json1_1CelebrityRecognition = (output, context) => {
|
|
|
4970
4970
|
Celebrity: output.Celebrity !== undefined && output.Celebrity !== null
|
|
4971
4971
|
? deserializeAws_json1_1CelebrityDetail(output.Celebrity, context)
|
|
4972
4972
|
: undefined,
|
|
4973
|
-
Timestamp: smithy_client_1.expectLong(output.Timestamp),
|
|
4973
|
+
Timestamp: (0, smithy_client_1.expectLong)(output.Timestamp),
|
|
4974
4974
|
};
|
|
4975
4975
|
};
|
|
4976
4976
|
const deserializeAws_json1_1CelebrityRecognitions = (output, context) => {
|
|
@@ -4991,7 +4991,7 @@ const deserializeAws_json1_1CollectionIdList = (output, context) => {
|
|
|
4991
4991
|
if (entry === null) {
|
|
4992
4992
|
return null;
|
|
4993
4993
|
}
|
|
4994
|
-
return smithy_client_1.expectString(entry);
|
|
4994
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
4995
4995
|
});
|
|
4996
4996
|
return retVal;
|
|
4997
4997
|
};
|
|
@@ -5000,7 +5000,7 @@ const deserializeAws_json1_1ComparedFace = (output, context) => {
|
|
|
5000
5000
|
BoundingBox: output.BoundingBox !== undefined && output.BoundingBox !== null
|
|
5001
5001
|
? deserializeAws_json1_1BoundingBox(output.BoundingBox, context)
|
|
5002
5002
|
: undefined,
|
|
5003
|
-
Confidence: smithy_client_1.limitedParseFloat32(output.Confidence),
|
|
5003
|
+
Confidence: (0, smithy_client_1.limitedParseFloat32)(output.Confidence),
|
|
5004
5004
|
Emotions: output.Emotions !== undefined && output.Emotions !== null
|
|
5005
5005
|
? deserializeAws_json1_1Emotions(output.Emotions, context)
|
|
5006
5006
|
: undefined,
|
|
@@ -5032,7 +5032,7 @@ const deserializeAws_json1_1ComparedSourceImageFace = (output, context) => {
|
|
|
5032
5032
|
BoundingBox: output.BoundingBox !== undefined && output.BoundingBox !== null
|
|
5033
5033
|
? deserializeAws_json1_1BoundingBox(output.BoundingBox, context)
|
|
5034
5034
|
: undefined,
|
|
5035
|
-
Confidence: smithy_client_1.limitedParseFloat32(output.Confidence),
|
|
5035
|
+
Confidence: (0, smithy_client_1.limitedParseFloat32)(output.Confidence),
|
|
5036
5036
|
};
|
|
5037
5037
|
};
|
|
5038
5038
|
const deserializeAws_json1_1CompareFacesMatch = (output, context) => {
|
|
@@ -5040,7 +5040,7 @@ const deserializeAws_json1_1CompareFacesMatch = (output, context) => {
|
|
|
5040
5040
|
Face: output.Face !== undefined && output.Face !== null
|
|
5041
5041
|
? deserializeAws_json1_1ComparedFace(output.Face, context)
|
|
5042
5042
|
: undefined,
|
|
5043
|
-
Similarity: smithy_client_1.limitedParseFloat32(output.Similarity),
|
|
5043
|
+
Similarity: (0, smithy_client_1.limitedParseFloat32)(output.Similarity),
|
|
5044
5044
|
};
|
|
5045
5045
|
};
|
|
5046
5046
|
const deserializeAws_json1_1CompareFacesMatchList = (output, context) => {
|
|
@@ -5062,8 +5062,8 @@ const deserializeAws_json1_1CompareFacesResponse = (output, context) => {
|
|
|
5062
5062
|
SourceImageFace: output.SourceImageFace !== undefined && output.SourceImageFace !== null
|
|
5063
5063
|
? deserializeAws_json1_1ComparedSourceImageFace(output.SourceImageFace, context)
|
|
5064
5064
|
: undefined,
|
|
5065
|
-
SourceImageOrientationCorrection: smithy_client_1.expectString(output.SourceImageOrientationCorrection),
|
|
5066
|
-
TargetImageOrientationCorrection: smithy_client_1.expectString(output.TargetImageOrientationCorrection),
|
|
5065
|
+
SourceImageOrientationCorrection: (0, smithy_client_1.expectString)(output.SourceImageOrientationCorrection),
|
|
5066
|
+
TargetImageOrientationCorrection: (0, smithy_client_1.expectString)(output.TargetImageOrientationCorrection),
|
|
5067
5067
|
UnmatchedFaces: output.UnmatchedFaces !== undefined && output.UnmatchedFaces !== null
|
|
5068
5068
|
? deserializeAws_json1_1CompareFacesUnmatchList(output.UnmatchedFaces, context)
|
|
5069
5069
|
: undefined,
|
|
@@ -5085,7 +5085,7 @@ const deserializeAws_json1_1ContentModerationDetection = (output, context) => {
|
|
|
5085
5085
|
ModerationLabel: output.ModerationLabel !== undefined && output.ModerationLabel !== null
|
|
5086
5086
|
? deserializeAws_json1_1ModerationLabel(output.ModerationLabel, context)
|
|
5087
5087
|
: undefined,
|
|
5088
|
-
Timestamp: smithy_client_1.expectLong(output.Timestamp),
|
|
5088
|
+
Timestamp: (0, smithy_client_1.expectLong)(output.Timestamp),
|
|
5089
5089
|
};
|
|
5090
5090
|
};
|
|
5091
5091
|
const deserializeAws_json1_1ContentModerationDetections = (output, context) => {
|
|
@@ -5101,44 +5101,44 @@ const deserializeAws_json1_1ContentModerationDetections = (output, context) => {
|
|
|
5101
5101
|
};
|
|
5102
5102
|
const deserializeAws_json1_1CoversBodyPart = (output, context) => {
|
|
5103
5103
|
return {
|
|
5104
|
-
Confidence: smithy_client_1.limitedParseFloat32(output.Confidence),
|
|
5105
|
-
Value: smithy_client_1.expectBoolean(output.Value),
|
|
5104
|
+
Confidence: (0, smithy_client_1.limitedParseFloat32)(output.Confidence),
|
|
5105
|
+
Value: (0, smithy_client_1.expectBoolean)(output.Value),
|
|
5106
5106
|
};
|
|
5107
5107
|
};
|
|
5108
5108
|
const deserializeAws_json1_1CreateCollectionResponse = (output, context) => {
|
|
5109
5109
|
return {
|
|
5110
|
-
CollectionArn: smithy_client_1.expectString(output.CollectionArn),
|
|
5111
|
-
FaceModelVersion: smithy_client_1.expectString(output.FaceModelVersion),
|
|
5112
|
-
StatusCode: smithy_client_1.expectInt32(output.StatusCode),
|
|
5110
|
+
CollectionArn: (0, smithy_client_1.expectString)(output.CollectionArn),
|
|
5111
|
+
FaceModelVersion: (0, smithy_client_1.expectString)(output.FaceModelVersion),
|
|
5112
|
+
StatusCode: (0, smithy_client_1.expectInt32)(output.StatusCode),
|
|
5113
5113
|
};
|
|
5114
5114
|
};
|
|
5115
5115
|
const deserializeAws_json1_1CreateDatasetResponse = (output, context) => {
|
|
5116
5116
|
return {
|
|
5117
|
-
DatasetArn: smithy_client_1.expectString(output.DatasetArn),
|
|
5117
|
+
DatasetArn: (0, smithy_client_1.expectString)(output.DatasetArn),
|
|
5118
5118
|
};
|
|
5119
5119
|
};
|
|
5120
5120
|
const deserializeAws_json1_1CreateProjectResponse = (output, context) => {
|
|
5121
5121
|
return {
|
|
5122
|
-
ProjectArn: smithy_client_1.expectString(output.ProjectArn),
|
|
5122
|
+
ProjectArn: (0, smithy_client_1.expectString)(output.ProjectArn),
|
|
5123
5123
|
};
|
|
5124
5124
|
};
|
|
5125
5125
|
const deserializeAws_json1_1CreateProjectVersionResponse = (output, context) => {
|
|
5126
5126
|
return {
|
|
5127
|
-
ProjectVersionArn: smithy_client_1.expectString(output.ProjectVersionArn),
|
|
5127
|
+
ProjectVersionArn: (0, smithy_client_1.expectString)(output.ProjectVersionArn),
|
|
5128
5128
|
};
|
|
5129
5129
|
};
|
|
5130
5130
|
const deserializeAws_json1_1CreateStreamProcessorResponse = (output, context) => {
|
|
5131
5131
|
return {
|
|
5132
|
-
StreamProcessorArn: smithy_client_1.expectString(output.StreamProcessorArn),
|
|
5132
|
+
StreamProcessorArn: (0, smithy_client_1.expectString)(output.StreamProcessorArn),
|
|
5133
5133
|
};
|
|
5134
5134
|
};
|
|
5135
5135
|
const deserializeAws_json1_1CustomLabel = (output, context) => {
|
|
5136
5136
|
return {
|
|
5137
|
-
Confidence: smithy_client_1.limitedParseFloat32(output.Confidence),
|
|
5137
|
+
Confidence: (0, smithy_client_1.limitedParseFloat32)(output.Confidence),
|
|
5138
5138
|
Geometry: output.Geometry !== undefined && output.Geometry !== null
|
|
5139
5139
|
? deserializeAws_json1_1Geometry(output.Geometry, context)
|
|
5140
5140
|
: undefined,
|
|
5141
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
5141
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5142
5142
|
};
|
|
5143
5143
|
};
|
|
5144
5144
|
const deserializeAws_json1_1CustomLabels = (output, context) => {
|
|
@@ -5155,17 +5155,17 @@ const deserializeAws_json1_1CustomLabels = (output, context) => {
|
|
|
5155
5155
|
const deserializeAws_json1_1DatasetDescription = (output, context) => {
|
|
5156
5156
|
return {
|
|
5157
5157
|
CreationTimestamp: output.CreationTimestamp !== undefined && output.CreationTimestamp !== null
|
|
5158
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTimestamp)))
|
|
5158
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTimestamp)))
|
|
5159
5159
|
: undefined,
|
|
5160
5160
|
DatasetStats: output.DatasetStats !== undefined && output.DatasetStats !== null
|
|
5161
5161
|
? deserializeAws_json1_1DatasetStats(output.DatasetStats, context)
|
|
5162
5162
|
: undefined,
|
|
5163
5163
|
LastUpdatedTimestamp: output.LastUpdatedTimestamp !== undefined && output.LastUpdatedTimestamp !== null
|
|
5164
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTimestamp)))
|
|
5164
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTimestamp)))
|
|
5165
5165
|
: undefined,
|
|
5166
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
5167
|
-
StatusMessage: smithy_client_1.expectString(output.StatusMessage),
|
|
5168
|
-
StatusMessageCode: smithy_client_1.expectString(output.StatusMessageCode),
|
|
5166
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
5167
|
+
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
5168
|
+
StatusMessageCode: (0, smithy_client_1.expectString)(output.StatusMessageCode),
|
|
5169
5169
|
};
|
|
5170
5170
|
};
|
|
5171
5171
|
const deserializeAws_json1_1DatasetEntries = (output, context) => {
|
|
@@ -5175,13 +5175,13 @@ const deserializeAws_json1_1DatasetEntries = (output, context) => {
|
|
|
5175
5175
|
if (entry === null) {
|
|
5176
5176
|
return null;
|
|
5177
5177
|
}
|
|
5178
|
-
return smithy_client_1.expectString(entry);
|
|
5178
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
5179
5179
|
});
|
|
5180
5180
|
return retVal;
|
|
5181
5181
|
};
|
|
5182
5182
|
const deserializeAws_json1_1DatasetLabelDescription = (output, context) => {
|
|
5183
5183
|
return {
|
|
5184
|
-
LabelName: smithy_client_1.expectString(output.LabelName),
|
|
5184
|
+
LabelName: (0, smithy_client_1.expectString)(output.LabelName),
|
|
5185
5185
|
LabelStats: output.LabelStats !== undefined && output.LabelStats !== null
|
|
5186
5186
|
? deserializeAws_json1_1DatasetLabelStats(output.LabelStats, context)
|
|
5187
5187
|
: undefined,
|
|
@@ -5200,20 +5200,20 @@ const deserializeAws_json1_1DatasetLabelDescriptions = (output, context) => {
|
|
|
5200
5200
|
};
|
|
5201
5201
|
const deserializeAws_json1_1DatasetLabelStats = (output, context) => {
|
|
5202
5202
|
return {
|
|
5203
|
-
BoundingBoxCount: smithy_client_1.expectInt32(output.BoundingBoxCount),
|
|
5204
|
-
EntryCount: smithy_client_1.expectInt32(output.EntryCount),
|
|
5203
|
+
BoundingBoxCount: (0, smithy_client_1.expectInt32)(output.BoundingBoxCount),
|
|
5204
|
+
EntryCount: (0, smithy_client_1.expectInt32)(output.EntryCount),
|
|
5205
5205
|
};
|
|
5206
5206
|
};
|
|
5207
5207
|
const deserializeAws_json1_1DatasetMetadata = (output, context) => {
|
|
5208
5208
|
return {
|
|
5209
5209
|
CreationTimestamp: output.CreationTimestamp !== undefined && output.CreationTimestamp !== null
|
|
5210
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTimestamp)))
|
|
5210
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTimestamp)))
|
|
5211
5211
|
: undefined,
|
|
5212
|
-
DatasetArn: smithy_client_1.expectString(output.DatasetArn),
|
|
5213
|
-
DatasetType: smithy_client_1.expectString(output.DatasetType),
|
|
5214
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
5215
|
-
StatusMessage: smithy_client_1.expectString(output.StatusMessage),
|
|
5216
|
-
StatusMessageCode: smithy_client_1.expectString(output.StatusMessageCode),
|
|
5212
|
+
DatasetArn: (0, smithy_client_1.expectString)(output.DatasetArn),
|
|
5213
|
+
DatasetType: (0, smithy_client_1.expectString)(output.DatasetType),
|
|
5214
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
5215
|
+
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
5216
|
+
StatusMessageCode: (0, smithy_client_1.expectString)(output.StatusMessageCode),
|
|
5217
5217
|
};
|
|
5218
5218
|
};
|
|
5219
5219
|
const deserializeAws_json1_1DatasetMetadataList = (output, context) => {
|
|
@@ -5229,15 +5229,15 @@ const deserializeAws_json1_1DatasetMetadataList = (output, context) => {
|
|
|
5229
5229
|
};
|
|
5230
5230
|
const deserializeAws_json1_1DatasetStats = (output, context) => {
|
|
5231
5231
|
return {
|
|
5232
|
-
ErrorEntries: smithy_client_1.expectInt32(output.ErrorEntries),
|
|
5233
|
-
LabeledEntries: smithy_client_1.expectInt32(output.LabeledEntries),
|
|
5234
|
-
TotalEntries: smithy_client_1.expectInt32(output.TotalEntries),
|
|
5235
|
-
TotalLabels: smithy_client_1.expectInt32(output.TotalLabels),
|
|
5232
|
+
ErrorEntries: (0, smithy_client_1.expectInt32)(output.ErrorEntries),
|
|
5233
|
+
LabeledEntries: (0, smithy_client_1.expectInt32)(output.LabeledEntries),
|
|
5234
|
+
TotalEntries: (0, smithy_client_1.expectInt32)(output.TotalEntries),
|
|
5235
|
+
TotalLabels: (0, smithy_client_1.expectInt32)(output.TotalLabels),
|
|
5236
5236
|
};
|
|
5237
5237
|
};
|
|
5238
5238
|
const deserializeAws_json1_1DeleteCollectionResponse = (output, context) => {
|
|
5239
5239
|
return {
|
|
5240
|
-
StatusCode: smithy_client_1.expectInt32(output.StatusCode),
|
|
5240
|
+
StatusCode: (0, smithy_client_1.expectInt32)(output.StatusCode),
|
|
5241
5241
|
};
|
|
5242
5242
|
};
|
|
5243
5243
|
const deserializeAws_json1_1DeleteDatasetResponse = (output, context) => {
|
|
@@ -5252,12 +5252,12 @@ const deserializeAws_json1_1DeleteFacesResponse = (output, context) => {
|
|
|
5252
5252
|
};
|
|
5253
5253
|
const deserializeAws_json1_1DeleteProjectResponse = (output, context) => {
|
|
5254
5254
|
return {
|
|
5255
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
5255
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
5256
5256
|
};
|
|
5257
5257
|
};
|
|
5258
5258
|
const deserializeAws_json1_1DeleteProjectVersionResponse = (output, context) => {
|
|
5259
5259
|
return {
|
|
5260
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
5260
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
5261
5261
|
};
|
|
5262
5262
|
};
|
|
5263
5263
|
const deserializeAws_json1_1DeleteStreamProcessorResponse = (output, context) => {
|
|
@@ -5265,12 +5265,12 @@ const deserializeAws_json1_1DeleteStreamProcessorResponse = (output, context) =>
|
|
|
5265
5265
|
};
|
|
5266
5266
|
const deserializeAws_json1_1DescribeCollectionResponse = (output, context) => {
|
|
5267
5267
|
return {
|
|
5268
|
-
CollectionARN: smithy_client_1.expectString(output.CollectionARN),
|
|
5268
|
+
CollectionARN: (0, smithy_client_1.expectString)(output.CollectionARN),
|
|
5269
5269
|
CreationTimestamp: output.CreationTimestamp !== undefined && output.CreationTimestamp !== null
|
|
5270
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTimestamp)))
|
|
5270
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTimestamp)))
|
|
5271
5271
|
: undefined,
|
|
5272
|
-
FaceCount: smithy_client_1.expectLong(output.FaceCount),
|
|
5273
|
-
FaceModelVersion: smithy_client_1.expectString(output.FaceModelVersion),
|
|
5272
|
+
FaceCount: (0, smithy_client_1.expectLong)(output.FaceCount),
|
|
5273
|
+
FaceModelVersion: (0, smithy_client_1.expectString)(output.FaceModelVersion),
|
|
5274
5274
|
};
|
|
5275
5275
|
};
|
|
5276
5276
|
const deserializeAws_json1_1DescribeDatasetResponse = (output, context) => {
|
|
@@ -5282,7 +5282,7 @@ const deserializeAws_json1_1DescribeDatasetResponse = (output, context) => {
|
|
|
5282
5282
|
};
|
|
5283
5283
|
const deserializeAws_json1_1DescribeProjectsResponse = (output, context) => {
|
|
5284
5284
|
return {
|
|
5285
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
5285
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5286
5286
|
ProjectDescriptions: output.ProjectDescriptions !== undefined && output.ProjectDescriptions !== null
|
|
5287
5287
|
? deserializeAws_json1_1ProjectDescriptions(output.ProjectDescriptions, context)
|
|
5288
5288
|
: undefined,
|
|
@@ -5290,7 +5290,7 @@ const deserializeAws_json1_1DescribeProjectsResponse = (output, context) => {
|
|
|
5290
5290
|
};
|
|
5291
5291
|
const deserializeAws_json1_1DescribeProjectVersionsResponse = (output, context) => {
|
|
5292
5292
|
return {
|
|
5293
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
5293
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5294
5294
|
ProjectVersionDescriptions: output.ProjectVersionDescriptions !== undefined && output.ProjectVersionDescriptions !== null
|
|
5295
5295
|
? deserializeAws_json1_1ProjectVersionDescriptions(output.ProjectVersionDescriptions, context)
|
|
5296
5296
|
: undefined,
|
|
@@ -5299,25 +5299,25 @@ const deserializeAws_json1_1DescribeProjectVersionsResponse = (output, context)
|
|
|
5299
5299
|
const deserializeAws_json1_1DescribeStreamProcessorResponse = (output, context) => {
|
|
5300
5300
|
return {
|
|
5301
5301
|
CreationTimestamp: output.CreationTimestamp !== undefined && output.CreationTimestamp !== null
|
|
5302
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTimestamp)))
|
|
5302
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTimestamp)))
|
|
5303
5303
|
: undefined,
|
|
5304
5304
|
Input: output.Input !== undefined && output.Input !== null
|
|
5305
5305
|
? deserializeAws_json1_1StreamProcessorInput(output.Input, context)
|
|
5306
5306
|
: undefined,
|
|
5307
5307
|
LastUpdateTimestamp: output.LastUpdateTimestamp !== undefined && output.LastUpdateTimestamp !== null
|
|
5308
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdateTimestamp)))
|
|
5308
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdateTimestamp)))
|
|
5309
5309
|
: undefined,
|
|
5310
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
5310
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5311
5311
|
Output: output.Output !== undefined && output.Output !== null
|
|
5312
5312
|
? deserializeAws_json1_1StreamProcessorOutput(output.Output, context)
|
|
5313
5313
|
: undefined,
|
|
5314
|
-
RoleArn: smithy_client_1.expectString(output.RoleArn),
|
|
5314
|
+
RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
|
|
5315
5315
|
Settings: output.Settings !== undefined && output.Settings !== null
|
|
5316
5316
|
? deserializeAws_json1_1StreamProcessorSettings(output.Settings, context)
|
|
5317
5317
|
: undefined,
|
|
5318
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
5319
|
-
StatusMessage: smithy_client_1.expectString(output.StatusMessage),
|
|
5320
|
-
StreamProcessorArn: smithy_client_1.expectString(output.StreamProcessorArn),
|
|
5318
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
5319
|
+
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
5320
|
+
StreamProcessorArn: (0, smithy_client_1.expectString)(output.StreamProcessorArn),
|
|
5321
5321
|
};
|
|
5322
5322
|
};
|
|
5323
5323
|
const deserializeAws_json1_1DetectCustomLabelsResponse = (output, context) => {
|
|
@@ -5332,16 +5332,16 @@ const deserializeAws_json1_1DetectFacesResponse = (output, context) => {
|
|
|
5332
5332
|
FaceDetails: output.FaceDetails !== undefined && output.FaceDetails !== null
|
|
5333
5333
|
? deserializeAws_json1_1FaceDetailList(output.FaceDetails, context)
|
|
5334
5334
|
: undefined,
|
|
5335
|
-
OrientationCorrection: smithy_client_1.expectString(output.OrientationCorrection),
|
|
5335
|
+
OrientationCorrection: (0, smithy_client_1.expectString)(output.OrientationCorrection),
|
|
5336
5336
|
};
|
|
5337
5337
|
};
|
|
5338
5338
|
const deserializeAws_json1_1DetectLabelsResponse = (output, context) => {
|
|
5339
5339
|
return {
|
|
5340
|
-
LabelModelVersion: smithy_client_1.expectString(output.LabelModelVersion),
|
|
5340
|
+
LabelModelVersion: (0, smithy_client_1.expectString)(output.LabelModelVersion),
|
|
5341
5341
|
Labels: output.Labels !== undefined && output.Labels !== null
|
|
5342
5342
|
? deserializeAws_json1_1Labels(output.Labels, context)
|
|
5343
5343
|
: undefined,
|
|
5344
|
-
OrientationCorrection: smithy_client_1.expectString(output.OrientationCorrection),
|
|
5344
|
+
OrientationCorrection: (0, smithy_client_1.expectString)(output.OrientationCorrection),
|
|
5345
5345
|
};
|
|
5346
5346
|
};
|
|
5347
5347
|
const deserializeAws_json1_1DetectModerationLabelsResponse = (output, context) => {
|
|
@@ -5352,7 +5352,7 @@ const deserializeAws_json1_1DetectModerationLabelsResponse = (output, context) =
|
|
|
5352
5352
|
ModerationLabels: output.ModerationLabels !== undefined && output.ModerationLabels !== null
|
|
5353
5353
|
? deserializeAws_json1_1ModerationLabels(output.ModerationLabels, context)
|
|
5354
5354
|
: undefined,
|
|
5355
|
-
ModerationModelVersion: smithy_client_1.expectString(output.ModerationModelVersion),
|
|
5355
|
+
ModerationModelVersion: (0, smithy_client_1.expectString)(output.ModerationModelVersion),
|
|
5356
5356
|
};
|
|
5357
5357
|
};
|
|
5358
5358
|
const deserializeAws_json1_1DetectProtectiveEquipmentResponse = (output, context) => {
|
|
@@ -5360,7 +5360,7 @@ const deserializeAws_json1_1DetectProtectiveEquipmentResponse = (output, context
|
|
|
5360
5360
|
Persons: output.Persons !== undefined && output.Persons !== null
|
|
5361
5361
|
? deserializeAws_json1_1ProtectiveEquipmentPersons(output.Persons, context)
|
|
5362
5362
|
: undefined,
|
|
5363
|
-
ProtectiveEquipmentModelVersion: smithy_client_1.expectString(output.ProtectiveEquipmentModelVersion),
|
|
5363
|
+
ProtectiveEquipmentModelVersion: (0, smithy_client_1.expectString)(output.ProtectiveEquipmentModelVersion),
|
|
5364
5364
|
Summary: output.Summary !== undefined && output.Summary !== null
|
|
5365
5365
|
? deserializeAws_json1_1ProtectiveEquipmentSummary(output.Summary, context)
|
|
5366
5366
|
: undefined,
|
|
@@ -5371,7 +5371,7 @@ const deserializeAws_json1_1DetectTextResponse = (output, context) => {
|
|
|
5371
5371
|
TextDetections: output.TextDetections !== undefined && output.TextDetections !== null
|
|
5372
5372
|
? deserializeAws_json1_1TextDetectionList(output.TextDetections, context)
|
|
5373
5373
|
: undefined,
|
|
5374
|
-
TextModelVersion: smithy_client_1.expectString(output.TextModelVersion),
|
|
5374
|
+
TextModelVersion: (0, smithy_client_1.expectString)(output.TextModelVersion),
|
|
5375
5375
|
};
|
|
5376
5376
|
};
|
|
5377
5377
|
const deserializeAws_json1_1DistributeDatasetEntriesResponse = (output, context) => {
|
|
@@ -5379,8 +5379,8 @@ const deserializeAws_json1_1DistributeDatasetEntriesResponse = (output, context)
|
|
|
5379
5379
|
};
|
|
5380
5380
|
const deserializeAws_json1_1Emotion = (output, context) => {
|
|
5381
5381
|
return {
|
|
5382
|
-
Confidence: smithy_client_1.limitedParseFloat32(output.Confidence),
|
|
5383
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
5382
|
+
Confidence: (0, smithy_client_1.limitedParseFloat32)(output.Confidence),
|
|
5383
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
5384
5384
|
};
|
|
5385
5385
|
};
|
|
5386
5386
|
const deserializeAws_json1_1Emotions = (output, context) => {
|
|
@@ -5399,11 +5399,11 @@ const deserializeAws_json1_1EquipmentDetection = (output, context) => {
|
|
|
5399
5399
|
BoundingBox: output.BoundingBox !== undefined && output.BoundingBox !== null
|
|
5400
5400
|
? deserializeAws_json1_1BoundingBox(output.BoundingBox, context)
|
|
5401
5401
|
: undefined,
|
|
5402
|
-
Confidence: smithy_client_1.limitedParseFloat32(output.Confidence),
|
|
5402
|
+
Confidence: (0, smithy_client_1.limitedParseFloat32)(output.Confidence),
|
|
5403
5403
|
CoversBodyPart: output.CoversBodyPart !== undefined && output.CoversBodyPart !== null
|
|
5404
5404
|
? deserializeAws_json1_1CoversBodyPart(output.CoversBodyPart, context)
|
|
5405
5405
|
: undefined,
|
|
5406
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
5406
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
5407
5407
|
};
|
|
5408
5408
|
};
|
|
5409
5409
|
const deserializeAws_json1_1EquipmentDetections = (output, context) => {
|
|
@@ -5419,7 +5419,7 @@ const deserializeAws_json1_1EquipmentDetections = (output, context) => {
|
|
|
5419
5419
|
};
|
|
5420
5420
|
const deserializeAws_json1_1EvaluationResult = (output, context) => {
|
|
5421
5421
|
return {
|
|
5422
|
-
F1Score: smithy_client_1.limitedParseFloat32(output.F1Score),
|
|
5422
|
+
F1Score: (0, smithy_client_1.limitedParseFloat32)(output.F1Score),
|
|
5423
5423
|
Summary: output.Summary !== undefined && output.Summary !== null
|
|
5424
5424
|
? deserializeAws_json1_1Summary(output.Summary, context)
|
|
5425
5425
|
: undefined,
|
|
@@ -5427,14 +5427,14 @@ const deserializeAws_json1_1EvaluationResult = (output, context) => {
|
|
|
5427
5427
|
};
|
|
5428
5428
|
const deserializeAws_json1_1Eyeglasses = (output, context) => {
|
|
5429
5429
|
return {
|
|
5430
|
-
Confidence: smithy_client_1.limitedParseFloat32(output.Confidence),
|
|
5431
|
-
Value: smithy_client_1.expectBoolean(output.Value),
|
|
5430
|
+
Confidence: (0, smithy_client_1.limitedParseFloat32)(output.Confidence),
|
|
5431
|
+
Value: (0, smithy_client_1.expectBoolean)(output.Value),
|
|
5432
5432
|
};
|
|
5433
5433
|
};
|
|
5434
5434
|
const deserializeAws_json1_1EyeOpen = (output, context) => {
|
|
5435
5435
|
return {
|
|
5436
|
-
Confidence: smithy_client_1.limitedParseFloat32(output.Confidence),
|
|
5437
|
-
Value: smithy_client_1.expectBoolean(output.Value),
|
|
5436
|
+
Confidence: (0, smithy_client_1.limitedParseFloat32)(output.Confidence),
|
|
5437
|
+
Value: (0, smithy_client_1.expectBoolean)(output.Value),
|
|
5438
5438
|
};
|
|
5439
5439
|
};
|
|
5440
5440
|
const deserializeAws_json1_1Face = (output, context) => {
|
|
@@ -5442,11 +5442,11 @@ const deserializeAws_json1_1Face = (output, context) => {
|
|
|
5442
5442
|
BoundingBox: output.BoundingBox !== undefined && output.BoundingBox !== null
|
|
5443
5443
|
? deserializeAws_json1_1BoundingBox(output.BoundingBox, context)
|
|
5444
5444
|
: undefined,
|
|
5445
|
-
Confidence: smithy_client_1.limitedParseFloat32(output.Confidence),
|
|
5446
|
-
ExternalImageId: smithy_client_1.expectString(output.ExternalImageId),
|
|
5447
|
-
FaceId: smithy_client_1.expectString(output.FaceId),
|
|
5448
|
-
ImageId: smithy_client_1.expectString(output.ImageId),
|
|
5449
|
-
IndexFacesModelVersion: smithy_client_1.expectString(output.IndexFacesModelVersion),
|
|
5445
|
+
Confidence: (0, smithy_client_1.limitedParseFloat32)(output.Confidence),
|
|
5446
|
+
ExternalImageId: (0, smithy_client_1.expectString)(output.ExternalImageId),
|
|
5447
|
+
FaceId: (0, smithy_client_1.expectString)(output.FaceId),
|
|
5448
|
+
ImageId: (0, smithy_client_1.expectString)(output.ImageId),
|
|
5449
|
+
IndexFacesModelVersion: (0, smithy_client_1.expectString)(output.IndexFacesModelVersion),
|
|
5450
5450
|
};
|
|
5451
5451
|
};
|
|
5452
5452
|
const deserializeAws_json1_1FaceDetail = (output, context) => {
|
|
@@ -5460,7 +5460,7 @@ const deserializeAws_json1_1FaceDetail = (output, context) => {
|
|
|
5460
5460
|
BoundingBox: output.BoundingBox !== undefined && output.BoundingBox !== null
|
|
5461
5461
|
? deserializeAws_json1_1BoundingBox(output.BoundingBox, context)
|
|
5462
5462
|
: undefined,
|
|
5463
|
-
Confidence: smithy_client_1.limitedParseFloat32(output.Confidence),
|
|
5463
|
+
Confidence: (0, smithy_client_1.limitedParseFloat32)(output.Confidence),
|
|
5464
5464
|
Emotions: output.Emotions !== undefined && output.Emotions !== null
|
|
5465
5465
|
? deserializeAws_json1_1Emotions(output.Emotions, context)
|
|
5466
5466
|
: undefined,
|
|
@@ -5510,7 +5510,7 @@ const deserializeAws_json1_1FaceDetection = (output, context) => {
|
|
|
5510
5510
|
Face: output.Face !== undefined && output.Face !== null
|
|
5511
5511
|
? deserializeAws_json1_1FaceDetail(output.Face, context)
|
|
5512
5512
|
: undefined,
|
|
5513
|
-
Timestamp: smithy_client_1.expectLong(output.Timestamp),
|
|
5513
|
+
Timestamp: (0, smithy_client_1.expectLong)(output.Timestamp),
|
|
5514
5514
|
};
|
|
5515
5515
|
};
|
|
5516
5516
|
const deserializeAws_json1_1FaceDetections = (output, context) => {
|
|
@@ -5531,7 +5531,7 @@ const deserializeAws_json1_1FaceIdList = (output, context) => {
|
|
|
5531
5531
|
if (entry === null) {
|
|
5532
5532
|
return null;
|
|
5533
5533
|
}
|
|
5534
|
-
return smithy_client_1.expectString(entry);
|
|
5534
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
5535
5535
|
});
|
|
5536
5536
|
return retVal;
|
|
5537
5537
|
};
|
|
@@ -5549,7 +5549,7 @@ const deserializeAws_json1_1FaceList = (output, context) => {
|
|
|
5549
5549
|
const deserializeAws_json1_1FaceMatch = (output, context) => {
|
|
5550
5550
|
return {
|
|
5551
5551
|
Face: output.Face !== undefined && output.Face !== null ? deserializeAws_json1_1Face(output.Face, context) : undefined,
|
|
5552
|
-
Similarity: smithy_client_1.limitedParseFloat32(output.Similarity),
|
|
5552
|
+
Similarity: (0, smithy_client_1.limitedParseFloat32)(output.Similarity),
|
|
5553
5553
|
};
|
|
5554
5554
|
};
|
|
5555
5555
|
const deserializeAws_json1_1FaceMatchList = (output, context) => {
|
|
@@ -5570,7 +5570,7 @@ const deserializeAws_json1_1FaceModelVersionList = (output, context) => {
|
|
|
5570
5570
|
if (entry === null) {
|
|
5571
5571
|
return null;
|
|
5572
5572
|
}
|
|
5573
|
-
return smithy_client_1.expectString(entry);
|
|
5573
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
5574
5574
|
});
|
|
5575
5575
|
return retVal;
|
|
5576
5576
|
};
|
|
@@ -5595,14 +5595,14 @@ const deserializeAws_json1_1FaceRecordList = (output, context) => {
|
|
|
5595
5595
|
};
|
|
5596
5596
|
const deserializeAws_json1_1FaceSearchSettings = (output, context) => {
|
|
5597
5597
|
return {
|
|
5598
|
-
CollectionId: smithy_client_1.expectString(output.CollectionId),
|
|
5599
|
-
FaceMatchThreshold: smithy_client_1.limitedParseFloat32(output.FaceMatchThreshold),
|
|
5598
|
+
CollectionId: (0, smithy_client_1.expectString)(output.CollectionId),
|
|
5599
|
+
FaceMatchThreshold: (0, smithy_client_1.limitedParseFloat32)(output.FaceMatchThreshold),
|
|
5600
5600
|
};
|
|
5601
5601
|
};
|
|
5602
5602
|
const deserializeAws_json1_1Gender = (output, context) => {
|
|
5603
5603
|
return {
|
|
5604
|
-
Confidence: smithy_client_1.limitedParseFloat32(output.Confidence),
|
|
5605
|
-
Value: smithy_client_1.expectString(output.Value),
|
|
5604
|
+
Confidence: (0, smithy_client_1.limitedParseFloat32)(output.Confidence),
|
|
5605
|
+
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
5606
5606
|
};
|
|
5607
5607
|
};
|
|
5608
5608
|
const deserializeAws_json1_1Geometry = (output, context) => {
|
|
@@ -5620,7 +5620,7 @@ const deserializeAws_json1_1GetCelebrityInfoResponse = (output, context) => {
|
|
|
5620
5620
|
KnownGender: output.KnownGender !== undefined && output.KnownGender !== null
|
|
5621
5621
|
? deserializeAws_json1_1KnownGender(output.KnownGender, context)
|
|
5622
5622
|
: undefined,
|
|
5623
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
5623
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5624
5624
|
Urls: output.Urls !== undefined && output.Urls !== null ? deserializeAws_json1_1Urls(output.Urls, context) : undefined,
|
|
5625
5625
|
};
|
|
5626
5626
|
};
|
|
@@ -5629,9 +5629,9 @@ const deserializeAws_json1_1GetCelebrityRecognitionResponse = (output, context)
|
|
|
5629
5629
|
Celebrities: output.Celebrities !== undefined && output.Celebrities !== null
|
|
5630
5630
|
? deserializeAws_json1_1CelebrityRecognitions(output.Celebrities, context)
|
|
5631
5631
|
: undefined,
|
|
5632
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
5633
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
5634
|
-
StatusMessage: smithy_client_1.expectString(output.StatusMessage),
|
|
5632
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
5633
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5634
|
+
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
5635
5635
|
VideoMetadata: output.VideoMetadata !== undefined && output.VideoMetadata !== null
|
|
5636
5636
|
? deserializeAws_json1_1VideoMetadata(output.VideoMetadata, context)
|
|
5637
5637
|
: undefined,
|
|
@@ -5639,13 +5639,13 @@ const deserializeAws_json1_1GetCelebrityRecognitionResponse = (output, context)
|
|
|
5639
5639
|
};
|
|
5640
5640
|
const deserializeAws_json1_1GetContentModerationResponse = (output, context) => {
|
|
5641
5641
|
return {
|
|
5642
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
5642
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
5643
5643
|
ModerationLabels: output.ModerationLabels !== undefined && output.ModerationLabels !== null
|
|
5644
5644
|
? deserializeAws_json1_1ContentModerationDetections(output.ModerationLabels, context)
|
|
5645
5645
|
: undefined,
|
|
5646
|
-
ModerationModelVersion: smithy_client_1.expectString(output.ModerationModelVersion),
|
|
5647
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
5648
|
-
StatusMessage: smithy_client_1.expectString(output.StatusMessage),
|
|
5646
|
+
ModerationModelVersion: (0, smithy_client_1.expectString)(output.ModerationModelVersion),
|
|
5647
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5648
|
+
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
5649
5649
|
VideoMetadata: output.VideoMetadata !== undefined && output.VideoMetadata !== null
|
|
5650
5650
|
? deserializeAws_json1_1VideoMetadata(output.VideoMetadata, context)
|
|
5651
5651
|
: undefined,
|
|
@@ -5656,9 +5656,9 @@ const deserializeAws_json1_1GetFaceDetectionResponse = (output, context) => {
|
|
|
5656
5656
|
Faces: output.Faces !== undefined && output.Faces !== null
|
|
5657
5657
|
? deserializeAws_json1_1FaceDetections(output.Faces, context)
|
|
5658
5658
|
: undefined,
|
|
5659
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
5660
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
5661
|
-
StatusMessage: smithy_client_1.expectString(output.StatusMessage),
|
|
5659
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
5660
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5661
|
+
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
5662
5662
|
VideoMetadata: output.VideoMetadata !== undefined && output.VideoMetadata !== null
|
|
5663
5663
|
? deserializeAws_json1_1VideoMetadata(output.VideoMetadata, context)
|
|
5664
5664
|
: undefined,
|
|
@@ -5666,12 +5666,12 @@ const deserializeAws_json1_1GetFaceDetectionResponse = (output, context) => {
|
|
|
5666
5666
|
};
|
|
5667
5667
|
const deserializeAws_json1_1GetFaceSearchResponse = (output, context) => {
|
|
5668
5668
|
return {
|
|
5669
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
5670
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
5669
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
5670
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5671
5671
|
Persons: output.Persons !== undefined && output.Persons !== null
|
|
5672
5672
|
? deserializeAws_json1_1PersonMatches(output.Persons, context)
|
|
5673
5673
|
: undefined,
|
|
5674
|
-
StatusMessage: smithy_client_1.expectString(output.StatusMessage),
|
|
5674
|
+
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
5675
5675
|
VideoMetadata: output.VideoMetadata !== undefined && output.VideoMetadata !== null
|
|
5676
5676
|
? deserializeAws_json1_1VideoMetadata(output.VideoMetadata, context)
|
|
5677
5677
|
: undefined,
|
|
@@ -5679,13 +5679,13 @@ const deserializeAws_json1_1GetFaceSearchResponse = (output, context) => {
|
|
|
5679
5679
|
};
|
|
5680
5680
|
const deserializeAws_json1_1GetLabelDetectionResponse = (output, context) => {
|
|
5681
5681
|
return {
|
|
5682
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
5683
|
-
LabelModelVersion: smithy_client_1.expectString(output.LabelModelVersion),
|
|
5682
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
5683
|
+
LabelModelVersion: (0, smithy_client_1.expectString)(output.LabelModelVersion),
|
|
5684
5684
|
Labels: output.Labels !== undefined && output.Labels !== null
|
|
5685
5685
|
? deserializeAws_json1_1LabelDetections(output.Labels, context)
|
|
5686
5686
|
: undefined,
|
|
5687
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
5688
|
-
StatusMessage: smithy_client_1.expectString(output.StatusMessage),
|
|
5687
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5688
|
+
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
5689
5689
|
VideoMetadata: output.VideoMetadata !== undefined && output.VideoMetadata !== null
|
|
5690
5690
|
? deserializeAws_json1_1VideoMetadata(output.VideoMetadata, context)
|
|
5691
5691
|
: undefined,
|
|
@@ -5693,12 +5693,12 @@ const deserializeAws_json1_1GetLabelDetectionResponse = (output, context) => {
|
|
|
5693
5693
|
};
|
|
5694
5694
|
const deserializeAws_json1_1GetPersonTrackingResponse = (output, context) => {
|
|
5695
5695
|
return {
|
|
5696
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
5697
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
5696
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
5697
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5698
5698
|
Persons: output.Persons !== undefined && output.Persons !== null
|
|
5699
5699
|
? deserializeAws_json1_1PersonDetections(output.Persons, context)
|
|
5700
5700
|
: undefined,
|
|
5701
|
-
StatusMessage: smithy_client_1.expectString(output.StatusMessage),
|
|
5701
|
+
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
5702
5702
|
VideoMetadata: output.VideoMetadata !== undefined && output.VideoMetadata !== null
|
|
5703
5703
|
? deserializeAws_json1_1VideoMetadata(output.VideoMetadata, context)
|
|
5704
5704
|
: undefined,
|
|
@@ -5709,15 +5709,15 @@ const deserializeAws_json1_1GetSegmentDetectionResponse = (output, context) => {
|
|
|
5709
5709
|
AudioMetadata: output.AudioMetadata !== undefined && output.AudioMetadata !== null
|
|
5710
5710
|
? deserializeAws_json1_1AudioMetadataList(output.AudioMetadata, context)
|
|
5711
5711
|
: undefined,
|
|
5712
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
5713
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
5712
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
5713
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5714
5714
|
Segments: output.Segments !== undefined && output.Segments !== null
|
|
5715
5715
|
? deserializeAws_json1_1SegmentDetections(output.Segments, context)
|
|
5716
5716
|
: undefined,
|
|
5717
5717
|
SelectedSegmentTypes: output.SelectedSegmentTypes !== undefined && output.SelectedSegmentTypes !== null
|
|
5718
5718
|
? deserializeAws_json1_1SegmentTypesInfo(output.SelectedSegmentTypes, context)
|
|
5719
5719
|
: undefined,
|
|
5720
|
-
StatusMessage: smithy_client_1.expectString(output.StatusMessage),
|
|
5720
|
+
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
5721
5721
|
VideoMetadata: output.VideoMetadata !== undefined && output.VideoMetadata !== null
|
|
5722
5722
|
? deserializeAws_json1_1VideoMetadataList(output.VideoMetadata, context)
|
|
5723
5723
|
: undefined,
|
|
@@ -5725,13 +5725,13 @@ const deserializeAws_json1_1GetSegmentDetectionResponse = (output, context) => {
|
|
|
5725
5725
|
};
|
|
5726
5726
|
const deserializeAws_json1_1GetTextDetectionResponse = (output, context) => {
|
|
5727
5727
|
return {
|
|
5728
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
5729
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
5730
|
-
StatusMessage: smithy_client_1.expectString(output.StatusMessage),
|
|
5728
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
5729
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5730
|
+
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
5731
5731
|
TextDetections: output.TextDetections !== undefined && output.TextDetections !== null
|
|
5732
5732
|
? deserializeAws_json1_1TextDetectionResults(output.TextDetections, context)
|
|
5733
5733
|
: undefined,
|
|
5734
|
-
TextModelVersion: smithy_client_1.expectString(output.TextModelVersion),
|
|
5734
|
+
TextModelVersion: (0, smithy_client_1.expectString)(output.TextModelVersion),
|
|
5735
5735
|
VideoMetadata: output.VideoMetadata !== undefined && output.VideoMetadata !== null
|
|
5736
5736
|
? deserializeAws_json1_1VideoMetadata(output.VideoMetadata, context)
|
|
5737
5737
|
: undefined,
|
|
@@ -5753,7 +5753,7 @@ const deserializeAws_json1_1HumanLoopActivationOutput = (output, context) => {
|
|
|
5753
5753
|
HumanLoopActivationReasons: output.HumanLoopActivationReasons !== undefined && output.HumanLoopActivationReasons !== null
|
|
5754
5754
|
? deserializeAws_json1_1HumanLoopActivationReasons(output.HumanLoopActivationReasons, context)
|
|
5755
5755
|
: undefined,
|
|
5756
|
-
HumanLoopArn: smithy_client_1.expectString(output.HumanLoopArn),
|
|
5756
|
+
HumanLoopArn: (0, smithy_client_1.expectString)(output.HumanLoopArn),
|
|
5757
5757
|
};
|
|
5758
5758
|
};
|
|
5759
5759
|
const deserializeAws_json1_1HumanLoopActivationReasons = (output, context) => {
|
|
@@ -5763,47 +5763,47 @@ const deserializeAws_json1_1HumanLoopActivationReasons = (output, context) => {
|
|
|
5763
5763
|
if (entry === null) {
|
|
5764
5764
|
return null;
|
|
5765
5765
|
}
|
|
5766
|
-
return smithy_client_1.expectString(entry);
|
|
5766
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
5767
5767
|
});
|
|
5768
5768
|
return retVal;
|
|
5769
5769
|
};
|
|
5770
5770
|
const deserializeAws_json1_1HumanLoopQuotaExceededException = (output, context) => {
|
|
5771
5771
|
return {
|
|
5772
|
-
Code: smithy_client_1.expectString(output.Code),
|
|
5773
|
-
Logref: smithy_client_1.expectString(output.Logref),
|
|
5774
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
5775
|
-
QuotaCode: smithy_client_1.expectString(output.QuotaCode),
|
|
5776
|
-
ResourceType: smithy_client_1.expectString(output.ResourceType),
|
|
5777
|
-
ServiceCode: smithy_client_1.expectString(output.ServiceCode),
|
|
5772
|
+
Code: (0, smithy_client_1.expectString)(output.Code),
|
|
5773
|
+
Logref: (0, smithy_client_1.expectString)(output.Logref),
|
|
5774
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5775
|
+
QuotaCode: (0, smithy_client_1.expectString)(output.QuotaCode),
|
|
5776
|
+
ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
|
|
5777
|
+
ServiceCode: (0, smithy_client_1.expectString)(output.ServiceCode),
|
|
5778
5778
|
};
|
|
5779
5779
|
};
|
|
5780
5780
|
const deserializeAws_json1_1IdempotentParameterMismatchException = (output, context) => {
|
|
5781
5781
|
return {
|
|
5782
|
-
Code: smithy_client_1.expectString(output.Code),
|
|
5783
|
-
Logref: smithy_client_1.expectString(output.Logref),
|
|
5784
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
5782
|
+
Code: (0, smithy_client_1.expectString)(output.Code),
|
|
5783
|
+
Logref: (0, smithy_client_1.expectString)(output.Logref),
|
|
5784
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5785
5785
|
};
|
|
5786
5786
|
};
|
|
5787
5787
|
const deserializeAws_json1_1ImageQuality = (output, context) => {
|
|
5788
5788
|
return {
|
|
5789
|
-
Brightness: smithy_client_1.limitedParseFloat32(output.Brightness),
|
|
5790
|
-
Sharpness: smithy_client_1.limitedParseFloat32(output.Sharpness),
|
|
5789
|
+
Brightness: (0, smithy_client_1.limitedParseFloat32)(output.Brightness),
|
|
5790
|
+
Sharpness: (0, smithy_client_1.limitedParseFloat32)(output.Sharpness),
|
|
5791
5791
|
};
|
|
5792
5792
|
};
|
|
5793
5793
|
const deserializeAws_json1_1ImageTooLargeException = (output, context) => {
|
|
5794
5794
|
return {
|
|
5795
|
-
Code: smithy_client_1.expectString(output.Code),
|
|
5796
|
-
Logref: smithy_client_1.expectString(output.Logref),
|
|
5797
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
5795
|
+
Code: (0, smithy_client_1.expectString)(output.Code),
|
|
5796
|
+
Logref: (0, smithy_client_1.expectString)(output.Logref),
|
|
5797
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5798
5798
|
};
|
|
5799
5799
|
};
|
|
5800
5800
|
const deserializeAws_json1_1IndexFacesResponse = (output, context) => {
|
|
5801
5801
|
return {
|
|
5802
|
-
FaceModelVersion: smithy_client_1.expectString(output.FaceModelVersion),
|
|
5802
|
+
FaceModelVersion: (0, smithy_client_1.expectString)(output.FaceModelVersion),
|
|
5803
5803
|
FaceRecords: output.FaceRecords !== undefined && output.FaceRecords !== null
|
|
5804
5804
|
? deserializeAws_json1_1FaceRecordList(output.FaceRecords, context)
|
|
5805
5805
|
: undefined,
|
|
5806
|
-
OrientationCorrection: smithy_client_1.expectString(output.OrientationCorrection),
|
|
5806
|
+
OrientationCorrection: (0, smithy_client_1.expectString)(output.OrientationCorrection),
|
|
5807
5807
|
UnindexedFaces: output.UnindexedFaces !== undefined && output.UnindexedFaces !== null
|
|
5808
5808
|
? deserializeAws_json1_1UnindexedFaces(output.UnindexedFaces, context)
|
|
5809
5809
|
: undefined,
|
|
@@ -5814,7 +5814,7 @@ const deserializeAws_json1_1Instance = (output, context) => {
|
|
|
5814
5814
|
BoundingBox: output.BoundingBox !== undefined && output.BoundingBox !== null
|
|
5815
5815
|
? deserializeAws_json1_1BoundingBox(output.BoundingBox, context)
|
|
5816
5816
|
: undefined,
|
|
5817
|
-
Confidence: smithy_client_1.limitedParseFloat32(output.Confidence),
|
|
5817
|
+
Confidence: (0, smithy_client_1.limitedParseFloat32)(output.Confidence),
|
|
5818
5818
|
};
|
|
5819
5819
|
};
|
|
5820
5820
|
const deserializeAws_json1_1Instances = (output, context) => {
|
|
@@ -5830,61 +5830,61 @@ const deserializeAws_json1_1Instances = (output, context) => {
|
|
|
5830
5830
|
};
|
|
5831
5831
|
const deserializeAws_json1_1InternalServerError = (output, context) => {
|
|
5832
5832
|
return {
|
|
5833
|
-
Code: smithy_client_1.expectString(output.Code),
|
|
5834
|
-
Logref: smithy_client_1.expectString(output.Logref),
|
|
5835
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
5833
|
+
Code: (0, smithy_client_1.expectString)(output.Code),
|
|
5834
|
+
Logref: (0, smithy_client_1.expectString)(output.Logref),
|
|
5835
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5836
5836
|
};
|
|
5837
5837
|
};
|
|
5838
5838
|
const deserializeAws_json1_1InvalidImageFormatException = (output, context) => {
|
|
5839
5839
|
return {
|
|
5840
|
-
Code: smithy_client_1.expectString(output.Code),
|
|
5841
|
-
Logref: smithy_client_1.expectString(output.Logref),
|
|
5842
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
5840
|
+
Code: (0, smithy_client_1.expectString)(output.Code),
|
|
5841
|
+
Logref: (0, smithy_client_1.expectString)(output.Logref),
|
|
5842
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5843
5843
|
};
|
|
5844
5844
|
};
|
|
5845
5845
|
const deserializeAws_json1_1InvalidPaginationTokenException = (output, context) => {
|
|
5846
5846
|
return {
|
|
5847
|
-
Code: smithy_client_1.expectString(output.Code),
|
|
5848
|
-
Logref: smithy_client_1.expectString(output.Logref),
|
|
5849
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
5847
|
+
Code: (0, smithy_client_1.expectString)(output.Code),
|
|
5848
|
+
Logref: (0, smithy_client_1.expectString)(output.Logref),
|
|
5849
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5850
5850
|
};
|
|
5851
5851
|
};
|
|
5852
5852
|
const deserializeAws_json1_1InvalidParameterException = (output, context) => {
|
|
5853
5853
|
return {
|
|
5854
|
-
Code: smithy_client_1.expectString(output.Code),
|
|
5855
|
-
Logref: smithy_client_1.expectString(output.Logref),
|
|
5856
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
5854
|
+
Code: (0, smithy_client_1.expectString)(output.Code),
|
|
5855
|
+
Logref: (0, smithy_client_1.expectString)(output.Logref),
|
|
5856
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5857
5857
|
};
|
|
5858
5858
|
};
|
|
5859
5859
|
const deserializeAws_json1_1InvalidS3ObjectException = (output, context) => {
|
|
5860
5860
|
return {
|
|
5861
|
-
Code: smithy_client_1.expectString(output.Code),
|
|
5862
|
-
Logref: smithy_client_1.expectString(output.Logref),
|
|
5863
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
5861
|
+
Code: (0, smithy_client_1.expectString)(output.Code),
|
|
5862
|
+
Logref: (0, smithy_client_1.expectString)(output.Logref),
|
|
5863
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5864
5864
|
};
|
|
5865
5865
|
};
|
|
5866
5866
|
const deserializeAws_json1_1KinesisDataStream = (output, context) => {
|
|
5867
5867
|
return {
|
|
5868
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
5868
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
5869
5869
|
};
|
|
5870
5870
|
};
|
|
5871
5871
|
const deserializeAws_json1_1KinesisVideoStream = (output, context) => {
|
|
5872
5872
|
return {
|
|
5873
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
5873
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
5874
5874
|
};
|
|
5875
5875
|
};
|
|
5876
5876
|
const deserializeAws_json1_1KnownGender = (output, context) => {
|
|
5877
5877
|
return {
|
|
5878
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
5878
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
5879
5879
|
};
|
|
5880
5880
|
};
|
|
5881
5881
|
const deserializeAws_json1_1Label = (output, context) => {
|
|
5882
5882
|
return {
|
|
5883
|
-
Confidence: smithy_client_1.limitedParseFloat32(output.Confidence),
|
|
5883
|
+
Confidence: (0, smithy_client_1.limitedParseFloat32)(output.Confidence),
|
|
5884
5884
|
Instances: output.Instances !== undefined && output.Instances !== null
|
|
5885
5885
|
? deserializeAws_json1_1Instances(output.Instances, context)
|
|
5886
5886
|
: undefined,
|
|
5887
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
5887
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5888
5888
|
Parents: output.Parents !== undefined && output.Parents !== null
|
|
5889
5889
|
? deserializeAws_json1_1Parents(output.Parents, context)
|
|
5890
5890
|
: undefined,
|
|
@@ -5895,7 +5895,7 @@ const deserializeAws_json1_1LabelDetection = (output, context) => {
|
|
|
5895
5895
|
Label: output.Label !== undefined && output.Label !== null
|
|
5896
5896
|
? deserializeAws_json1_1Label(output.Label, context)
|
|
5897
5897
|
: undefined,
|
|
5898
|
-
Timestamp: smithy_client_1.expectLong(output.Timestamp),
|
|
5898
|
+
Timestamp: (0, smithy_client_1.expectLong)(output.Timestamp),
|
|
5899
5899
|
};
|
|
5900
5900
|
};
|
|
5901
5901
|
const deserializeAws_json1_1LabelDetections = (output, context) => {
|
|
@@ -5922,9 +5922,9 @@ const deserializeAws_json1_1Labels = (output, context) => {
|
|
|
5922
5922
|
};
|
|
5923
5923
|
const deserializeAws_json1_1Landmark = (output, context) => {
|
|
5924
5924
|
return {
|
|
5925
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
5926
|
-
X: smithy_client_1.limitedParseFloat32(output.X),
|
|
5927
|
-
Y: smithy_client_1.limitedParseFloat32(output.Y),
|
|
5925
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
5926
|
+
X: (0, smithy_client_1.limitedParseFloat32)(output.X),
|
|
5927
|
+
Y: (0, smithy_client_1.limitedParseFloat32)(output.Y),
|
|
5928
5928
|
};
|
|
5929
5929
|
};
|
|
5930
5930
|
const deserializeAws_json1_1Landmarks = (output, context) => {
|
|
@@ -5940,9 +5940,9 @@ const deserializeAws_json1_1Landmarks = (output, context) => {
|
|
|
5940
5940
|
};
|
|
5941
5941
|
const deserializeAws_json1_1LimitExceededException = (output, context) => {
|
|
5942
5942
|
return {
|
|
5943
|
-
Code: smithy_client_1.expectString(output.Code),
|
|
5944
|
-
Logref: smithy_client_1.expectString(output.Logref),
|
|
5945
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
5943
|
+
Code: (0, smithy_client_1.expectString)(output.Code),
|
|
5944
|
+
Logref: (0, smithy_client_1.expectString)(output.Logref),
|
|
5945
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5946
5946
|
};
|
|
5947
5947
|
};
|
|
5948
5948
|
const deserializeAws_json1_1ListCollectionsResponse = (output, context) => {
|
|
@@ -5953,7 +5953,7 @@ const deserializeAws_json1_1ListCollectionsResponse = (output, context) => {
|
|
|
5953
5953
|
FaceModelVersions: output.FaceModelVersions !== undefined && output.FaceModelVersions !== null
|
|
5954
5954
|
? deserializeAws_json1_1FaceModelVersionList(output.FaceModelVersions, context)
|
|
5955
5955
|
: undefined,
|
|
5956
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
5956
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5957
5957
|
};
|
|
5958
5958
|
};
|
|
5959
5959
|
const deserializeAws_json1_1ListDatasetEntriesResponse = (output, context) => {
|
|
@@ -5961,7 +5961,7 @@ const deserializeAws_json1_1ListDatasetEntriesResponse = (output, context) => {
|
|
|
5961
5961
|
DatasetEntries: output.DatasetEntries !== undefined && output.DatasetEntries !== null
|
|
5962
5962
|
? deserializeAws_json1_1DatasetEntries(output.DatasetEntries, context)
|
|
5963
5963
|
: undefined,
|
|
5964
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
5964
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5965
5965
|
};
|
|
5966
5966
|
};
|
|
5967
5967
|
const deserializeAws_json1_1ListDatasetLabelsResponse = (output, context) => {
|
|
@@ -5969,21 +5969,21 @@ const deserializeAws_json1_1ListDatasetLabelsResponse = (output, context) => {
|
|
|
5969
5969
|
DatasetLabelDescriptions: output.DatasetLabelDescriptions !== undefined && output.DatasetLabelDescriptions !== null
|
|
5970
5970
|
? deserializeAws_json1_1DatasetLabelDescriptions(output.DatasetLabelDescriptions, context)
|
|
5971
5971
|
: undefined,
|
|
5972
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
5972
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5973
5973
|
};
|
|
5974
5974
|
};
|
|
5975
5975
|
const deserializeAws_json1_1ListFacesResponse = (output, context) => {
|
|
5976
5976
|
return {
|
|
5977
|
-
FaceModelVersion: smithy_client_1.expectString(output.FaceModelVersion),
|
|
5977
|
+
FaceModelVersion: (0, smithy_client_1.expectString)(output.FaceModelVersion),
|
|
5978
5978
|
Faces: output.Faces !== undefined && output.Faces !== null
|
|
5979
5979
|
? deserializeAws_json1_1FaceList(output.Faces, context)
|
|
5980
5980
|
: undefined,
|
|
5981
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
5981
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5982
5982
|
};
|
|
5983
5983
|
};
|
|
5984
5984
|
const deserializeAws_json1_1ListStreamProcessorsResponse = (output, context) => {
|
|
5985
5985
|
return {
|
|
5986
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
5986
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
5987
5987
|
StreamProcessors: output.StreamProcessors !== undefined && output.StreamProcessors !== null
|
|
5988
5988
|
? deserializeAws_json1_1StreamProcessorList(output.StreamProcessors, context)
|
|
5989
5989
|
: undefined,
|
|
@@ -5998,9 +5998,9 @@ const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
|
|
|
5998
5998
|
};
|
|
5999
5999
|
const deserializeAws_json1_1ModerationLabel = (output, context) => {
|
|
6000
6000
|
return {
|
|
6001
|
-
Confidence: smithy_client_1.limitedParseFloat32(output.Confidence),
|
|
6002
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
6003
|
-
ParentName: smithy_client_1.expectString(output.ParentName),
|
|
6001
|
+
Confidence: (0, smithy_client_1.limitedParseFloat32)(output.Confidence),
|
|
6002
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
6003
|
+
ParentName: (0, smithy_client_1.expectString)(output.ParentName),
|
|
6004
6004
|
};
|
|
6005
6005
|
};
|
|
6006
6006
|
const deserializeAws_json1_1ModerationLabels = (output, context) => {
|
|
@@ -6016,25 +6016,25 @@ const deserializeAws_json1_1ModerationLabels = (output, context) => {
|
|
|
6016
6016
|
};
|
|
6017
6017
|
const deserializeAws_json1_1MouthOpen = (output, context) => {
|
|
6018
6018
|
return {
|
|
6019
|
-
Confidence: smithy_client_1.limitedParseFloat32(output.Confidence),
|
|
6020
|
-
Value: smithy_client_1.expectBoolean(output.Value),
|
|
6019
|
+
Confidence: (0, smithy_client_1.limitedParseFloat32)(output.Confidence),
|
|
6020
|
+
Value: (0, smithy_client_1.expectBoolean)(output.Value),
|
|
6021
6021
|
};
|
|
6022
6022
|
};
|
|
6023
6023
|
const deserializeAws_json1_1Mustache = (output, context) => {
|
|
6024
6024
|
return {
|
|
6025
|
-
Confidence: smithy_client_1.limitedParseFloat32(output.Confidence),
|
|
6026
|
-
Value: smithy_client_1.expectBoolean(output.Value),
|
|
6025
|
+
Confidence: (0, smithy_client_1.limitedParseFloat32)(output.Confidence),
|
|
6026
|
+
Value: (0, smithy_client_1.expectBoolean)(output.Value),
|
|
6027
6027
|
};
|
|
6028
6028
|
};
|
|
6029
6029
|
const deserializeAws_json1_1OutputConfig = (output, context) => {
|
|
6030
6030
|
return {
|
|
6031
|
-
S3Bucket: smithy_client_1.expectString(output.S3Bucket),
|
|
6032
|
-
S3KeyPrefix: smithy_client_1.expectString(output.S3KeyPrefix),
|
|
6031
|
+
S3Bucket: (0, smithy_client_1.expectString)(output.S3Bucket),
|
|
6032
|
+
S3KeyPrefix: (0, smithy_client_1.expectString)(output.S3KeyPrefix),
|
|
6033
6033
|
};
|
|
6034
6034
|
};
|
|
6035
6035
|
const deserializeAws_json1_1Parent = (output, context) => {
|
|
6036
6036
|
return {
|
|
6037
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
6037
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
6038
6038
|
};
|
|
6039
6039
|
};
|
|
6040
6040
|
const deserializeAws_json1_1Parents = (output, context) => {
|
|
@@ -6056,7 +6056,7 @@ const deserializeAws_json1_1PersonDetail = (output, context) => {
|
|
|
6056
6056
|
Face: output.Face !== undefined && output.Face !== null
|
|
6057
6057
|
? deserializeAws_json1_1FaceDetail(output.Face, context)
|
|
6058
6058
|
: undefined,
|
|
6059
|
-
Index: smithy_client_1.expectLong(output.Index),
|
|
6059
|
+
Index: (0, smithy_client_1.expectLong)(output.Index),
|
|
6060
6060
|
};
|
|
6061
6061
|
};
|
|
6062
6062
|
const deserializeAws_json1_1PersonDetection = (output, context) => {
|
|
@@ -6064,7 +6064,7 @@ const deserializeAws_json1_1PersonDetection = (output, context) => {
|
|
|
6064
6064
|
Person: output.Person !== undefined && output.Person !== null
|
|
6065
6065
|
? deserializeAws_json1_1PersonDetail(output.Person, context)
|
|
6066
6066
|
: undefined,
|
|
6067
|
-
Timestamp: smithy_client_1.expectLong(output.Timestamp),
|
|
6067
|
+
Timestamp: (0, smithy_client_1.expectLong)(output.Timestamp),
|
|
6068
6068
|
};
|
|
6069
6069
|
};
|
|
6070
6070
|
const deserializeAws_json1_1PersonDetections = (output, context) => {
|
|
@@ -6086,7 +6086,7 @@ const deserializeAws_json1_1PersonMatch = (output, context) => {
|
|
|
6086
6086
|
Person: output.Person !== undefined && output.Person !== null
|
|
6087
6087
|
? deserializeAws_json1_1PersonDetail(output.Person, context)
|
|
6088
6088
|
: undefined,
|
|
6089
|
-
Timestamp: smithy_client_1.expectLong(output.Timestamp),
|
|
6089
|
+
Timestamp: (0, smithy_client_1.expectLong)(output.Timestamp),
|
|
6090
6090
|
};
|
|
6091
6091
|
};
|
|
6092
6092
|
const deserializeAws_json1_1PersonMatches = (output, context) => {
|
|
@@ -6102,8 +6102,8 @@ const deserializeAws_json1_1PersonMatches = (output, context) => {
|
|
|
6102
6102
|
};
|
|
6103
6103
|
const deserializeAws_json1_1Point = (output, context) => {
|
|
6104
6104
|
return {
|
|
6105
|
-
X: smithy_client_1.limitedParseFloat32(output.X),
|
|
6106
|
-
Y: smithy_client_1.limitedParseFloat32(output.Y),
|
|
6105
|
+
X: (0, smithy_client_1.limitedParseFloat32)(output.X),
|
|
6106
|
+
Y: (0, smithy_client_1.limitedParseFloat32)(output.Y),
|
|
6107
6107
|
};
|
|
6108
6108
|
};
|
|
6109
6109
|
const deserializeAws_json1_1Polygon = (output, context) => {
|
|
@@ -6119,21 +6119,21 @@ const deserializeAws_json1_1Polygon = (output, context) => {
|
|
|
6119
6119
|
};
|
|
6120
6120
|
const deserializeAws_json1_1Pose = (output, context) => {
|
|
6121
6121
|
return {
|
|
6122
|
-
Pitch: smithy_client_1.limitedParseFloat32(output.Pitch),
|
|
6123
|
-
Roll: smithy_client_1.limitedParseFloat32(output.Roll),
|
|
6124
|
-
Yaw: smithy_client_1.limitedParseFloat32(output.Yaw),
|
|
6122
|
+
Pitch: (0, smithy_client_1.limitedParseFloat32)(output.Pitch),
|
|
6123
|
+
Roll: (0, smithy_client_1.limitedParseFloat32)(output.Roll),
|
|
6124
|
+
Yaw: (0, smithy_client_1.limitedParseFloat32)(output.Yaw),
|
|
6125
6125
|
};
|
|
6126
6126
|
};
|
|
6127
6127
|
const deserializeAws_json1_1ProjectDescription = (output, context) => {
|
|
6128
6128
|
return {
|
|
6129
6129
|
CreationTimestamp: output.CreationTimestamp !== undefined && output.CreationTimestamp !== null
|
|
6130
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTimestamp)))
|
|
6130
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTimestamp)))
|
|
6131
6131
|
: undefined,
|
|
6132
6132
|
Datasets: output.Datasets !== undefined && output.Datasets !== null
|
|
6133
6133
|
? deserializeAws_json1_1DatasetMetadataList(output.Datasets, context)
|
|
6134
6134
|
: undefined,
|
|
6135
|
-
ProjectArn: smithy_client_1.expectString(output.ProjectArn),
|
|
6136
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
6135
|
+
ProjectArn: (0, smithy_client_1.expectString)(output.ProjectArn),
|
|
6136
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
6137
6137
|
};
|
|
6138
6138
|
};
|
|
6139
6139
|
const deserializeAws_json1_1ProjectDescriptions = (output, context) => {
|
|
@@ -6149,24 +6149,24 @@ const deserializeAws_json1_1ProjectDescriptions = (output, context) => {
|
|
|
6149
6149
|
};
|
|
6150
6150
|
const deserializeAws_json1_1ProjectVersionDescription = (output, context) => {
|
|
6151
6151
|
return {
|
|
6152
|
-
BillableTrainingTimeInSeconds: smithy_client_1.expectLong(output.BillableTrainingTimeInSeconds),
|
|
6152
|
+
BillableTrainingTimeInSeconds: (0, smithy_client_1.expectLong)(output.BillableTrainingTimeInSeconds),
|
|
6153
6153
|
CreationTimestamp: output.CreationTimestamp !== undefined && output.CreationTimestamp !== null
|
|
6154
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTimestamp)))
|
|
6154
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTimestamp)))
|
|
6155
6155
|
: undefined,
|
|
6156
6156
|
EvaluationResult: output.EvaluationResult !== undefined && output.EvaluationResult !== null
|
|
6157
6157
|
? deserializeAws_json1_1EvaluationResult(output.EvaluationResult, context)
|
|
6158
6158
|
: undefined,
|
|
6159
|
-
KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
|
|
6159
|
+
KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
|
|
6160
6160
|
ManifestSummary: output.ManifestSummary !== undefined && output.ManifestSummary !== null
|
|
6161
6161
|
? deserializeAws_json1_1GroundTruthManifest(output.ManifestSummary, context)
|
|
6162
6162
|
: undefined,
|
|
6163
|
-
MinInferenceUnits: smithy_client_1.expectInt32(output.MinInferenceUnits),
|
|
6163
|
+
MinInferenceUnits: (0, smithy_client_1.expectInt32)(output.MinInferenceUnits),
|
|
6164
6164
|
OutputConfig: output.OutputConfig !== undefined && output.OutputConfig !== null
|
|
6165
6165
|
? deserializeAws_json1_1OutputConfig(output.OutputConfig, context)
|
|
6166
6166
|
: undefined,
|
|
6167
|
-
ProjectVersionArn: smithy_client_1.expectString(output.ProjectVersionArn),
|
|
6168
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
6169
|
-
StatusMessage: smithy_client_1.expectString(output.StatusMessage),
|
|
6167
|
+
ProjectVersionArn: (0, smithy_client_1.expectString)(output.ProjectVersionArn),
|
|
6168
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
6169
|
+
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
6170
6170
|
TestingDataResult: output.TestingDataResult !== undefined && output.TestingDataResult !== null
|
|
6171
6171
|
? deserializeAws_json1_1TestingDataResult(output.TestingDataResult, context)
|
|
6172
6172
|
: undefined,
|
|
@@ -6174,7 +6174,7 @@ const deserializeAws_json1_1ProjectVersionDescription = (output, context) => {
|
|
|
6174
6174
|
? deserializeAws_json1_1TrainingDataResult(output.TrainingDataResult, context)
|
|
6175
6175
|
: undefined,
|
|
6176
6176
|
TrainingEndTimestamp: output.TrainingEndTimestamp !== undefined && output.TrainingEndTimestamp !== null
|
|
6177
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.TrainingEndTimestamp)))
|
|
6177
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.TrainingEndTimestamp)))
|
|
6178
6178
|
: undefined,
|
|
6179
6179
|
};
|
|
6180
6180
|
};
|
|
@@ -6191,11 +6191,11 @@ const deserializeAws_json1_1ProjectVersionDescriptions = (output, context) => {
|
|
|
6191
6191
|
};
|
|
6192
6192
|
const deserializeAws_json1_1ProtectiveEquipmentBodyPart = (output, context) => {
|
|
6193
6193
|
return {
|
|
6194
|
-
Confidence: smithy_client_1.limitedParseFloat32(output.Confidence),
|
|
6194
|
+
Confidence: (0, smithy_client_1.limitedParseFloat32)(output.Confidence),
|
|
6195
6195
|
EquipmentDetections: output.EquipmentDetections !== undefined && output.EquipmentDetections !== null
|
|
6196
6196
|
? deserializeAws_json1_1EquipmentDetections(output.EquipmentDetections, context)
|
|
6197
6197
|
: undefined,
|
|
6198
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
6198
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
6199
6199
|
};
|
|
6200
6200
|
};
|
|
6201
6201
|
const deserializeAws_json1_1ProtectiveEquipmentPerson = (output, context) => {
|
|
@@ -6206,8 +6206,8 @@ const deserializeAws_json1_1ProtectiveEquipmentPerson = (output, context) => {
|
|
|
6206
6206
|
BoundingBox: output.BoundingBox !== undefined && output.BoundingBox !== null
|
|
6207
6207
|
? deserializeAws_json1_1BoundingBox(output.BoundingBox, context)
|
|
6208
6208
|
: undefined,
|
|
6209
|
-
Confidence: smithy_client_1.limitedParseFloat32(output.Confidence),
|
|
6210
|
-
Id: smithy_client_1.expectInt32(output.Id),
|
|
6209
|
+
Confidence: (0, smithy_client_1.limitedParseFloat32)(output.Confidence),
|
|
6210
|
+
Id: (0, smithy_client_1.expectInt32)(output.Id),
|
|
6211
6211
|
};
|
|
6212
6212
|
};
|
|
6213
6213
|
const deserializeAws_json1_1ProtectiveEquipmentPersonIds = (output, context) => {
|
|
@@ -6217,7 +6217,7 @@ const deserializeAws_json1_1ProtectiveEquipmentPersonIds = (output, context) =>
|
|
|
6217
6217
|
if (entry === null) {
|
|
6218
6218
|
return null;
|
|
6219
6219
|
}
|
|
6220
|
-
return smithy_client_1.expectInt32(entry);
|
|
6220
|
+
return (0, smithy_client_1.expectInt32)(entry);
|
|
6221
6221
|
});
|
|
6222
6222
|
return retVal;
|
|
6223
6223
|
};
|
|
@@ -6247,9 +6247,9 @@ const deserializeAws_json1_1ProtectiveEquipmentSummary = (output, context) => {
|
|
|
6247
6247
|
};
|
|
6248
6248
|
const deserializeAws_json1_1ProvisionedThroughputExceededException = (output, context) => {
|
|
6249
6249
|
return {
|
|
6250
|
-
Code: smithy_client_1.expectString(output.Code),
|
|
6251
|
-
Logref: smithy_client_1.expectString(output.Logref),
|
|
6252
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
6250
|
+
Code: (0, smithy_client_1.expectString)(output.Code),
|
|
6251
|
+
Logref: (0, smithy_client_1.expectString)(output.Logref),
|
|
6252
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
6253
6253
|
};
|
|
6254
6254
|
};
|
|
6255
6255
|
const deserializeAws_json1_1Reasons = (output, context) => {
|
|
@@ -6259,7 +6259,7 @@ const deserializeAws_json1_1Reasons = (output, context) => {
|
|
|
6259
6259
|
if (entry === null) {
|
|
6260
6260
|
return null;
|
|
6261
6261
|
}
|
|
6262
|
-
return smithy_client_1.expectString(entry);
|
|
6262
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6263
6263
|
});
|
|
6264
6264
|
return retVal;
|
|
6265
6265
|
};
|
|
@@ -6268,7 +6268,7 @@ const deserializeAws_json1_1RecognizeCelebritiesResponse = (output, context) =>
|
|
|
6268
6268
|
CelebrityFaces: output.CelebrityFaces !== undefined && output.CelebrityFaces !== null
|
|
6269
6269
|
? deserializeAws_json1_1CelebrityList(output.CelebrityFaces, context)
|
|
6270
6270
|
: undefined,
|
|
6271
|
-
OrientationCorrection: smithy_client_1.expectString(output.OrientationCorrection),
|
|
6271
|
+
OrientationCorrection: (0, smithy_client_1.expectString)(output.OrientationCorrection),
|
|
6272
6272
|
UnrecognizedFaces: output.UnrecognizedFaces !== undefined && output.UnrecognizedFaces !== null
|
|
6273
6273
|
? deserializeAws_json1_1ComparedFaceList(output.UnrecognizedFaces, context)
|
|
6274
6274
|
: undefined,
|
|
@@ -6276,37 +6276,37 @@ const deserializeAws_json1_1RecognizeCelebritiesResponse = (output, context) =>
|
|
|
6276
6276
|
};
|
|
6277
6277
|
const deserializeAws_json1_1ResourceAlreadyExistsException = (output, context) => {
|
|
6278
6278
|
return {
|
|
6279
|
-
Code: smithy_client_1.expectString(output.Code),
|
|
6280
|
-
Logref: smithy_client_1.expectString(output.Logref),
|
|
6281
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
6279
|
+
Code: (0, smithy_client_1.expectString)(output.Code),
|
|
6280
|
+
Logref: (0, smithy_client_1.expectString)(output.Logref),
|
|
6281
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
6282
6282
|
};
|
|
6283
6283
|
};
|
|
6284
6284
|
const deserializeAws_json1_1ResourceInUseException = (output, context) => {
|
|
6285
6285
|
return {
|
|
6286
|
-
Code: smithy_client_1.expectString(output.Code),
|
|
6287
|
-
Logref: smithy_client_1.expectString(output.Logref),
|
|
6288
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
6286
|
+
Code: (0, smithy_client_1.expectString)(output.Code),
|
|
6287
|
+
Logref: (0, smithy_client_1.expectString)(output.Logref),
|
|
6288
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
6289
6289
|
};
|
|
6290
6290
|
};
|
|
6291
6291
|
const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
|
|
6292
6292
|
return {
|
|
6293
|
-
Code: smithy_client_1.expectString(output.Code),
|
|
6294
|
-
Logref: smithy_client_1.expectString(output.Logref),
|
|
6295
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
6293
|
+
Code: (0, smithy_client_1.expectString)(output.Code),
|
|
6294
|
+
Logref: (0, smithy_client_1.expectString)(output.Logref),
|
|
6295
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
6296
6296
|
};
|
|
6297
6297
|
};
|
|
6298
6298
|
const deserializeAws_json1_1ResourceNotReadyException = (output, context) => {
|
|
6299
6299
|
return {
|
|
6300
|
-
Code: smithy_client_1.expectString(output.Code),
|
|
6301
|
-
Logref: smithy_client_1.expectString(output.Logref),
|
|
6302
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
6300
|
+
Code: (0, smithy_client_1.expectString)(output.Code),
|
|
6301
|
+
Logref: (0, smithy_client_1.expectString)(output.Logref),
|
|
6302
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
6303
6303
|
};
|
|
6304
6304
|
};
|
|
6305
6305
|
const deserializeAws_json1_1S3Object = (output, context) => {
|
|
6306
6306
|
return {
|
|
6307
|
-
Bucket: smithy_client_1.expectString(output.Bucket),
|
|
6308
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
6309
|
-
Version: smithy_client_1.expectString(output.Version),
|
|
6307
|
+
Bucket: (0, smithy_client_1.expectString)(output.Bucket),
|
|
6308
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
6309
|
+
Version: (0, smithy_client_1.expectString)(output.Version),
|
|
6310
6310
|
};
|
|
6311
6311
|
};
|
|
6312
6312
|
const deserializeAws_json1_1SearchFacesByImageResponse = (output, context) => {
|
|
@@ -6314,11 +6314,11 @@ const deserializeAws_json1_1SearchFacesByImageResponse = (output, context) => {
|
|
|
6314
6314
|
FaceMatches: output.FaceMatches !== undefined && output.FaceMatches !== null
|
|
6315
6315
|
? deserializeAws_json1_1FaceMatchList(output.FaceMatches, context)
|
|
6316
6316
|
: undefined,
|
|
6317
|
-
FaceModelVersion: smithy_client_1.expectString(output.FaceModelVersion),
|
|
6317
|
+
FaceModelVersion: (0, smithy_client_1.expectString)(output.FaceModelVersion),
|
|
6318
6318
|
SearchedFaceBoundingBox: output.SearchedFaceBoundingBox !== undefined && output.SearchedFaceBoundingBox !== null
|
|
6319
6319
|
? deserializeAws_json1_1BoundingBox(output.SearchedFaceBoundingBox, context)
|
|
6320
6320
|
: undefined,
|
|
6321
|
-
SearchedFaceConfidence: smithy_client_1.limitedParseFloat32(output.SearchedFaceConfidence),
|
|
6321
|
+
SearchedFaceConfidence: (0, smithy_client_1.limitedParseFloat32)(output.SearchedFaceConfidence),
|
|
6322
6322
|
};
|
|
6323
6323
|
};
|
|
6324
6324
|
const deserializeAws_json1_1SearchFacesResponse = (output, context) => {
|
|
@@ -6326,28 +6326,28 @@ const deserializeAws_json1_1SearchFacesResponse = (output, context) => {
|
|
|
6326
6326
|
FaceMatches: output.FaceMatches !== undefined && output.FaceMatches !== null
|
|
6327
6327
|
? deserializeAws_json1_1FaceMatchList(output.FaceMatches, context)
|
|
6328
6328
|
: undefined,
|
|
6329
|
-
FaceModelVersion: smithy_client_1.expectString(output.FaceModelVersion),
|
|
6330
|
-
SearchedFaceId: smithy_client_1.expectString(output.SearchedFaceId),
|
|
6329
|
+
FaceModelVersion: (0, smithy_client_1.expectString)(output.FaceModelVersion),
|
|
6330
|
+
SearchedFaceId: (0, smithy_client_1.expectString)(output.SearchedFaceId),
|
|
6331
6331
|
};
|
|
6332
6332
|
};
|
|
6333
6333
|
const deserializeAws_json1_1SegmentDetection = (output, context) => {
|
|
6334
6334
|
return {
|
|
6335
|
-
DurationFrames: smithy_client_1.expectLong(output.DurationFrames),
|
|
6336
|
-
DurationMillis: smithy_client_1.expectLong(output.DurationMillis),
|
|
6337
|
-
DurationSMPTE: smithy_client_1.expectString(output.DurationSMPTE),
|
|
6338
|
-
EndFrameNumber: smithy_client_1.expectLong(output.EndFrameNumber),
|
|
6339
|
-
EndTimecodeSMPTE: smithy_client_1.expectString(output.EndTimecodeSMPTE),
|
|
6340
|
-
EndTimestampMillis: smithy_client_1.expectLong(output.EndTimestampMillis),
|
|
6335
|
+
DurationFrames: (0, smithy_client_1.expectLong)(output.DurationFrames),
|
|
6336
|
+
DurationMillis: (0, smithy_client_1.expectLong)(output.DurationMillis),
|
|
6337
|
+
DurationSMPTE: (0, smithy_client_1.expectString)(output.DurationSMPTE),
|
|
6338
|
+
EndFrameNumber: (0, smithy_client_1.expectLong)(output.EndFrameNumber),
|
|
6339
|
+
EndTimecodeSMPTE: (0, smithy_client_1.expectString)(output.EndTimecodeSMPTE),
|
|
6340
|
+
EndTimestampMillis: (0, smithy_client_1.expectLong)(output.EndTimestampMillis),
|
|
6341
6341
|
ShotSegment: output.ShotSegment !== undefined && output.ShotSegment !== null
|
|
6342
6342
|
? deserializeAws_json1_1ShotSegment(output.ShotSegment, context)
|
|
6343
6343
|
: undefined,
|
|
6344
|
-
StartFrameNumber: smithy_client_1.expectLong(output.StartFrameNumber),
|
|
6345
|
-
StartTimecodeSMPTE: smithy_client_1.expectString(output.StartTimecodeSMPTE),
|
|
6346
|
-
StartTimestampMillis: smithy_client_1.expectLong(output.StartTimestampMillis),
|
|
6344
|
+
StartFrameNumber: (0, smithy_client_1.expectLong)(output.StartFrameNumber),
|
|
6345
|
+
StartTimecodeSMPTE: (0, smithy_client_1.expectString)(output.StartTimecodeSMPTE),
|
|
6346
|
+
StartTimestampMillis: (0, smithy_client_1.expectLong)(output.StartTimestampMillis),
|
|
6347
6347
|
TechnicalCueSegment: output.TechnicalCueSegment !== undefined && output.TechnicalCueSegment !== null
|
|
6348
6348
|
? deserializeAws_json1_1TechnicalCueSegment(output.TechnicalCueSegment, context)
|
|
6349
6349
|
: undefined,
|
|
6350
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
6350
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
6351
6351
|
};
|
|
6352
6352
|
};
|
|
6353
6353
|
const deserializeAws_json1_1SegmentDetections = (output, context) => {
|
|
@@ -6363,8 +6363,8 @@ const deserializeAws_json1_1SegmentDetections = (output, context) => {
|
|
|
6363
6363
|
};
|
|
6364
6364
|
const deserializeAws_json1_1SegmentTypeInfo = (output, context) => {
|
|
6365
6365
|
return {
|
|
6366
|
-
ModelVersion: smithy_client_1.expectString(output.ModelVersion),
|
|
6367
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
6366
|
+
ModelVersion: (0, smithy_client_1.expectString)(output.ModelVersion),
|
|
6367
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
6368
6368
|
};
|
|
6369
6369
|
};
|
|
6370
6370
|
const deserializeAws_json1_1SegmentTypesInfo = (output, context) => {
|
|
@@ -6380,61 +6380,61 @@ const deserializeAws_json1_1SegmentTypesInfo = (output, context) => {
|
|
|
6380
6380
|
};
|
|
6381
6381
|
const deserializeAws_json1_1ServiceQuotaExceededException = (output, context) => {
|
|
6382
6382
|
return {
|
|
6383
|
-
Code: smithy_client_1.expectString(output.Code),
|
|
6384
|
-
Logref: smithy_client_1.expectString(output.Logref),
|
|
6385
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
6383
|
+
Code: (0, smithy_client_1.expectString)(output.Code),
|
|
6384
|
+
Logref: (0, smithy_client_1.expectString)(output.Logref),
|
|
6385
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
6386
6386
|
};
|
|
6387
6387
|
};
|
|
6388
6388
|
const deserializeAws_json1_1ShotSegment = (output, context) => {
|
|
6389
6389
|
return {
|
|
6390
|
-
Confidence: smithy_client_1.limitedParseFloat32(output.Confidence),
|
|
6391
|
-
Index: smithy_client_1.expectLong(output.Index),
|
|
6390
|
+
Confidence: (0, smithy_client_1.limitedParseFloat32)(output.Confidence),
|
|
6391
|
+
Index: (0, smithy_client_1.expectLong)(output.Index),
|
|
6392
6392
|
};
|
|
6393
6393
|
};
|
|
6394
6394
|
const deserializeAws_json1_1Smile = (output, context) => {
|
|
6395
6395
|
return {
|
|
6396
|
-
Confidence: smithy_client_1.limitedParseFloat32(output.Confidence),
|
|
6397
|
-
Value: smithy_client_1.expectBoolean(output.Value),
|
|
6396
|
+
Confidence: (0, smithy_client_1.limitedParseFloat32)(output.Confidence),
|
|
6397
|
+
Value: (0, smithy_client_1.expectBoolean)(output.Value),
|
|
6398
6398
|
};
|
|
6399
6399
|
};
|
|
6400
6400
|
const deserializeAws_json1_1StartCelebrityRecognitionResponse = (output, context) => {
|
|
6401
6401
|
return {
|
|
6402
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
6402
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
6403
6403
|
};
|
|
6404
6404
|
};
|
|
6405
6405
|
const deserializeAws_json1_1StartContentModerationResponse = (output, context) => {
|
|
6406
6406
|
return {
|
|
6407
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
6407
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
6408
6408
|
};
|
|
6409
6409
|
};
|
|
6410
6410
|
const deserializeAws_json1_1StartFaceDetectionResponse = (output, context) => {
|
|
6411
6411
|
return {
|
|
6412
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
6412
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
6413
6413
|
};
|
|
6414
6414
|
};
|
|
6415
6415
|
const deserializeAws_json1_1StartFaceSearchResponse = (output, context) => {
|
|
6416
6416
|
return {
|
|
6417
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
6417
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
6418
6418
|
};
|
|
6419
6419
|
};
|
|
6420
6420
|
const deserializeAws_json1_1StartLabelDetectionResponse = (output, context) => {
|
|
6421
6421
|
return {
|
|
6422
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
6422
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
6423
6423
|
};
|
|
6424
6424
|
};
|
|
6425
6425
|
const deserializeAws_json1_1StartPersonTrackingResponse = (output, context) => {
|
|
6426
6426
|
return {
|
|
6427
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
6427
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
6428
6428
|
};
|
|
6429
6429
|
};
|
|
6430
6430
|
const deserializeAws_json1_1StartProjectVersionResponse = (output, context) => {
|
|
6431
6431
|
return {
|
|
6432
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
6432
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
6433
6433
|
};
|
|
6434
6434
|
};
|
|
6435
6435
|
const deserializeAws_json1_1StartSegmentDetectionResponse = (output, context) => {
|
|
6436
6436
|
return {
|
|
6437
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
6437
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
6438
6438
|
};
|
|
6439
6439
|
};
|
|
6440
6440
|
const deserializeAws_json1_1StartStreamProcessorResponse = (output, context) => {
|
|
@@ -6442,12 +6442,12 @@ const deserializeAws_json1_1StartStreamProcessorResponse = (output, context) =>
|
|
|
6442
6442
|
};
|
|
6443
6443
|
const deserializeAws_json1_1StartTextDetectionResponse = (output, context) => {
|
|
6444
6444
|
return {
|
|
6445
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
6445
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
6446
6446
|
};
|
|
6447
6447
|
};
|
|
6448
6448
|
const deserializeAws_json1_1StopProjectVersionResponse = (output, context) => {
|
|
6449
6449
|
return {
|
|
6450
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
6450
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
6451
6451
|
};
|
|
6452
6452
|
};
|
|
6453
6453
|
const deserializeAws_json1_1StopStreamProcessorResponse = (output, context) => {
|
|
@@ -6455,8 +6455,8 @@ const deserializeAws_json1_1StopStreamProcessorResponse = (output, context) => {
|
|
|
6455
6455
|
};
|
|
6456
6456
|
const deserializeAws_json1_1StreamProcessor = (output, context) => {
|
|
6457
6457
|
return {
|
|
6458
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
6459
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
6458
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
6459
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
6460
6460
|
};
|
|
6461
6461
|
};
|
|
6462
6462
|
const deserializeAws_json1_1StreamProcessorInput = (output, context) => {
|
|
@@ -6500,8 +6500,8 @@ const deserializeAws_json1_1Summary = (output, context) => {
|
|
|
6500
6500
|
};
|
|
6501
6501
|
const deserializeAws_json1_1Sunglasses = (output, context) => {
|
|
6502
6502
|
return {
|
|
6503
|
-
Confidence: smithy_client_1.limitedParseFloat32(output.Confidence),
|
|
6504
|
-
Value: smithy_client_1.expectBoolean(output.Value),
|
|
6503
|
+
Confidence: (0, smithy_client_1.limitedParseFloat32)(output.Confidence),
|
|
6504
|
+
Value: (0, smithy_client_1.expectBoolean)(output.Value),
|
|
6505
6505
|
};
|
|
6506
6506
|
};
|
|
6507
6507
|
const deserializeAws_json1_1TagMap = (output, context) => {
|
|
@@ -6511,7 +6511,7 @@ const deserializeAws_json1_1TagMap = (output, context) => {
|
|
|
6511
6511
|
}
|
|
6512
6512
|
return {
|
|
6513
6513
|
...acc,
|
|
6514
|
-
[key]: smithy_client_1.expectString(value),
|
|
6514
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
6515
6515
|
};
|
|
6516
6516
|
}, {});
|
|
6517
6517
|
};
|
|
@@ -6520,8 +6520,8 @@ const deserializeAws_json1_1TagResourceResponse = (output, context) => {
|
|
|
6520
6520
|
};
|
|
6521
6521
|
const deserializeAws_json1_1TechnicalCueSegment = (output, context) => {
|
|
6522
6522
|
return {
|
|
6523
|
-
Confidence: smithy_client_1.limitedParseFloat32(output.Confidence),
|
|
6524
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
6523
|
+
Confidence: (0, smithy_client_1.limitedParseFloat32)(output.Confidence),
|
|
6524
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
6525
6525
|
};
|
|
6526
6526
|
};
|
|
6527
6527
|
const deserializeAws_json1_1TestingData = (output, context) => {
|
|
@@ -6529,7 +6529,7 @@ const deserializeAws_json1_1TestingData = (output, context) => {
|
|
|
6529
6529
|
Assets: output.Assets !== undefined && output.Assets !== null
|
|
6530
6530
|
? deserializeAws_json1_1Assets(output.Assets, context)
|
|
6531
6531
|
: undefined,
|
|
6532
|
-
AutoCreate: smithy_client_1.expectBoolean(output.AutoCreate),
|
|
6532
|
+
AutoCreate: (0, smithy_client_1.expectBoolean)(output.AutoCreate),
|
|
6533
6533
|
};
|
|
6534
6534
|
};
|
|
6535
6535
|
const deserializeAws_json1_1TestingDataResult = (output, context) => {
|
|
@@ -6547,14 +6547,14 @@ const deserializeAws_json1_1TestingDataResult = (output, context) => {
|
|
|
6547
6547
|
};
|
|
6548
6548
|
const deserializeAws_json1_1TextDetection = (output, context) => {
|
|
6549
6549
|
return {
|
|
6550
|
-
Confidence: smithy_client_1.limitedParseFloat32(output.Confidence),
|
|
6551
|
-
DetectedText: smithy_client_1.expectString(output.DetectedText),
|
|
6550
|
+
Confidence: (0, smithy_client_1.limitedParseFloat32)(output.Confidence),
|
|
6551
|
+
DetectedText: (0, smithy_client_1.expectString)(output.DetectedText),
|
|
6552
6552
|
Geometry: output.Geometry !== undefined && output.Geometry !== null
|
|
6553
6553
|
? deserializeAws_json1_1Geometry(output.Geometry, context)
|
|
6554
6554
|
: undefined,
|
|
6555
|
-
Id: smithy_client_1.expectInt32(output.Id),
|
|
6556
|
-
ParentId: smithy_client_1.expectInt32(output.ParentId),
|
|
6557
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
6555
|
+
Id: (0, smithy_client_1.expectInt32)(output.Id),
|
|
6556
|
+
ParentId: (0, smithy_client_1.expectInt32)(output.ParentId),
|
|
6557
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
6558
6558
|
};
|
|
6559
6559
|
};
|
|
6560
6560
|
const deserializeAws_json1_1TextDetectionList = (output, context) => {
|
|
@@ -6573,7 +6573,7 @@ const deserializeAws_json1_1TextDetectionResult = (output, context) => {
|
|
|
6573
6573
|
TextDetection: output.TextDetection !== undefined && output.TextDetection !== null
|
|
6574
6574
|
? deserializeAws_json1_1TextDetection(output.TextDetection, context)
|
|
6575
6575
|
: undefined,
|
|
6576
|
-
Timestamp: smithy_client_1.expectLong(output.Timestamp),
|
|
6576
|
+
Timestamp: (0, smithy_client_1.expectLong)(output.Timestamp),
|
|
6577
6577
|
};
|
|
6578
6578
|
};
|
|
6579
6579
|
const deserializeAws_json1_1TextDetectionResults = (output, context) => {
|
|
@@ -6589,9 +6589,9 @@ const deserializeAws_json1_1TextDetectionResults = (output, context) => {
|
|
|
6589
6589
|
};
|
|
6590
6590
|
const deserializeAws_json1_1ThrottlingException = (output, context) => {
|
|
6591
6591
|
return {
|
|
6592
|
-
Code: smithy_client_1.expectString(output.Code),
|
|
6593
|
-
Logref: smithy_client_1.expectString(output.Logref),
|
|
6594
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
6592
|
+
Code: (0, smithy_client_1.expectString)(output.Code),
|
|
6593
|
+
Logref: (0, smithy_client_1.expectString)(output.Logref),
|
|
6594
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
6595
6595
|
};
|
|
6596
6596
|
};
|
|
6597
6597
|
const deserializeAws_json1_1TrainingData = (output, context) => {
|
|
@@ -6648,7 +6648,7 @@ const deserializeAws_json1_1Urls = (output, context) => {
|
|
|
6648
6648
|
if (entry === null) {
|
|
6649
6649
|
return null;
|
|
6650
6650
|
}
|
|
6651
|
-
return smithy_client_1.expectString(entry);
|
|
6651
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6652
6652
|
});
|
|
6653
6653
|
return retVal;
|
|
6654
6654
|
};
|
|
@@ -6661,13 +6661,13 @@ const deserializeAws_json1_1ValidationData = (output, context) => {
|
|
|
6661
6661
|
};
|
|
6662
6662
|
const deserializeAws_json1_1VideoMetadata = (output, context) => {
|
|
6663
6663
|
return {
|
|
6664
|
-
Codec: smithy_client_1.expectString(output.Codec),
|
|
6665
|
-
ColorRange: smithy_client_1.expectString(output.ColorRange),
|
|
6666
|
-
DurationMillis: smithy_client_1.expectLong(output.DurationMillis),
|
|
6667
|
-
Format: smithy_client_1.expectString(output.Format),
|
|
6668
|
-
FrameHeight: smithy_client_1.expectLong(output.FrameHeight),
|
|
6669
|
-
FrameRate: smithy_client_1.limitedParseFloat32(output.FrameRate),
|
|
6670
|
-
FrameWidth: smithy_client_1.expectLong(output.FrameWidth),
|
|
6664
|
+
Codec: (0, smithy_client_1.expectString)(output.Codec),
|
|
6665
|
+
ColorRange: (0, smithy_client_1.expectString)(output.ColorRange),
|
|
6666
|
+
DurationMillis: (0, smithy_client_1.expectLong)(output.DurationMillis),
|
|
6667
|
+
Format: (0, smithy_client_1.expectString)(output.Format),
|
|
6668
|
+
FrameHeight: (0, smithy_client_1.expectLong)(output.FrameHeight),
|
|
6669
|
+
FrameRate: (0, smithy_client_1.limitedParseFloat32)(output.FrameRate),
|
|
6670
|
+
FrameWidth: (0, smithy_client_1.expectLong)(output.FrameWidth),
|
|
6671
6671
|
};
|
|
6672
6672
|
};
|
|
6673
6673
|
const deserializeAws_json1_1VideoMetadataList = (output, context) => {
|
|
@@ -6683,9 +6683,9 @@ const deserializeAws_json1_1VideoMetadataList = (output, context) => {
|
|
|
6683
6683
|
};
|
|
6684
6684
|
const deserializeAws_json1_1VideoTooLargeException = (output, context) => {
|
|
6685
6685
|
return {
|
|
6686
|
-
Code: smithy_client_1.expectString(output.Code),
|
|
6687
|
-
Logref: smithy_client_1.expectString(output.Logref),
|
|
6688
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
6686
|
+
Code: (0, smithy_client_1.expectString)(output.Code),
|
|
6687
|
+
Logref: (0, smithy_client_1.expectString)(output.Logref),
|
|
6688
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
6689
6689
|
};
|
|
6690
6690
|
};
|
|
6691
6691
|
const deserializeMetadata = (output) => {
|