@aws-sdk/client-datasync 3.54.1 → 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.
Files changed (56) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-cjs/DataSyncClient.js +13 -13
  3. package/dist-cjs/commands/CancelTaskExecutionCommand.js +3 -3
  4. package/dist-cjs/commands/CreateAgentCommand.js +3 -3
  5. package/dist-cjs/commands/CreateLocationEfsCommand.js +3 -3
  6. package/dist-cjs/commands/CreateLocationFsxLustreCommand.js +3 -3
  7. package/dist-cjs/commands/CreateLocationFsxWindowsCommand.js +3 -3
  8. package/dist-cjs/commands/CreateLocationHdfsCommand.js +3 -3
  9. package/dist-cjs/commands/CreateLocationNfsCommand.js +3 -3
  10. package/dist-cjs/commands/CreateLocationObjectStorageCommand.js +3 -3
  11. package/dist-cjs/commands/CreateLocationS3Command.js +3 -3
  12. package/dist-cjs/commands/CreateLocationSmbCommand.js +3 -3
  13. package/dist-cjs/commands/CreateTaskCommand.js +3 -3
  14. package/dist-cjs/commands/DeleteAgentCommand.js +3 -3
  15. package/dist-cjs/commands/DeleteLocationCommand.js +3 -3
  16. package/dist-cjs/commands/DeleteTaskCommand.js +3 -3
  17. package/dist-cjs/commands/DescribeAgentCommand.js +3 -3
  18. package/dist-cjs/commands/DescribeLocationEfsCommand.js +3 -3
  19. package/dist-cjs/commands/DescribeLocationFsxLustreCommand.js +3 -3
  20. package/dist-cjs/commands/DescribeLocationFsxWindowsCommand.js +3 -3
  21. package/dist-cjs/commands/DescribeLocationHdfsCommand.js +3 -3
  22. package/dist-cjs/commands/DescribeLocationNfsCommand.js +3 -3
  23. package/dist-cjs/commands/DescribeLocationObjectStorageCommand.js +3 -3
  24. package/dist-cjs/commands/DescribeLocationS3Command.js +3 -3
  25. package/dist-cjs/commands/DescribeLocationSmbCommand.js +3 -3
  26. package/dist-cjs/commands/DescribeTaskCommand.js +3 -3
  27. package/dist-cjs/commands/DescribeTaskExecutionCommand.js +3 -3
  28. package/dist-cjs/commands/ListAgentsCommand.js +3 -3
  29. package/dist-cjs/commands/ListLocationsCommand.js +3 -3
  30. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  31. package/dist-cjs/commands/ListTaskExecutionsCommand.js +3 -3
  32. package/dist-cjs/commands/ListTasksCommand.js +3 -3
  33. package/dist-cjs/commands/StartTaskExecutionCommand.js +3 -3
  34. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  35. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  36. package/dist-cjs/commands/UpdateAgentCommand.js +3 -3
  37. package/dist-cjs/commands/UpdateLocationHdfsCommand.js +3 -3
  38. package/dist-cjs/commands/UpdateLocationNfsCommand.js +3 -3
  39. package/dist-cjs/commands/UpdateLocationObjectStorageCommand.js +3 -3
  40. package/dist-cjs/commands/UpdateLocationSmbCommand.js +3 -3
  41. package/dist-cjs/commands/UpdateTaskCommand.js +3 -3
  42. package/dist-cjs/commands/UpdateTaskExecutionCommand.js +3 -3
  43. package/dist-cjs/endpoints.js +1 -1
  44. package/dist-cjs/protocols/Aws_json1_1.js +178 -178
  45. package/dist-cjs/runtimeConfig.browser.js +4 -4
  46. package/dist-cjs/runtimeConfig.js +9 -9
  47. package/dist-cjs/runtimeConfig.native.js +1 -1
  48. package/dist-es/DataSync.js +40 -40
  49. package/dist-es/pagination/ListAgentsPaginator.js +4 -4
  50. package/dist-es/pagination/ListLocationsPaginator.js +4 -4
  51. package/dist-es/pagination/ListTagsForResourcePaginator.js +4 -4
  52. package/dist-es/pagination/ListTaskExecutionsPaginator.js +4 -4
  53. package/dist-es/pagination/ListTasksPaginator.js +4 -4
  54. package/dist-types/runtimeConfig.native.d.ts +2 -2
  55. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  56. package/package.json +34 -34
@@ -442,7 +442,7 @@ const deserializeAws_json1_1CancelTaskExecutionCommandError = async (output, con
442
442
  $fault: "client",
443
443
  $metadata: deserializeMetadata(output),
444
444
  });
445
- throw smithy_client_1.decorateServiceException(response, parsedBody);
445
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
446
446
  }
447
447
  };
448
448
  const deserializeAws_json1_1CreateAgentCommand = async (output, context) => {
@@ -481,7 +481,7 @@ const deserializeAws_json1_1CreateAgentCommandError = async (output, context) =>
481
481
  $fault: "client",
482
482
  $metadata: deserializeMetadata(output),
483
483
  });
484
- throw smithy_client_1.decorateServiceException(response, parsedBody);
484
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
485
485
  }
486
486
  };
487
487
  const deserializeAws_json1_1CreateLocationEfsCommand = async (output, context) => {
@@ -520,7 +520,7 @@ const deserializeAws_json1_1CreateLocationEfsCommandError = async (output, conte
520
520
  $fault: "client",
521
521
  $metadata: deserializeMetadata(output),
522
522
  });
523
- throw smithy_client_1.decorateServiceException(response, parsedBody);
523
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
524
524
  }
525
525
  };
526
526
  const deserializeAws_json1_1CreateLocationFsxLustreCommand = async (output, context) => {
@@ -559,7 +559,7 @@ const deserializeAws_json1_1CreateLocationFsxLustreCommandError = async (output,
559
559
  $fault: "client",
560
560
  $metadata: deserializeMetadata(output),
561
561
  });
562
- throw smithy_client_1.decorateServiceException(response, parsedBody);
562
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
563
563
  }
564
564
  };
565
565
  const deserializeAws_json1_1CreateLocationFsxWindowsCommand = async (output, context) => {
@@ -598,7 +598,7 @@ const deserializeAws_json1_1CreateLocationFsxWindowsCommandError = async (output
598
598
  $fault: "client",
599
599
  $metadata: deserializeMetadata(output),
600
600
  });
601
- throw smithy_client_1.decorateServiceException(response, parsedBody);
601
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
602
602
  }
603
603
  };
604
604
  const deserializeAws_json1_1CreateLocationHdfsCommand = async (output, context) => {
@@ -637,7 +637,7 @@ const deserializeAws_json1_1CreateLocationHdfsCommandError = async (output, cont
637
637
  $fault: "client",
638
638
  $metadata: deserializeMetadata(output),
639
639
  });
640
- throw smithy_client_1.decorateServiceException(response, parsedBody);
640
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
641
641
  }
642
642
  };
643
643
  const deserializeAws_json1_1CreateLocationNfsCommand = async (output, context) => {
@@ -676,7 +676,7 @@ const deserializeAws_json1_1CreateLocationNfsCommandError = async (output, conte
676
676
  $fault: "client",
677
677
  $metadata: deserializeMetadata(output),
678
678
  });
679
- throw smithy_client_1.decorateServiceException(response, parsedBody);
679
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
680
680
  }
681
681
  };
682
682
  const deserializeAws_json1_1CreateLocationObjectStorageCommand = async (output, context) => {
@@ -715,7 +715,7 @@ const deserializeAws_json1_1CreateLocationObjectStorageCommandError = async (out
715
715
  $fault: "client",
716
716
  $metadata: deserializeMetadata(output),
717
717
  });
