@aws-sdk/client-mturk 3.54.1 → 3.58.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/MTurkClient.js +13 -13
- package/dist-cjs/commands/AcceptQualificationRequestCommand.js +3 -3
- package/dist-cjs/commands/ApproveAssignmentCommand.js +3 -3
- package/dist-cjs/commands/AssociateQualificationWithWorkerCommand.js +3 -3
- package/dist-cjs/commands/CreateAdditionalAssignmentsForHITCommand.js +3 -3
- package/dist-cjs/commands/CreateHITCommand.js +3 -3
- package/dist-cjs/commands/CreateHITTypeCommand.js +3 -3
- package/dist-cjs/commands/CreateHITWithHITTypeCommand.js +3 -3
- package/dist-cjs/commands/CreateQualificationTypeCommand.js +3 -3
- package/dist-cjs/commands/CreateWorkerBlockCommand.js +3 -3
- package/dist-cjs/commands/DeleteHITCommand.js +3 -3
- package/dist-cjs/commands/DeleteQualificationTypeCommand.js +3 -3
- package/dist-cjs/commands/DeleteWorkerBlockCommand.js +3 -3
- package/dist-cjs/commands/DisassociateQualificationFromWorkerCommand.js +3 -3
- package/dist-cjs/commands/GetAccountBalanceCommand.js +3 -3
- package/dist-cjs/commands/GetAssignmentCommand.js +3 -3
- package/dist-cjs/commands/GetFileUploadURLCommand.js +3 -3
- package/dist-cjs/commands/GetHITCommand.js +3 -3
- package/dist-cjs/commands/GetQualificationScoreCommand.js +3 -3
- package/dist-cjs/commands/GetQualificationTypeCommand.js +3 -3
- package/dist-cjs/commands/ListAssignmentsForHITCommand.js +3 -3
- package/dist-cjs/commands/ListBonusPaymentsCommand.js +3 -3
- package/dist-cjs/commands/ListHITsCommand.js +3 -3
- package/dist-cjs/commands/ListHITsForQualificationTypeCommand.js +3 -3
- package/dist-cjs/commands/ListQualificationRequestsCommand.js +3 -3
- package/dist-cjs/commands/ListQualificationTypesCommand.js +3 -3
- package/dist-cjs/commands/ListReviewPolicyResultsForHITCommand.js +3 -3
- package/dist-cjs/commands/ListReviewableHITsCommand.js +3 -3
- package/dist-cjs/commands/ListWorkerBlocksCommand.js +3 -3
- package/dist-cjs/commands/ListWorkersWithQualificationTypeCommand.js +3 -3
- package/dist-cjs/commands/NotifyWorkersCommand.js +3 -3
- package/dist-cjs/commands/RejectAssignmentCommand.js +3 -3
- package/dist-cjs/commands/RejectQualificationRequestCommand.js +3 -3
- package/dist-cjs/commands/SendBonusCommand.js +3 -3
- package/dist-cjs/commands/SendTestEventNotificationCommand.js +3 -3
- package/dist-cjs/commands/UpdateExpirationForHITCommand.js +3 -3
- package/dist-cjs/commands/UpdateHITReviewStatusCommand.js +3 -3
- package/dist-cjs/commands/UpdateHITTypeOfHITCommand.js +3 -3
- package/dist-cjs/commands/UpdateNotificationSettingsCommand.js +3 -3
- package/dist-cjs/commands/UpdateQualificationTypeCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_1.js +160 -160
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/MTurk.js +39 -39
- package/dist-es/pagination/ListAssignmentsForHITPaginator.js +4 -4
- package/dist-es/pagination/ListBonusPaymentsPaginator.js +4 -4
- package/dist-es/pagination/ListHITsForQualificationTypePaginator.js +4 -4
- package/dist-es/pagination/ListHITsPaginator.js +4 -4
- package/dist-es/pagination/ListQualificationRequestsPaginator.js +4 -4
- package/dist-es/pagination/ListQualificationTypesPaginator.js +4 -4
- package/dist-es/pagination/ListReviewPolicyResultsForHITPaginator.js +4 -4
- package/dist-es/pagination/ListReviewableHITsPaginator.js +4 -4
- package/dist-es/pagination/ListWorkerBlocksPaginator.js +4 -4
- package/dist-es/pagination/ListWorkersWithQualificationTypePaginator.js +4 -4
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -432,7 +432,7 @@ const deserializeAws_json1_1AcceptQualificationRequestCommandError = async (outp
|
|
|
432
432
|
$fault: "client",
|
|
433
433
|
$metadata: deserializeMetadata(output),
|
|
434
434
|
});
|
|
435
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
435
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
436
436
|
}
|
|
437
437
|
};
|
|
438
438
|
const deserializeAws_json1_1ApproveAssignmentCommand = async (output, context) => {
|
|
@@ -471,7 +471,7 @@ const deserializeAws_json1_1ApproveAssignmentCommandError = async (output, conte
|
|
|
471
471
|
$fault: "client",
|
|
472
472
|
$metadata: deserializeMetadata(output),
|
|
473
473
|
});
|
|
474
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
474
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
475
475
|
}
|
|
476
476
|
};
|
|
477
477
|
const deserializeAws_json1_1AssociateQualificationWithWorkerCommand = async (output, context) => {
|
|
@@ -510,7 +510,7 @@ const deserializeAws_json1_1AssociateQualificationWithWorkerCommandError = async
|
|
|
510
510
|
$fault: "client",
|
|
511
511
|
$metadata: deserializeMetadata(output),
|
|
512
512
|
});
|
|
513
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
513
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
514
514
|
}
|
|
515
515
|
};
|
|
516
516
|
const deserializeAws_json1_1CreateAdditionalAssignmentsForHITCommand = async (output, context) => {
|
|
@@ -549,7 +549,7 @@ const deserializeAws_json1_1CreateAdditionalAssignmentsForHITCommandError = asyn
|
|
|
549
549
|
$fault: "client",
|
|
550
550
|
$metadata: deserializeMetadata(output),
|
|
551
551
|
});
|
|
552
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
552
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
553
553
|
}
|
|
554
554
|
};
|
|
555
555
|
const deserializeAws_json1_1CreateHITCommand = async (output, context) => {
|
|
@@ -588,7 +588,7 @@ const deserializeAws_json1_1CreateHITCommandError = async (output, context) => {
|
|
|
588
588
|
$fault: "client",
|
|
589
589
|
$metadata: deserializeMetadata(output),
|
|
590
590
|
});
|
|
591
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
591
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
592
592
|
}
|
|
593
593
|
};
|
|
594
594
|
const deserializeAws_json1_1CreateHITTypeCommand = async (output, context) => {
|
|
@@ -627,7 +627,7 @@ const deserializeAws_json1_1CreateHITTypeCommandError = async (output, context)
|
|
|
627
627
|
$fault: "client",
|
|
628
628
|
$metadata: deserializeMetadata(output),
|
|
629
629
|
});
|
|
630
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
630
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
631
631
|
}
|
|
632
632
|
};
|
|
633
633
|
const deserializeAws_json1_1CreateHITWithHITTypeCommand = async (output, context) => {
|
|
@@ -666,7 +666,7 @@ const deserializeAws_json1_1CreateHITWithHITTypeCommandError = async (output, co
|
|
|
666
666
|
$fault: "client",
|
|
667
667
|
$metadata: deserializeMetadata(output),
|
|
668
668
|
});
|
|
669
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
669
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
670
670
|
}
|
|
671
671
|
};
|
|
672
672
|
const deserializeAws_json1_1CreateQualificationTypeCommand = async (output, context) => {
|
|
@@ -705,7 +705,7 @@ const deserializeAws_json1_1CreateQualificationTypeCommandError = async (output,
|
|
|
705
705
|
$fault: "client",
|
|
706
706
|
$metadata: deserializeMetadata(output),
|
|
707
707
|
});
|
|
708
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
708
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
709
709
|
}
|
|
710
710
|
};
|
|
711
711
|
const deserializeAws_json1_1CreateWorkerBlockCommand = async (output, context) => {
|
|
@@ -744,7 +744,7 @@ const deserializeAws_json1_1CreateWorkerBlockCommandError = async (output, conte
|
|
|
744
744
|
$fault: "client",
|
|
745
745
|
$metadata: deserializeMetadata(output),
|
|
746
746
|
});
|
|
747
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
747
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
748
748
|
}
|
|
749
749
|
};
|
|
750
750
|
const deserializeAws_json1_1DeleteHITCommand = async (output, context) => {
|
|
@@ -783,7 +783,7 @@ const deserializeAws_json1_1DeleteHITCommandError = async (output, context) => {
|
|
|
783
783
|
$fault: "client",
|
|
784
784
|
$metadata: deserializeMetadata(output),
|
|
785
785
|
});
|
|
786
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
786
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
787
787
|
}
|
|
788
788
|
};
|
|
789
789
|
const deserializeAws_json1_1DeleteQualificationTypeCommand = async (output, context) => {
|
|
@@ -822,7 +822,7 @@ const deserializeAws_json1_1DeleteQualificationTypeCommandError = async (output,
|
|
|
822
822
|
$fault: "client",
|
|
823
823
|
$metadata: deserializeMetadata(output),
|
|
824
824
|
});
|
|
825
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
825
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
826
826
|
}
|
|
827
827
|
};
|
|
828
828
|
const deserializeAws_json1_1DeleteWorkerBlockCommand = async (output, context) => {
|
|
@@ -861,7 +861,7 @@ const deserializeAws_json1_1DeleteWorkerBlockCommandError = async (output, conte
|
|
|
861
861
|
$fault: "client",
|
|
862
862
|
$metadata: deserializeMetadata(output),
|
|
863
863
|
});
|
|
864
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
864
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
865
865
|
}
|
|
866
866
|
};
|
|
867
867
|
const deserializeAws_json1_1DisassociateQualificationFromWorkerCommand = async (output, context) => {
|
|
@@ -900,7 +900,7 @@ const deserializeAws_json1_1DisassociateQualificationFromWorkerCommandError = as
|
|
|
900
900
|
$fault: "client",
|
|
901
901
|
$metadata: deserializeMetadata(output),
|
|
902
902
|
});
|
|
903
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
903
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
904
904
|
}
|
|
905
905
|
};
|
|
906
906
|
const deserializeAws_json1_1GetAccountBalanceCommand = async (output, context) => {
|
|
@@ -939,7 +939,7 @@ const deserializeAws_json1_1GetAccountBalanceCommandError = async (output, conte
|
|
|
939
939
|
$fault: "client",
|
|
940
940
|
$metadata: deserializeMetadata(output),
|
|
941
941
|
});
|
|
942
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
942
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
943
943
|
}
|
|
944
944
|
};
|
|
945
945
|
const deserializeAws_json1_1GetAssignmentCommand = async (output, context) => {
|
|
@@ -978,7 +978,7 @@ const deserializeAws_json1_1GetAssignmentCommandError = async (output, context)
|
|
|
978
978
|
$fault: "client",
|
|
979
979
|
$metadata: deserializeMetadata(output),
|
|
980
980
|
});
|
|
981
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
981
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
982
982
|
}
|
|
983
983
|
};
|
|
984
984
|
const deserializeAws_json1_1GetFileUploadURLCommand = async (output, context) => {
|
|
@@ -1017,7 +1017,7 @@ const deserializeAws_json1_1GetFileUploadURLCommandError = async (output, contex
|
|
|
1017
1017
|
$fault: "client",
|
|
1018
1018
|
$metadata: deserializeMetadata(output),
|
|
1019
1019
|
});
|
|
1020
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1020
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1021
1021
|
}
|
|
1022
1022
|
};
|
|
1023
1023
|
const deserializeAws_json1_1GetHITCommand = async (output, context) => {
|
|
@@ -1056,7 +1056,7 @@ const deserializeAws_json1_1GetHITCommandError = async (output, context) => {
|
|
|
1056
1056
|
$fault: "client",
|
|
1057
1057
|
$metadata: deserializeMetadata(output),
|
|
1058
1058
|
});
|
|
1059
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1059
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1060
1060
|
}
|
|
1061
1061
|
};
|
|
1062
1062
|
const deserializeAws_json1_1GetQualificationScoreCommand = async (output, context) => {
|
|
@@ -1095,7 +1095,7 @@ const deserializeAws_json1_1GetQualificationScoreCommandError = async (output, c
|
|
|
1095
1095
|
$fault: "client",
|
|
1096
1096
|
$metadata: deserializeMetadata(output),
|
|
1097
1097
|
});
|
|
1098
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1098
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1099
1099
|
}
|
|
1100
1100
|
};
|
|
1101
1101
|
const deserializeAws_json1_1GetQualificationTypeCommand = async (output, context) => {
|
|
@@ -1134,7 +1134,7 @@ const deserializeAws_json1_1GetQualificationTypeCommandError = async (output, co
|
|
|
1134
1134
|
$fault: "client",
|
|
1135
1135
|
$metadata: deserializeMetadata(output),
|
|
1136
1136
|
});
|
|
1137
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1137
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1138
1138
|
}
|
|
1139
1139
|
};
|
|
1140
1140
|
const deserializeAws_json1_1ListAssignmentsForHITCommand = async (output, context) => {
|
|
@@ -1173,7 +1173,7 @@ const deserializeAws_json1_1ListAssignmentsForHITCommandError = async (output, c
|
|
|
1173
1173
|
$fault: "client",
|
|
1174
1174
|
$metadata: deserializeMetadata(output),
|
|
1175
1175
|
});
|
|
1176
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1176
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1177
1177
|
}
|
|
1178
1178
|
};
|
|
1179
1179
|
const deserializeAws_json1_1ListBonusPaymentsCommand = async (output, context) => {
|
|
@@ -1212,7 +1212,7 @@ const deserializeAws_json1_1ListBonusPaymentsCommandError = async (output, conte
|
|
|
1212
1212
|
$fault: "client",
|
|
1213
1213
|
$metadata: deserializeMetadata(output),
|
|
1214
1214
|
});
|
|
1215
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1215
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1216
1216
|
}
|
|
1217
1217
|
};
|
|
1218
1218
|
const deserializeAws_json1_1ListHITsCommand = async (output, context) => {
|
|
@@ -1251,7 +1251,7 @@ const deserializeAws_json1_1ListHITsCommandError = async (output, context) => {
|
|
|
1251
1251
|
$fault: "client",
|
|
1252
1252
|
$metadata: deserializeMetadata(output),
|
|
1253
1253
|
});
|
|
1254
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1254
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1255
1255
|
}
|
|
1256
1256
|
};
|
|
1257
1257
|
const deserializeAws_json1_1ListHITsForQualificationTypeCommand = async (output, context) => {
|
|
@@ -1290,7 +1290,7 @@ const deserializeAws_json1_1ListHITsForQualificationTypeCommandError = async (ou
|
|
|
1290
1290
|
$fault: "client",
|
|
1291
1291
|
$metadata: deserializeMetadata(output),
|
|
1292
1292
|
});
|
|
1293
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1293
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1294
1294
|
}
|
|
1295
1295
|
};
|
|
1296
1296
|
const deserializeAws_json1_1ListQualificationRequestsCommand = async (output, context) => {
|
|
@@ -1329,7 +1329,7 @@ const deserializeAws_json1_1ListQualificationRequestsCommandError = async (outpu
|
|
|
1329
1329
|
$fault: "client",
|
|
1330
1330
|
$metadata: deserializeMetadata(output),
|
|
1331
1331
|
});
|
|
1332
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1332
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1333
1333
|
}
|
|
1334
1334
|
};
|
|
1335
1335
|
const deserializeAws_json1_1ListQualificationTypesCommand = async (output, context) => {
|
|
@@ -1368,7 +1368,7 @@ const deserializeAws_json1_1ListQualificationTypesCommandError = async (output,
|
|
|
1368
1368
|
$fault: "client",
|
|
1369
1369
|
$metadata: deserializeMetadata(output),
|
|
1370
1370
|
});
|
|
1371
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1371
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1372
1372
|
}
|
|
1373
1373
|
};
|
|
1374
1374
|
const deserializeAws_json1_1ListReviewableHITsCommand = async (output, context) => {
|
|
@@ -1407,7 +1407,7 @@ const deserializeAws_json1_1ListReviewableHITsCommandError = async (output, cont
|
|
|
1407
1407
|
$fault: "client",
|
|
1408
1408
|
$metadata: deserializeMetadata(output),
|
|
1409
1409
|
});
|
|
1410
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1410
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1411
1411
|
}
|
|
1412
1412
|
};
|
|
1413
1413
|
const deserializeAws_json1_1ListReviewPolicyResultsForHITCommand = async (output, context) => {
|
|
@@ -1446,7 +1446,7 @@ const deserializeAws_json1_1ListReviewPolicyResultsForHITCommandError = async (o
|
|
|
1446
1446
|
$fault: "client",
|
|
1447
1447
|
$metadata: deserializeMetadata(output),
|
|
1448
1448
|
});
|
|
1449
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1449
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1450
1450
|
}
|
|
1451
1451
|
};
|
|
1452
1452
|
const deserializeAws_json1_1ListWorkerBlocksCommand = async (output, context) => {
|
|
@@ -1485,7 +1485,7 @@ const deserializeAws_json1_1ListWorkerBlocksCommandError = async (output, contex
|
|
|
1485
1485
|
$fault: "client",
|
|
1486
1486
|
$metadata: deserializeMetadata(output),
|
|
1487
1487
|
});
|
|
1488
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1488
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1489
1489
|
}
|
|
1490
1490
|
};
|
|
1491
1491
|
const deserializeAws_json1_1ListWorkersWithQualificationTypeCommand = async (output, context) => {
|
|
@@ -1524,7 +1524,7 @@ const deserializeAws_json1_1ListWorkersWithQualificationTypeCommandError = async
|
|
|
1524
1524
|
$fault: "client",
|
|
1525
1525
|
$metadata: deserializeMetadata(output),
|
|
1526
1526
|
});
|
|
1527
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1527
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1528
1528
|
}
|
|
1529
1529
|
};
|
|
1530
1530
|
const deserializeAws_json1_1NotifyWorkersCommand = async (output, context) => {
|
|
@@ -1563,7 +1563,7 @@ const deserializeAws_json1_1NotifyWorkersCommandError = async (output, context)
|
|
|
1563
1563
|
$fault: "client",
|
|
1564
1564
|
$metadata: deserializeMetadata(output),
|
|
1565
1565
|
});
|
|
1566
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1566
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1567
1567
|
}
|
|
1568
1568
|
};
|
|
1569
1569
|
const deserializeAws_json1_1RejectAssignmentCommand = async (output, context) => {
|
|
@@ -1602,7 +1602,7 @@ const deserializeAws_json1_1RejectAssignmentCommandError = async (output, contex
|
|
|
1602
1602
|
$fault: "client",
|
|
1603
1603
|
$metadata: deserializeMetadata(output),
|
|
1604
1604
|
});
|
|
1605
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1605
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1606
1606
|
}
|
|
1607
1607
|
};
|
|
1608
1608
|
const deserializeAws_json1_1RejectQualificationRequestCommand = async (output, context) => {
|
|
@@ -1641,7 +1641,7 @@ const deserializeAws_json1_1RejectQualificationRequestCommandError = async (outp
|
|
|
1641
1641
|
$fault: "client",
|
|
1642
1642
|
$metadata: deserializeMetadata(output),
|
|
1643
1643
|
});
|
|
1644
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1644
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1645
1645
|
}
|
|
1646
1646
|
};
|
|
1647
1647
|
const deserializeAws_json1_1SendBonusCommand = async (output, context) => {
|
|
@@ -1680,7 +1680,7 @@ const deserializeAws_json1_1SendBonusCommandError = async (output, context) => {
|
|
|
1680
1680
|
$fault: "client",
|
|
1681
1681
|
$metadata: deserializeMetadata(output),
|
|
1682
1682
|
});
|
|
1683
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1683
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1684
1684
|
}
|
|
1685
1685
|
};
|
|
1686
1686
|
const deserializeAws_json1_1SendTestEventNotificationCommand = async (output, context) => {
|
|
@@ -1719,7 +1719,7 @@ const deserializeAws_json1_1SendTestEventNotificationCommandError = async (outpu
|
|
|
1719
1719
|
$fault: "client",
|
|
1720
1720
|
$metadata: deserializeMetadata(output),
|
|
1721
1721
|
});
|
|
1722
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1722
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1723
1723
|
}
|
|
1724
1724
|
};
|
|
1725
1725
|
const deserializeAws_json1_1UpdateExpirationForHITCommand = async (output, context) => {
|
|
@@ -1758,7 +1758,7 @@ const deserializeAws_json1_1UpdateExpirationForHITCommandError = async (output,
|
|
|
1758
1758
|
$fault: "client",
|
|
1759
1759
|
$metadata: deserializeMetadata(output),
|
|
1760
1760
|
});
|
|
1761
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1761
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1762
1762
|
}
|
|
1763
1763
|
};
|
|
1764
1764
|
const deserializeAws_json1_1UpdateHITReviewStatusCommand = async (output, context) => {
|
|
@@ -1797,7 +1797,7 @@ const deserializeAws_json1_1UpdateHITReviewStatusCommandError = async (output, c
|
|
|
1797
1797
|
$fault: "client",
|
|
1798
1798
|
$metadata: deserializeMetadata(output),
|
|
1799
1799
|
});
|
|
1800
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1800
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1801
1801
|
}
|
|
1802
1802
|
};
|
|
1803
1803
|
const deserializeAws_json1_1UpdateHITTypeOfHITCommand = async (output, context) => {
|
|
@@ -1836,7 +1836,7 @@ const deserializeAws_json1_1UpdateHITTypeOfHITCommandError = async (output, cont
|
|
|
1836
1836
|
$fault: "client",
|
|
1837
1837
|
$metadata: deserializeMetadata(output),
|
|
1838
1838
|
});
|
|
1839
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1839
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1840
1840
|
}
|
|
1841
1841
|
};
|
|
1842
1842
|
const deserializeAws_json1_1UpdateNotificationSettingsCommand = async (output, context) => {
|
|
@@ -1875,7 +1875,7 @@ const deserializeAws_json1_1UpdateNotificationSettingsCommandError = async (outp
|
|
|
1875
1875
|
$fault: "client",
|
|
1876
1876
|
$metadata: deserializeMetadata(output),
|
|
1877
1877
|
});
|
|
1878
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1878
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1879
1879
|
}
|
|
1880
1880
|
};
|
|
1881
1881
|
const deserializeAws_json1_1UpdateQualificationTypeCommand = async (output, context) => {
|
|
@@ -1914,7 +1914,7 @@ const deserializeAws_json1_1UpdateQualificationTypeCommandError = async (output,
|
|
|
1914
1914
|
$fault: "client",
|
|
1915
1915
|
$metadata: deserializeMetadata(output),
|
|
1916
1916
|
});
|
|
1917
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1917
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1918
1918
|
}
|
|
1919
1919
|
};
|
|
1920
1920
|
const deserializeAws_json1_1RequestErrorResponse = async (parsedOutput, context) => {
|
|
@@ -1924,7 +1924,7 @@ const deserializeAws_json1_1RequestErrorResponse = async (parsedOutput, context)
|
|
|
1924
1924
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1925
1925
|
...deserialized,
|
|
1926
1926
|
});
|
|
1927
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1927
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1928
1928
|
};
|
|
1929
1929
|
const deserializeAws_json1_1ServiceFaultResponse = async (parsedOutput, context) => {
|
|
1930
1930
|
const body = parsedOutput.body;
|
|
@@ -1933,7 +1933,7 @@ const deserializeAws_json1_1ServiceFaultResponse = async (parsedOutput, context)
|
|
|
1933
1933
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1934
1934
|
...deserialized,
|
|
1935
1935
|
});
|
|
1936
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1936
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1937
1937
|
};
|
|
1938
1938
|
const serializeAws_json1_1AcceptQualificationRequestRequest = (input, context) => {
|
|
1939
1939
|
return {
|
|
@@ -2493,29 +2493,29 @@ const deserializeAws_json1_1ApproveAssignmentResponse = (output, context) => {
|
|
|
2493
2493
|
const deserializeAws_json1_1Assignment = (output, context) => {
|
|
2494
2494
|
return {
|
|
2495
2495
|
AcceptTime: output.AcceptTime !== undefined && output.AcceptTime !== null
|
|
2496
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.AcceptTime)))
|
|
2496
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.AcceptTime)))
|
|
2497
2497
|
: undefined,
|
|
2498
|
-
Answer: smithy_client_1.expectString(output.Answer),
|
|
2498
|
+
Answer: (0, smithy_client_1.expectString)(output.Answer),
|
|
2499
2499
|
ApprovalTime: output.ApprovalTime !== undefined && output.ApprovalTime !== null
|
|
2500
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ApprovalTime)))
|
|
2500
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ApprovalTime)))
|
|
2501
2501
|
: undefined,
|
|
2502
|
-
AssignmentId: smithy_client_1.expectString(output.AssignmentId),
|
|
2503
|
-
AssignmentStatus: smithy_client_1.expectString(output.AssignmentStatus),
|
|
2502
|
+
AssignmentId: (0, smithy_client_1.expectString)(output.AssignmentId),
|
|
2503
|
+
AssignmentStatus: (0, smithy_client_1.expectString)(output.AssignmentStatus),
|
|
2504
2504
|
AutoApprovalTime: output.AutoApprovalTime !== undefined && output.AutoApprovalTime !== null
|
|
2505
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.AutoApprovalTime)))
|
|
2505
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.AutoApprovalTime)))
|
|
2506
2506
|
: undefined,
|
|
2507
2507
|
Deadline: output.Deadline !== undefined && output.Deadline !== null
|
|
2508
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.Deadline)))
|
|
2508
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Deadline)))
|
|
2509
2509
|
: undefined,
|
|
2510
|
-
HITId: smithy_client_1.expectString(output.HITId),
|
|
2510
|
+
HITId: (0, smithy_client_1.expectString)(output.HITId),
|
|
2511
2511
|
RejectionTime: output.RejectionTime !== undefined && output.RejectionTime !== null
|
|
2512
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.RejectionTime)))
|
|
2512
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.RejectionTime)))
|
|
2513
2513
|
: undefined,
|
|
2514
|
-
RequesterFeedback: smithy_client_1.expectString(output.RequesterFeedback),
|
|
2514
|
+
RequesterFeedback: (0, smithy_client_1.expectString)(output.RequesterFeedback),
|
|
2515
2515
|
SubmitTime: output.SubmitTime !== undefined && output.SubmitTime !== null
|
|
2516
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.SubmitTime)))
|
|
2516
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.SubmitTime)))
|
|
2517
2517
|
: undefined,
|
|
2518
|
-
WorkerId: smithy_client_1.expectString(output.WorkerId),
|
|
2518
|
+
WorkerId: (0, smithy_client_1.expectString)(output.WorkerId),
|
|
2519
2519
|
};
|
|
2520
2520
|
};
|
|
2521
2521
|
const deserializeAws_json1_1AssignmentList = (output, context) => {
|
|
@@ -2534,13 +2534,13 @@ const deserializeAws_json1_1AssociateQualificationWithWorkerResponse = (output,
|
|
|
2534
2534
|
};
|
|
2535
2535
|
const deserializeAws_json1_1BonusPayment = (output, context) => {
|
|
2536
2536
|
return {
|
|
2537
|
-
AssignmentId: smithy_client_1.expectString(output.AssignmentId),
|
|
2538
|
-
BonusAmount: smithy_client_1.expectString(output.BonusAmount),
|
|
2537
|
+
AssignmentId: (0, smithy_client_1.expectString)(output.AssignmentId),
|
|
2538
|
+
BonusAmount: (0, smithy_client_1.expectString)(output.BonusAmount),
|
|
2539
2539
|
GrantTime: output.GrantTime !== undefined && output.GrantTime !== null
|
|
2540
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.GrantTime)))
|
|
2540
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.GrantTime)))
|
|
2541
2541
|
: undefined,
|
|
2542
|
-
Reason: smithy_client_1.expectString(output.Reason),
|
|
2543
|
-
WorkerId: smithy_client_1.expectString(output.WorkerId),
|
|
2542
|
+
Reason: (0, smithy_client_1.expectString)(output.Reason),
|
|
2543
|
+
WorkerId: (0, smithy_client_1.expectString)(output.WorkerId),
|
|
2544
2544
|
};
|
|
2545
2545
|
};
|
|
2546
2546
|
const deserializeAws_json1_1BonusPaymentList = (output, context) => {
|
|
@@ -2564,7 +2564,7 @@ const deserializeAws_json1_1CreateHITResponse = (output, context) => {
|
|
|
2564
2564
|
};
|
|
2565
2565
|
const deserializeAws_json1_1CreateHITTypeResponse = (output, context) => {
|
|
2566
2566
|
return {
|
|
2567
|
-
HITTypeId: smithy_client_1.expectString(output.HITTypeId),
|
|
2567
|
+
HITTypeId: (0, smithy_client_1.expectString)(output.HITTypeId),
|
|
2568
2568
|
};
|
|
2569
2569
|
};
|
|
2570
2570
|
const deserializeAws_json1_1CreateHITWithHITTypeResponse = (output, context) => {
|
|
@@ -2596,8 +2596,8 @@ const deserializeAws_json1_1DisassociateQualificationFromWorkerResponse = (outpu
|
|
|
2596
2596
|
};
|
|
2597
2597
|
const deserializeAws_json1_1GetAccountBalanceResponse = (output, context) => {
|
|
2598
2598
|
return {
|
|
2599
|
-
AvailableBalance: smithy_client_1.expectString(output.AvailableBalance),
|
|
2600
|
-
OnHoldBalance: smithy_client_1.expectString(output.OnHoldBalance),
|
|
2599
|
+
AvailableBalance: (0, smithy_client_1.expectString)(output.AvailableBalance),
|
|
2600
|
+
OnHoldBalance: (0, smithy_client_1.expectString)(output.OnHoldBalance),
|
|
2601
2601
|
};
|
|
2602
2602
|
};
|
|
2603
2603
|
const deserializeAws_json1_1GetAssignmentResponse = (output, context) => {
|
|
@@ -2610,7 +2610,7 @@ const deserializeAws_json1_1GetAssignmentResponse = (output, context) => {
|
|
|
2610
2610
|
};
|
|
2611
2611
|
const deserializeAws_json1_1GetFileUploadURLResponse = (output, context) => {
|
|
2612
2612
|
return {
|
|
2613
|
-
FileUploadURL: smithy_client_1.expectString(output.FileUploadURL),
|
|
2613
|
+
FileUploadURL: (0, smithy_client_1.expectString)(output.FileUploadURL),
|
|
2614
2614
|
};
|
|
2615
2615
|
};
|
|
2616
2616
|
const deserializeAws_json1_1GetHITResponse = (output, context) => {
|
|
@@ -2634,33 +2634,33 @@ const deserializeAws_json1_1GetQualificationTypeResponse = (output, context) =>
|
|
|
2634
2634
|
};
|
|
2635
2635
|
const deserializeAws_json1_1HIT = (output, context) => {
|
|
2636
2636
|
return {
|
|
2637
|
-
AssignmentDurationInSeconds: smithy_client_1.expectLong(output.AssignmentDurationInSeconds),
|
|
2638
|
-
AutoApprovalDelayInSeconds: smithy_client_1.expectLong(output.AutoApprovalDelayInSeconds),
|
|
2637
|
+
AssignmentDurationInSeconds: (0, smithy_client_1.expectLong)(output.AssignmentDurationInSeconds),
|
|
2638
|
+
AutoApprovalDelayInSeconds: (0, smithy_client_1.expectLong)(output.AutoApprovalDelayInSeconds),
|
|
2639
2639
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
2640
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
2640
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
2641
2641
|
: undefined,
|
|
2642
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
2642
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
2643
2643
|
Expiration: output.Expiration !== undefined && output.Expiration !== null
|
|
2644
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.Expiration)))
|
|
2644
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Expiration)))
|
|
2645
2645
|
: undefined,
|
|
2646
|
-
HITGroupId: smithy_client_1.expectString(output.HITGroupId),
|
|
2647
|
-
HITId: smithy_client_1.expectString(output.HITId),
|
|
2648
|
-
HITLayoutId: smithy_client_1.expectString(output.HITLayoutId),
|
|
2649
|
-
HITReviewStatus: smithy_client_1.expectString(output.HITReviewStatus),
|
|
2650
|
-
HITStatus: smithy_client_1.expectString(output.HITStatus),
|
|
2651
|
-
HITTypeId: smithy_client_1.expectString(output.HITTypeId),
|
|
2652
|
-
Keywords: smithy_client_1.expectString(output.Keywords),
|
|
2653
|
-
MaxAssignments: smithy_client_1.expectInt32(output.MaxAssignments),
|
|
2654
|
-
NumberOfAssignmentsAvailable: smithy_client_1.expectInt32(output.NumberOfAssignmentsAvailable),
|
|
2655
|
-
NumberOfAssignmentsCompleted: smithy_client_1.expectInt32(output.NumberOfAssignmentsCompleted),
|
|
2656
|
-
NumberOfAssignmentsPending: smithy_client_1.expectInt32(output.NumberOfAssignmentsPending),
|
|
2646
|
+
HITGroupId: (0, smithy_client_1.expectString)(output.HITGroupId),
|
|
2647
|
+
HITId: (0, smithy_client_1.expectString)(output.HITId),
|
|
2648
|
+
HITLayoutId: (0, smithy_client_1.expectString)(output.HITLayoutId),
|
|
2649
|
+
HITReviewStatus: (0, smithy_client_1.expectString)(output.HITReviewStatus),
|
|
2650
|
+
HITStatus: (0, smithy_client_1.expectString)(output.HITStatus),
|
|
2651
|
+
HITTypeId: (0, smithy_client_1.expectString)(output.HITTypeId),
|
|
2652
|
+
Keywords: (0, smithy_client_1.expectString)(output.Keywords),
|
|
2653
|
+
MaxAssignments: (0, smithy_client_1.expectInt32)(output.MaxAssignments),
|
|
2654
|
+
NumberOfAssignmentsAvailable: (0, smithy_client_1.expectInt32)(output.NumberOfAssignmentsAvailable),
|
|
2655
|
+
NumberOfAssignmentsCompleted: (0, smithy_client_1.expectInt32)(output.NumberOfAssignmentsCompleted),
|
|
2656
|
+
NumberOfAssignmentsPending: (0, smithy_client_1.expectInt32)(output.NumberOfAssignmentsPending),
|
|
2657
2657
|
QualificationRequirements: output.QualificationRequirements !== undefined && output.QualificationRequirements !== null
|
|
2658
2658
|
? deserializeAws_json1_1QualificationRequirementList(output.QualificationRequirements, context)
|
|
2659
2659
|
: undefined,
|
|
2660
|
-
Question: smithy_client_1.expectString(output.Question),
|
|
2661
|
-
RequesterAnnotation: smithy_client_1.expectString(output.RequesterAnnotation),
|
|
2662
|
-
Reward: smithy_client_1.expectString(output.Reward),
|
|
2663
|
-
Title: smithy_client_1.expectString(output.Title),
|
|
2660
|
+
Question: (0, smithy_client_1.expectString)(output.Question),
|
|
2661
|
+
RequesterAnnotation: (0, smithy_client_1.expectString)(output.RequesterAnnotation),
|
|
2662
|
+
Reward: (0, smithy_client_1.expectString)(output.Reward),
|
|
2663
|
+
Title: (0, smithy_client_1.expectString)(output.Title),
|
|
2664
2664
|
};
|
|
2665
2665
|
};
|
|
2666
2666
|
const deserializeAws_json1_1HITList = (output, context) => {
|
|
@@ -2681,7 +2681,7 @@ const deserializeAws_json1_1IntegerList = (output, context) => {
|
|
|
2681
2681
|
if (entry === null) {
|
|
2682
2682
|
return null;
|
|
2683
2683
|
}
|
|
2684
|
-
return smithy_client_1.expectInt32(entry);
|
|
2684
|
+
return (0, smithy_client_1.expectInt32)(entry);
|
|
2685
2685
|
});
|
|
2686
2686
|
return retVal;
|
|
2687
2687
|
};
|
|
@@ -2690,8 +2690,8 @@ const deserializeAws_json1_1ListAssignmentsForHITResponse = (output, context) =>
|
|
|
2690
2690
|
Assignments: output.Assignments !== undefined && output.Assignments !== null
|
|
2691
2691
|
? deserializeAws_json1_1AssignmentList(output.Assignments, context)
|
|
2692
2692
|
: undefined,
|
|
2693
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2694
|
-
NumResults: smithy_client_1.expectInt32(output.NumResults),
|
|
2693
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2694
|
+
NumResults: (0, smithy_client_1.expectInt32)(output.NumResults),
|
|
2695
2695
|
};
|
|
2696
2696
|
};
|
|
2697
2697
|
const deserializeAws_json1_1ListBonusPaymentsResponse = (output, context) => {
|
|
@@ -2699,8 +2699,8 @@ const deserializeAws_json1_1ListBonusPaymentsResponse = (output, context) => {
|
|
|
2699
2699
|
BonusPayments: output.BonusPayments !== undefined && output.BonusPayments !== null
|
|
2700
2700
|
? deserializeAws_json1_1BonusPaymentList(output.BonusPayments, context)
|
|
2701
2701
|
: undefined,
|
|
2702
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2703
|
-
NumResults: smithy_client_1.expectInt32(output.NumResults),
|
|
2702
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2703
|
+
NumResults: (0, smithy_client_1.expectInt32)(output.NumResults),
|
|
2704
2704
|
};
|
|
2705
2705
|
};
|
|
2706
2706
|
const deserializeAws_json1_1ListHITsForQualificationTypeResponse = (output, context) => {
|
|
@@ -2708,8 +2708,8 @@ const deserializeAws_json1_1ListHITsForQualificationTypeResponse = (output, cont
|
|
|
2708
2708
|
HITs: output.HITs !== undefined && output.HITs !== null
|
|
2709
2709
|
? deserializeAws_json1_1HITList(output.HITs, context)
|
|
2710
2710
|
: undefined,
|
|
2711
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2712
|
-
NumResults: smithy_client_1.expectInt32(output.NumResults),
|
|
2711
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2712
|
+
NumResults: (0, smithy_client_1.expectInt32)(output.NumResults),
|
|
2713
2713
|
};
|
|
2714
2714
|
};
|
|
2715
2715
|
const deserializeAws_json1_1ListHITsResponse = (output, context) => {
|
|
@@ -2717,14 +2717,14 @@ const deserializeAws_json1_1ListHITsResponse = (output, context) => {
|
|
|
2717
2717
|
HITs: output.HITs !== undefined && output.HITs !== null
|
|
2718
2718
|
? deserializeAws_json1_1HITList(output.HITs, context)
|
|
2719
2719
|
: undefined,
|
|
2720
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2721
|
-
NumResults: smithy_client_1.expectInt32(output.NumResults),
|
|
2720
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2721
|
+
NumResults: (0, smithy_client_1.expectInt32)(output.NumResults),
|
|
2722
2722
|
};
|
|
2723
2723
|
};
|
|
2724
2724
|
const deserializeAws_json1_1ListQualificationRequestsResponse = (output, context) => {
|
|
2725
2725
|
return {
|
|
2726
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2727
|
-
NumResults: smithy_client_1.expectInt32(output.NumResults),
|
|
2726
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2727
|
+
NumResults: (0, smithy_client_1.expectInt32)(output.NumResults),
|
|
2728
2728
|
QualificationRequests: output.QualificationRequests !== undefined && output.QualificationRequests !== null
|
|
2729
2729
|
? deserializeAws_json1_1QualificationRequestList(output.QualificationRequests, context)
|
|
2730
2730
|
: undefined,
|
|
@@ -2732,8 +2732,8 @@ const deserializeAws_json1_1ListQualificationRequestsResponse = (output, context
|
|
|
2732
2732
|
};
|
|
2733
2733
|
const deserializeAws_json1_1ListQualificationTypesResponse = (output, context) => {
|
|
2734
2734
|
return {
|
|
2735
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2736
|
-
NumResults: smithy_client_1.expectInt32(output.NumResults),
|
|
2735
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2736
|
+
NumResults: (0, smithy_client_1.expectInt32)(output.NumResults),
|
|
2737
2737
|
QualificationTypes: output.QualificationTypes !== undefined && output.QualificationTypes !== null
|
|
2738
2738
|
? deserializeAws_json1_1QualificationTypeList(output.QualificationTypes, context)
|
|
2739
2739
|
: undefined,
|
|
@@ -2744,8 +2744,8 @@ const deserializeAws_json1_1ListReviewableHITsResponse = (output, context) => {
|
|
|
2744
2744
|
HITs: output.HITs !== undefined && output.HITs !== null
|
|
2745
2745
|
? deserializeAws_json1_1HITList(output.HITs, context)
|
|
2746
2746
|
: undefined,
|
|
2747
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2748
|
-
NumResults: smithy_client_1.expectInt32(output.NumResults),
|
|
2747
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2748
|
+
NumResults: (0, smithy_client_1.expectInt32)(output.NumResults),
|
|
2749
2749
|
};
|
|
2750
2750
|
};
|
|
2751
2751
|
const deserializeAws_json1_1ListReviewPolicyResultsForHITResponse = (output, context) => {
|
|
@@ -2756,20 +2756,20 @@ const deserializeAws_json1_1ListReviewPolicyResultsForHITResponse = (output, con
|
|
|
2756
2756
|
AssignmentReviewReport: output.AssignmentReviewReport !== undefined && output.AssignmentReviewReport !== null
|
|
2757
2757
|
? deserializeAws_json1_1ReviewReport(output.AssignmentReviewReport, context)
|
|
2758
2758
|
: undefined,
|
|
2759
|
-
HITId: smithy_client_1.expectString(output.HITId),
|
|
2759
|
+
HITId: (0, smithy_client_1.expectString)(output.HITId),
|
|
2760
2760
|
HITReviewPolicy: output.HITReviewPolicy !== undefined && output.HITReviewPolicy !== null
|
|
2761
2761
|
? deserializeAws_json1_1ReviewPolicy(output.HITReviewPolicy, context)
|
|
2762
2762
|
: undefined,
|
|
2763
2763
|
HITReviewReport: output.HITReviewReport !== undefined && output.HITReviewReport !== null
|
|
2764
2764
|
? deserializeAws_json1_1ReviewReport(output.HITReviewReport, context)
|
|
2765
2765
|
: undefined,
|
|
2766
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2766
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2767
2767
|
};
|
|
2768
2768
|
};
|
|
2769
2769
|
const deserializeAws_json1_1ListWorkerBlocksResponse = (output, context) => {
|
|
2770
2770
|
return {
|
|
2771
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2772
|
-
NumResults: smithy_client_1.expectInt32(output.NumResults),
|
|
2771
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2772
|
+
NumResults: (0, smithy_client_1.expectInt32)(output.NumResults),
|
|
2773
2773
|
WorkerBlocks: output.WorkerBlocks !== undefined && output.WorkerBlocks !== null
|
|
2774
2774
|
? deserializeAws_json1_1WorkerBlockList(output.WorkerBlocks, context)
|
|
2775
2775
|
: undefined,
|
|
@@ -2777,8 +2777,8 @@ const deserializeAws_json1_1ListWorkerBlocksResponse = (output, context) => {
|
|
|
2777
2777
|
};
|
|
2778
2778
|
const deserializeAws_json1_1ListWorkersWithQualificationTypeResponse = (output, context) => {
|
|
2779
2779
|
return {
|
|
2780
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2781
|
-
NumResults: smithy_client_1.expectInt32(output.NumResults),
|
|
2780
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2781
|
+
NumResults: (0, smithy_client_1.expectInt32)(output.NumResults),
|
|
2782
2782
|
Qualifications: output.Qualifications !== undefined && output.Qualifications !== null
|
|
2783
2783
|
? deserializeAws_json1_1QualificationList(output.Qualifications, context)
|
|
2784
2784
|
: undefined,
|
|
@@ -2786,8 +2786,8 @@ const deserializeAws_json1_1ListWorkersWithQualificationTypeResponse = (output,
|
|
|
2786
2786
|
};
|
|
2787
2787
|
const deserializeAws_json1_1Locale = (output, context) => {
|
|
2788
2788
|
return {
|
|
2789
|
-
Country: smithy_client_1.expectString(output.Country),
|
|
2790
|
-
Subdivision: smithy_client_1.expectString(output.Subdivision),
|
|
2789
|
+
Country: (0, smithy_client_1.expectString)(output.Country),
|
|
2790
|
+
Subdivision: (0, smithy_client_1.expectString)(output.Subdivision),
|
|
2791
2791
|
};
|
|
2792
2792
|
};
|
|
2793
2793
|
const deserializeAws_json1_1LocaleList = (output, context) => {
|
|
@@ -2803,9 +2803,9 @@ const deserializeAws_json1_1LocaleList = (output, context) => {
|
|
|
2803
2803
|
};
|
|
2804
2804
|
const deserializeAws_json1_1NotifyWorkersFailureStatus = (output, context) => {
|
|
2805
2805
|
return {
|
|
2806
|
-
NotifyWorkersFailureCode: smithy_client_1.expectString(output.NotifyWorkersFailureCode),
|
|
2807
|
-
NotifyWorkersFailureMessage: smithy_client_1.expectString(output.NotifyWorkersFailureMessage),
|
|
2808
|
-
WorkerId: smithy_client_1.expectString(output.WorkerId),
|
|
2806
|
+
NotifyWorkersFailureCode: (0, smithy_client_1.expectString)(output.NotifyWorkersFailureCode),
|
|
2807
|
+
NotifyWorkersFailureMessage: (0, smithy_client_1.expectString)(output.NotifyWorkersFailureMessage),
|
|
2808
|
+
WorkerId: (0, smithy_client_1.expectString)(output.WorkerId),
|
|
2809
2809
|
};
|
|
2810
2810
|
};
|
|
2811
2811
|
const deserializeAws_json1_1NotifyWorkersFailureStatusList = (output, context) => {
|
|
@@ -2828,7 +2828,7 @@ const deserializeAws_json1_1NotifyWorkersResponse = (output, context) => {
|
|
|
2828
2828
|
};
|
|
2829
2829
|
const deserializeAws_json1_1ParameterMapEntry = (output, context) => {
|
|
2830
2830
|
return {
|
|
2831
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
2831
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
2832
2832
|
Values: output.Values !== undefined && output.Values !== null
|
|
2833
2833
|
? deserializeAws_json1_1StringList(output.Values, context)
|
|
2834
2834
|
: undefined,
|
|
@@ -2847,7 +2847,7 @@ const deserializeAws_json1_1ParameterMapEntryList = (output, context) => {
|
|
|
2847
2847
|
};
|
|
2848
2848
|
const deserializeAws_json1_1PolicyParameter = (output, context) => {
|
|
2849
2849
|
return {
|
|
2850
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
2850
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
2851
2851
|
MapEntries: output.MapEntries !== undefined && output.MapEntries !== null
|
|
2852
2852
|
? deserializeAws_json1_1ParameterMapEntryList(output.MapEntries, context)
|
|
2853
2853
|
: undefined,
|
|
@@ -2870,15 +2870,15 @@ const deserializeAws_json1_1PolicyParameterList = (output, context) => {
|
|
|
2870
2870
|
const deserializeAws_json1_1Qualification = (output, context) => {
|
|
2871
2871
|
return {
|
|
2872
2872
|
GrantTime: output.GrantTime !== undefined && output.GrantTime !== null
|
|
2873
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.GrantTime)))
|
|
2873
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.GrantTime)))
|
|
2874
2874
|
: undefined,
|
|
2875
|
-
IntegerValue: smithy_client_1.expectInt32(output.IntegerValue),
|
|
2875
|
+
IntegerValue: (0, smithy_client_1.expectInt32)(output.IntegerValue),
|
|
2876
2876
|
LocaleValue: output.LocaleValue !== undefined && output.LocaleValue !== null
|
|
2877
2877
|
? deserializeAws_json1_1Locale(output.LocaleValue, context)
|
|
2878
2878
|
: undefined,
|
|
2879
|
-
QualificationTypeId: smithy_client_1.expectString(output.QualificationTypeId),
|
|
2880
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
2881
|
-
WorkerId: smithy_client_1.expectString(output.WorkerId),
|
|
2879
|
+
QualificationTypeId: (0, smithy_client_1.expectString)(output.QualificationTypeId),
|
|
2880
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2881
|
+
WorkerId: (0, smithy_client_1.expectString)(output.WorkerId),
|
|
2882
2882
|
};
|
|
2883
2883
|
};
|
|
2884
2884
|
const deserializeAws_json1_1QualificationList = (output, context) => {
|
|
@@ -2894,14 +2894,14 @@ const deserializeAws_json1_1QualificationList = (output, context) => {
|
|
|
2894
2894
|
};
|
|
2895
2895
|
const deserializeAws_json1_1QualificationRequest = (output, context) => {
|
|
2896
2896
|
return {
|
|
2897
|
-
Answer: smithy_client_1.expectString(output.Answer),
|
|
2898
|
-
QualificationRequestId: smithy_client_1.expectString(output.QualificationRequestId),
|
|
2899
|
-
QualificationTypeId: smithy_client_1.expectString(output.QualificationTypeId),
|
|
2897
|
+
Answer: (0, smithy_client_1.expectString)(output.Answer),
|
|
2898
|
+
QualificationRequestId: (0, smithy_client_1.expectString)(output.QualificationRequestId),
|
|
2899
|
+
QualificationTypeId: (0, smithy_client_1.expectString)(output.QualificationTypeId),
|
|
2900
2900
|
SubmitTime: output.SubmitTime !== undefined && output.SubmitTime !== null
|
|
2901
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.SubmitTime)))
|
|
2901
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.SubmitTime)))
|
|
2902
2902
|
: undefined,
|
|
2903
|
-
Test: smithy_client_1.expectString(output.Test),
|
|
2904
|
-
WorkerId: smithy_client_1.expectString(output.WorkerId),
|
|
2903
|
+
Test: (0, smithy_client_1.expectString)(output.Test),
|
|
2904
|
+
WorkerId: (0, smithy_client_1.expectString)(output.WorkerId),
|
|
2905
2905
|
};
|
|
2906
2906
|
};
|
|
2907
2907
|
const deserializeAws_json1_1QualificationRequestList = (output, context) => {
|
|
@@ -2917,16 +2917,16 @@ const deserializeAws_json1_1QualificationRequestList = (output, context) => {
|
|
|
2917
2917
|
};
|
|
2918
2918
|
const deserializeAws_json1_1QualificationRequirement = (output, context) => {
|
|
2919
2919
|
return {
|
|
2920
|
-
ActionsGuarded: smithy_client_1.expectString(output.ActionsGuarded),
|
|
2921
|
-
Comparator: smithy_client_1.expectString(output.Comparator),
|
|
2920
|
+
ActionsGuarded: (0, smithy_client_1.expectString)(output.ActionsGuarded),
|
|
2921
|
+
Comparator: (0, smithy_client_1.expectString)(output.Comparator),
|
|
2922
2922
|
IntegerValues: output.IntegerValues !== undefined && output.IntegerValues !== null
|
|
2923
2923
|
? deserializeAws_json1_1IntegerList(output.IntegerValues, context)
|
|
2924
2924
|
: undefined,
|
|
2925
2925
|
LocaleValues: output.LocaleValues !== undefined && output.LocaleValues !== null
|
|
2926
2926
|
? deserializeAws_json1_1LocaleList(output.LocaleValues, context)
|
|
2927
2927
|
: undefined,
|
|
2928
|
-
QualificationTypeId: smithy_client_1.expectString(output.QualificationTypeId),
|
|
2929
|
-
RequiredToPreview: smithy_client_1.expectBoolean(output.RequiredToPreview),
|
|
2928
|
+
QualificationTypeId: (0, smithy_client_1.expectString)(output.QualificationTypeId),
|
|
2929
|
+
RequiredToPreview: (0, smithy_client_1.expectBoolean)(output.RequiredToPreview),
|
|
2930
2930
|
};
|
|
2931
2931
|
};
|
|
2932
2932
|
const deserializeAws_json1_1QualificationRequirementList = (output, context) => {
|
|
@@ -2942,21 +2942,21 @@ const deserializeAws_json1_1QualificationRequirementList = (output, context) =>
|
|
|
2942
2942
|
};
|
|
2943
2943
|
const deserializeAws_json1_1QualificationType = (output, context) => {
|
|
2944
2944
|
return {
|
|
2945
|
-
AnswerKey: smithy_client_1.expectString(output.AnswerKey),
|
|
2946
|
-
AutoGranted: smithy_client_1.expectBoolean(output.AutoGranted),
|
|
2947
|
-
AutoGrantedValue: smithy_client_1.expectInt32(output.AutoGrantedValue),
|
|
2945
|
+
AnswerKey: (0, smithy_client_1.expectString)(output.AnswerKey),
|
|
2946
|
+
AutoGranted: (0, smithy_client_1.expectBoolean)(output.AutoGranted),
|
|
2947
|
+
AutoGrantedValue: (0, smithy_client_1.expectInt32)(output.AutoGrantedValue),
|
|
2948
2948
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
2949
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
2949
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
2950
2950
|
: undefined,
|
|
2951
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
2952
|
-
IsRequestable: smithy_client_1.expectBoolean(output.IsRequestable),
|
|
2953
|
-
Keywords: smithy_client_1.expectString(output.Keywords),
|
|
2954
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
2955
|
-
QualificationTypeId: smithy_client_1.expectString(output.QualificationTypeId),
|
|
2956
|
-
QualificationTypeStatus: smithy_client_1.expectString(output.QualificationTypeStatus),
|
|
2957
|
-
RetryDelayInSeconds: smithy_client_1.expectLong(output.RetryDelayInSeconds),
|
|
2958
|
-
Test: smithy_client_1.expectString(output.Test),
|
|
2959
|
-
TestDurationInSeconds: smithy_client_1.expectLong(output.TestDurationInSeconds),
|
|
2951
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
2952
|
+
IsRequestable: (0, smithy_client_1.expectBoolean)(output.IsRequestable),
|
|
2953
|
+
Keywords: (0, smithy_client_1.expectString)(output.Keywords),
|
|
2954
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2955
|
+
QualificationTypeId: (0, smithy_client_1.expectString)(output.QualificationTypeId),
|
|
2956
|
+
QualificationTypeStatus: (0, smithy_client_1.expectString)(output.QualificationTypeStatus),
|
|
2957
|
+
RetryDelayInSeconds: (0, smithy_client_1.expectLong)(output.RetryDelayInSeconds),
|
|
2958
|
+
Test: (0, smithy_client_1.expectString)(output.Test),
|
|
2959
|
+
TestDurationInSeconds: (0, smithy_client_1.expectLong)(output.TestDurationInSeconds),
|
|
2960
2960
|
};
|
|
2961
2961
|
};
|
|
2962
2962
|
const deserializeAws_json1_1QualificationTypeList = (output, context) => {
|
|
@@ -2978,22 +2978,22 @@ const deserializeAws_json1_1RejectQualificationRequestResponse = (output, contex
|
|
|
2978
2978
|
};
|
|
2979
2979
|
const deserializeAws_json1_1RequestError = (output, context) => {
|
|
2980
2980
|
return {
|
|
2981
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
2982
|
-
TurkErrorCode: smithy_client_1.expectString(output.TurkErrorCode),
|
|
2981
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2982
|
+
TurkErrorCode: (0, smithy_client_1.expectString)(output.TurkErrorCode),
|
|
2983
2983
|
};
|
|
2984
2984
|
};
|
|
2985
2985
|
const deserializeAws_json1_1ReviewActionDetail = (output, context) => {
|
|
2986
2986
|
return {
|
|
2987
|
-
ActionId: smithy_client_1.expectString(output.ActionId),
|
|
2988
|
-
ActionName: smithy_client_1.expectString(output.ActionName),
|
|
2987
|
+
ActionId: (0, smithy_client_1.expectString)(output.ActionId),
|
|
2988
|
+
ActionName: (0, smithy_client_1.expectString)(output.ActionName),
|
|
2989
2989
|
CompleteTime: output.CompleteTime !== undefined && output.CompleteTime !== null
|
|
2990
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CompleteTime)))
|
|
2990
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CompleteTime)))
|
|
2991
2991
|
: undefined,
|
|
2992
|
-
ErrorCode: smithy_client_1.expectString(output.ErrorCode),
|
|
2993
|
-
Result: smithy_client_1.expectString(output.Result),
|
|
2994
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
2995
|
-
TargetId: smithy_client_1.expectString(output.TargetId),
|
|
2996
|
-
TargetType: smithy_client_1.expectString(output.TargetType),
|
|
2992
|
+
ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
|
|
2993
|
+
Result: (0, smithy_client_1.expectString)(output.Result),
|
|
2994
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2995
|
+
TargetId: (0, smithy_client_1.expectString)(output.TargetId),
|
|
2996
|
+
TargetType: (0, smithy_client_1.expectString)(output.TargetType),
|
|
2997
2997
|
};
|
|
2998
2998
|
};
|
|
2999
2999
|
const deserializeAws_json1_1ReviewActionDetailList = (output, context) => {
|
|
@@ -3012,7 +3012,7 @@ const deserializeAws_json1_1ReviewPolicy = (output, context) => {
|
|
|
3012
3012
|
Parameters: output.Parameters !== undefined && output.Parameters !== null
|
|
3013
3013
|
? deserializeAws_json1_1PolicyParameterList(output.Parameters, context)
|
|
3014
3014
|
: undefined,
|
|
3015
|
-
PolicyName: smithy_client_1.expectString(output.PolicyName),
|
|
3015
|
+
PolicyName: (0, smithy_client_1.expectString)(output.PolicyName),
|
|
3016
3016
|
};
|
|
3017
3017
|
};
|
|
3018
3018
|
const deserializeAws_json1_1ReviewReport = (output, context) => {
|
|
@@ -3027,12 +3027,12 @@ const deserializeAws_json1_1ReviewReport = (output, context) => {
|
|
|
3027
3027
|
};
|
|
3028
3028
|
const deserializeAws_json1_1ReviewResultDetail = (output, context) => {
|
|
3029
3029
|
return {
|
|
3030
|
-
ActionId: smithy_client_1.expectString(output.ActionId),
|
|
3031
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
3032
|
-
QuestionId: smithy_client_1.expectString(output.QuestionId),
|
|
3033
|
-
SubjectId: smithy_client_1.expectString(output.SubjectId),
|
|
3034
|
-
SubjectType: smithy_client_1.expectString(output.SubjectType),
|
|
3035
|
-
Value: smithy_client_1.expectString(output.Value),
|
|
3030
|
+
ActionId: (0, smithy_client_1.expectString)(output.ActionId),
|
|
3031
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
3032
|
+
QuestionId: (0, smithy_client_1.expectString)(output.QuestionId),
|
|
3033
|
+
SubjectId: (0, smithy_client_1.expectString)(output.SubjectId),
|
|
3034
|
+
SubjectType: (0, smithy_client_1.expectString)(output.SubjectType),
|
|
3035
|
+
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
3036
3036
|
};
|
|
3037
3037
|
};
|
|
3038
3038
|
const deserializeAws_json1_1ReviewResultDetailList = (output, context) => {
|
|
@@ -3054,8 +3054,8 @@ const deserializeAws_json1_1SendTestEventNotificationResponse = (output, context
|
|
|
3054
3054
|
};
|
|
3055
3055
|
const deserializeAws_json1_1ServiceFault = (output, context) => {
|
|
3056
3056
|
return {
|
|
3057
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
3058
|
-
TurkErrorCode: smithy_client_1.expectString(output.TurkErrorCode),
|
|
3057
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3058
|
+
TurkErrorCode: (0, smithy_client_1.expectString)(output.TurkErrorCode),
|
|
3059
3059
|
};
|
|
3060
3060
|
};
|
|
3061
3061
|
const deserializeAws_json1_1StringList = (output, context) => {
|
|
@@ -3065,7 +3065,7 @@ const deserializeAws_json1_1StringList = (output, context) => {
|
|
|
3065
3065
|
if (entry === null) {
|
|
3066
3066
|
return null;
|
|
3067
3067
|
}
|
|
3068
|
-
return smithy_client_1.expectString(entry);
|
|
3068
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3069
3069
|
});
|
|
3070
3070
|
return retVal;
|
|
3071
3071
|
};
|
|
@@ -3090,8 +3090,8 @@ const deserializeAws_json1_1UpdateQualificationTypeResponse = (output, context)
|
|
|
3090
3090
|
};
|
|
3091
3091
|
const deserializeAws_json1_1WorkerBlock = (output, context) => {
|
|
3092
3092
|
return {
|
|
3093
|
-
Reason: smithy_client_1.expectString(output.Reason),
|
|
3094
|
-
WorkerId: smithy_client_1.expectString(output.WorkerId),
|
|
3093
|
+
Reason: (0, smithy_client_1.expectString)(output.Reason),
|
|
3094
|
+
WorkerId: (0, smithy_client_1.expectString)(output.WorkerId),
|
|
3095
3095
|
};
|
|
3096
3096
|
};
|
|
3097
3097
|
const deserializeAws_json1_1WorkerBlockList = (output, context) => {
|