718
- throw smithy_client_1.decorateServiceException(response, parsedBody);
718
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
719
719
  }
720
720
  };
721
721
  const deserializeAws_json1_1CreateLocationS3Command = async (output, context) => {
@@ -754,7 +754,7 @@ const deserializeAws_json1_1CreateLocationS3CommandError = async (output, contex
754
754
  $fault: "client",
755
755
  $metadata: deserializeMetadata(output),
756
756
  });
757
- throw smithy_client_1.decorateServiceException(response, parsedBody);
757
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
758
758
  }
759
759
  };
760
760
  const deserializeAws_json1_1CreateLocationSmbCommand = async (output, context) => {
@@ -793,7 +793,7 @@ const deserializeAws_json1_1CreateLocationSmbCommandError = async (output, conte
793
793
  $fault: "client",
794
794
  $metadata: deserializeMetadata(output),
795
795
  });
796
- throw smithy_client_1.decorateServiceException(response, parsedBody);
796
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
797
797
  }
798
798
  };
799
799
  const deserializeAws_json1_1CreateTaskCommand = async (output, context) => {
@@ -832,7 +832,7 @@ const deserializeAws_json1_1CreateTaskCommandError = async (output, context) =>
832
832
  $fault: "client",
833
833
  $metadata: deserializeMetadata(output),
834
834
  });
835
- throw smithy_client_1.decorateServiceException(response, parsedBody);
835
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
836
836
  }
837
837
  };
838
838
  const deserializeAws_json1_1DeleteAgentCommand = async (output, context) => {
@@ -871,7 +871,7 @@ const deserializeAws_json1_1DeleteAgentCommandError = async (output, context) =>
871
871
  $fault: "client",
872
872
  $metadata: deserializeMetadata(output),
873
873
  });
874
- throw smithy_client_1.decorateServiceException(response, parsedBody);
874
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
875
875
  }
876
876
  };
877
877
  const deserializeAws_json1_1DeleteLocationCommand = async (output, context) => {
@@ -910,7 +910,7 @@ const deserializeAws_json1_1DeleteLocationCommandError = async (output, context)
910
910
  $fault: "client",
911
911
  $metadata: deserializeMetadata(output),
912
912
  });
913
- throw smithy_client_1.decorateServiceException(response, parsedBody);
913
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
914
914
  }
915
915
  };
916
916
  const deserializeAws_json1_1DeleteTaskCommand = async (output, context) => {
@@ -949,7 +949,7 @@ const deserializeAws_json1_1DeleteTaskCommandError = async (output, context) =>
949
949
  $fault: "client",
950
950
  $metadata: deserializeMetadata(output),
951
951
  });
952
- throw smithy_client_1.decorateServiceException(response, parsedBody);
952
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
953
953
  }
954
954
  };
955
955
  const deserializeAws_json1_1DescribeAgentCommand = async (output, context) => {
@@ -988,7 +988,7 @@ const deserializeAws_json1_1DescribeAgentCommandError = async (output, context)
988
988
  $fault: "client",
989
989
  $metadata: deserializeMetadata(output),
990
990
  });
991
- throw smithy_client_1.decorateServiceException(response, parsedBody);
991
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
992
992
  }
993
993
  };
994
994
  const deserializeAws_json1_1DescribeLocationEfsCommand = async (output, context) => {
@@ -1027,7 +1027,7 @@ const deserializeAws_json1_1DescribeLocationEfsCommandError = async (output, con
1027
1027
  $fault: "client",
1028
1028
  $metadata: deserializeMetadata(output),
1029
1029
  });
1030
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1030
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1031
1031
  }
1032
1032
  };
1033
1033
  const deserializeAws_json1_1DescribeLocationFsxLustreCommand = async (output, context) => {
@@ -1066,7 +1066,7 @@ const deserializeAws_json1_1DescribeLocationFsxLustreCommandError = async (outpu
1066
1066
  $fault: "client",
1067
1067
  $metadata: deserializeMetadata(output),
1068
1068
  });
1069
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1069
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1070
1070
  }
1071
1071
  };
1072
1072
  const deserializeAws_json1_1DescribeLocationFsxWindowsCommand = async (output, context) => {
@@ -1105,7 +1105,7 @@ const deserializeAws_json1_1DescribeLocationFsxWindowsCommandError = async (outp
1105
1105
  $fault: "client",
1106
1106
  $metadata: deserializeMetadata(output),
1107
1107
  });
1108
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1108
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1109
1109
  }
1110
1110
  };
1111
1111
  const deserializeAws_json1_1DescribeLocationHdfsCommand = async (output, context) => {
@@ -1144,7 +1144,7 @@ const deserializeAws_json1_1DescribeLocationHdfsCommandError = async (output, co
1144
1144
  $fault: "client",
1145
1145
  $metadata: deserializeMetadata(output),
1146
1146
  });
1147
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1147
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1148
1148
  }
1149
1149
  };
1150
1150
  const deserializeAws_json1_1DescribeLocationNfsCommand = async (output, context) => {
@@ -1183,7 +1183,7 @@ const deserializeAws_json1_1DescribeLocationNfsCommandError = async (output, con
1183
1183
  $fault: "client",
1184
1184
  $metadata: deserializeMetadata(output),
1185
1185
  });
1186
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1186
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1187
1187
  }
1188
1188
  };
1189
1189
  const deserializeAws_json1_1DescribeLocationObjectStorageCommand = async (output, context) => {
@@ -1222,7 +1222,7 @@ const deserializeAws_json1_1DescribeLocationObjectStorageCommandError = async (o
1222
1222
  $fault: "client",
1223
1223
  $metadata: deserializeMetadata(output),
1224
1224
  });
1225
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1225
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1226
1226
  }
1227
1227
  };
1228
1228
  const deserializeAws_json1_1DescribeLocationS3Command = async (output, context) => {
@@ -1261,7 +1261,7 @@ const deserializeAws_json1_1DescribeLocationS3CommandError = async (output, cont
1261
1261
  $fault: "client",
1262
1262
  $metadata: deserializeMetadata(output),
1263
1263
  });
1264
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1264
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1265
1265
  }
1266
1266
  };
1267
1267
  const deserializeAws_json1_1DescribeLocationSmbCommand = async (output, context) => {
@@ -1300,7 +1300,7 @@ const deserializeAws_json1_1DescribeLocationSmbCommandError = async (output, con
1300
1300
  $fault: "client",
1301
1301
  $metadata: deserializeMetadata(output),
1302
1302
  });
1303
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1303
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1304
1304
  }
1305
1305
  };
1306
1306
  const deserializeAws_json1_1DescribeTaskCommand = async (output, context) => {
@@ -1339,7 +1339,7 @@ const deserializeAws_json1_1DescribeTaskCommandError = async (output, context) =
1339
1339
  $fault: "client",
1340
1340
  $metadata: deserializeMetadata(output),
1341
1341
  });
1342
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1342
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1343
1343
  }
1344
1344
  };
1345
1345
  const deserializeAws_json1_1DescribeTaskExecutionCommand = async (output, context) => {
@@ -1378,7 +1378,7 @@ const deserializeAws_json1_1DescribeTaskExecutionCommandError = async (output, c
1378
1378
  $fault: "client",
1379
1379
  $metadata: deserializeMetadata(output),
1380
1380
  });
1381
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1381
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1382
1382
  }
1383
1383
  };
1384
1384
  const deserializeAws_json1_1ListAgentsCommand = async (output, context) => {
@@ -1417,7 +1417,7 @@ const deserializeAws_json1_1ListAgentsCommandError = async (output, context) =>
1417
1417
  $fault: "client",
1418
1418
  $metadata: deserializeMetadata(output),
1419
1419
  });
1420
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1420
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1421
1421
  }
1422
1422
  };
1423
1423
  const deserializeAws_json1_1ListLocationsCommand = async (output, context) => {
@@ -1456,7 +1456,7 @@ const deserializeAws_json1_1ListLocationsCommandError = async (output, context)
1456
1456
  $fault: "client",
1457
1457
  $metadata: deserializeMetadata(output),
1458
1458
  });
1459
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1459
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1460
1460
  }
1461
1461
  };
1462
1462
  const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
@@ -1495,7 +1495,7 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
1495
1495
  $fault: "client",
1496
1496
  $metadata: deserializeMetadata(output),
1497
1497
  });
1498
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1498
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1499
1499
  }
1500
1500
  };
1501
1501
  const deserializeAws_json1_1ListTaskExecutionsCommand = async (output, context) => {
@@ -1534,7 +1534,7 @@ const deserializeAws_json1_1ListTaskExecutionsCommandError = async (output, cont
1534
1534
  $fault: "client",
1535
1535
  $metadata: deserializeMetadata(output),
1536
1536
  });
1537
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1537
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1538
1538
  }
1539
1539
  };
1540
1540
  const deserializeAws_json1_1ListTasksCommand = async (output, context) => {
@@ -1573,7 +1573,7 @@ const deserializeAws_json1_1ListTasksCommandError = async (output, context) => {
1573
1573
  $fault: "client",
1574
1574
  $metadata: deserializeMetadata(output),
1575
1575
  });
1576
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1576
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1577
1577
  }
1578
1578
  };
1579
1579
  const deserializeAws_json1_1StartTaskExecutionCommand = async (output, context) => {
@@ -1612,7 +1612,7 @@ const deserializeAws_json1_1StartTaskExecutionCommandError = async (output, cont
1612
1612
  $fault: "client",
1613
1613
  $metadata: deserializeMetadata(output),
1614
1614
  });
1615
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1615
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1616
1616
  }
1617
1617
  };
1618
1618
  const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
@@ -1651,7 +1651,7 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
1651
1651
  $fault: "client",
1652
1652
  $metadata: deserializeMetadata(output),
1653
1653
  });
1654
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1654
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1655
1655
  }
1656
1656
  };
1657
1657
  const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
@@ -1690,7 +1690,7 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
1690
1690
  $fault: "client",
1691
1691
  $metadata: deserializeMetadata(output),
1692
1692
  });
1693
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1693
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1694
1694
  }
1695
1695
  };
1696
1696
  const deserializeAws_json1_1UpdateAgentCommand = async (output, context) => {
@@ -1729,7 +1729,7 @@ const deserializeAws_json1_1UpdateAgentCommandError = async (output, context) =>
1729
1729
  $fault: "client",
1730
1730
  $metadata: deserializeMetadata(output),
1731
1731
  });
1732
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1732
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1733
1733
  }
1734
1734
  };
1735
1735
  const deserializeAws_json1_1UpdateLocationHdfsCommand = async (output, context) => {
@@ -1768,7 +1768,7 @@ const deserializeAws_json1_1UpdateLocationHdfsCommandError = async (output, cont
1768
1768
  $fault: "client",
1769
1769
  $metadata: deserializeMetadata(output),
1770
1770
  });
1771
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1771
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1772
1772
  }
1773
1773
  };
1774
1774
  const deserializeAws_json1_1UpdateLocationNfsCommand = async (output, context) => {
@@ -1807,7 +1807,7 @@ const deserializeAws_json1_1UpdateLocationNfsCommandError = async (output, conte
1807
1807
  $fault: "client",
1808
1808
  $metadata: deserializeMetadata(output),
1809
1809
  });
1810
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1810
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1811
1811
  }
1812
1812
  };
1813
1813
  const deserializeAws_json1_1UpdateLocationObjectStorageCommand = async (output, context) => {
@@ -1846,7 +1846,7 @@ const deserializeAws_json1_1UpdateLocationObjectStorageCommandError = async (out
1846
1846
  $fault: "client",
1847
1847
  $metadata: deserializeMetadata(output),
1848
1848
  });
1849
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1849
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1850
1850
  }
1851
1851
  };
1852
1852
  const deserializeAws_json1_1UpdateLocationSmbCommand = async (output, context) => {
@@ -1885,7 +1885,7 @@ const deserializeAws_json1_1UpdateLocationSmbCommandError = async (output, conte
1885
1885
  $fault: "client",
1886
1886
  $metadata: deserializeMetadata(output),
1887
1887
  });
1888
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1888
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1889
1889
  }
1890
1890
  };
1891
1891
  const deserializeAws_json1_1UpdateTaskCommand = async (output, context) => {
@@ -1924,7 +1924,7 @@ const deserializeAws_json1_1UpdateTaskCommandError = async (output, context) =>
1924
1924
  $fault: "client",
1925
1925
  $metadata: deserializeMetadata(output),
1926
1926
  });
1927
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1927
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1928
1928
  }
1929
1929
  };
1930
1930
  const deserializeAws_json1_1UpdateTaskExecutionCommand = async (output, context) => {
@@ -1963,7 +1963,7 @@ const deserializeAws_json1_1UpdateTaskExecutionCommandError = async (output, con
1963
1963
  $fault: "client",
1964
1964
  $metadata: deserializeMetadata(output),
1965
1965
  });
1966
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1966
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1967
1967
  }
1968
1968
  };
1969
1969
  const deserializeAws_json1_1InternalExceptionResponse = async (parsedOutput, context) => {
@@ -1973,7 +1973,7 @@ const deserializeAws_json1_1InternalExceptionResponse = async (parsedOutput, con
1973
1973
  $metadata: deserializeMetadata(parsedOutput),
1974
1974
  ...deserialized,
1975
1975
  });
1976
- return smithy_client_1.decorateServiceException(exception, body);
1976
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1977
1977
  };
1978
1978
  const deserializeAws_json1_1InvalidRequestExceptionResponse = async (parsedOutput, context) => {
1979
1979
  const body = parsedOutput.body;
@@ -1982,7 +1982,7 @@ const deserializeAws_json1_1InvalidRequestExceptionResponse = async (parsedOutpu
1982
1982
  $metadata: deserializeMetadata(parsedOutput),
1983
1983
  ...deserialized,
1984
1984
  });
1985
- return smithy_client_1.decorateServiceException(exception, body);
1985
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1986
1986
  };
1987
1987
  const serializeAws_json1_1AgentArnList = (input, context) => {
1988
1988
  return input
@@ -2609,7 +2609,7 @@ const deserializeAws_json1_1AgentArnList = (output, context) => {
2609
2609
  if (entry === null) {
2610
2610
  return null;
2611
2611
  }
2612
- return smithy_client_1.expectString(entry);
2612
+ return (0, smithy_client_1.expectString)(entry);
2613
2613
  });
2614
2614
  return retVal;
2615
2615
  };
@@ -2626,9 +2626,9 @@ const deserializeAws_json1_1AgentList = (output, context) => {
2626
2626
  };
2627
2627
  const deserializeAws_json1_1AgentListEntry = (output, context) => {
2628
2628
  return {
2629
- AgentArn: smithy_client_1.expectString(output.AgentArn),
2630
- Name: smithy_client_1.expectString(output.Name),
2631
- Status: smithy_client_1.expectString(output.Status),
2629
+ AgentArn: (0, smithy_client_1.expectString)(output.AgentArn),
2630
+ Name: (0, smithy_client_1.expectString)(output.Name),
2631
+ Status: (0, smithy_client_1.expectString)(output.Status),
2632
2632
  };
2633
2633
  };
2634
2634
  const deserializeAws_json1_1CancelTaskExecutionResponse = (output, context) => {
@@ -2636,52 +2636,52 @@ const deserializeAws_json1_1CancelTaskExecutionResponse = (output, context) => {
2636
2636
  };
2637
2637
  const deserializeAws_json1_1CreateAgentResponse = (output, context) => {
2638
2638
  return {
2639
- AgentArn: smithy_client_1.expectString(output.AgentArn),
2639
+ AgentArn: (0, smithy_client_1.expectString)(output.AgentArn),
2640
2640
  };
2641
2641
  };
2642
2642
  const deserializeAws_json1_1CreateLocationEfsResponse = (output, context) => {
2643
2643
  return {
2644
- LocationArn: smithy_client_1.expectString(output.LocationArn),
2644
+ LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
2645
2645
  };
2646
2646
  };
2647
2647
  const deserializeAws_json1_1CreateLocationFsxLustreResponse = (output, context) => {
2648
2648
  return {
2649
- LocationArn: smithy_client_1.expectString(output.LocationArn),
2649
+ LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
2650
2650
  };
2651
2651
  };
2652
2652
  const deserializeAws_json1_1CreateLocationFsxWindowsResponse = (output, context) => {
2653
2653
  return {
2654
- LocationArn: smithy_client_1.expectString(output.LocationArn),
2654
+ LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
2655
2655
  };
2656
2656
  };
2657
2657
  const deserializeAws_json1_1CreateLocationHdfsResponse = (output, context) => {
2658
2658
  return {
2659
- LocationArn: smithy_client_1.expectString(output.LocationArn),
2659
+ LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
2660
2660
  };
2661
2661
  };
2662
2662
  const deserializeAws_json1_1CreateLocationNfsResponse = (output, context) => {
2663
2663
  return {
2664
- LocationArn: smithy_client_1.expectString(output.LocationArn),
2664
+ LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
2665
2665
  };
2666
2666
  };
2667
2667
  const deserializeAws_json1_1CreateLocationObjectStorageResponse = (output, context) => {
2668
2668
  return {
2669
- LocationArn: smithy_client_1.expectString(output.LocationArn),
2669
+ LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
2670
2670
  };
2671
2671
  };
2672
2672
  const deserializeAws_json1_1CreateLocationS3Response = (output, context) => {
2673
2673
  return {
2674
- LocationArn: smithy_client_1.expectString(output.LocationArn),
2674
+ LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
2675
2675
  };
2676
2676
  };
2677
2677
  const deserializeAws_json1_1CreateLocationSmbResponse = (output, context) => {
2678
2678
  return {
2679
- LocationArn: smithy_client_1.expectString(output.LocationArn),
2679
+ LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
2680
2680
  };
2681
2681
  };
2682
2682
  const deserializeAws_json1_1CreateTaskResponse = (output, context) => {
2683
2683
  return {
2684
- TaskArn: smithy_client_1.expectString(output.TaskArn),
2684
+ TaskArn: (0, smithy_client_1.expectString)(output.TaskArn),
2685
2685
  };
2686
2686
  };
2687
2687
  const deserializeAws_json1_1DeleteAgentResponse = (output, context) => {
@@ -2695,40 +2695,40 @@ const deserializeAws_json1_1DeleteTaskResponse = (output, context) => {
2695
2695
  };
2696
2696
  const deserializeAws_json1_1DescribeAgentResponse = (output, context) => {
2697
2697
  return {
2698
- AgentArn: smithy_client_1.expectString(output.AgentArn),
2698
+ AgentArn: (0, smithy_client_1.expectString)(output.AgentArn),
2699
2699
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
2700
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
2700
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
2701
2701
  : undefined,
2702
- EndpointType: smithy_client_1.expectString(output.EndpointType),
2702
+ EndpointType: (0, smithy_client_1.expectString)(output.EndpointType),
2703
2703
  LastConnectionTime: output.LastConnectionTime !== undefined && output.LastConnectionTime !== null
2704
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastConnectionTime)))
2704
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastConnectionTime)))
2705
2705
  : undefined,
2706
- Name: smithy_client_1.expectString(output.Name),
2706
+ Name: (0, smithy_client_1.expectString)(output.Name),
2707
2707
  PrivateLinkConfig: output.PrivateLinkConfig !== undefined && output.PrivateLinkConfig !== null
2708
2708
  ? deserializeAws_json1_1PrivateLinkConfig(output.PrivateLinkConfig, context)
2709
2709
  : undefined,
2710
- Status: smithy_client_1.expectString(output.Status),
2710
+ Status: (0, smithy_client_1.expectString)(output.Status),
2711
2711
  };
2712
2712
  };
2713
2713
  const deserializeAws_json1_1DescribeLocationEfsResponse = (output, context) => {
2714
2714
  return {
2715
2715
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
2716
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
2716
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
2717
2717
  : undefined,
2718
2718
  Ec2Config: output.Ec2Config !== undefined && output.Ec2Config !== null
2719
2719
  ? deserializeAws_json1_1Ec2Config(output.Ec2Config, context)
2720
2720
  : undefined,
2721
- LocationArn: smithy_client_1.expectString(output.LocationArn),
2722
- LocationUri: smithy_client_1.expectString(output.LocationUri),
2721
+ LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
2722
+ LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
2723
2723
  };
2724
2724
  };
2725
2725
  const deserializeAws_json1_1DescribeLocationFsxLustreResponse = (output, context) => {
2726
2726
  return {
2727
2727
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
2728
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
2728
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
2729
2729
  : undefined,
2730
- LocationArn: smithy_client_1.expectString(output.LocationArn),
2731
- LocationUri: smithy_client_1.expectString(output.LocationUri),
2730
+ LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
2731
+ LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
2732
2732
  SecurityGroupArns: output.SecurityGroupArns !== undefined && output.SecurityGroupArns !== null
2733
2733
  ? deserializeAws_json1_1Ec2SecurityGroupArnList(output.SecurityGroupArns, context)
2734
2734
  : undefined,
@@ -2737,15 +2737,15 @@ const deserializeAws_json1_1DescribeLocationFsxLustreResponse = (output, context
2737
2737
  const deserializeAws_json1_1DescribeLocationFsxWindowsResponse = (output, context) => {
2738
2738
  return {
2739
2739
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
2740
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
2740
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
2741
2741
  : undefined,
2742
- Domain: smithy_client_1.expectString(output.Domain),
2743
- LocationArn: smithy_client_1.expectString(output.LocationArn),
2744
- LocationUri: smithy_client_1.expectString(output.LocationUri),
2742
+ Domain: (0, smithy_client_1.expectString)(output.Domain),
2743
+ LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
2744
+ LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
2745
2745
  SecurityGroupArns: output.SecurityGroupArns !== undefined && output.SecurityGroupArns !== null
2746
2746
  ? deserializeAws_json1_1Ec2SecurityGroupArnList(output.SecurityGroupArns, context)
2747
2747
  : undefined,
2748
- User: smithy_client_1.expectString(output.User),
2748
+ User: (0, smithy_client_1.expectString)(output.User),
2749
2749
  };
2750
2750
  };
2751
2751
  const deserializeAws_json1_1DescribeLocationHdfsResponse = (output, context) => {
@@ -2753,32 +2753,32 @@ const deserializeAws_json1_1DescribeLocationHdfsResponse = (output, context) =>
2753
2753
  AgentArns: output.AgentArns !== undefined && output.AgentArns !== null
2754
2754
  ? deserializeAws_json1_1AgentArnList(output.AgentArns, context)
2755
2755
  : undefined,
2756
- AuthenticationType: smithy_client_1.expectString(output.AuthenticationType),
2757
- BlockSize: smithy_client_1.expectInt32(output.BlockSize),
2756
+ AuthenticationType: (0, smithy_client_1.expectString)(output.AuthenticationType),
2757
+ BlockSize: (0, smithy_client_1.expectInt32)(output.BlockSize),
2758
2758
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
2759
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
2759
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
2760
2760
  : undefined,
2761
- KerberosPrincipal: smithy_client_1.expectString(output.KerberosPrincipal),
2762
- KmsKeyProviderUri: smithy_client_1.expectString(output.KmsKeyProviderUri),
2763
- LocationArn: smithy_client_1.expectString(output.LocationArn),
2764
- LocationUri: smithy_client_1.expectString(output.LocationUri),
2761
+ KerberosPrincipal: (0, smithy_client_1.expectString)(output.KerberosPrincipal),
2762
+ KmsKeyProviderUri: (0, smithy_client_1.expectString)(output.KmsKeyProviderUri),
2763
+ LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
2764
+ LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
2765
2765
  NameNodes: output.NameNodes !== undefined && output.NameNodes !== null
2766
2766
  ? deserializeAws_json1_1HdfsNameNodeList(output.NameNodes, context)
2767
2767
  : undefined,
2768
2768
  QopConfiguration: output.QopConfiguration !== undefined && output.QopConfiguration !== null
2769
2769
  ? deserializeAws_json1_1QopConfiguration(output.QopConfiguration, context)
2770
2770
  : undefined,
2771
- ReplicationFactor: smithy_client_1.expectInt32(output.ReplicationFactor),
2772
- SimpleUser: smithy_client_1.expectString(output.SimpleUser),
2771
+ ReplicationFactor: (0, smithy_client_1.expectInt32)(output.ReplicationFactor),
2772
+ SimpleUser: (0, smithy_client_1.expectString)(output.SimpleUser),
2773
2773
  };
2774
2774
  };
2775
2775
  const deserializeAws_json1_1DescribeLocationNfsResponse = (output, context) => {
2776
2776
  return {
2777
2777
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
2778
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
2778
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
2779
2779
  : undefined,
2780
- LocationArn: smithy_client_1.expectString(output.LocationArn),
2781
- LocationUri: smithy_client_1.expectString(output.LocationUri),
2780
+ LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
2781
+ LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
2782
2782
  MountOptions: output.MountOptions !== undefined && output.MountOptions !== null
2783
2783
  ? deserializeAws_json1_1NfsMountOptions(output.MountOptions, context)
2784
2784
  : undefined,
@@ -2789,17 +2789,17 @@ const deserializeAws_json1_1DescribeLocationNfsResponse = (output, context) => {
2789
2789
  };
2790
2790
  const deserializeAws_json1_1DescribeLocationObjectStorageResponse = (output, context) => {
2791
2791
  return {
2792
- AccessKey: smithy_client_1.expectString(output.AccessKey),
2792
+ AccessKey: (0, smithy_client_1.expectString)(output.AccessKey),
2793
2793
  AgentArns: output.AgentArns !== undefined && output.AgentArns !== null
2794
2794
  ? deserializeAws_json1_1AgentArnList(output.AgentArns, context)
2795
2795
  : undefined,
2796
2796
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
2797
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
2797
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
2798
2798
  : undefined,
2799
- LocationArn: smithy_client_1.expectString(output.LocationArn),
2800
- LocationUri: smithy_client_1.expectString(output.LocationUri),
2801
- ServerPort: smithy_client_1.expectInt32(output.ServerPort),
2802
- ServerProtocol: smithy_client_1.expectString(output.ServerProtocol),
2799
+ LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
2800
+ LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
2801
+ ServerPort: (0, smithy_client_1.expectInt32)(output.ServerPort),
2802
+ ServerProtocol: (0, smithy_client_1.expectString)(output.ServerProtocol),
2803
2803
  };
2804
2804
  };
2805
2805
  const deserializeAws_json1_1DescribeLocationS3Response = (output, context) => {
@@ -2808,14 +2808,14 @@ const deserializeAws_json1_1DescribeLocationS3Response = (output, context) => {
2808
2808
  ? deserializeAws_json1_1AgentArnList(output.AgentArns, context)
2809
2809
  : undefined,
2810
2810
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
2811
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
2811
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
2812
2812
  : undefined,
2813
- LocationArn: smithy_client_1.expectString(output.LocationArn),
2814
- LocationUri: smithy_client_1.expectString(output.LocationUri),
2813
+ LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
2814
+ LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
2815
2815
  S3Config: output.S3Config !== undefined && output.S3Config !== null
2816
2816
  ? deserializeAws_json1_1S3Config(output.S3Config, context)
2817
2817
  : undefined,
2818
- S3StorageClass: smithy_client_1.expectString(output.S3StorageClass),
2818
+ S3StorageClass: (0, smithy_client_1.expectString)(output.S3StorageClass),
2819
2819
  };
2820
2820
  };
2821
2821
  const deserializeAws_json1_1DescribeLocationSmbResponse = (output, context) => {
@@ -2824,27 +2824,27 @@ const deserializeAws_json1_1DescribeLocationSmbResponse = (output, context) => {
2824
2824
  ? deserializeAws_json1_1AgentArnList(output.AgentArns, context)
2825
2825
  : undefined,
2826
2826
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
2827
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
2827
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
2828
2828
  : undefined,
2829
- Domain: smithy_client_1.expectString(output.Domain),
2830
- LocationArn: smithy_client_1.expectString(output.LocationArn),
2831
- LocationUri: smithy_client_1.expectString(output.LocationUri),
2829
+ Domain: (0, smithy_client_1.expectString)(output.Domain),
2830
+ LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
2831
+ LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
2832
2832
  MountOptions: output.MountOptions !== undefined && output.MountOptions !== null
2833
2833
  ? deserializeAws_json1_1SmbMountOptions(output.MountOptions, context)
2834
2834
  : undefined,
2835
- User: smithy_client_1.expectString(output.User),
2835
+ User: (0, smithy_client_1.expectString)(output.User),
2836
2836
  };
2837
2837
  };
2838
2838
  const deserializeAws_json1_1DescribeTaskExecutionResponse = (output, context) => {
2839
2839
  return {
2840
- BytesTransferred: smithy_client_1.expectLong(output.BytesTransferred),
2841
- BytesWritten: smithy_client_1.expectLong(output.BytesWritten),
2842
- EstimatedBytesToTransfer: smithy_client_1.expectLong(output.EstimatedBytesToTransfer),
2843
- EstimatedFilesToTransfer: smithy_client_1.expectLong(output.EstimatedFilesToTransfer),
2840
+ BytesTransferred: (0, smithy_client_1.expectLong)(output.BytesTransferred),
2841
+ BytesWritten: (0, smithy_client_1.expectLong)(output.BytesWritten),
2842
+ EstimatedBytesToTransfer: (0, smithy_client_1.expectLong)(output.EstimatedBytesToTransfer),
2843
+ EstimatedFilesToTransfer: (0, smithy_client_1.expectLong)(output.EstimatedFilesToTransfer),
2844
2844
  Excludes: output.Excludes !== undefined && output.Excludes !== null
2845
2845
  ? deserializeAws_json1_1FilterList(output.Excludes, context)
2846
2846
  : undefined,
2847
- FilesTransferred: smithy_client_1.expectLong(output.FilesTransferred),
2847
+ FilesTransferred: (0, smithy_client_1.expectLong)(output.FilesTransferred),
2848
2848
  Includes: output.Includes !== undefined && output.Includes !== null
2849
2849
  ? deserializeAws_json1_1FilterList(output.Includes, context)
2850
2850
  : undefined,
@@ -2855,44 +2855,44 @@ const deserializeAws_json1_1DescribeTaskExecutionResponse = (output, context) =>
2855
2855
  ? deserializeAws_json1_1TaskExecutionResultDetail(output.Result, context)
2856
2856
  : undefined,
2857
2857
  StartTime: output.StartTime !== undefined && output.StartTime !== null
2858
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
2858
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
2859
2859
  : undefined,
2860
- Status: smithy_client_1.expectString(output.Status),
2861
- TaskExecutionArn: smithy_client_1.expectString(output.TaskExecutionArn),
2860
+ Status: (0, smithy_client_1.expectString)(output.Status),
2861
+ TaskExecutionArn: (0, smithy_client_1.expectString)(output.TaskExecutionArn),
2862
2862
  };
2863
2863
  };
2864
2864
  const deserializeAws_json1_1DescribeTaskResponse = (output, context) => {
2865
2865
  return {
2866
- CloudWatchLogGroupArn: smithy_client_1.expectString(output.CloudWatchLogGroupArn),
2866
+ CloudWatchLogGroupArn: (0, smithy_client_1.expectString)(output.CloudWatchLogGroupArn),
2867
2867
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
2868
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
2868
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
2869
2869
  : undefined,
2870
- CurrentTaskExecutionArn: smithy_client_1.expectString(output.CurrentTaskExecutionArn),
2871
- DestinationLocationArn: smithy_client_1.expectString(output.DestinationLocationArn),
2870
+ CurrentTaskExecutionArn: (0, smithy_client_1.expectString)(output.CurrentTaskExecutionArn),
2871
+ DestinationLocationArn: (0, smithy_client_1.expectString)(output.DestinationLocationArn),
2872
2872
  DestinationNetworkInterfaceArns: output.DestinationNetworkInterfaceArns !== undefined && output.DestinationNetworkInterfaceArns !== null
2873
2873
  ? deserializeAws_json1_1DestinationNetworkInterfaceArns(output.DestinationNetworkInterfaceArns, context)
2874
2874
  : undefined,
2875
- ErrorCode: smithy_client_1.expectString(output.ErrorCode),
2876
- ErrorDetail: smithy_client_1.expectString(output.ErrorDetail),
2875
+ ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
2876
+ ErrorDetail: (0, smithy_client_1.expectString)(output.ErrorDetail),
2877
2877
  Excludes: output.Excludes !== undefined && output.Excludes !== null
2878
2878
  ? deserializeAws_json1_1FilterList(output.Excludes, context)
2879
2879
  : undefined,
2880
2880
  Includes: output.Includes !== undefined && output.Includes !== null
2881
2881
  ? deserializeAws_json1_1FilterList(output.Includes, context)
2882
2882
  : undefined,
2883
- Name: smithy_client_1.expectString(output.Name),
2883
+ Name: (0, smithy_client_1.expectString)(output.Name),
2884
2884
  Options: output.Options !== undefined && output.Options !== null
2885
2885
  ? deserializeAws_json1_1Options(output.Options, context)
2886
2886
  : undefined,
2887
2887
  Schedule: output.Schedule !== undefined && output.Schedule !== null
2888
2888
  ? deserializeAws_json1_1TaskSchedule(output.Schedule, context)
2889
2889
  : undefined,
2890
- SourceLocationArn: smithy_client_1.expectString(output.SourceLocationArn),
2890
+ SourceLocationArn: (0, smithy_client_1.expectString)(output.SourceLocationArn),
2891
2891
  SourceNetworkInterfaceArns: output.SourceNetworkInterfaceArns !== undefined && output.SourceNetworkInterfaceArns !== null
2892
2892
  ? deserializeAws_json1_1SourceNetworkInterfaceArns(output.SourceNetworkInterfaceArns, context)
2893
2893
  : undefined,
2894
- Status: smithy_client_1.expectString(output.Status),
2895
- TaskArn: smithy_client_1.expectString(output.TaskArn),
2894
+ Status: (0, smithy_client_1.expectString)(output.Status),
2895
+ TaskArn: (0, smithy_client_1.expectString)(output.TaskArn),
2896
2896
  };
2897
2897
  };
2898
2898
  const deserializeAws_json1_1DestinationNetworkInterfaceArns = (output, context) => {
@@ -2902,7 +2902,7 @@ const deserializeAws_json1_1DestinationNetworkInterfaceArns = (output, context)
2902
2902
  if (entry === null) {
2903
2903
  return null;
2904
2904
  }
2905
- return smithy_client_1.expectString(entry);
2905
+ return (0, smithy_client_1.expectString)(entry);
2906
2906
  });
2907
2907
  return retVal;
2908
2908
  };
@@ -2911,7 +2911,7 @@ const deserializeAws_json1_1Ec2Config = (output, context) => {
2911
2911
  SecurityGroupArns: output.SecurityGroupArns !== undefined && output.SecurityGroupArns !== null
2912
2912
  ? deserializeAws_json1_1Ec2SecurityGroupArnList(output.SecurityGroupArns, context)
2913
2913
  : undefined,
2914
- SubnetArn: smithy_client_1.expectString(output.SubnetArn),
2914
+ SubnetArn: (0, smithy_client_1.expectString)(output.SubnetArn),
2915
2915
  };
2916
2916
  };
2917
2917
  const deserializeAws_json1_1Ec2SecurityGroupArnList = (output, context) => {
@@ -2921,7 +2921,7 @@ const deserializeAws_json1_1Ec2SecurityGroupArnList = (output, context) => {
2921
2921
  if (entry === null) {
2922
2922
  return null;
2923
2923
  }
2924
- return smithy_client_1.expectString(entry);
2924
+ return (0, smithy_client_1.expectString)(entry);
2925
2925
  });
2926
2926
  return retVal;
2927
2927
  };
@@ -2938,14 +2938,14 @@ const deserializeAws_json1_1FilterList = (output, context) => {
2938
2938
  };
2939
2939
  const deserializeAws_json1_1FilterRule = (output, context) => {
2940
2940
  return {
2941
- FilterType: smithy_client_1.expectString(output.FilterType),
2942
- Value: smithy_client_1.expectString(output.Value),
2941
+ FilterType: (0, smithy_client_1.expectString)(output.FilterType),
2942
+ Value: (0, smithy_client_1.expectString)(output.Value),
2943
2943
  };
2944
2944
  };
2945
2945
  const deserializeAws_json1_1HdfsNameNode = (output, context) => {
2946
2946
  return {
2947
- Hostname: smithy_client_1.expectString(output.Hostname),
2948
- Port: smithy_client_1.expectInt32(output.Port),
2947
+ Hostname: (0, smithy_client_1.expectString)(output.Hostname),
2948
+ Port: (0, smithy_client_1.expectInt32)(output.Port),
2949
2949
  };
2950
2950
  };
2951
2951
  const deserializeAws_json1_1HdfsNameNodeList = (output, context) => {
@@ -2961,14 +2961,14 @@ const deserializeAws_json1_1HdfsNameNodeList = (output, context) => {
2961
2961
  };
2962
2962
  const deserializeAws_json1_1InternalException = (output, context) => {
2963
2963
  return {
2964
- errorCode: smithy_client_1.expectString(output.errorCode),
2965
- message: smithy_client_1.expectString(output.message),
2964
+ errorCode: (0, smithy_client_1.expectString)(output.errorCode),
2965
+ message: (0, smithy_client_1.expectString)(output.message),
2966
2966
  };
2967
2967
  };
2968
2968
  const deserializeAws_json1_1InvalidRequestException = (output, context) => {
2969
2969
  return {
2970
- errorCode: smithy_client_1.expectString(output.errorCode),
2971
- message: smithy_client_1.expectString(output.message),
2970
+ errorCode: (0, smithy_client_1.expectString)(output.errorCode),
2971
+ message: (0, smithy_client_1.expectString)(output.message),
2972
2972
  };
2973
2973
  };
2974
2974
  const deserializeAws_json1_1ListAgentsResponse = (output, context) => {
@@ -2976,7 +2976,7 @@ const deserializeAws_json1_1ListAgentsResponse = (output, context) => {
2976
2976
  Agents: output.Agents !== undefined && output.Agents !== null
2977
2977
  ? deserializeAws_json1_1AgentList(output.Agents, context)
2978
2978
  : undefined,
2979
- NextToken: smithy_client_1.expectString(output.NextToken),
2979
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2980
2980
  };
2981
2981
  };
2982
2982
  const deserializeAws_json1_1ListLocationsResponse = (output, context) => {
@@ -2984,12 +2984,12 @@ const deserializeAws_json1_1ListLocationsResponse = (output, context) => {
2984
2984
  Locations: output.Locations !== undefined && output.Locations !== null
2985
2985
  ? deserializeAws_json1_1LocationList(output.Locations, context)
2986
2986
  : undefined,
2987
- NextToken: smithy_client_1.expectString(output.NextToken),
2987
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2988
2988
  };
2989
2989
  };
2990
2990
  const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
2991
2991
  return {
2992
- NextToken: smithy_client_1.expectString(output.NextToken),
2992
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2993
2993
  Tags: output.Tags !== undefined && output.Tags !== null
2994
2994
  ? deserializeAws_json1_1OutputTagList(output.Tags, context)
2995
2995
  : undefined,
@@ -2997,7 +2997,7 @@ const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
2997
2997
  };
2998
2998
  const deserializeAws_json1_1ListTaskExecutionsResponse = (output, context) => {
2999
2999
  return {
3000
- NextToken: smithy_client_1.expectString(output.NextToken),
3000
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
3001
3001
  TaskExecutions: output.TaskExecutions !== undefined && output.TaskExecutions !== null
3002
3002
  ? deserializeAws_json1_1TaskExecutionList(output.TaskExecutions, context)
3003
3003
  : undefined,
@@ -3005,7 +3005,7 @@ const deserializeAws_json1_1ListTaskExecutionsResponse = (output, context) => {
3005
3005
  };
3006
3006
  const deserializeAws_json1_1ListTasksResponse = (output, context) => {
3007
3007
  return {
3008
- NextToken: smithy_client_1.expectString(output.NextToken),
3008
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
3009
3009
  Tasks: output.Tasks !== undefined && output.Tasks !== null
3010
3010
  ? deserializeAws_json1_1TaskList(output.Tasks, context)
3011
3011
  : undefined,
@@ -3024,13 +3024,13 @@ const deserializeAws_json1_1LocationList = (output, context) => {
3024
3024
  };
3025
3025
  const deserializeAws_json1_1LocationListEntry = (output, context) => {
3026
3026
  return {
3027
- LocationArn: smithy_client_1.expectString(output.LocationArn),
3028
- LocationUri: smithy_client_1.expectString(output.LocationUri),
3027
+ LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
3028
+ LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
3029
3029
  };
3030
3030
  };
3031
3031
  const deserializeAws_json1_1NfsMountOptions = (output, context) => {
3032
3032
  return {
3033
- Version: smithy_client_1.expectString(output.Version),
3033
+ Version: (0, smithy_client_1.expectString)(output.Version),
3034
3034
  };
3035
3035
  };
3036
3036
  const deserializeAws_json1_1OnPremConfig = (output, context) => {
@@ -3042,20 +3042,20 @@ const deserializeAws_json1_1OnPremConfig = (output, context) => {
3042
3042
  };
3043
3043
  const deserializeAws_json1_1Options = (output, context) => {
3044
3044
  return {
3045
- Atime: smithy_client_1.expectString(output.Atime),
3046
- BytesPerSecond: smithy_client_1.expectLong(output.BytesPerSecond),
3047
- Gid: smithy_client_1.expectString(output.Gid),
3048
- LogLevel: smithy_client_1.expectString(output.LogLevel),
3049
- Mtime: smithy_client_1.expectString(output.Mtime),
3050
- OverwriteMode: smithy_client_1.expectString(output.OverwriteMode),
3051
- PosixPermissions: smithy_client_1.expectString(output.PosixPermissions),
3052
- PreserveDeletedFiles: smithy_client_1.expectString(output.PreserveDeletedFiles),
3053
- PreserveDevices: smithy_client_1.expectString(output.PreserveDevices),
3054
- SecurityDescriptorCopyFlags: smithy_client_1.expectString(output.SecurityDescriptorCopyFlags),
3055
- TaskQueueing: smithy_client_1.expectString(output.TaskQueueing),
3056
- TransferMode: smithy_client_1.expectString(output.TransferMode),
3057
- Uid: smithy_client_1.expectString(output.Uid),
3058
- VerifyMode: smithy_client_1.expectString(output.VerifyMode),
3045
+ Atime: (0, smithy_client_1.expectString)(output.Atime),
3046
+ BytesPerSecond: (0, smithy_client_1.expectLong)(output.BytesPerSecond),
3047
+ Gid: (0, smithy_client_1.expectString)(output.Gid),
3048
+ LogLevel: (0, smithy_client_1.expectString)(output.LogLevel),
3049
+ Mtime: (0, smithy_client_1.expectString)(output.Mtime),
3050
+ OverwriteMode: (0, smithy_client_1.expectString)(output.OverwriteMode),
3051
+ PosixPermissions: (0, smithy_client_1.expectString)(output.PosixPermissions),
3052
+ PreserveDeletedFiles: (0, smithy_client_1.expectString)(output.PreserveDeletedFiles),
3053
+ PreserveDevices: (0, smithy_client_1.expectString)(output.PreserveDevices),
3054
+ SecurityDescriptorCopyFlags: (0, smithy_client_1.expectString)(output.SecurityDescriptorCopyFlags),
3055
+ TaskQueueing: (0, smithy_client_1.expectString)(output.TaskQueueing),
3056
+ TransferMode: (0, smithy_client_1.expectString)(output.TransferMode),
3057
+ Uid: (0, smithy_client_1.expectString)(output.Uid),
3058
+ VerifyMode: (0, smithy_client_1.expectString)(output.VerifyMode),
3059
3059
  };
3060
3060
  };
3061
3061
  const deserializeAws_json1_1OutputTagList = (output, context) => {
@@ -3076,7 +3076,7 @@ const deserializeAws_json1_1PLSecurityGroupArnList = (output, context) => {
3076
3076
  if (entry === null) {
3077
3077
  return null;
3078
3078
  }
3079
- return smithy_client_1.expectString(entry);
3079
+ return (0, smithy_client_1.expectString)(entry);
3080
3080
  });
3081
3081
  return retVal;
3082
3082
  };
@@ -3087,36 +3087,36 @@ const deserializeAws_json1_1PLSubnetArnList = (output, context) => {
3087
3087
  if (entry === null) {
3088
3088
  return null;
3089
3089
  }
3090
- return smithy_client_1.expectString(entry);
3090
+ return (0, smithy_client_1.expectString)(entry);
3091
3091
  });
3092
3092
  return retVal;
3093
3093
  };
3094
3094
  const deserializeAws_json1_1PrivateLinkConfig = (output, context) => {
3095
3095
  return {
3096
- PrivateLinkEndpoint: smithy_client_1.expectString(output.PrivateLinkEndpoint),
3096
+ PrivateLinkEndpoint: (0, smithy_client_1.expectString)(output.PrivateLinkEndpoint),
3097
3097
  SecurityGroupArns: output.SecurityGroupArns !== undefined && output.SecurityGroupArns !== null
3098
3098
  ? deserializeAws_json1_1PLSecurityGroupArnList(output.SecurityGroupArns, context)
3099
3099
  : undefined,
3100
3100
  SubnetArns: output.SubnetArns !== undefined && output.SubnetArns !== null
3101
3101
  ? deserializeAws_json1_1PLSubnetArnList(output.SubnetArns, context)
3102
3102
  : undefined,
3103
- VpcEndpointId: smithy_client_1.expectString(output.VpcEndpointId),
3103
+ VpcEndpointId: (0, smithy_client_1.expectString)(output.VpcEndpointId),
3104
3104
  };
3105
3105
  };
3106
3106
  const deserializeAws_json1_1QopConfiguration = (output, context) => {
3107
3107
  return {
3108
- DataTransferProtection: smithy_client_1.expectString(output.DataTransferProtection),
3109
- RpcProtection: smithy_client_1.expectString(output.RpcProtection),
3108
+ DataTransferProtection: (0, smithy_client_1.expectString)(output.DataTransferProtection),
3109
+ RpcProtection: (0, smithy_client_1.expectString)(output.RpcProtection),
3110
3110
  };
3111
3111
  };
3112
3112
  const deserializeAws_json1_1S3Config = (output, context) => {
3113
3113
  return {
3114
- BucketAccessRoleArn: smithy_client_1.expectString(output.BucketAccessRoleArn),
3114
+ BucketAccessRoleArn: (0, smithy_client_1.expectString)(output.BucketAccessRoleArn),
3115
3115
  };
3116
3116
  };
3117
3117
  const deserializeAws_json1_1SmbMountOptions = (output, context) => {
3118
3118
  return {
3119
- Version: smithy_client_1.expectString(output.Version),
3119
+ Version: (0, smithy_client_1.expectString)(output.Version),
3120
3120
  };
3121
3121
  };
3122
3122
  const deserializeAws_json1_1SourceNetworkInterfaceArns = (output, context) => {
@@ -3126,19 +3126,19 @@ const deserializeAws_json1_1SourceNetworkInterfaceArns = (output, context) => {
3126
3126
  if (entry === null) {
3127
3127
  return null;
3128
3128
  }
3129
- return smithy_client_1.expectString(entry);
3129
+ return (0, smithy_client_1.expectString)(entry);
3130
3130
  });
3131
3131
  return retVal;
3132
3132
  };
3133
3133
  const deserializeAws_json1_1StartTaskExecutionResponse = (output, context) => {
3134
3134
  return {
3135
- TaskExecutionArn: smithy_client_1.expectString(output.TaskExecutionArn),
3135
+ TaskExecutionArn: (0, smithy_client_1.expectString)(output.TaskExecutionArn),
3136
3136
  };
3137
3137
  };
3138
3138
  const deserializeAws_json1_1TagListEntry = (output, context) => {
3139
3139
  return {
3140
- Key: smithy_client_1.expectString(output.Key),
3141
- Value: smithy_client_1.expectString(output.Value),
3140
+ Key: (0, smithy_client_1.expectString)(output.Key),
3141
+ Value: (0, smithy_client_1.expectString)(output.Value),
3142
3142
  };
3143
3143
  };
3144
3144
  const deserializeAws_json1_1TagResourceResponse = (output, context) => {
@@ -3157,21 +3157,21 @@ const deserializeAws_json1_1TaskExecutionList = (output, context) => {
3157
3157
  };
3158
3158
  const deserializeAws_json1_1TaskExecutionListEntry = (output, context) => {
3159
3159
  return {
3160
- Status: smithy_client_1.expectString(output.Status),
3161
- TaskExecutionArn: smithy_client_1.expectString(output.TaskExecutionArn),
3160
+ Status: (0, smithy_client_1.expectString)(output.Status),
3161
+ TaskExecutionArn: (0, smithy_client_1.expectString)(output.TaskExecutionArn),
3162
3162
  };
3163
3163
  };
3164
3164
  const deserializeAws_json1_1TaskExecutionResultDetail = (output, context) => {
3165
3165
  return {
3166
- ErrorCode: smithy_client_1.expectString(output.ErrorCode),
3167
- ErrorDetail: smithy_client_1.expectString(output.ErrorDetail),
3168
- PrepareDuration: smithy_client_1.expectLong(output.PrepareDuration),
3169
- PrepareStatus: smithy_client_1.expectString(output.PrepareStatus),
3170
- TotalDuration: smithy_client_1.expectLong(output.TotalDuration),
3171
- TransferDuration: smithy_client_1.expectLong(output.TransferDuration),
3172
- TransferStatus: smithy_client_1.expectString(output.TransferStatus),
3173
- VerifyDuration: smithy_client_1.expectLong(output.VerifyDuration),
3174
- VerifyStatus: smithy_client_1.expectString(output.VerifyStatus),
3166
+ ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
3167
+ ErrorDetail: (0, smithy_client_1.expectString)(output.ErrorDetail),
3168
+ PrepareDuration: (0, smithy_client_1.expectLong)(output.PrepareDuration),
3169
+ PrepareStatus: (0, smithy_client_1.expectString)(output.PrepareStatus),
3170
+ TotalDuration: (0, smithy_client_1.expectLong)(output.TotalDuration),
3171
+ TransferDuration: (0, smithy_client_1.expectLong)(output.TransferDuration),
3172
+ TransferStatus: (0, smithy_client_1.expectString)(output.TransferStatus),
3173
+ VerifyDuration: (0, smithy_client_1.expectLong)(output.VerifyDuration),
3174
+ VerifyStatus: (0, smithy_client_1.expectString)(output.VerifyStatus),
3175
3175
  };
3176
3176
  };
3177
3177
  const deserializeAws_json1_1TaskList = (output, context) => {
@@ -3187,14 +3187,14 @@ const deserializeAws_json1_1TaskList = (output, context) => {
3187
3187
  };
3188
3188
  const deserializeAws_json1_1TaskListEntry = (output, context) => {
3189
3189
  return {
3190
- Name: smithy_client_1.expectString(output.Name),
3191
- Status: smithy_client_1.expectString(output.Status),
3192
- TaskArn: smithy_client_1.expectString(output.TaskArn),
3190
+ Name: (0, smithy_client_1.expectString)(output.Name),
3191
+ Status: (0, smithy_client_1.expectString)(output.Status),
3192
+ TaskArn: (0, smithy_client_1.expectString)(output.TaskArn),
3193
3193
  };
3194
3194
  };
3195
3195
  const deserializeAws_json1_1TaskSchedule = (output, context) => {
3196
3196
  return {
3197
- ScheduleExpression: smithy_client_1.expectString(output.ScheduleExpression),
3197
+ ScheduleExpression: (0, smithy_client_1.expectString)(output.ScheduleExpression),
3198
3198
  };
3199
3199
  };
3200
3200
  const deserializeAws_json1_1UntagResourceResponse = (output, context) => {