@aws-sdk/client-ecs 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.
Files changed (81) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/ECSClient.js +13 -13
  3. package/dist-cjs/commands/CreateCapacityProviderCommand.js +3 -3
  4. package/dist-cjs/commands/CreateClusterCommand.js +3 -3
  5. package/dist-cjs/commands/CreateServiceCommand.js +3 -3
  6. package/dist-cjs/commands/CreateTaskSetCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteAccountSettingCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteAttributesCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteCapacityProviderCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteClusterCommand.js +3 -3
  11. package/dist-cjs/commands/DeleteServiceCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteTaskSetCommand.js +3 -3
  13. package/dist-cjs/commands/DeregisterContainerInstanceCommand.js +3 -3
  14. package/dist-cjs/commands/DeregisterTaskDefinitionCommand.js +3 -3
  15. package/dist-cjs/commands/DescribeCapacityProvidersCommand.js +3 -3
  16. package/dist-cjs/commands/DescribeClustersCommand.js +3 -3
  17. package/dist-cjs/commands/DescribeContainerInstancesCommand.js +3 -3
  18. package/dist-cjs/commands/DescribeServicesCommand.js +3 -3
  19. package/dist-cjs/commands/DescribeTaskDefinitionCommand.js +3 -3
  20. package/dist-cjs/commands/DescribeTaskSetsCommand.js +3 -3
  21. package/dist-cjs/commands/DescribeTasksCommand.js +3 -3
  22. package/dist-cjs/commands/DiscoverPollEndpointCommand.js +3 -3
  23. package/dist-cjs/commands/ExecuteCommandCommand.js +3 -3
  24. package/dist-cjs/commands/ListAccountSettingsCommand.js +3 -3
  25. package/dist-cjs/commands/ListAttributesCommand.js +3 -3
  26. package/dist-cjs/commands/ListClustersCommand.js +3 -3
  27. package/dist-cjs/commands/ListContainerInstancesCommand.js +3 -3
  28. package/dist-cjs/commands/ListServicesCommand.js +3 -3
  29. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  30. package/dist-cjs/commands/ListTaskDefinitionFamiliesCommand.js +3 -3
  31. package/dist-cjs/commands/ListTaskDefinitionsCommand.js +3 -3
  32. package/dist-cjs/commands/ListTasksCommand.js +3 -3
  33. package/dist-cjs/commands/PutAccountSettingCommand.js +3 -3
  34. package/dist-cjs/commands/PutAccountSettingDefaultCommand.js +3 -3
  35. package/dist-cjs/commands/PutAttributesCommand.js +3 -3
  36. package/dist-cjs/commands/PutClusterCapacityProvidersCommand.js +3 -3
  37. package/dist-cjs/commands/RegisterContainerInstanceCommand.js +3 -3
  38. package/dist-cjs/commands/RegisterTaskDefinitionCommand.js +3 -3
  39. package/dist-cjs/commands/RunTaskCommand.js +3 -3
  40. package/dist-cjs/commands/StartTaskCommand.js +3 -3
  41. package/dist-cjs/commands/StopTaskCommand.js +3 -3
  42. package/dist-cjs/commands/SubmitAttachmentStateChangesCommand.js +3 -3
  43. package/dist-cjs/commands/SubmitContainerStateChangeCommand.js +3 -3
  44. package/dist-cjs/commands/SubmitTaskStateChangeCommand.js +3 -3
  45. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  46. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  47. package/dist-cjs/commands/UpdateCapacityProviderCommand.js +3 -3
  48. package/dist-cjs/commands/UpdateClusterCommand.js +3 -3
  49. package/dist-cjs/commands/UpdateClusterSettingsCommand.js +3 -3
  50. package/dist-cjs/commands/UpdateContainerAgentCommand.js +3 -3
  51. package/dist-cjs/commands/UpdateContainerInstancesStateCommand.js +3 -3
  52. package/dist-cjs/commands/UpdateServiceCommand.js +3 -3
  53. package/dist-cjs/commands/UpdateServicePrimaryTaskSetCommand.js +3 -3
  54. package/dist-cjs/commands/UpdateTaskSetCommand.js +3 -3
  55. package/dist-cjs/endpoints.js +1 -1
  56. package/dist-cjs/protocols/Aws_json1_1.js +434 -434
  57. package/dist-cjs/runtimeConfig.browser.js +4 -4
  58. package/dist-cjs/runtimeConfig.js +9 -9
  59. package/dist-cjs/runtimeConfig.native.js +1 -1
  60. package/dist-cjs/waiters/waitForServicesInactive.js +3 -3
  61. package/dist-cjs/waiters/waitForTasksRunning.js +3 -3
  62. package/dist-cjs/waiters/waitForTasksStopped.js +3 -3
  63. package/dist-es/ECS.js +52 -52
  64. package/dist-es/pagination/ListAccountSettingsPaginator.js +4 -4
  65. package/dist-es/pagination/ListAttributesPaginator.js +4 -4
  66. package/dist-es/pagination/ListClustersPaginator.js +4 -4
  67. package/dist-es/pagination/ListContainerInstancesPaginator.js +4 -4
  68. package/dist-es/pagination/ListServicesPaginator.js +4 -4
  69. package/dist-es/pagination/ListTaskDefinitionFamiliesPaginator.js +4 -4
  70. package/dist-es/pagination/ListTaskDefinitionsPaginator.js +4 -4
  71. package/dist-es/pagination/ListTasksPaginator.js +4 -4
  72. package/dist-es/waiters/waitForServicesInactive.js +2 -2
  73. package/dist-es/waiters/waitForTasksRunning.js +3 -3
  74. package/dist-es/waiters/waitForTasksStopped.js +1 -1
  75. package/dist-types/ECS.d.ts +11 -9
  76. package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +2 -1
  77. package/dist-types/commands/UpdateServiceCommand.d.ts +9 -8
  78. package/dist-types/models/models_0.d.ts +45 -14
  79. package/dist-types/runtimeConfig.native.d.ts +2 -2
  80. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  81. package/package.json +35 -35
@@ -572,7 +572,7 @@ const deserializeAws_json1_1CreateCapacityProviderCommandError = async (output,
572
572
  $fault: "client",
573
573
  $metadata: deserializeMetadata(output),
574
574
  });
575
- throw smithy_client_1.decorateServiceException(response, parsedBody);
575
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
576
576
  }
577
577
  };
578
578
  const deserializeAws_json1_1CreateClusterCommand = async (output, context) => {
@@ -614,7 +614,7 @@ const deserializeAws_json1_1CreateClusterCommandError = async (output, context)
614
614
  $fault: "client",
615
615
  $metadata: deserializeMetadata(output),
616
616
  });
617
- throw smithy_client_1.decorateServiceException(response, parsedBody);
617
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
618
618
  }
619
619
  };
620
620
  const deserializeAws_json1_1CreateServiceCommand = async (output, context) => {
@@ -671,7 +671,7 @@ const deserializeAws_json1_1CreateServiceCommandError = async (output, context)
671
671
  $fault: "client",
672
672
  $metadata: deserializeMetadata(output),
673
673
  });
674
- throw smithy_client_1.decorateServiceException(response, parsedBody);
674
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
675
675
  }
676
676
  };
677
677
  const deserializeAws_json1_1CreateTaskSetCommand = async (output, context) => {
@@ -734,7 +734,7 @@ const deserializeAws_json1_1CreateTaskSetCommandError = async (output, context)
734
734
  $fault: "client",
735
735
  $metadata: deserializeMetadata(output),
736
736
  });
737
- throw smithy_client_1.decorateServiceException(response, parsedBody);
737
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
738
738
  }
739
739
  };
740
740
  const deserializeAws_json1_1DeleteAccountSettingCommand = async (output, context) => {
@@ -776,7 +776,7 @@ const deserializeAws_json1_1DeleteAccountSettingCommandError = async (output, co
776
776
  $fault: "client",
777
777
  $metadata: deserializeMetadata(output),
778
778
  });
779
- throw smithy_client_1.decorateServiceException(response, parsedBody);
779
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
780
780
  }
781
781
  };
782
782
  const deserializeAws_json1_1DeleteAttributesCommand = async (output, context) => {
@@ -818,7 +818,7 @@ const deserializeAws_json1_1DeleteAttributesCommandError = async (output, contex
818
818
  $fault: "client",
819
819
  $metadata: deserializeMetadata(output),
820
820
  });
821
- throw smithy_client_1.decorateServiceException(response, parsedBody);
821
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
822
822
  }
823
823
  };
824
824
  const deserializeAws_json1_1DeleteCapacityProviderCommand = async (output, context) => {
@@ -860,7 +860,7 @@ const deserializeAws_json1_1DeleteCapacityProviderCommandError = async (output,
860
860
  $fault: "client",
861
861
  $metadata: deserializeMetadata(output),
862
862
  });
863
- throw smithy_client_1.decorateServiceException(response, parsedBody);
863
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
864
864
  }
865
865
  };
866
866
  const deserializeAws_json1_1DeleteClusterCommand = async (output, context) => {
@@ -917,7 +917,7 @@ const deserializeAws_json1_1DeleteClusterCommandError = async (output, context)
917
917
  $fault: "client",
918
918
  $metadata: deserializeMetadata(output),
919
919
  });
920
- throw smithy_client_1.decorateServiceException(response, parsedBody);
920
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
921
921
  }
922
922
  };
923
923
  const deserializeAws_json1_1DeleteServiceCommand = async (output, context) => {
@@ -965,7 +965,7 @@ const deserializeAws_json1_1DeleteServiceCommandError = async (output, context)
965
965
  $fault: "client",
966
966
  $metadata: deserializeMetadata(output),
967
967
  });
968
- throw smithy_client_1.decorateServiceException(response, parsedBody);
968
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
969
969
  }
970
970
  };
971
971
  const deserializeAws_json1_1DeleteTaskSetCommand = async (output, context) => {
@@ -1025,7 +1025,7 @@ const deserializeAws_json1_1DeleteTaskSetCommandError = async (output, context)
1025
1025
  $fault: "client",
1026
1026
  $metadata: deserializeMetadata(output),
1027
1027
  });
1028
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1028
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1029
1029
  }
1030
1030
  };
1031
1031
  const deserializeAws_json1_1DeregisterContainerInstanceCommand = async (output, context) => {
@@ -1070,7 +1070,7 @@ const deserializeAws_json1_1DeregisterContainerInstanceCommandError = async (out
1070
1070
  $fault: "client",
1071
1071
  $metadata: deserializeMetadata(output),
1072
1072
  });
1073
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1073
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1074
1074
  }
1075
1075
  };
1076
1076
  const deserializeAws_json1_1DeregisterTaskDefinitionCommand = async (output, context) => {
@@ -1112,7 +1112,7 @@ const deserializeAws_json1_1DeregisterTaskDefinitionCommandError = async (output
1112
1112
  $fault: "client",
1113
1113
  $metadata: deserializeMetadata(output),
1114
1114
  });
1115
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1115
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1116
1116
  }
1117
1117
  };
1118
1118
  const deserializeAws_json1_1DescribeCapacityProvidersCommand = async (output, context) => {
@@ -1154,7 +1154,7 @@ const deserializeAws_json1_1DescribeCapacityProvidersCommandError = async (outpu
1154
1154
  $fault: "client",
1155
1155
  $metadata: deserializeMetadata(output),
1156
1156
  });
1157
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1157
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1158
1158
  }
1159
1159
  };
1160
1160
  const deserializeAws_json1_1DescribeClustersCommand = async (output, context) => {
@@ -1196,7 +1196,7 @@ const deserializeAws_json1_1DescribeClustersCommandError = async (output, contex
1196
1196
  $fault: "client",
1197
1197
  $metadata: deserializeMetadata(output),
1198
1198
  });
1199
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1199
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1200
1200
  }
1201
1201
  };
1202
1202
  const deserializeAws_json1_1DescribeContainerInstancesCommand = async (output, context) => {
@@ -1241,7 +1241,7 @@ const deserializeAws_json1_1DescribeContainerInstancesCommandError = async (outp
1241
1241
  $fault: "client",
1242
1242
  $metadata: deserializeMetadata(output),
1243
1243
  });
1244
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1244
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1245
1245
  }
1246
1246
  };
1247
1247
  const deserializeAws_json1_1DescribeServicesCommand = async (output, context) => {
@@ -1286,7 +1286,7 @@ const deserializeAws_json1_1DescribeServicesCommandError = async (output, contex
1286
1286
  $fault: "client",
1287
1287
  $metadata: deserializeMetadata(output),
1288
1288
  });
1289
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1289
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1290
1290
  }
1291
1291
  };
1292
1292
  const deserializeAws_json1_1DescribeTaskDefinitionCommand = async (output, context) => {
@@ -1328,7 +1328,7 @@ const deserializeAws_json1_1DescribeTaskDefinitionCommandError = async (output,
1328
1328
  $fault: "client",
1329
1329
  $metadata: deserializeMetadata(output),
1330
1330
  });
1331
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1331
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1332
1332
  }
1333
1333
  };
1334
1334
  const deserializeAws_json1_1DescribeTasksCommand = async (output, context) => {
@@ -1373,7 +1373,7 @@ const deserializeAws_json1_1DescribeTasksCommandError = async (output, context)
1373
1373
  $fault: "client",
1374
1374
  $metadata: deserializeMetadata(output),
1375
1375
  });
1376
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1376
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1377
1377
  }
1378
1378
  };
1379
1379
  const deserializeAws_json1_1DescribeTaskSetsCommand = async (output, context) => {
@@ -1430,7 +1430,7 @@ const deserializeAws_json1_1DescribeTaskSetsCommandError = async (output, contex
1430
1430
  $fault: "client",
1431
1431
  $metadata: deserializeMetadata(output),
1432
1432
  });
1433
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1433
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1434
1434
  }
1435
1435
  };
1436
1436
  const deserializeAws_json1_1DiscoverPollEndpointCommand = async (output, context) => {
@@ -1469,7 +1469,7 @@ const deserializeAws_json1_1DiscoverPollEndpointCommandError = async (output, co
1469
1469
  $fault: "client",
1470
1470
  $metadata: deserializeMetadata(output),
1471
1471
  });
1472
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1472
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1473
1473
  }
1474
1474
  };
1475
1475
  const deserializeAws_json1_1ExecuteCommandCommand = async (output, context) => {
@@ -1520,7 +1520,7 @@ const deserializeAws_json1_1ExecuteCommandCommandError = async (output, context)
1520
1520
  $fault: "client",
1521
1521
  $metadata: deserializeMetadata(output),
1522
1522
  });
1523
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1523
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1524
1524
  }
1525
1525
  };
1526
1526
  const deserializeAws_json1_1ListAccountSettingsCommand = async (output, context) => {
@@ -1562,7 +1562,7 @@ const deserializeAws_json1_1ListAccountSettingsCommandError = async (output, con
1562
1562
  $fault: "client",
1563
1563
  $metadata: deserializeMetadata(output),
1564
1564
  });
1565
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1565
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1566
1566
  }
1567
1567
  };
1568
1568
  const deserializeAws_json1_1ListAttributesCommand = async (output, context) => {
@@ -1601,7 +1601,7 @@ const deserializeAws_json1_1ListAttributesCommandError = async (output, context)
1601
1601
  $fault: "client",
1602
1602
  $metadata: deserializeMetadata(output),
1603
1603
  });
1604
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1604
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1605
1605
  }
1606
1606
  };
1607
1607
  const deserializeAws_json1_1ListClustersCommand = async (output, context) => {
@@ -1643,7 +1643,7 @@ const deserializeAws_json1_1ListClustersCommandError = async (output, context) =
1643
1643
  $fault: "client",
1644
1644
  $metadata: deserializeMetadata(output),
1645
1645
  });
1646
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1646
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1647
1647
  }
1648
1648
  };
1649
1649
  const deserializeAws_json1_1ListContainerInstancesCommand = async (output, context) => {
@@ -1688,7 +1688,7 @@ const deserializeAws_json1_1ListContainerInstancesCommandError = async (output,
1688
1688
  $fault: "client",
1689
1689
  $metadata: deserializeMetadata(output),
1690
1690
  });
1691
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1691
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1692
1692
  }
1693
1693
  };
1694
1694
  const deserializeAws_json1_1ListServicesCommand = async (output, context) => {
@@ -1733,7 +1733,7 @@ const deserializeAws_json1_1ListServicesCommandError = async (output, context) =
1733
1733
  $fault: "client",
1734
1734
  $metadata: deserializeMetadata(output),
1735
1735
  });
1736
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1736
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1737
1737
  }
1738
1738
  };
1739
1739
  const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
@@ -1778,7 +1778,7 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
1778
1778
  $fault: "client",
1779
1779
  $metadata: deserializeMetadata(output),
1780
1780
  });
1781
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1781
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1782
1782
  }
1783
1783
  };
1784
1784
  const deserializeAws_json1_1ListTaskDefinitionFamiliesCommand = async (output, context) => {
@@ -1820,7 +1820,7 @@ const deserializeAws_json1_1ListTaskDefinitionFamiliesCommandError = async (outp
1820
1820
  $fault: "client",
1821
1821
  $metadata: deserializeMetadata(output),
1822
1822
  });
1823
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1823
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1824
1824
  }
1825
1825
  };
1826
1826
  const deserializeAws_json1_1ListTaskDefinitionsCommand = async (output, context) => {
@@ -1862,7 +1862,7 @@ const deserializeAws_json1_1ListTaskDefinitionsCommandError = async (output, con
1862
1862
  $fault: "client",
1863
1863
  $metadata: deserializeMetadata(output),
1864
1864
  });
1865
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1865
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1866
1866
  }
1867
1867
  };
1868
1868
  const deserializeAws_json1_1ListTasksCommand = async (output, context) => {
@@ -1910,7 +1910,7 @@ const deserializeAws_json1_1ListTasksCommandError = async (output, context) => {
1910
1910
  $fault: "client",
1911
1911
  $metadata: deserializeMetadata(output),
1912
1912
  });
1913
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1913
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1914
1914
  }
1915
1915
  };
1916
1916
  const deserializeAws_json1_1PutAccountSettingCommand = async (output, context) => {
@@ -1952,7 +1952,7 @@ const deserializeAws_json1_1PutAccountSettingCommandError = async (output, conte
1952
1952
  $fault: "client",
1953
1953
  $metadata: deserializeMetadata(output),
1954
1954
  });
1955
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1955
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1956
1956
  }
1957
1957
  };
1958
1958
  const deserializeAws_json1_1PutAccountSettingDefaultCommand = async (output, context) => {
@@ -1994,7 +1994,7 @@ const deserializeAws_json1_1PutAccountSettingDefaultCommandError = async (output
1994
1994
  $fault: "client",
1995
1995
  $metadata: deserializeMetadata(output),
1996
1996
  });
1997
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1997
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1998
1998
  }
1999
1999
  };
2000
2000
  const deserializeAws_json1_1PutAttributesCommand = async (output, context) => {
@@ -2039,7 +2039,7 @@ const deserializeAws_json1_1PutAttributesCommandError = async (output, context)
2039
2039
  $fault: "client",
2040
2040
  $metadata: deserializeMetadata(output),
2041
2041
  });
2042
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2042
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2043
2043
  }
2044
2044
  };
2045
2045
  const deserializeAws_json1_1PutClusterCapacityProvidersCommand = async (output, context) => {
@@ -2090,7 +2090,7 @@ const deserializeAws_json1_1PutClusterCapacityProvidersCommandError = async (out
2090
2090
  $fault: "client",
2091
2091
  $metadata: deserializeMetadata(output),
2092
2092
  });
2093
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2093
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2094
2094
  }
2095
2095
  };
2096
2096
  const deserializeAws_json1_1RegisterContainerInstanceCommand = async (output, context) => {
@@ -2132,7 +2132,7 @@ const deserializeAws_json1_1RegisterContainerInstanceCommandError = async (outpu
2132
2132
  $fault: "client",
2133
2133
  $metadata: deserializeMetadata(output),
2134
2134
  });
2135
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2135
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2136
2136
  }
2137
2137
  };
2138
2138
  const deserializeAws_json1_1RegisterTaskDefinitionCommand = async (output, context) => {
@@ -2174,7 +2174,7 @@ const deserializeAws_json1_1RegisterTaskDefinitionCommandError = async (output,
2174
2174
  $fault: "client",
2175
2175
  $metadata: deserializeMetadata(output),
2176
2176
  });
2177
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2177
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2178
2178
  }
2179
2179
  };
2180
2180
  const deserializeAws_json1_1RunTaskCommand = async (output, context) => {
@@ -2234,7 +2234,7 @@ const deserializeAws_json1_1RunTaskCommandError = async (output, context) => {
2234
2234
  $fault: "client",
2235
2235
  $metadata: deserializeMetadata(output),
2236
2236
  });
2237
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2237
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2238
2238
  }
2239
2239
  };
2240
2240
  const deserializeAws_json1_1StartTaskCommand = async (output, context) => {
@@ -2279,7 +2279,7 @@ const deserializeAws_json1_1StartTaskCommandError = async (output, context) => {
2279
2279
  $fault: "client",
2280
2280
  $metadata: deserializeMetadata(output),
2281
2281
  });
2282
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2282
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2283
2283
  }
2284
2284
  };
2285
2285
  const deserializeAws_json1_1StopTaskCommand = async (output, context) => {
@@ -2324,7 +2324,7 @@ const deserializeAws_json1_1StopTaskCommandError = async (output, context) => {
2324
2324
  $fault: "client",
2325
2325
  $metadata: deserializeMetadata(output),
2326
2326
  });
2327
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2327
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2328
2328
  }
2329
2329
  };
2330
2330
  const deserializeAws_json1_1SubmitAttachmentStateChangesCommand = async (output, context) => {
@@ -2369,7 +2369,7 @@ const deserializeAws_json1_1SubmitAttachmentStateChangesCommandError = async (ou
2369
2369
  $fault: "client",
2370
2370
  $metadata: deserializeMetadata(output),
2371
2371
  });
2372
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2372
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2373
2373
  }
2374
2374
  };
2375
2375
  const deserializeAws_json1_1SubmitContainerStateChangeCommand = async (output, context) => {
@@ -2411,7 +2411,7 @@ const deserializeAws_json1_1SubmitContainerStateChangeCommandError = async (outp
2411
2411
  $fault: "client",
2412
2412
  $metadata: deserializeMetadata(output),
2413
2413
  });
2414
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2414
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2415
2415
  }
2416
2416
  };
2417
2417
  const deserializeAws_json1_1SubmitTaskStateChangeCommand = async (output, context) => {
@@ -2456,7 +2456,7 @@ const deserializeAws_json1_1SubmitTaskStateChangeCommandError = async (output, c
2456
2456
  $fault: "client",
2457
2457
  $metadata: deserializeMetadata(output),
2458
2458
  });
2459
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2459
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2460
2460
  }
2461
2461
  };
2462
2462
  const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
@@ -2504,7 +2504,7 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
2504
2504
  $fault: "client",
2505
2505
  $metadata: deserializeMetadata(output),
2506
2506
  });
2507
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2507
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2508
2508
  }
2509
2509
  };
2510
2510
  const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
@@ -2552,7 +2552,7 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
2552
2552
  $fault: "client",
2553
2553
  $metadata: deserializeMetadata(output),
2554
2554
  });
2555
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2555
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2556
2556
  }
2557
2557
  };
2558
2558
  const deserializeAws_json1_1UpdateCapacityProviderCommand = async (output, context) => {
@@ -2594,7 +2594,7 @@ const deserializeAws_json1_1UpdateCapacityProviderCommandError = async (output,
2594
2594
  $fault: "client",
2595
2595
  $metadata: deserializeMetadata(output),
2596
2596
  });
2597
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2597
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2598
2598
  }
2599
2599
  };
2600
2600
  const deserializeAws_json1_1UpdateClusterCommand = async (output, context) => {
@@ -2639,7 +2639,7 @@ const deserializeAws_json1_1UpdateClusterCommandError = async (output, context)
2639
2639
  $fault: "client",
2640
2640
  $metadata: deserializeMetadata(output),
2641
2641
  });
2642
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2642
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2643
2643
  }
2644
2644
  };
2645
2645
  const deserializeAws_json1_1UpdateClusterSettingsCommand = async (output, context) => {
@@ -2684,7 +2684,7 @@ const deserializeAws_json1_1UpdateClusterSettingsCommandError = async (output, c
2684
2684
  $fault: "client",
2685
2685
  $metadata: deserializeMetadata(output),
2686
2686
  });
2687
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2687
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2688
2688
  }
2689
2689
  };
2690
2690
  const deserializeAws_json1_1UpdateContainerAgentCommand = async (output, context) => {
@@ -2738,7 +2738,7 @@ const deserializeAws_json1_1UpdateContainerAgentCommandError = async (output, co
2738
2738
  $fault: "client",
2739
2739
  $metadata: deserializeMetadata(output),
2740
2740
  });
2741
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2741
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2742
2742
  }
2743
2743
  };
2744
2744
  const deserializeAws_json1_1UpdateContainerInstancesStateCommand = async (output, context) => {
@@ -2783,7 +2783,7 @@ const deserializeAws_json1_1UpdateContainerInstancesStateCommandError = async (o
2783
2783
  $fault: "client",
2784
2784
  $metadata: deserializeMetadata(output),
2785
2785
  });
2786
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2786
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2787
2787
  }
2788
2788
  };
2789
2789
  const deserializeAws_json1_1UpdateServiceCommand = async (output, context) => {
@@ -2843,7 +2843,7 @@ const deserializeAws_json1_1UpdateServiceCommandError = async (output, context)
2843
2843
  $fault: "client",
2844
2844
  $metadata: deserializeMetadata(output),
2845
2845
  });
2846
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2846
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2847
2847
  }
2848
2848
  };
2849
2849
  const deserializeAws_json1_1UpdateServicePrimaryTaskSetCommand = async (output, context) => {
@@ -2903,7 +2903,7 @@ const deserializeAws_json1_1UpdateServicePrimaryTaskSetCommandError = async (out
2903
2903
  $fault: "client",
2904
2904
  $metadata: deserializeMetadata(output),
2905
2905
  });
2906
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2906
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2907
2907
  }
2908
2908
  };
2909
2909
  const deserializeAws_json1_1UpdateTaskSetCommand = async (output, context) => {
@@ -2963,7 +2963,7 @@ const deserializeAws_json1_1UpdateTaskSetCommandError = async (output, context)
2963
2963
  $fault: "client",
2964
2964
  $metadata: deserializeMetadata(output),
2965
2965
  });
2966
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2966
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2967
2967
  }
2968
2968
  };
2969
2969
  const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
@@ -2973,7 +2973,7 @@ const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput,
2973
2973
  $metadata: deserializeMetadata(parsedOutput),
2974
2974
  ...deserialized,
2975
2975
  });
2976
- return smithy_client_1.decorateServiceException(exception, body);
2976
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2977
2977
  };
2978
2978
  const deserializeAws_json1_1AttributeLimitExceededExceptionResponse = async (parsedOutput, context) => {
2979
2979
  const body = parsedOutput.body;
@@ -2982,7 +2982,7 @@ const deserializeAws_json1_1AttributeLimitExceededExceptionResponse = async (par
2982
2982
  $metadata: deserializeMetadata(parsedOutput),
2983
2983
  ...deserialized,
2984
2984
  });
2985
- return smithy_client_1.decorateServiceException(exception, body);
2985
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2986
2986
  };
2987
2987
  const deserializeAws_json1_1BlockedExceptionResponse = async (parsedOutput, context) => {
2988
2988
  const body = parsedOutput.body;
@@ -2991,7 +2991,7 @@ const deserializeAws_json1_1BlockedExceptionResponse = async (parsedOutput, cont
2991
2991
  $metadata: deserializeMetadata(parsedOutput),
2992
2992
  ...deserialized,
2993
2993
  });
2994
- return smithy_client_1.decorateServiceException(exception, body);
2994
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2995
2995
  };
2996
2996
  const deserializeAws_json1_1ClientExceptionResponse = async (parsedOutput, context) => {
2997
2997
  const body = parsedOutput.body;
@@ -3000,7 +3000,7 @@ const deserializeAws_json1_1ClientExceptionResponse = async (parsedOutput, conte
3000
3000
  $metadata: deserializeMetadata(parsedOutput),
3001
3001
  ...deserialized,
3002
3002
  });
3003
- return smithy_client_1.decorateServiceException(exception, body);
3003
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3004
3004
  };
3005
3005
  const deserializeAws_json1_1ClusterContainsContainerInstancesExceptionResponse = async (parsedOutput, context) => {
3006
3006
  const body = parsedOutput.body;
@@ -3009,7 +3009,7 @@ const deserializeAws_json1_1ClusterContainsContainerInstancesExceptionResponse =
3009
3009
  $metadata: deserializeMetadata(parsedOutput),
3010
3010
  ...deserialized,
3011
3011
  });
3012
- return smithy_client_1.decorateServiceException(exception, body);
3012
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3013
3013
  };
3014
3014
  const deserializeAws_json1_1ClusterContainsServicesExceptionResponse = async (parsedOutput, context) => {
3015
3015
  const body = parsedOutput.body;
@@ -3018,7 +3018,7 @@ const deserializeAws_json1_1ClusterContainsServicesExceptionResponse = async (pa
3018
3018
  $metadata: deserializeMetadata(parsedOutput),
3019
3019
  ...deserialized,
3020
3020
  });
3021
- return smithy_client_1.decorateServiceException(exception, body);
3021
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3022
3022
  };
3023
3023
  const deserializeAws_json1_1ClusterContainsTasksExceptionResponse = async (parsedOutput, context) => {
3024
3024
  const body = parsedOutput.body;
@@ -3027,7 +3027,7 @@ const deserializeAws_json1_1ClusterContainsTasksExceptionResponse = async (parse
3027
3027
  $metadata: deserializeMetadata(parsedOutput),
3028
3028
  ...deserialized,
3029
3029
  });
3030
- return smithy_client_1.decorateServiceException(exception, body);
3030
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3031
3031
  };
3032
3032
  const deserializeAws_json1_1ClusterNotFoundExceptionResponse = async (parsedOutput, context) => {
3033
3033
  const body = parsedOutput.body;
@@ -3036,7 +3036,7 @@ const deserializeAws_json1_1ClusterNotFoundExceptionResponse = async (parsedOutp
3036
3036
  $metadata: deserializeMetadata(parsedOutput),
3037
3037
  ...deserialized,
3038
3038
  });
3039
- return smithy_client_1.decorateServiceException(exception, body);
3039
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3040
3040
  };
3041
3041
  const deserializeAws_json1_1InvalidParameterExceptionResponse = async (parsedOutput, context) => {
3042
3042
  const body = parsedOutput.body;
@@ -3045,7 +3045,7 @@ const deserializeAws_json1_1InvalidParameterExceptionResponse = async (parsedOut
3045
3045
  $metadata: deserializeMetadata(parsedOutput),
3046
3046
  ...deserialized,
3047
3047
  });
3048
- return smithy_client_1.decorateServiceException(exception, body);
3048
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3049
3049
  };
3050
3050
  const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput, context) => {
3051
3051
  const body = parsedOutput.body;
@@ -3054,7 +3054,7 @@ const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput
3054
3054
  $metadata: deserializeMetadata(parsedOutput),
3055
3055
  ...deserialized,
3056
3056
  });
3057
- return smithy_client_1.decorateServiceException(exception, body);
3057
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3058
3058
  };
3059
3059
  const deserializeAws_json1_1MissingVersionExceptionResponse = async (parsedOutput, context) => {
3060
3060
  const body = parsedOutput.body;
@@ -3063,7 +3063,7 @@ const deserializeAws_json1_1MissingVersionExceptionResponse = async (parsedOutpu
3063
3063
  $metadata: deserializeMetadata(parsedOutput),
3064
3064
  ...deserialized,
3065
3065
  });
3066
- return smithy_client_1.decorateServiceException(exception, body);
3066
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3067
3067
  };
3068
3068
  const deserializeAws_json1_1NoUpdateAvailableExceptionResponse = async (parsedOutput, context) => {
3069
3069
  const body = parsedOutput.body;
@@ -3072,7 +3072,7 @@ const deserializeAws_json1_1NoUpdateAvailableExceptionResponse = async (parsedOu
3072
3072
  $metadata: deserializeMetadata(parsedOutput),
3073
3073
  ...deserialized,
3074
3074
  });
3075
- return smithy_client_1.decorateServiceException(exception, body);
3075
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3076
3076
  };
3077
3077
  const deserializeAws_json1_1PlatformTaskDefinitionIncompatibilityExceptionResponse = async (parsedOutput, context) => {
3078
3078
  const body = parsedOutput.body;
@@ -3081,7 +3081,7 @@ const deserializeAws_json1_1PlatformTaskDefinitionIncompatibilityExceptionRespon
3081
3081
  $metadata: deserializeMetadata(parsedOutput),
3082
3082
  ...deserialized,
3083
3083
  });
3084
- return smithy_client_1.decorateServiceException(exception, body);
3084
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3085
3085
  };
3086
3086
  const deserializeAws_json1_1PlatformUnknownExceptionResponse = async (parsedOutput, context) => {
3087
3087
  const body = parsedOutput.body;
@@ -3090,7 +3090,7 @@ const deserializeAws_json1_1PlatformUnknownExceptionResponse = async (parsedOutp
3090
3090
  $metadata: deserializeMetadata(parsedOutput),
3091
3091
  ...deserialized,
3092
3092
  });
3093
- return smithy_client_1.decorateServiceException(exception, body);
3093
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3094
3094
  };
3095
3095
  const deserializeAws_json1_1ResourceInUseExceptionResponse = async (parsedOutput, context) => {
3096
3096
  const body = parsedOutput.body;
@@ -3099,7 +3099,7 @@ const deserializeAws_json1_1ResourceInUseExceptionResponse = async (parsedOutput
3099
3099
  $metadata: deserializeMetadata(parsedOutput),
3100
3100
  ...deserialized,
3101
3101
  });
3102
- return smithy_client_1.decorateServiceException(exception, body);
3102
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3103
3103
  };
3104
3104
  const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
3105
3105
  const body = parsedOutput.body;
@@ -3108,7 +3108,7 @@ const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOut
3108
3108
  $metadata: deserializeMetadata(parsedOutput),
3109
3109
  ...deserialized,
3110
3110
  });
3111
- return smithy_client_1.decorateServiceException(exception, body);
3111
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3112
3112
  };
3113
3113
  const deserializeAws_json1_1ServerExceptionResponse = async (parsedOutput, context) => {
3114
3114
  const body = parsedOutput.body;
@@ -3117,7 +3117,7 @@ const deserializeAws_json1_1ServerExceptionResponse = async (parsedOutput, conte
3117
3117
  $metadata: deserializeMetadata(parsedOutput),
3118
3118
  ...deserialized,
3119
3119
  });
3120
- return smithy_client_1.decorateServiceException(exception, body);
3120
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3121
3121
  };
3122
3122
  const deserializeAws_json1_1ServiceNotActiveExceptionResponse = async (parsedOutput, context) => {
3123
3123
  const body = parsedOutput.body;
@@ -3126,7 +3126,7 @@ const deserializeAws_json1_1ServiceNotActiveExceptionResponse = async (parsedOut
3126
3126
  $metadata: deserializeMetadata(parsedOutput),
3127
3127
  ...deserialized,
3128
3128
  });
3129
- return smithy_client_1.decorateServiceException(exception, body);
3129
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3130
3130
  };
3131
3131
  const deserializeAws_json1_1ServiceNotFoundExceptionResponse = async (parsedOutput, context) => {
3132
3132
  const body = parsedOutput.body;
@@ -3135,7 +3135,7 @@ const deserializeAws_json1_1ServiceNotFoundExceptionResponse = async (parsedOutp
3135
3135
  $metadata: deserializeMetadata(parsedOutput),
3136
3136
  ...deserialized,
3137
3137
  });
3138
- return smithy_client_1.decorateServiceException(exception, body);
3138
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3139
3139
  };
3140
3140
  const deserializeAws_json1_1TargetNotConnectedExceptionResponse = async (parsedOutput, context) => {
3141
3141
  const body = parsedOutput.body;
@@ -3144,7 +3144,7 @@ const deserializeAws_json1_1TargetNotConnectedExceptionResponse = async (parsedO
3144
3144
  $metadata: deserializeMetadata(parsedOutput),
3145
3145
  ...deserialized,
3146
3146
  });
3147
- return smithy_client_1.decorateServiceException(exception, body);
3147
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3148
3148
  };
3149
3149
  const deserializeAws_json1_1TargetNotFoundExceptionResponse = async (parsedOutput, context) => {
3150
3150
  const body = parsedOutput.body;
@@ -3153,7 +3153,7 @@ const deserializeAws_json1_1TargetNotFoundExceptionResponse = async (parsedOutpu
3153
3153
  $metadata: deserializeMetadata(parsedOutput),
3154
3154
  ...deserialized,
3155
3155
  });
3156
- return smithy_client_1.decorateServiceException(exception, body);
3156
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3157
3157
  };
3158
3158
  const deserializeAws_json1_1TaskSetNotFoundExceptionResponse = async (parsedOutput, context) => {
3159
3159
  const body = parsedOutput.body;
@@ -3162,7 +3162,7 @@ const deserializeAws_json1_1TaskSetNotFoundExceptionResponse = async (parsedOutp
3162
3162
  $metadata: deserializeMetadata(parsedOutput),
3163
3163
  ...deserialized,
3164
3164
  });
3165
- return smithy_client_1.decorateServiceException(exception, body);
3165
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3166
3166
  };
3167
3167
  const deserializeAws_json1_1UnsupportedFeatureExceptionResponse = async (parsedOutput, context) => {
3168
3168
  const body = parsedOutput.body;
@@ -3171,7 +3171,7 @@ const deserializeAws_json1_1UnsupportedFeatureExceptionResponse = async (parsedO
3171
3171
  $metadata: deserializeMetadata(parsedOutput),
3172
3172
  ...deserialized,
3173
3173
  });
3174
- return smithy_client_1.decorateServiceException(exception, body);
3174
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3175
3175
  };
3176
3176
  const deserializeAws_json1_1UpdateInProgressExceptionResponse = async (parsedOutput, context) => {
3177
3177
  const body = parsedOutput.body;
@@ -3180,7 +3180,7 @@ const deserializeAws_json1_1UpdateInProgressExceptionResponse = async (parsedOut
3180
3180
  $metadata: deserializeMetadata(parsedOutput),
3181
3181
  ...deserialized,
3182
3182
  });
3183
- return smithy_client_1.decorateServiceException(exception, body);
3183
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3184
3184
  };
3185
3185
  const serializeAws_json1_1AttachmentStateChange = (input, context) => {
3186
3186
  return {
@@ -4444,7 +4444,7 @@ const serializeAws_json1_1RepositoryCredentials = (input, context) => {
4444
4444
  const serializeAws_json1_1Resource = (input, context) => {
4445
4445
  return {
4446
4446
  ...(input.doubleValue !== undefined &&
4447
- input.doubleValue !== null && { doubleValue: smithy_client_1.serializeFloat(input.doubleValue) }),
4447
+ input.doubleValue !== null && { doubleValue: (0, smithy_client_1.serializeFloat)(input.doubleValue) }),
4448
4448
  ...(input.integerValue !== undefined && input.integerValue !== null && { integerValue: input.integerValue }),
4449
4449
  ...(input.longValue !== undefined && input.longValue !== null && { longValue: input.longValue }),
4450
4450
  ...(input.name !== undefined && input.name !== null && { name: input.name }),
@@ -4530,7 +4530,7 @@ const serializeAws_json1_1RuntimePlatform = (input, context) => {
4530
4530
  const serializeAws_json1_1Scale = (input, context) => {
4531
4531
  return {
4532
4532
  ...(input.unit !== undefined && input.unit !== null && { unit: input.unit }),
4533
- ...(input.value !== undefined && input.value !== null && { value: smithy_client_1.serializeFloat(input.value) }),
4533
+ ...(input.value !== undefined && input.value !== null && { value: (0, smithy_client_1.serializeFloat)(input.value) }),
4534
4534
  };
4535
4535
  };
4536
4536
  const serializeAws_json1_1Secret = (input, context) => {
@@ -5006,7 +5006,7 @@ const serializeAws_json1_1VolumeList = (input, context) => {
5006
5006
  };
5007
5007
  const deserializeAws_json1_1AccessDeniedException = (output, context) => {
5008
5008
  return {
5009
- message: smithy_client_1.expectString(output.message),
5009
+ message: (0, smithy_client_1.expectString)(output.message),
5010
5010
  };
5011
5011
  };
5012
5012
  const deserializeAws_json1_1Attachment = (output, context) => {
@@ -5014,9 +5014,9 @@ const deserializeAws_json1_1Attachment = (output, context) => {
5014
5014
  details: output.details !== undefined && output.details !== null
5015
5015
  ? deserializeAws_json1_1AttachmentDetails(output.details, context)
5016
5016
  : undefined,
5017
- id: smithy_client_1.expectString(output.id),
5018
- status: smithy_client_1.expectString(output.status),
5019
- type: smithy_client_1.expectString(output.type),
5017
+ id: (0, smithy_client_1.expectString)(output.id),
5018
+ status: (0, smithy_client_1.expectString)(output.status),
5019
+ type: (0, smithy_client_1.expectString)(output.type),
5020
5020
  };
5021
5021
  };
5022
5022
  const deserializeAws_json1_1AttachmentDetails = (output, context) => {
@@ -5043,15 +5043,15 @@ const deserializeAws_json1_1Attachments = (output, context) => {
5043
5043
  };
5044
5044
  const deserializeAws_json1_1Attribute = (output, context) => {
5045
5045
  return {
5046
- name: smithy_client_1.expectString(output.name),
5047
- targetId: smithy_client_1.expectString(output.targetId),
5048
- targetType: smithy_client_1.expectString(output.targetType),
5049
- value: smithy_client_1.expectString(output.value),
5046
+ name: (0, smithy_client_1.expectString)(output.name),
5047
+ targetId: (0, smithy_client_1.expectString)(output.targetId),
5048
+ targetType: (0, smithy_client_1.expectString)(output.targetType),
5049
+ value: (0, smithy_client_1.expectString)(output.value),
5050
5050
  };
5051
5051
  };
5052
5052
  const deserializeAws_json1_1AttributeLimitExceededException = (output, context) => {
5053
5053
  return {
5054
- message: smithy_client_1.expectString(output.message),
5054
+ message: (0, smithy_client_1.expectString)(output.message),
5055
5055
  };
5056
5056
  };
5057
5057
  const deserializeAws_json1_1Attributes = (output, context) => {
@@ -5067,16 +5067,16 @@ const deserializeAws_json1_1Attributes = (output, context) => {
5067
5067
  };
5068
5068
  const deserializeAws_json1_1AutoScalingGroupProvider = (output, context) => {
5069
5069
  return {
5070
- autoScalingGroupArn: smithy_client_1.expectString(output.autoScalingGroupArn),
5070
+ autoScalingGroupArn: (0, smithy_client_1.expectString)(output.autoScalingGroupArn),
5071
5071
  managedScaling: output.managedScaling !== undefined && output.managedScaling !== null
5072
5072
  ? deserializeAws_json1_1ManagedScaling(output.managedScaling, context)
5073
5073
  : undefined,
5074
- managedTerminationProtection: smithy_client_1.expectString(output.managedTerminationProtection),
5074
+ managedTerminationProtection: (0, smithy_client_1.expectString)(output.managedTerminationProtection),
5075
5075
  };
5076
5076
  };
5077
5077
  const deserializeAws_json1_1AwsVpcConfiguration = (output, context) => {
5078
5078
  return {
5079
- assignPublicIp: smithy_client_1.expectString(output.assignPublicIp),
5079
+ assignPublicIp: (0, smithy_client_1.expectString)(output.assignPublicIp),
5080
5080
  securityGroups: output.securityGroups !== undefined && output.securityGroups !== null
5081
5081
  ? deserializeAws_json1_1StringList(output.securityGroups, context)
5082
5082
  : undefined,
@@ -5087,7 +5087,7 @@ const deserializeAws_json1_1AwsVpcConfiguration = (output, context) => {
5087
5087
  };
5088
5088
  const deserializeAws_json1_1BlockedException = (output, context) => {
5089
5089
  return {
5090
- message: smithy_client_1.expectString(output.message),
5090
+ message: (0, smithy_client_1.expectString)(output.message),
5091
5091
  };
5092
5092
  };
5093
5093
  const deserializeAws_json1_1CapacityProvider = (output, context) => {
@@ -5095,12 +5095,12 @@ const deserializeAws_json1_1CapacityProvider = (output, context) => {
5095
5095
  autoScalingGroupProvider: output.autoScalingGroupProvider !== undefined && output.autoScalingGroupProvider !== null
5096
5096
  ? deserializeAws_json1_1AutoScalingGroupProvider(output.autoScalingGroupProvider, context)
5097
5097
  : undefined,
5098
- capacityProviderArn: smithy_client_1.expectString(output.capacityProviderArn),
5099
- name: smithy_client_1.expectString(output.name),
5100
- status: smithy_client_1.expectString(output.status),
5098
+ capacityProviderArn: (0, smithy_client_1.expectString)(output.capacityProviderArn),
5099
+ name: (0, smithy_client_1.expectString)(output.name),
5100
+ status: (0, smithy_client_1.expectString)(output.status),
5101
5101
  tags: output.tags !== undefined && output.tags !== null ? deserializeAws_json1_1Tags(output.tags, context) : undefined,
5102
- updateStatus: smithy_client_1.expectString(output.updateStatus),
5103
- updateStatusReason: smithy_client_1.expectString(output.updateStatusReason),
5102
+ updateStatus: (0, smithy_client_1.expectString)(output.updateStatus),
5103
+ updateStatusReason: (0, smithy_client_1.expectString)(output.updateStatusReason),
5104
5104
  };
5105
5105
  };
5106
5106
  const deserializeAws_json1_1CapacityProviders = (output, context) => {
@@ -5127,44 +5127,44 @@ const deserializeAws_json1_1CapacityProviderStrategy = (output, context) => {
5127
5127
  };
5128
5128
  const deserializeAws_json1_1CapacityProviderStrategyItem = (output, context) => {
5129
5129
  return {
5130
- base: smithy_client_1.expectInt32(output.base),
5131
- capacityProvider: smithy_client_1.expectString(output.capacityProvider),
5132
- weight: smithy_client_1.expectInt32(output.weight),
5130
+ base: (0, smithy_client_1.expectInt32)(output.base),
5131
+ capacityProvider: (0, smithy_client_1.expectString)(output.capacityProvider),
5132
+ weight: (0, smithy_client_1.expectInt32)(output.weight),
5133
5133
  };
5134
5134
  };
5135
5135
  const deserializeAws_json1_1ClientException = (output, context) => {
5136
5136
  return {
5137
- message: smithy_client_1.expectString(output.message),
5137
+ message: (0, smithy_client_1.expectString)(output.message),
5138
5138
  };
5139
5139
  };
5140
5140
  const deserializeAws_json1_1Cluster = (output, context) => {
5141
5141
  return {
5142
- activeServicesCount: smithy_client_1.expectInt32(output.activeServicesCount),
5142
+ activeServicesCount: (0, smithy_client_1.expectInt32)(output.activeServicesCount),
5143
5143
  attachments: output.attachments !== undefined && output.attachments !== null
5144
5144
  ? deserializeAws_json1_1Attachments(output.attachments, context)
5145
5145
  : undefined,
5146
- attachmentsStatus: smithy_client_1.expectString(output.attachmentsStatus),
5146
+ attachmentsStatus: (0, smithy_client_1.expectString)(output.attachmentsStatus),
5147
5147
  capacityProviders: output.capacityProviders !== undefined && output.capacityProviders !== null
5148
5148
  ? deserializeAws_json1_1StringList(output.capacityProviders, context)
5149
5149
  : undefined,
5150
- clusterArn: smithy_client_1.expectString(output.clusterArn),
5151
- clusterName: smithy_client_1.expectString(output.clusterName),
5150
+ clusterArn: (0, smithy_client_1.expectString)(output.clusterArn),
5151
+ clusterName: (0, smithy_client_1.expectString)(output.clusterName),
5152
5152
  configuration: output.configuration !== undefined && output.configuration !== null
5153
5153
  ? deserializeAws_json1_1ClusterConfiguration(output.configuration, context)
5154
5154
  : undefined,
5155
5155
  defaultCapacityProviderStrategy: output.defaultCapacityProviderStrategy !== undefined && output.defaultCapacityProviderStrategy !== null
5156
5156
  ? deserializeAws_json1_1CapacityProviderStrategy(output.defaultCapacityProviderStrategy, context)
5157
5157
  : undefined,
5158
- pendingTasksCount: smithy_client_1.expectInt32(output.pendingTasksCount),
5159
- registeredContainerInstancesCount: smithy_client_1.expectInt32(output.registeredContainerInstancesCount),
5160
- runningTasksCount: smithy_client_1.expectInt32(output.runningTasksCount),
5158
+ pendingTasksCount: (0, smithy_client_1.expectInt32)(output.pendingTasksCount),
5159
+ registeredContainerInstancesCount: (0, smithy_client_1.expectInt32)(output.registeredContainerInstancesCount),
5160
+ runningTasksCount: (0, smithy_client_1.expectInt32)(output.runningTasksCount),
5161
5161
  settings: output.settings !== undefined && output.settings !== null
5162
5162
  ? deserializeAws_json1_1ClusterSettings(output.settings, context)
5163
5163
  : undefined,
5164
5164
  statistics: output.statistics !== undefined && output.statistics !== null
5165
5165
  ? deserializeAws_json1_1Statistics(output.statistics, context)
5166
5166
  : undefined,
5167
- status: smithy_client_1.expectString(output.status),
5167
+ status: (0, smithy_client_1.expectString)(output.status),
5168
5168
  tags: output.tags !== undefined && output.tags !== null ? deserializeAws_json1_1Tags(output.tags, context) : undefined,
5169
5169
  };
5170
5170
  };
@@ -5177,22 +5177,22 @@ const deserializeAws_json1_1ClusterConfiguration = (output, context) => {
5177
5177
  };
5178
5178
  const deserializeAws_json1_1ClusterContainsContainerInstancesException = (output, context) => {
5179
5179
  return {
5180
- message: smithy_client_1.expectString(output.message),
5180
+ message: (0, smithy_client_1.expectString)(output.message),
5181
5181
  };
5182
5182
  };
5183
5183
  const deserializeAws_json1_1ClusterContainsServicesException = (output, context) => {
5184
5184
  return {
5185
- message: smithy_client_1.expectString(output.message),
5185
+ message: (0, smithy_client_1.expectString)(output.message),
5186
5186
  };
5187
5187
  };
5188
5188
  const deserializeAws_json1_1ClusterContainsTasksException = (output, context) => {
5189
5189
  return {
5190
- message: smithy_client_1.expectString(output.message),
5190
+ message: (0, smithy_client_1.expectString)(output.message),
5191
5191
  };
5192
5192
  };
5193
5193
  const deserializeAws_json1_1ClusterNotFoundException = (output, context) => {
5194
5194
  return {
5195
- message: smithy_client_1.expectString(output.message),
5195
+ message: (0, smithy_client_1.expectString)(output.message),
5196
5196
  };
5197
5197
  };
5198
5198
  const deserializeAws_json1_1Clusters = (output, context) => {
@@ -5208,8 +5208,8 @@ const deserializeAws_json1_1Clusters = (output, context) => {
5208
5208
  };
5209
5209
  const deserializeAws_json1_1ClusterSetting = (output, context) => {
5210
5210
  return {
5211
- name: smithy_client_1.expectString(output.name),
5212
- value: smithy_client_1.expectString(output.value),
5211
+ name: (0, smithy_client_1.expectString)(output.name),
5212
+ value: (0, smithy_client_1.expectString)(output.value),
5213
5213
  };
5214
5214
  };
5215
5215
  const deserializeAws_json1_1ClusterSettings = (output, context) => {
@@ -5230,37 +5230,37 @@ const deserializeAws_json1_1CompatibilityList = (output, context) => {
5230
5230
  if (entry === null) {
5231
5231
  return null;
5232
5232
  }
5233
- return smithy_client_1.expectString(entry);
5233
+ return (0, smithy_client_1.expectString)(entry);
5234
5234
  });
5235
5235
  return retVal;
5236
5236
  };
5237
5237
  const deserializeAws_json1_1Container = (output, context) => {
5238
5238
  return {
5239
- containerArn: smithy_client_1.expectString(output.containerArn),
5240
- cpu: smithy_client_1.expectString(output.cpu),
5241
- exitCode: smithy_client_1.expectInt32(output.exitCode),
5239
+ containerArn: (0, smithy_client_1.expectString)(output.containerArn),
5240
+ cpu: (0, smithy_client_1.expectString)(output.cpu),
5241
+ exitCode: (0, smithy_client_1.expectInt32)(output.exitCode),
5242
5242
  gpuIds: output.gpuIds !== undefined && output.gpuIds !== null
5243
5243
  ? deserializeAws_json1_1GpuIds(output.gpuIds, context)
5244
5244
  : undefined,
5245
- healthStatus: smithy_client_1.expectString(output.healthStatus),
5246
- image: smithy_client_1.expectString(output.image),
5247
- imageDigest: smithy_client_1.expectString(output.imageDigest),
5248
- lastStatus: smithy_client_1.expectString(output.lastStatus),
5245
+ healthStatus: (0, smithy_client_1.expectString)(output.healthStatus),
5246
+ image: (0, smithy_client_1.expectString)(output.image),
5247
+ imageDigest: (0, smithy_client_1.expectString)(output.imageDigest),
5248
+ lastStatus: (0, smithy_client_1.expectString)(output.lastStatus),
5249
5249
  managedAgents: output.managedAgents !== undefined && output.managedAgents !== null
5250
5250
  ? deserializeAws_json1_1ManagedAgents(output.managedAgents, context)
5251
5251
  : undefined,
5252
- memory: smithy_client_1.expectString(output.memory),
5253
- memoryReservation: smithy_client_1.expectString(output.memoryReservation),
5254
- name: smithy_client_1.expectString(output.name),
5252
+ memory: (0, smithy_client_1.expectString)(output.memory),
5253
+ memoryReservation: (0, smithy_client_1.expectString)(output.memoryReservation),
5254
+ name: (0, smithy_client_1.expectString)(output.name),
5255
5255
  networkBindings: output.networkBindings !== undefined && output.networkBindings !== null
5256
5256
  ? deserializeAws_json1_1NetworkBindings(output.networkBindings, context)
5257
5257
  : undefined,
5258
5258
  networkInterfaces: output.networkInterfaces !== undefined && output.networkInterfaces !== null
5259
5259
  ? deserializeAws_json1_1NetworkInterfaces(output.networkInterfaces, context)
5260
5260
  : undefined,
5261
- reason: smithy_client_1.expectString(output.reason),
5262
- runtimeId: smithy_client_1.expectString(output.runtimeId),
5263
- taskArn: smithy_client_1.expectString(output.taskArn),
5261
+ reason: (0, smithy_client_1.expectString)(output.reason),
5262
+ runtimeId: (0, smithy_client_1.expectString)(output.runtimeId),
5263
+ taskArn: (0, smithy_client_1.expectString)(output.taskArn),
5264
5264
  };
5265
5265
  };
5266
5266
  const deserializeAws_json1_1ContainerDefinition = (output, context) => {
@@ -5268,11 +5268,11 @@ const deserializeAws_json1_1ContainerDefinition = (output, context) => {
5268
5268
  command: output.command !== undefined && output.command !== null
5269
5269
  ? deserializeAws_json1_1StringList(output.command, context)
5270
5270
  : undefined,
5271
- cpu: smithy_client_1.expectInt32(output.cpu),
5271
+ cpu: (0, smithy_client_1.expectInt32)(output.cpu),
5272
5272
  dependsOn: output.dependsOn !== undefined && output.dependsOn !== null
5273
5273
  ? deserializeAws_json1_1ContainerDependencies(output.dependsOn, context)
5274
5274
  : undefined,
5275
- disableNetworking: smithy_client_1.expectBoolean(output.disableNetworking),
5275
+ disableNetworking: (0, smithy_client_1.expectBoolean)(output.disableNetworking),
5276
5276
  dnsSearchDomains: output.dnsSearchDomains !== undefined && output.dnsSearchDomains !== null
5277
5277
  ? deserializeAws_json1_1StringList(output.dnsSearchDomains, context)
5278
5278
  : undefined,
@@ -5294,7 +5294,7 @@ const deserializeAws_json1_1ContainerDefinition = (output, context) => {
5294
5294
  environmentFiles: output.environmentFiles !== undefined && output.environmentFiles !== null
5295
5295
  ? deserializeAws_json1_1EnvironmentFiles(output.environmentFiles, context)
5296
5296
  : undefined,
5297
- essential: smithy_client_1.expectBoolean(output.essential),
5297
+ essential: (0, smithy_client_1.expectBoolean)(output.essential),
5298
5298
  extraHosts: output.extraHosts !== undefined && output.extraHosts !== null
5299
5299
  ? deserializeAws_json1_1HostEntryList(output.extraHosts, context)
5300
5300
  : undefined,
@@ -5304,9 +5304,9 @@ const deserializeAws_json1_1ContainerDefinition = (output, context) => {
5304
5304
  healthCheck: output.healthCheck !== undefined && output.healthCheck !== null
5305
5305
  ? deserializeAws_json1_1HealthCheck(output.healthCheck, context)
5306
5306
  : undefined,
5307
- hostname: smithy_client_1.expectString(output.hostname),
5308
- image: smithy_client_1.expectString(output.image),
5309
- interactive: smithy_client_1.expectBoolean(output.interactive),
5307
+ hostname: (0, smithy_client_1.expectString)(output.hostname),
5308
+ image: (0, smithy_client_1.expectString)(output.image),
5309
+ interactive: (0, smithy_client_1.expectBoolean)(output.interactive),
5310
5310
  links: output.links !== undefined && output.links !== null
5311
5311
  ? deserializeAws_json1_1StringList(output.links, context)
5312
5312
  : undefined,
@@ -5316,18 +5316,18 @@ const deserializeAws_json1_1ContainerDefinition = (output, context) => {
5316
5316
  logConfiguration: output.logConfiguration !== undefined && output.logConfiguration !== null
5317
5317
  ? deserializeAws_json1_1LogConfiguration(output.logConfiguration, context)
5318
5318
  : undefined,
5319
- memory: smithy_client_1.expectInt32(output.memory),
5320
- memoryReservation: smithy_client_1.expectInt32(output.memoryReservation),
5319
+ memory: (0, smithy_client_1.expectInt32)(output.memory),
5320
+ memoryReservation: (0, smithy_client_1.expectInt32)(output.memoryReservation),
5321
5321
  mountPoints: output.mountPoints !== undefined && output.mountPoints !== null
5322
5322
  ? deserializeAws_json1_1MountPointList(output.mountPoints, context)
5323
5323
  : undefined,
5324
- name: smithy_client_1.expectString(output.name),
5324
+ name: (0, smithy_client_1.expectString)(output.name),
5325
5325
  portMappings: output.portMappings !== undefined && output.portMappings !== null
5326
5326
  ? deserializeAws_json1_1PortMappingList(output.portMappings, context)
5327
5327
  : undefined,
5328
- privileged: smithy_client_1.expectBoolean(output.privileged),
5329
- pseudoTerminal: smithy_client_1.expectBoolean(output.pseudoTerminal),
5330
- readonlyRootFilesystem: smithy_client_1.expectBoolean(output.readonlyRootFilesystem),
5328
+ privileged: (0, smithy_client_1.expectBoolean)(output.privileged),
5329
+ pseudoTerminal: (0, smithy_client_1.expectBoolean)(output.pseudoTerminal),
5330
+ readonlyRootFilesystem: (0, smithy_client_1.expectBoolean)(output.readonlyRootFilesystem),
5331
5331
  repositoryCredentials: output.repositoryCredentials !== undefined && output.repositoryCredentials !== null
5332
5332
  ? deserializeAws_json1_1RepositoryCredentials(output.repositoryCredentials, context)
5333
5333
  : undefined,
@@ -5337,19 +5337,19 @@ const deserializeAws_json1_1ContainerDefinition = (output, context) => {
5337
5337
  secrets: output.secrets !== undefined && output.secrets !== null
5338
5338
  ? deserializeAws_json1_1SecretList(output.secrets, context)
5339
5339
  : undefined,
5340
- startTimeout: smithy_client_1.expectInt32(output.startTimeout),
5341
- stopTimeout: smithy_client_1.expectInt32(output.stopTimeout),
5340
+ startTimeout: (0, smithy_client_1.expectInt32)(output.startTimeout),
5341
+ stopTimeout: (0, smithy_client_1.expectInt32)(output.stopTimeout),
5342
5342
  systemControls: output.systemControls !== undefined && output.systemControls !== null
5343
5343
  ? deserializeAws_json1_1SystemControls(output.systemControls, context)
5344
5344
  : undefined,
5345
5345
  ulimits: output.ulimits !== undefined && output.ulimits !== null
5346
5346
  ? deserializeAws_json1_1UlimitList(output.ulimits, context)
5347
5347
  : undefined,
5348
- user: smithy_client_1.expectString(output.user),
5348
+ user: (0, smithy_client_1.expectString)(output.user),
5349
5349
  volumesFrom: output.volumesFrom !== undefined && output.volumesFrom !== null
5350
5350
  ? deserializeAws_json1_1VolumeFromList(output.volumesFrom, context)
5351
5351
  : undefined,
5352
- workingDirectory: smithy_client_1.expectString(output.workingDirectory),
5352
+ workingDirectory: (0, smithy_client_1.expectString)(output.workingDirectory),
5353
5353
  };
5354
5354
  };
5355
5355
  const deserializeAws_json1_1ContainerDefinitions = (output, context) => {
@@ -5376,29 +5376,29 @@ const deserializeAws_json1_1ContainerDependencies = (output, context) => {
5376
5376
  };
5377
5377
  const deserializeAws_json1_1ContainerDependency = (output, context) => {
5378
5378
  return {
5379
- condition: smithy_client_1.expectString(output.condition),
5380
- containerName: smithy_client_1.expectString(output.containerName),
5379
+ condition: (0, smithy_client_1.expectString)(output.condition),
5380
+ containerName: (0, smithy_client_1.expectString)(output.containerName),
5381
5381
  };
5382
5382
  };
5383
5383
  const deserializeAws_json1_1ContainerInstance = (output, context) => {
5384
5384
  return {
5385
- agentConnected: smithy_client_1.expectBoolean(output.agentConnected),
5386
- agentUpdateStatus: smithy_client_1.expectString(output.agentUpdateStatus),
5385
+ agentConnected: (0, smithy_client_1.expectBoolean)(output.agentConnected),
5386
+ agentUpdateStatus: (0, smithy_client_1.expectString)(output.agentUpdateStatus),
5387
5387
  attachments: output.attachments !== undefined && output.attachments !== null
5388
5388
  ? deserializeAws_json1_1Attachments(output.attachments, context)
5389
5389
  : undefined,
5390
5390
  attributes: output.attributes !== undefined && output.attributes !== null
5391
5391
  ? deserializeAws_json1_1Attributes(output.attributes, context)
5392
5392
  : undefined,
5393
- capacityProviderName: smithy_client_1.expectString(output.capacityProviderName),
5394
- containerInstanceArn: smithy_client_1.expectString(output.containerInstanceArn),
5395
- ec2InstanceId: smithy_client_1.expectString(output.ec2InstanceId),
5393
+ capacityProviderName: (0, smithy_client_1.expectString)(output.capacityProviderName),
5394
+ containerInstanceArn: (0, smithy_client_1.expectString)(output.containerInstanceArn),
5395
+ ec2InstanceId: (0, smithy_client_1.expectString)(output.ec2InstanceId),
5396
5396
  healthStatus: output.healthStatus !== undefined && output.healthStatus !== null
5397
5397
  ? deserializeAws_json1_1ContainerInstanceHealthStatus(output.healthStatus, context)
5398
5398
  : undefined,
5399
- pendingTasksCount: smithy_client_1.expectInt32(output.pendingTasksCount),
5399
+ pendingTasksCount: (0, smithy_client_1.expectInt32)(output.pendingTasksCount),
5400
5400
  registeredAt: output.registeredAt !== undefined && output.registeredAt !== null
5401
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.registeredAt)))
5401
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.registeredAt)))
5402
5402
  : undefined,
5403
5403
  registeredResources: output.registeredResources !== undefined && output.registeredResources !== null
5404
5404
  ? deserializeAws_json1_1Resources(output.registeredResources, context)
@@ -5406,11 +5406,11 @@ const deserializeAws_json1_1ContainerInstance = (output, context) => {
5406
5406
  remainingResources: output.remainingResources !== undefined && output.remainingResources !== null
5407
5407
  ? deserializeAws_json1_1Resources(output.remainingResources, context)
5408
5408
  : undefined,
5409
- runningTasksCount: smithy_client_1.expectInt32(output.runningTasksCount),
5410
- status: smithy_client_1.expectString(output.status),
5411
- statusReason: smithy_client_1.expectString(output.statusReason),
5409
+ runningTasksCount: (0, smithy_client_1.expectInt32)(output.runningTasksCount),
5410
+ status: (0, smithy_client_1.expectString)(output.status),
5411
+ statusReason: (0, smithy_client_1.expectString)(output.statusReason),
5412
5412
  tags: output.tags !== undefined && output.tags !== null ? deserializeAws_json1_1Tags(output.tags, context) : undefined,
5413
- version: smithy_client_1.expectLong(output.version),
5413
+ version: (0, smithy_client_1.expectLong)(output.version),
5414
5414
  versionInfo: output.versionInfo !== undefined && output.versionInfo !== null
5415
5415
  ? deserializeAws_json1_1VersionInfo(output.versionInfo, context)
5416
5416
  : undefined,
@@ -5421,7 +5421,7 @@ const deserializeAws_json1_1ContainerInstanceHealthStatus = (output, context) =>
5421
5421
  details: output.details !== undefined && output.details !== null
5422
5422
  ? deserializeAws_json1_1InstanceHealthCheckResultList(output.details, context)
5423
5423
  : undefined,
5424
- overallStatus: smithy_client_1.expectString(output.overallStatus),
5424
+ overallStatus: (0, smithy_client_1.expectString)(output.overallStatus),
5425
5425
  };
5426
5426
  };
5427
5427
  const deserializeAws_json1_1ContainerInstances = (output, context) => {
@@ -5440,16 +5440,16 @@ const deserializeAws_json1_1ContainerOverride = (output, context) => {
5440
5440
  command: output.command !== undefined && output.command !== null
5441
5441
  ? deserializeAws_json1_1StringList(output.command, context)
5442
5442
  : undefined,
5443
- cpu: smithy_client_1.expectInt32(output.cpu),
5443
+ cpu: (0, smithy_client_1.expectInt32)(output.cpu),
5444
5444
  environment: output.environment !== undefined && output.environment !== null
5445
5445
  ? deserializeAws_json1_1EnvironmentVariables(output.environment, context)
5446
5446
  : undefined,
5447
5447
  environmentFiles: output.environmentFiles !== undefined && output.environmentFiles !== null
5448
5448
  ? deserializeAws_json1_1EnvironmentFiles(output.environmentFiles, context)
5449
5449
  : undefined,
5450
- memory: smithy_client_1.expectInt32(output.memory),
5451
- memoryReservation: smithy_client_1.expectInt32(output.memoryReservation),
5452
- name: smithy_client_1.expectString(output.name),
5450
+ memory: (0, smithy_client_1.expectInt32)(output.memory),
5451
+ memoryReservation: (0, smithy_client_1.expectInt32)(output.memoryReservation),
5452
+ name: (0, smithy_client_1.expectString)(output.name),
5453
5453
  resourceRequirements: output.resourceRequirements !== undefined && output.resourceRequirements !== null
5454
5454
  ? deserializeAws_json1_1ResourceRequirements(output.resourceRequirements, context)
5455
5455
  : undefined,
@@ -5553,32 +5553,32 @@ const deserializeAws_json1_1Deployment = (output, context) => {
5553
5553
  ? deserializeAws_json1_1CapacityProviderStrategy(output.capacityProviderStrategy, context)
5554
5554
  : undefined,
5555
5555
  createdAt: output.createdAt !== undefined && output.createdAt !== null
5556
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
5556
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
5557
5557
  : undefined,
5558
- desiredCount: smithy_client_1.expectInt32(output.desiredCount),
5559
- failedTasks: smithy_client_1.expectInt32(output.failedTasks),
5560
- id: smithy_client_1.expectString(output.id),
5561
- launchType: smithy_client_1.expectString(output.launchType),
5558
+ desiredCount: (0, smithy_client_1.expectInt32)(output.desiredCount),
5559
+ failedTasks: (0, smithy_client_1.expectInt32)(output.failedTasks),
5560
+ id: (0, smithy_client_1.expectString)(output.id),
5561
+ launchType: (0, smithy_client_1.expectString)(output.launchType),
5562
5562
  networkConfiguration: output.networkConfiguration !== undefined && output.networkConfiguration !== null
5563
5563
  ? deserializeAws_json1_1NetworkConfiguration(output.networkConfiguration, context)
5564
5564
  : undefined,
5565
- pendingCount: smithy_client_1.expectInt32(output.pendingCount),
5566
- platformFamily: smithy_client_1.expectString(output.platformFamily),
5567
- platformVersion: smithy_client_1.expectString(output.platformVersion),
5568
- rolloutState: smithy_client_1.expectString(output.rolloutState),
5569
- rolloutStateReason: smithy_client_1.expectString(output.rolloutStateReason),
5570
- runningCount: smithy_client_1.expectInt32(output.runningCount),
5571
- status: smithy_client_1.expectString(output.status),
5572
- taskDefinition: smithy_client_1.expectString(output.taskDefinition),
5565
+ pendingCount: (0, smithy_client_1.expectInt32)(output.pendingCount),
5566
+ platformFamily: (0, smithy_client_1.expectString)(output.platformFamily),
5567
+ platformVersion: (0, smithy_client_1.expectString)(output.platformVersion),
5568
+ rolloutState: (0, smithy_client_1.expectString)(output.rolloutState),
5569
+ rolloutStateReason: (0, smithy_client_1.expectString)(output.rolloutStateReason),
5570
+ runningCount: (0, smithy_client_1.expectInt32)(output.runningCount),
5571
+ status: (0, smithy_client_1.expectString)(output.status),
5572
+ taskDefinition: (0, smithy_client_1.expectString)(output.taskDefinition),
5573
5573
  updatedAt: output.updatedAt !== undefined && output.updatedAt !== null
5574
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.updatedAt)))
5574
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updatedAt)))
5575
5575
  : undefined,
5576
5576
  };
5577
5577
  };
5578
5578
  const deserializeAws_json1_1DeploymentCircuitBreaker = (output, context) => {
5579
5579
  return {
5580
- enable: smithy_client_1.expectBoolean(output.enable),
5581
- rollback: smithy_client_1.expectBoolean(output.rollback),
5580
+ enable: (0, smithy_client_1.expectBoolean)(output.enable),
5581
+ rollback: (0, smithy_client_1.expectBoolean)(output.rollback),
5582
5582
  };
5583
5583
  };
5584
5584
  const deserializeAws_json1_1DeploymentConfiguration = (output, context) => {
@@ -5586,13 +5586,13 @@ const deserializeAws_json1_1DeploymentConfiguration = (output, context) => {
5586
5586
  deploymentCircuitBreaker: output.deploymentCircuitBreaker !== undefined && output.deploymentCircuitBreaker !== null
5587
5587
  ? deserializeAws_json1_1DeploymentCircuitBreaker(output.deploymentCircuitBreaker, context)
5588
5588
  : undefined,
5589
- maximumPercent: smithy_client_1.expectInt32(output.maximumPercent),
5590
- minimumHealthyPercent: smithy_client_1.expectInt32(output.minimumHealthyPercent),
5589
+ maximumPercent: (0, smithy_client_1.expectInt32)(output.maximumPercent),
5590
+ minimumHealthyPercent: (0, smithy_client_1.expectInt32)(output.minimumHealthyPercent),
5591
5591
  };
5592
5592
  };
5593
5593
  const deserializeAws_json1_1DeploymentController = (output, context) => {
5594
5594
  return {
5595
- type: smithy_client_1.expectString(output.type),
5595
+ type: (0, smithy_client_1.expectString)(output.type),
5596
5596
  };
5597
5597
  };
5598
5598
  const deserializeAws_json1_1Deployments = (output, context) => {
@@ -5628,7 +5628,7 @@ const deserializeAws_json1_1DescribeCapacityProvidersResponse = (output, context
5628
5628
  failures: output.failures !== undefined && output.failures !== null
5629
5629
  ? deserializeAws_json1_1Failures(output.failures, context)
5630
5630
  : undefined,
5631
- nextToken: smithy_client_1.expectString(output.nextToken),
5631
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
5632
5632
  };
5633
5633
  };
5634
5634
  const deserializeAws_json1_1DescribeClustersResponse = (output, context) => {
@@ -5691,8 +5691,8 @@ const deserializeAws_json1_1DescribeTasksResponse = (output, context) => {
5691
5691
  };
5692
5692
  const deserializeAws_json1_1Device = (output, context) => {
5693
5693
  return {
5694
- containerPath: smithy_client_1.expectString(output.containerPath),
5695
- hostPath: smithy_client_1.expectString(output.hostPath),
5694
+ containerPath: (0, smithy_client_1.expectString)(output.containerPath),
5695
+ hostPath: (0, smithy_client_1.expectString)(output.hostPath),
5696
5696
  permissions: output.permissions !== undefined && output.permissions !== null
5697
5697
  ? deserializeAws_json1_1DeviceCgroupPermissions(output.permissions, context)
5698
5698
  : undefined,
@@ -5705,7 +5705,7 @@ const deserializeAws_json1_1DeviceCgroupPermissions = (output, context) => {
5705
5705
  if (entry === null) {
5706
5706
  return null;
5707
5707
  }
5708
- return smithy_client_1.expectString(entry);
5708
+ return (0, smithy_client_1.expectString)(entry);
5709
5709
  });
5710
5710
  return retVal;
5711
5711
  };
@@ -5722,8 +5722,8 @@ const deserializeAws_json1_1DevicesList = (output, context) => {
5722
5722
  };
5723
5723
  const deserializeAws_json1_1DiscoverPollEndpointResponse = (output, context) => {
5724
5724
  return {
5725
- endpoint: smithy_client_1.expectString(output.endpoint),
5726
- telemetryEndpoint: smithy_client_1.expectString(output.telemetryEndpoint),
5725
+ endpoint: (0, smithy_client_1.expectString)(output.endpoint),
5726
+ telemetryEndpoint: (0, smithy_client_1.expectString)(output.telemetryEndpoint),
5727
5727
  };
5728
5728
  };
5729
5729
  const deserializeAws_json1_1DockerLabelsMap = (output, context) => {
@@ -5733,27 +5733,27 @@ const deserializeAws_json1_1DockerLabelsMap = (output, context) => {
5733
5733
  }
5734
5734
  return {
5735
5735
  ...acc,
5736
- [key]: smithy_client_1.expectString(value),
5736
+ [key]: (0, smithy_client_1.expectString)(value),
5737
5737
  };
5738
5738
  }, {});
5739
5739
  };
5740
5740
  const deserializeAws_json1_1DockerVolumeConfiguration = (output, context) => {
5741
5741
  return {
5742
- autoprovision: smithy_client_1.expectBoolean(output.autoprovision),
5743
- driver: smithy_client_1.expectString(output.driver),
5742
+ autoprovision: (0, smithy_client_1.expectBoolean)(output.autoprovision),
5743
+ driver: (0, smithy_client_1.expectString)(output.driver),
5744
5744
  driverOpts: output.driverOpts !== undefined && output.driverOpts !== null
5745
5745
  ? deserializeAws_json1_1StringMap(output.driverOpts, context)
5746
5746
  : undefined,
5747
5747
  labels: output.labels !== undefined && output.labels !== null
5748
5748
  ? deserializeAws_json1_1StringMap(output.labels, context)
5749
5749
  : undefined,
5750
- scope: smithy_client_1.expectString(output.scope),
5750
+ scope: (0, smithy_client_1.expectString)(output.scope),
5751
5751
  };
5752
5752
  };
5753
5753
  const deserializeAws_json1_1EFSAuthorizationConfig = (output, context) => {
5754
5754
  return {
5755
- accessPointId: smithy_client_1.expectString(output.accessPointId),
5756
- iam: smithy_client_1.expectString(output.iam),
5755
+ accessPointId: (0, smithy_client_1.expectString)(output.accessPointId),
5756
+ iam: (0, smithy_client_1.expectString)(output.iam),
5757
5757
  };
5758
5758
  };
5759
5759
  const deserializeAws_json1_1EFSVolumeConfiguration = (output, context) => {
@@ -5761,16 +5761,16 @@ const deserializeAws_json1_1EFSVolumeConfiguration = (output, context) => {
5761
5761
  authorizationConfig: output.authorizationConfig !== undefined && output.authorizationConfig !== null
5762
5762
  ? deserializeAws_json1_1EFSAuthorizationConfig(output.authorizationConfig, context)
5763
5763
  : undefined,
5764
- fileSystemId: smithy_client_1.expectString(output.fileSystemId),
5765
- rootDirectory: smithy_client_1.expectString(output.rootDirectory),
5766
- transitEncryption: smithy_client_1.expectString(output.transitEncryption),
5767
- transitEncryptionPort: smithy_client_1.expectInt32(output.transitEncryptionPort),
5764
+ fileSystemId: (0, smithy_client_1.expectString)(output.fileSystemId),
5765
+ rootDirectory: (0, smithy_client_1.expectString)(output.rootDirectory),
5766
+ transitEncryption: (0, smithy_client_1.expectString)(output.transitEncryption),
5767
+ transitEncryptionPort: (0, smithy_client_1.expectInt32)(output.transitEncryptionPort),
5768
5768
  };
5769
5769
  };
5770
5770
  const deserializeAws_json1_1EnvironmentFile = (output, context) => {
5771
5771
  return {
5772
- type: smithy_client_1.expectString(output.type),
5773
- value: smithy_client_1.expectString(output.value),
5772
+ type: (0, smithy_client_1.expectString)(output.type),
5773
+ value: (0, smithy_client_1.expectString)(output.value),
5774
5774
  };
5775
5775
  };
5776
5776
  const deserializeAws_json1_1EnvironmentFiles = (output, context) => {
@@ -5797,44 +5797,44 @@ const deserializeAws_json1_1EnvironmentVariables = (output, context) => {
5797
5797
  };
5798
5798
  const deserializeAws_json1_1EphemeralStorage = (output, context) => {
5799
5799
  return {
5800
- sizeInGiB: smithy_client_1.expectInt32(output.sizeInGiB),
5800
+ sizeInGiB: (0, smithy_client_1.expectInt32)(output.sizeInGiB),
5801
5801
  };
5802
5802
  };
5803
5803
  const deserializeAws_json1_1ExecuteCommandConfiguration = (output, context) => {
5804
5804
  return {
5805
- kmsKeyId: smithy_client_1.expectString(output.kmsKeyId),
5805
+ kmsKeyId: (0, smithy_client_1.expectString)(output.kmsKeyId),
5806
5806
  logConfiguration: output.logConfiguration !== undefined && output.logConfiguration !== null
5807
5807
  ? deserializeAws_json1_1ExecuteCommandLogConfiguration(output.logConfiguration, context)
5808
5808
  : undefined,
5809
- logging: smithy_client_1.expectString(output.logging),
5809
+ logging: (0, smithy_client_1.expectString)(output.logging),
5810
5810
  };
5811
5811
  };
5812
5812
  const deserializeAws_json1_1ExecuteCommandLogConfiguration = (output, context) => {
5813
5813
  return {
5814
- cloudWatchEncryptionEnabled: smithy_client_1.expectBoolean(output.cloudWatchEncryptionEnabled),
5815
- cloudWatchLogGroupName: smithy_client_1.expectString(output.cloudWatchLogGroupName),
5816
- s3BucketName: smithy_client_1.expectString(output.s3BucketName),
5817
- s3EncryptionEnabled: smithy_client_1.expectBoolean(output.s3EncryptionEnabled),
5818
- s3KeyPrefix: smithy_client_1.expectString(output.s3KeyPrefix),
5814
+ cloudWatchEncryptionEnabled: (0, smithy_client_1.expectBoolean)(output.cloudWatchEncryptionEnabled),
5815
+ cloudWatchLogGroupName: (0, smithy_client_1.expectString)(output.cloudWatchLogGroupName),
5816
+ s3BucketName: (0, smithy_client_1.expectString)(output.s3BucketName),
5817
+ s3EncryptionEnabled: (0, smithy_client_1.expectBoolean)(output.s3EncryptionEnabled),
5818
+ s3KeyPrefix: (0, smithy_client_1.expectString)(output.s3KeyPrefix),
5819
5819
  };
5820
5820
  };
5821
5821
  const deserializeAws_json1_1ExecuteCommandResponse = (output, context) => {
5822
5822
  return {
5823
- clusterArn: smithy_client_1.expectString(output.clusterArn),
5824
- containerArn: smithy_client_1.expectString(output.containerArn),
5825
- containerName: smithy_client_1.expectString(output.containerName),
5826
- interactive: smithy_client_1.expectBoolean(output.interactive),
5823
+ clusterArn: (0, smithy_client_1.expectString)(output.clusterArn),
5824
+ containerArn: (0, smithy_client_1.expectString)(output.containerArn),
5825
+ containerName: (0, smithy_client_1.expectString)(output.containerName),
5826
+ interactive: (0, smithy_client_1.expectBoolean)(output.interactive),
5827
5827
  session: output.session !== undefined && output.session !== null
5828
5828
  ? deserializeAws_json1_1Session(output.session, context)
5829
5829
  : undefined,
5830
- taskArn: smithy_client_1.expectString(output.taskArn),
5830
+ taskArn: (0, smithy_client_1.expectString)(output.taskArn),
5831
5831
  };
5832
5832
  };
5833
5833
  const deserializeAws_json1_1Failure = (output, context) => {
5834
5834
  return {
5835
- arn: smithy_client_1.expectString(output.arn),
5836
- detail: smithy_client_1.expectString(output.detail),
5837
- reason: smithy_client_1.expectString(output.reason),
5835
+ arn: (0, smithy_client_1.expectString)(output.arn),
5836
+ detail: (0, smithy_client_1.expectString)(output.detail),
5837
+ reason: (0, smithy_client_1.expectString)(output.reason),
5838
5838
  };
5839
5839
  };
5840
5840
  const deserializeAws_json1_1Failures = (output, context) => {
@@ -5853,7 +5853,7 @@ const deserializeAws_json1_1FirelensConfiguration = (output, context) => {
5853
5853
  options: output.options !== undefined && output.options !== null
5854
5854
  ? deserializeAws_json1_1FirelensConfigurationOptionsMap(output.options, context)
5855
5855
  : undefined,
5856
- type: smithy_client_1.expectString(output.type),
5856
+ type: (0, smithy_client_1.expectString)(output.type),
5857
5857
  };
5858
5858
  };
5859
5859
  const deserializeAws_json1_1FirelensConfigurationOptionsMap = (output, context) => {
@@ -5863,14 +5863,14 @@ const deserializeAws_json1_1FirelensConfigurationOptionsMap = (output, context)
5863
5863
  }
5864
5864
  return {
5865
5865
  ...acc,
5866
- [key]: smithy_client_1.expectString(value),
5866
+ [key]: (0, smithy_client_1.expectString)(value),
5867
5867
  };
5868
5868
  }, {});
5869
5869
  };
5870
5870
  const deserializeAws_json1_1FSxWindowsFileServerAuthorizationConfig = (output, context) => {
5871
5871
  return {
5872
- credentialsParameter: smithy_client_1.expectString(output.credentialsParameter),
5873
- domain: smithy_client_1.expectString(output.domain),
5872
+ credentialsParameter: (0, smithy_client_1.expectString)(output.credentialsParameter),
5873
+ domain: (0, smithy_client_1.expectString)(output.domain),
5874
5874
  };
5875
5875
  };
5876
5876
  const deserializeAws_json1_1FSxWindowsFileServerVolumeConfiguration = (output, context) => {
@@ -5878,8 +5878,8 @@ const deserializeAws_json1_1FSxWindowsFileServerVolumeConfiguration = (output, c
5878
5878
  authorizationConfig: output.authorizationConfig !== undefined && output.authorizationConfig !== null
5879
5879
  ? deserializeAws_json1_1FSxWindowsFileServerAuthorizationConfig(output.authorizationConfig, context)
5880
5880
  : undefined,
5881
- fileSystemId: smithy_client_1.expectString(output.fileSystemId),
5882
- rootDirectory: smithy_client_1.expectString(output.rootDirectory),
5881
+ fileSystemId: (0, smithy_client_1.expectString)(output.fileSystemId),
5882
+ rootDirectory: (0, smithy_client_1.expectString)(output.rootDirectory),
5883
5883
  };
5884
5884
  };
5885
5885
  const deserializeAws_json1_1GpuIds = (output, context) => {
@@ -5889,7 +5889,7 @@ const deserializeAws_json1_1GpuIds = (output, context) => {
5889
5889
  if (entry === null) {
5890
5890
  return null;
5891
5891
  }
5892
- return smithy_client_1.expectString(entry);
5892
+ return (0, smithy_client_1.expectString)(entry);
5893
5893
  });
5894
5894
  return retVal;
5895
5895
  };
@@ -5898,16 +5898,16 @@ const deserializeAws_json1_1HealthCheck = (output, context) => {
5898
5898
  command: output.command !== undefined && output.command !== null
5899
5899
  ? deserializeAws_json1_1StringList(output.command, context)
5900
5900
  : undefined,
5901
- interval: smithy_client_1.expectInt32(output.interval),
5902
- retries: smithy_client_1.expectInt32(output.retries),
5903
- startPeriod: smithy_client_1.expectInt32(output.startPeriod),
5904
- timeout: smithy_client_1.expectInt32(output.timeout),
5901
+ interval: (0, smithy_client_1.expectInt32)(output.interval),
5902
+ retries: (0, smithy_client_1.expectInt32)(output.retries),
5903
+ startPeriod: (0, smithy_client_1.expectInt32)(output.startPeriod),
5904
+ timeout: (0, smithy_client_1.expectInt32)(output.timeout),
5905
5905
  };
5906
5906
  };
5907
5907
  const deserializeAws_json1_1HostEntry = (output, context) => {
5908
5908
  return {
5909
- hostname: smithy_client_1.expectString(output.hostname),
5910
- ipAddress: smithy_client_1.expectString(output.ipAddress),
5909
+ hostname: (0, smithy_client_1.expectString)(output.hostname),
5910
+ ipAddress: (0, smithy_client_1.expectString)(output.ipAddress),
5911
5911
  };
5912
5912
  };
5913
5913
  const deserializeAws_json1_1HostEntryList = (output, context) => {
@@ -5923,19 +5923,19 @@ const deserializeAws_json1_1HostEntryList = (output, context) => {
5923
5923
  };
5924
5924
  const deserializeAws_json1_1HostVolumeProperties = (output, context) => {
5925
5925
  return {
5926
- sourcePath: smithy_client_1.expectString(output.sourcePath),
5926
+ sourcePath: (0, smithy_client_1.expectString)(output.sourcePath),
5927
5927
  };
5928
5928
  };
5929
5929
  const deserializeAws_json1_1InferenceAccelerator = (output, context) => {
5930
5930
  return {
5931
- deviceName: smithy_client_1.expectString(output.deviceName),
5932
- deviceType: smithy_client_1.expectString(output.deviceType),
5931
+ deviceName: (0, smithy_client_1.expectString)(output.deviceName),
5932
+ deviceType: (0, smithy_client_1.expectString)(output.deviceType),
5933
5933
  };
5934
5934
  };
5935
5935
  const deserializeAws_json1_1InferenceAcceleratorOverride = (output, context) => {
5936
5936
  return {
5937
- deviceName: smithy_client_1.expectString(output.deviceName),
5938
- deviceType: smithy_client_1.expectString(output.deviceType),
5937
+ deviceName: (0, smithy_client_1.expectString)(output.deviceName),
5938
+ deviceType: (0, smithy_client_1.expectString)(output.deviceType),
5939
5939
  };
5940
5940
  };
5941
5941
  const deserializeAws_json1_1InferenceAcceleratorOverrides = (output, context) => {
@@ -5963,13 +5963,13 @@ const deserializeAws_json1_1InferenceAccelerators = (output, context) => {
5963
5963
  const deserializeAws_json1_1InstanceHealthCheckResult = (output, context) => {
5964
5964
  return {
5965
5965
  lastStatusChange: output.lastStatusChange !== undefined && output.lastStatusChange !== null
5966
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastStatusChange)))
5966
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastStatusChange)))
5967
5967
  : undefined,
5968
5968
  lastUpdated: output.lastUpdated !== undefined && output.lastUpdated !== null
5969
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdated)))
5969
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdated)))
5970
5970
  : undefined,
5971
- status: smithy_client_1.expectString(output.status),
5972
- type: smithy_client_1.expectString(output.type),
5971
+ status: (0, smithy_client_1.expectString)(output.status),
5972
+ type: (0, smithy_client_1.expectString)(output.type),
5973
5973
  };
5974
5974
  };
5975
5975
  const deserializeAws_json1_1InstanceHealthCheckResultList = (output, context) => {
@@ -5985,7 +5985,7 @@ const deserializeAws_json1_1InstanceHealthCheckResultList = (output, context) =>
5985
5985
  };
5986
5986
  const deserializeAws_json1_1InvalidParameterException = (output, context) => {
5987
5987
  return {
5988
- message: smithy_client_1.expectString(output.message),
5988
+ message: (0, smithy_client_1.expectString)(output.message),
5989
5989
  };
5990
5990
  };
5991
5991
  const deserializeAws_json1_1KernelCapabilities = (output, context) => {
@@ -6000,13 +6000,13 @@ const deserializeAws_json1_1KernelCapabilities = (output, context) => {
6000
6000
  };
6001
6001
  const deserializeAws_json1_1KeyValuePair = (output, context) => {
6002
6002
  return {
6003
- name: smithy_client_1.expectString(output.name),
6004
- value: smithy_client_1.expectString(output.value),
6003
+ name: (0, smithy_client_1.expectString)(output.name),
6004
+ value: (0, smithy_client_1.expectString)(output.value),
6005
6005
  };
6006
6006
  };
6007
6007
  const deserializeAws_json1_1LimitExceededException = (output, context) => {
6008
6008
  return {
6009
- message: smithy_client_1.expectString(output.message),
6009
+ message: (0, smithy_client_1.expectString)(output.message),
6010
6010
  };
6011
6011
  };
6012
6012
  const deserializeAws_json1_1LinuxParameters = (output, context) => {
@@ -6017,10 +6017,10 @@ const deserializeAws_json1_1LinuxParameters = (output, context) => {
6017
6017
  devices: output.devices !== undefined && output.devices !== null
6018
6018
  ? deserializeAws_json1_1DevicesList(output.devices, context)
6019
6019
  : undefined,
6020
- initProcessEnabled: smithy_client_1.expectBoolean(output.initProcessEnabled),
6021
- maxSwap: smithy_client_1.expectInt32(output.maxSwap),
6022
- sharedMemorySize: smithy_client_1.expectInt32(output.sharedMemorySize),
6023
- swappiness: smithy_client_1.expectInt32(output.swappiness),
6020
+ initProcessEnabled: (0, smithy_client_1.expectBoolean)(output.initProcessEnabled),
6021
+ maxSwap: (0, smithy_client_1.expectInt32)(output.maxSwap),
6022
+ sharedMemorySize: (0, smithy_client_1.expectInt32)(output.sharedMemorySize),
6023
+ swappiness: (0, smithy_client_1.expectInt32)(output.swappiness),
6024
6024
  tmpfs: output.tmpfs !== undefined && output.tmpfs !== null
6025
6025
  ? deserializeAws_json1_1TmpfsList(output.tmpfs, context)
6026
6026
  : undefined,
@@ -6028,7 +6028,7 @@ const deserializeAws_json1_1LinuxParameters = (output, context) => {
6028
6028
  };
6029
6029
  const deserializeAws_json1_1ListAccountSettingsResponse = (output, context) => {
6030
6030
  return {
6031
- nextToken: smithy_client_1.expectString(output.nextToken),
6031
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
6032
6032
  settings: output.settings !== undefined && output.settings !== null
6033
6033
  ? deserializeAws_json1_1Settings(output.settings, context)
6034
6034
  : undefined,
@@ -6039,7 +6039,7 @@ const deserializeAws_json1_1ListAttributesResponse = (output, context) => {
6039
6039
  attributes: output.attributes !== undefined && output.attributes !== null
6040
6040
  ? deserializeAws_json1_1Attributes(output.attributes, context)
6041
6041
  : undefined,
6042
- nextToken: smithy_client_1.expectString(output.nextToken),
6042
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
6043
6043
  };
6044
6044
  };
6045
6045
  const deserializeAws_json1_1ListClustersResponse = (output, context) => {
@@ -6047,7 +6047,7 @@ const deserializeAws_json1_1ListClustersResponse = (output, context) => {
6047
6047
  clusterArns: output.clusterArns !== undefined && output.clusterArns !== null
6048
6048
  ? deserializeAws_json1_1StringList(output.clusterArns, context)
6049
6049
  : undefined,
6050
- nextToken: smithy_client_1.expectString(output.nextToken),
6050
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
6051
6051
  };
6052
6052
  };
6053
6053
  const deserializeAws_json1_1ListContainerInstancesResponse = (output, context) => {
@@ -6055,12 +6055,12 @@ const deserializeAws_json1_1ListContainerInstancesResponse = (output, context) =
6055
6055
  containerInstanceArns: output.containerInstanceArns !== undefined && output.containerInstanceArns !== null
6056
6056
  ? deserializeAws_json1_1StringList(output.containerInstanceArns, context)
6057
6057
  : undefined,
6058
- nextToken: smithy_client_1.expectString(output.nextToken),
6058
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
6059
6059
  };
6060
6060
  };
6061
6061
  const deserializeAws_json1_1ListServicesResponse = (output, context) => {
6062
6062
  return {
6063
- nextToken: smithy_client_1.expectString(output.nextToken),
6063
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
6064
6064
  serviceArns: output.serviceArns !== undefined && output.serviceArns !== null
6065
6065
  ? deserializeAws_json1_1StringList(output.serviceArns, context)
6066
6066
  : undefined,
@@ -6076,12 +6076,12 @@ const deserializeAws_json1_1ListTaskDefinitionFamiliesResponse = (output, contex
6076
6076
  families: output.families !== undefined && output.families !== null
6077
6077
  ? deserializeAws_json1_1StringList(output.families, context)
6078
6078
  : undefined,
6079
- nextToken: smithy_client_1.expectString(output.nextToken),
6079
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
6080
6080
  };
6081
6081
  };
6082
6082
  const deserializeAws_json1_1ListTaskDefinitionsResponse = (output, context) => {
6083
6083
  return {
6084
- nextToken: smithy_client_1.expectString(output.nextToken),
6084
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
6085
6085
  taskDefinitionArns: output.taskDefinitionArns !== undefined && output.taskDefinitionArns !== null
6086
6086
  ? deserializeAws_json1_1StringList(output.taskDefinitionArns, context)
6087
6087
  : undefined,
@@ -6089,7 +6089,7 @@ const deserializeAws_json1_1ListTaskDefinitionsResponse = (output, context) => {
6089
6089
  };
6090
6090
  const deserializeAws_json1_1ListTasksResponse = (output, context) => {
6091
6091
  return {
6092
- nextToken: smithy_client_1.expectString(output.nextToken),
6092
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
6093
6093
  taskArns: output.taskArns !== undefined && output.taskArns !== null
6094
6094
  ? deserializeAws_json1_1StringList(output.taskArns, context)
6095
6095
  : undefined,
@@ -6097,10 +6097,10 @@ const deserializeAws_json1_1ListTasksResponse = (output, context) => {
6097
6097
  };
6098
6098
  const deserializeAws_json1_1LoadBalancer = (output, context) => {
6099
6099
  return {
6100
- containerName: smithy_client_1.expectString(output.containerName),
6101
- containerPort: smithy_client_1.expectInt32(output.containerPort),
6102
- loadBalancerName: smithy_client_1.expectString(output.loadBalancerName),
6103
- targetGroupArn: smithy_client_1.expectString(output.targetGroupArn),
6100
+ containerName: (0, smithy_client_1.expectString)(output.containerName),
6101
+ containerPort: (0, smithy_client_1.expectInt32)(output.containerPort),
6102
+ loadBalancerName: (0, smithy_client_1.expectString)(output.loadBalancerName),
6103
+ targetGroupArn: (0, smithy_client_1.expectString)(output.targetGroupArn),
6104
6104
  };
6105
6105
  };
6106
6106
  const deserializeAws_json1_1LoadBalancers = (output, context) => {
@@ -6116,7 +6116,7 @@ const deserializeAws_json1_1LoadBalancers = (output, context) => {
6116
6116
  };
6117
6117
  const deserializeAws_json1_1LogConfiguration = (output, context) => {
6118
6118
  return {
6119
- logDriver: smithy_client_1.expectString(output.logDriver),
6119
+ logDriver: (0, smithy_client_1.expectString)(output.logDriver),
6120
6120
  options: output.options !== undefined && output.options !== null
6121
6121
  ? deserializeAws_json1_1LogConfigurationOptionsMap(output.options, context)
6122
6122
  : undefined,
@@ -6132,18 +6132,18 @@ const deserializeAws_json1_1LogConfigurationOptionsMap = (output, context) => {
6132
6132
  }
6133
6133
  return {
6134
6134
  ...acc,
6135
- [key]: smithy_client_1.expectString(value),
6135
+ [key]: (0, smithy_client_1.expectString)(value),
6136
6136
  };
6137
6137
  }, {});
6138
6138
  };
6139
6139
  const deserializeAws_json1_1ManagedAgent = (output, context) => {
6140
6140
  return {
6141
6141
  lastStartedAt: output.lastStartedAt !== undefined && output.lastStartedAt !== null
6142
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastStartedAt)))
6142
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastStartedAt)))
6143
6143
  : undefined,
6144
- lastStatus: smithy_client_1.expectString(output.lastStatus),
6145
- name: smithy_client_1.expectString(output.name),
6146
- reason: smithy_client_1.expectString(output.reason),
6144
+ lastStatus: (0, smithy_client_1.expectString)(output.lastStatus),
6145
+ name: (0, smithy_client_1.expectString)(output.name),
6146
+ reason: (0, smithy_client_1.expectString)(output.reason),
6147
6147
  };
6148
6148
  };
6149
6149
  const deserializeAws_json1_1ManagedAgents = (output, context) => {
@@ -6159,23 +6159,23 @@ const deserializeAws_json1_1ManagedAgents = (output, context) => {
6159
6159
  };
6160
6160
  const deserializeAws_json1_1ManagedScaling = (output, context) => {
6161
6161
  return {
6162
- instanceWarmupPeriod: smithy_client_1.expectInt32(output.instanceWarmupPeriod),
6163
- maximumScalingStepSize: smithy_client_1.expectInt32(output.maximumScalingStepSize),
6164
- minimumScalingStepSize: smithy_client_1.expectInt32(output.minimumScalingStepSize),
6165
- status: smithy_client_1.expectString(output.status),
6166
- targetCapacity: smithy_client_1.expectInt32(output.targetCapacity),
6162
+ instanceWarmupPeriod: (0, smithy_client_1.expectInt32)(output.instanceWarmupPeriod),
6163
+ maximumScalingStepSize: (0, smithy_client_1.expectInt32)(output.maximumScalingStepSize),
6164
+ minimumScalingStepSize: (0, smithy_client_1.expectInt32)(output.minimumScalingStepSize),
6165
+ status: (0, smithy_client_1.expectString)(output.status),
6166
+ targetCapacity: (0, smithy_client_1.expectInt32)(output.targetCapacity),
6167
6167
  };
6168
6168
  };
6169
6169
  const deserializeAws_json1_1MissingVersionException = (output, context) => {
6170
6170
  return {
6171
- message: smithy_client_1.expectString(output.message),
6171
+ message: (0, smithy_client_1.expectString)(output.message),
6172
6172
  };
6173
6173
  };
6174
6174
  const deserializeAws_json1_1MountPoint = (output, context) => {
6175
6175
  return {
6176
- containerPath: smithy_client_1.expectString(output.containerPath),
6177
- readOnly: smithy_client_1.expectBoolean(output.readOnly),
6178
- sourceVolume: smithy_client_1.expectString(output.sourceVolume),
6176
+ containerPath: (0, smithy_client_1.expectString)(output.containerPath),
6177
+ readOnly: (0, smithy_client_1.expectBoolean)(output.readOnly),
6178
+ sourceVolume: (0, smithy_client_1.expectString)(output.sourceVolume),
6179
6179
  };
6180
6180
  };
6181
6181
  const deserializeAws_json1_1MountPointList = (output, context) => {
@@ -6191,10 +6191,10 @@ const deserializeAws_json1_1MountPointList = (output, context) => {
6191
6191
  };
6192
6192
  const deserializeAws_json1_1NetworkBinding = (output, context) => {
6193
6193
  return {
6194
- bindIP: smithy_client_1.expectString(output.bindIP),
6195
- containerPort: smithy_client_1.expectInt32(output.containerPort),
6196
- hostPort: smithy_client_1.expectInt32(output.hostPort),
6197
- protocol: smithy_client_1.expectString(output.protocol),
6194
+ bindIP: (0, smithy_client_1.expectString)(output.bindIP),
6195
+ containerPort: (0, smithy_client_1.expectInt32)(output.containerPort),
6196
+ hostPort: (0, smithy_client_1.expectInt32)(output.hostPort),
6197
+ protocol: (0, smithy_client_1.expectString)(output.protocol),
6198
6198
  };
6199
6199
  };
6200
6200
  const deserializeAws_json1_1NetworkBindings = (output, context) => {
@@ -6217,9 +6217,9 @@ const deserializeAws_json1_1NetworkConfiguration = (output, context) => {
6217
6217
  };
6218
6218
  const deserializeAws_json1_1NetworkInterface = (output, context) => {
6219
6219
  return {
6220
- attachmentId: smithy_client_1.expectString(output.attachmentId),
6221
- ipv6Address: smithy_client_1.expectString(output.ipv6Address),
6222
- privateIpv4Address: smithy_client_1.expectString(output.privateIpv4Address),
6220
+ attachmentId: (0, smithy_client_1.expectString)(output.attachmentId),
6221
+ ipv6Address: (0, smithy_client_1.expectString)(output.ipv6Address),
6222
+ privateIpv4Address: (0, smithy_client_1.expectString)(output.privateIpv4Address),
6223
6223
  };
6224
6224
  };
6225
6225
  const deserializeAws_json1_1NetworkInterfaces = (output, context) => {
@@ -6235,13 +6235,13 @@ const deserializeAws_json1_1NetworkInterfaces = (output, context) => {
6235
6235
  };
6236
6236
  const deserializeAws_json1_1NoUpdateAvailableException = (output, context) => {
6237
6237
  return {
6238
- message: smithy_client_1.expectString(output.message),
6238
+ message: (0, smithy_client_1.expectString)(output.message),
6239
6239
  };
6240
6240
  };
6241
6241
  const deserializeAws_json1_1PlacementConstraint = (output, context) => {
6242
6242
  return {
6243
- expression: smithy_client_1.expectString(output.expression),
6244
- type: smithy_client_1.expectString(output.type),
6243
+ expression: (0, smithy_client_1.expectString)(output.expression),
6244
+ type: (0, smithy_client_1.expectString)(output.type),
6245
6245
  };
6246
6246
  };
6247
6247
  const deserializeAws_json1_1PlacementConstraints = (output, context) => {
@@ -6268,25 +6268,25 @@ const deserializeAws_json1_1PlacementStrategies = (output, context) => {
6268
6268
  };
6269
6269
  const deserializeAws_json1_1PlacementStrategy = (output, context) => {
6270
6270
  return {
6271
- field: smithy_client_1.expectString(output.field),
6272
- type: smithy_client_1.expectString(output.type),
6271
+ field: (0, smithy_client_1.expectString)(output.field),
6272
+ type: (0, smithy_client_1.expectString)(output.type),
6273
6273
  };
6274
6274
  };
6275
6275
  const deserializeAws_json1_1PlatformTaskDefinitionIncompatibilityException = (output, context) => {
6276
6276
  return {
6277
- message: smithy_client_1.expectString(output.message),
6277
+ message: (0, smithy_client_1.expectString)(output.message),
6278
6278
  };
6279
6279
  };
6280
6280
  const deserializeAws_json1_1PlatformUnknownException = (output, context) => {
6281
6281
  return {
6282
- message: smithy_client_1.expectString(output.message),
6282
+ message: (0, smithy_client_1.expectString)(output.message),
6283
6283
  };
6284
6284
  };
6285
6285
  const deserializeAws_json1_1PortMapping = (output, context) => {
6286
6286
  return {
6287
- containerPort: smithy_client_1.expectInt32(output.containerPort),
6288
- hostPort: smithy_client_1.expectInt32(output.hostPort),
6289
- protocol: smithy_client_1.expectString(output.protocol),
6287
+ containerPort: (0, smithy_client_1.expectInt32)(output.containerPort),
6288
+ hostPort: (0, smithy_client_1.expectInt32)(output.hostPort),
6289
+ protocol: (0, smithy_client_1.expectString)(output.protocol),
6290
6290
  };
6291
6291
  };
6292
6292
  const deserializeAws_json1_1PortMappingList = (output, context) => {
@@ -6302,11 +6302,11 @@ const deserializeAws_json1_1PortMappingList = (output, context) => {
6302
6302
  };
6303
6303
  const deserializeAws_json1_1ProxyConfiguration = (output, context) => {
6304
6304
  return {
6305
- containerName: smithy_client_1.expectString(output.containerName),
6305
+ containerName: (0, smithy_client_1.expectString)(output.containerName),
6306
6306
  properties: output.properties !== undefined && output.properties !== null
6307
6307
  ? deserializeAws_json1_1ProxyConfigurationProperties(output.properties, context)
6308
6308
  : undefined,
6309
- type: smithy_client_1.expectString(output.type),
6309
+ type: (0, smithy_client_1.expectString)(output.type),
6310
6310
  };
6311
6311
  };
6312
6312
  const deserializeAws_json1_1ProxyConfigurationProperties = (output, context) => {
@@ -6365,7 +6365,7 @@ const deserializeAws_json1_1RegisterTaskDefinitionResponse = (output, context) =
6365
6365
  };
6366
6366
  const deserializeAws_json1_1RepositoryCredentials = (output, context) => {
6367
6367
  return {
6368
- credentialsParameter: smithy_client_1.expectString(output.credentialsParameter),
6368
+ credentialsParameter: (0, smithy_client_1.expectString)(output.credentialsParameter),
6369
6369
  };
6370
6370
  };
6371
6371
  const deserializeAws_json1_1RequiresAttributes = (output, context) => {
@@ -6381,30 +6381,30 @@ const deserializeAws_json1_1RequiresAttributes = (output, context) => {
6381
6381
  };
6382
6382
  const deserializeAws_json1_1Resource = (output, context) => {
6383
6383
  return {
6384
- doubleValue: smithy_client_1.limitedParseDouble(output.doubleValue),
6385
- integerValue: smithy_client_1.expectInt32(output.integerValue),
6386
- longValue: smithy_client_1.expectLong(output.longValue),
6387
- name: smithy_client_1.expectString(output.name),
6384
+ doubleValue: (0, smithy_client_1.limitedParseDouble)(output.doubleValue),
6385
+ integerValue: (0, smithy_client_1.expectInt32)(output.integerValue),
6386
+ longValue: (0, smithy_client_1.expectLong)(output.longValue),
6387
+ name: (0, smithy_client_1.expectString)(output.name),
6388
6388
  stringSetValue: output.stringSetValue !== undefined && output.stringSetValue !== null
6389
6389
  ? deserializeAws_json1_1StringList(output.stringSetValue, context)
6390
6390
  : undefined,
6391
- type: smithy_client_1.expectString(output.type),
6391
+ type: (0, smithy_client_1.expectString)(output.type),
6392
6392
  };
6393
6393
  };
6394
6394
  const deserializeAws_json1_1ResourceInUseException = (output, context) => {
6395
6395
  return {
6396
- message: smithy_client_1.expectString(output.message),
6396
+ message: (0, smithy_client_1.expectString)(output.message),
6397
6397
  };
6398
6398
  };
6399
6399
  const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
6400
6400
  return {
6401
- message: smithy_client_1.expectString(output.message),
6401
+ message: (0, smithy_client_1.expectString)(output.message),
6402
6402
  };
6403
6403
  };
6404
6404
  const deserializeAws_json1_1ResourceRequirement = (output, context) => {
6405
6405
  return {
6406
- type: smithy_client_1.expectString(output.type),
6407
- value: smithy_client_1.expectString(output.value),
6406
+ type: (0, smithy_client_1.expectString)(output.type),
6407
+ value: (0, smithy_client_1.expectString)(output.value),
6408
6408
  };
6409
6409
  };
6410
6410
  const deserializeAws_json1_1ResourceRequirements = (output, context) => {
@@ -6441,20 +6441,20 @@ const deserializeAws_json1_1RunTaskResponse = (output, context) => {
6441
6441
  };
6442
6442
  const deserializeAws_json1_1RuntimePlatform = (output, context) => {
6443
6443
  return {
6444
- cpuArchitecture: smithy_client_1.expectString(output.cpuArchitecture),
6445
- operatingSystemFamily: smithy_client_1.expectString(output.operatingSystemFamily),
6444
+ cpuArchitecture: (0, smithy_client_1.expectString)(output.cpuArchitecture),
6445
+ operatingSystemFamily: (0, smithy_client_1.expectString)(output.operatingSystemFamily),
6446
6446
  };
6447
6447
  };
6448
6448
  const deserializeAws_json1_1Scale = (output, context) => {
6449
6449
  return {
6450
- unit: smithy_client_1.expectString(output.unit),
6451
- value: smithy_client_1.limitedParseDouble(output.value),
6450
+ unit: (0, smithy_client_1.expectString)(output.unit),
6451
+ value: (0, smithy_client_1.limitedParseDouble)(output.value),
6452
6452
  };
6453
6453
  };
6454
6454
  const deserializeAws_json1_1Secret = (output, context) => {
6455
6455
  return {
6456
- name: smithy_client_1.expectString(output.name),
6457
- valueFrom: smithy_client_1.expectString(output.valueFrom),
6456
+ name: (0, smithy_client_1.expectString)(output.name),
6457
+ valueFrom: (0, smithy_client_1.expectString)(output.valueFrom),
6458
6458
  };
6459
6459
  };
6460
6460
  const deserializeAws_json1_1SecretList = (output, context) => {
@@ -6470,7 +6470,7 @@ const deserializeAws_json1_1SecretList = (output, context) => {
6470
6470
  };
6471
6471
  const deserializeAws_json1_1ServerException = (output, context) => {
6472
6472
  return {
6473
- message: smithy_client_1.expectString(output.message),
6473
+ message: (0, smithy_client_1.expectString)(output.message),
6474
6474
  };
6475
6475
  };
6476
6476
  const deserializeAws_json1_1Service = (output, context) => {
@@ -6478,11 +6478,11 @@ const deserializeAws_json1_1Service = (output, context) => {
6478
6478
  capacityProviderStrategy: output.capacityProviderStrategy !== undefined && output.capacityProviderStrategy !== null
6479
6479
  ? deserializeAws_json1_1CapacityProviderStrategy(output.capacityProviderStrategy, context)
6480
6480
  : undefined,
6481
- clusterArn: smithy_client_1.expectString(output.clusterArn),
6481
+ clusterArn: (0, smithy_client_1.expectString)(output.clusterArn),
6482
6482
  createdAt: output.createdAt !== undefined && output.createdAt !== null
6483
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
6483
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
6484
6484
  : undefined,
6485
- createdBy: smithy_client_1.expectString(output.createdBy),
6485
+ createdBy: (0, smithy_client_1.expectString)(output.createdBy),
6486
6486
  deploymentConfiguration: output.deploymentConfiguration !== undefined && output.deploymentConfiguration !== null
6487
6487
  ? deserializeAws_json1_1DeploymentConfiguration(output.deploymentConfiguration, context)
6488
6488
  : undefined,
@@ -6492,41 +6492,41 @@ const deserializeAws_json1_1Service = (output, context) => {
6492
6492
  deployments: output.deployments !== undefined && output.deployments !== null
6493
6493
  ? deserializeAws_json1_1Deployments(output.deployments, context)
6494
6494
  : undefined,
6495
- desiredCount: smithy_client_1.expectInt32(output.desiredCount),
6496
- enableECSManagedTags: smithy_client_1.expectBoolean(output.enableECSManagedTags),
6497
- enableExecuteCommand: smithy_client_1.expectBoolean(output.enableExecuteCommand),
6495
+ desiredCount: (0, smithy_client_1.expectInt32)(output.desiredCount),
6496
+ enableECSManagedTags: (0, smithy_client_1.expectBoolean)(output.enableECSManagedTags),
6497
+ enableExecuteCommand: (0, smithy_client_1.expectBoolean)(output.enableExecuteCommand),
6498
6498
  events: output.events !== undefined && output.events !== null
6499
6499
  ? deserializeAws_json1_1ServiceEvents(output.events, context)
6500
6500
  : undefined,
6501
- healthCheckGracePeriodSeconds: smithy_client_1.expectInt32(output.healthCheckGracePeriodSeconds),
6502
- launchType: smithy_client_1.expectString(output.launchType),
6501
+ healthCheckGracePeriodSeconds: (0, smithy_client_1.expectInt32)(output.healthCheckGracePeriodSeconds),
6502
+ launchType: (0, smithy_client_1.expectString)(output.launchType),
6503
6503
  loadBalancers: output.loadBalancers !== undefined && output.loadBalancers !== null
6504
6504
  ? deserializeAws_json1_1LoadBalancers(output.loadBalancers, context)
6505
6505
  : undefined,
6506
6506
  networkConfiguration: output.networkConfiguration !== undefined && output.networkConfiguration !== null
6507
6507
  ? deserializeAws_json1_1NetworkConfiguration(output.networkConfiguration, context)
6508
6508
  : undefined,
6509
- pendingCount: smithy_client_1.expectInt32(output.pendingCount),
6509
+ pendingCount: (0, smithy_client_1.expectInt32)(output.pendingCount),
6510
6510
  placementConstraints: output.placementConstraints !== undefined && output.placementConstraints !== null
6511
6511
  ? deserializeAws_json1_1PlacementConstraints(output.placementConstraints, context)
6512
6512
  : undefined,
6513
6513
  placementStrategy: output.placementStrategy !== undefined && output.placementStrategy !== null
6514
6514
  ? deserializeAws_json1_1PlacementStrategies(output.placementStrategy, context)
6515
6515
  : undefined,
6516
- platformFamily: smithy_client_1.expectString(output.platformFamily),
6517
- platformVersion: smithy_client_1.expectString(output.platformVersion),
6518
- propagateTags: smithy_client_1.expectString(output.propagateTags),
6519
- roleArn: smithy_client_1.expectString(output.roleArn),
6520
- runningCount: smithy_client_1.expectInt32(output.runningCount),
6521
- schedulingStrategy: smithy_client_1.expectString(output.schedulingStrategy),
6522
- serviceArn: smithy_client_1.expectString(output.serviceArn),
6523
- serviceName: smithy_client_1.expectString(output.serviceName),
6516
+ platformFamily: (0, smithy_client_1.expectString)(output.platformFamily),
6517
+ platformVersion: (0, smithy_client_1.expectString)(output.platformVersion),
6518
+ propagateTags: (0, smithy_client_1.expectString)(output.propagateTags),
6519
+ roleArn: (0, smithy_client_1.expectString)(output.roleArn),
6520
+ runningCount: (0, smithy_client_1.expectInt32)(output.runningCount),
6521
+ schedulingStrategy: (0, smithy_client_1.expectString)(output.schedulingStrategy),
6522
+ serviceArn: (0, smithy_client_1.expectString)(output.serviceArn),
6523
+ serviceName: (0, smithy_client_1.expectString)(output.serviceName),
6524
6524
  serviceRegistries: output.serviceRegistries !== undefined && output.serviceRegistries !== null
6525
6525
  ? deserializeAws_json1_1ServiceRegistries(output.serviceRegistries, context)
6526
6526
  : undefined,
6527
- status: smithy_client_1.expectString(output.status),
6527
+ status: (0, smithy_client_1.expectString)(output.status),
6528
6528
  tags: output.tags !== undefined && output.tags !== null ? deserializeAws_json1_1Tags(output.tags, context) : undefined,
6529
- taskDefinition: smithy_client_1.expectString(output.taskDefinition),
6529
+ taskDefinition: (0, smithy_client_1.expectString)(output.taskDefinition),
6530
6530
  taskSets: output.taskSets !== undefined && output.taskSets !== null
6531
6531
  ? deserializeAws_json1_1TaskSets(output.taskSets, context)
6532
6532
  : undefined,
@@ -6535,10 +6535,10 @@ const deserializeAws_json1_1Service = (output, context) => {
6535
6535
  const deserializeAws_json1_1ServiceEvent = (output, context) => {
6536
6536
  return {
6537
6537
  createdAt: output.createdAt !== undefined && output.createdAt !== null
6538
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
6538
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
6539
6539
  : undefined,
6540
- id: smithy_client_1.expectString(output.id),
6541
- message: smithy_client_1.expectString(output.message),
6540
+ id: (0, smithy_client_1.expectString)(output.id),
6541
+ message: (0, smithy_client_1.expectString)(output.message),
6542
6542
  };
6543
6543
  };
6544
6544
  const deserializeAws_json1_1ServiceEvents = (output, context) => {
@@ -6554,12 +6554,12 @@ const deserializeAws_json1_1ServiceEvents = (output, context) => {
6554
6554
  };
6555
6555
  const deserializeAws_json1_1ServiceNotActiveException = (output, context) => {
6556
6556
  return {
6557
- message: smithy_client_1.expectString(output.message),
6557
+ message: (0, smithy_client_1.expectString)(output.message),
6558
6558
  };
6559
6559
  };
6560
6560
  const deserializeAws_json1_1ServiceNotFoundException = (output, context) => {
6561
6561
  return {
6562
- message: smithy_client_1.expectString(output.message),
6562
+ message: (0, smithy_client_1.expectString)(output.message),
6563
6563
  };
6564
6564
  };
6565
6565
  const deserializeAws_json1_1ServiceRegistries = (output, context) => {
@@ -6575,10 +6575,10 @@ const deserializeAws_json1_1ServiceRegistries = (output, context) => {
6575
6575
  };
6576
6576
  const deserializeAws_json1_1ServiceRegistry = (output, context) => {
6577
6577
  return {
6578
- containerName: smithy_client_1.expectString(output.containerName),
6579
- containerPort: smithy_client_1.expectInt32(output.containerPort),
6580
- port: smithy_client_1.expectInt32(output.port),
6581
- registryArn: smithy_client_1.expectString(output.registryArn),
6578
+ containerName: (0, smithy_client_1.expectString)(output.containerName),
6579
+ containerPort: (0, smithy_client_1.expectInt32)(output.containerPort),
6580
+ port: (0, smithy_client_1.expectInt32)(output.port),
6581
+ registryArn: (0, smithy_client_1.expectString)(output.registryArn),
6582
6582
  };
6583
6583
  };
6584
6584
  const deserializeAws_json1_1Services = (output, context) => {
@@ -6594,16 +6594,16 @@ const deserializeAws_json1_1Services = (output, context) => {
6594
6594
  };
6595
6595
  const deserializeAws_json1_1Session = (output, context) => {
6596
6596
  return {
6597
- sessionId: smithy_client_1.expectString(output.sessionId),
6598
- streamUrl: smithy_client_1.expectString(output.streamUrl),
6599
- tokenValue: smithy_client_1.expectString(output.tokenValue),
6597
+ sessionId: (0, smithy_client_1.expectString)(output.sessionId),
6598
+ streamUrl: (0, smithy_client_1.expectString)(output.streamUrl),
6599
+ tokenValue: (0, smithy_client_1.expectString)(output.tokenValue),
6600
6600
  };
6601
6601
  };
6602
6602
  const deserializeAws_json1_1Setting = (output, context) => {
6603
6603
  return {
6604
- name: smithy_client_1.expectString(output.name),
6605
- principalArn: smithy_client_1.expectString(output.principalArn),
6606
- value: smithy_client_1.expectString(output.value),
6604
+ name: (0, smithy_client_1.expectString)(output.name),
6605
+ principalArn: (0, smithy_client_1.expectString)(output.principalArn),
6606
+ value: (0, smithy_client_1.expectString)(output.value),
6607
6607
  };
6608
6608
  };
6609
6609
  const deserializeAws_json1_1Settings = (output, context) => {
@@ -6650,7 +6650,7 @@ const deserializeAws_json1_1StringList = (output, context) => {
6650
6650
  if (entry === null) {
6651
6651
  return null;
6652
6652
  }
6653
- return smithy_client_1.expectString(entry);
6653
+ return (0, smithy_client_1.expectString)(entry);
6654
6654
  });
6655
6655
  return retVal;
6656
6656
  };
@@ -6661,29 +6661,29 @@ const deserializeAws_json1_1StringMap = (output, context) => {
6661
6661
  }
6662
6662
  return {
6663
6663
  ...acc,
6664
- [key]: smithy_client_1.expectString(value),
6664
+ [key]: (0, smithy_client_1.expectString)(value),
6665
6665
  };
6666
6666
  }, {});
6667
6667
  };
6668
6668
  const deserializeAws_json1_1SubmitAttachmentStateChangesResponse = (output, context) => {
6669
6669
  return {
6670
- acknowledgment: smithy_client_1.expectString(output.acknowledgment),
6670
+ acknowledgment: (0, smithy_client_1.expectString)(output.acknowledgment),
6671
6671
  };
6672
6672
  };
6673
6673
  const deserializeAws_json1_1SubmitContainerStateChangeResponse = (output, context) => {
6674
6674
  return {
6675
- acknowledgment: smithy_client_1.expectString(output.acknowledgment),
6675
+ acknowledgment: (0, smithy_client_1.expectString)(output.acknowledgment),
6676
6676
  };
6677
6677
  };
6678
6678
  const deserializeAws_json1_1SubmitTaskStateChangeResponse = (output, context) => {
6679
6679
  return {
6680
- acknowledgment: smithy_client_1.expectString(output.acknowledgment),
6680
+ acknowledgment: (0, smithy_client_1.expectString)(output.acknowledgment),
6681
6681
  };
6682
6682
  };
6683
6683
  const deserializeAws_json1_1SystemControl = (output, context) => {
6684
6684
  return {
6685
- namespace: smithy_client_1.expectString(output.namespace),
6686
- value: smithy_client_1.expectString(output.value),
6685
+ namespace: (0, smithy_client_1.expectString)(output.namespace),
6686
+ value: (0, smithy_client_1.expectString)(output.value),
6687
6687
  };
6688
6688
  };
6689
6689
  const deserializeAws_json1_1SystemControls = (output, context) => {
@@ -6699,8 +6699,8 @@ const deserializeAws_json1_1SystemControls = (output, context) => {
6699
6699
  };
6700
6700
  const deserializeAws_json1_1Tag = (output, context) => {
6701
6701
  return {
6702
- key: smithy_client_1.expectString(output.key),
6703
- value: smithy_client_1.expectString(output.value),
6702
+ key: (0, smithy_client_1.expectString)(output.key),
6703
+ value: (0, smithy_client_1.expectString)(output.value),
6704
6704
  };
6705
6705
  };
6706
6706
  const deserializeAws_json1_1TagResourceResponse = (output, context) => {
@@ -6719,12 +6719,12 @@ const deserializeAws_json1_1Tags = (output, context) => {
6719
6719
  };
6720
6720
  const deserializeAws_json1_1TargetNotConnectedException = (output, context) => {
6721
6721
  return {
6722
- message: smithy_client_1.expectString(output.message),
6722
+ message: (0, smithy_client_1.expectString)(output.message),
6723
6723
  };
6724
6724
  };
6725
6725
  const deserializeAws_json1_1TargetNotFoundException = (output, context) => {
6726
6726
  return {
6727
- message: smithy_client_1.expectString(output.message),
6727
+ message: (0, smithy_client_1.expectString)(output.message),
6728
6728
  };
6729
6729
  };
6730
6730
  const deserializeAws_json1_1Task = (output, context) => {
@@ -6735,64 +6735,64 @@ const deserializeAws_json1_1Task = (output, context) => {
6735
6735
  attributes: output.attributes !== undefined && output.attributes !== null
6736
6736
  ? deserializeAws_json1_1Attributes(output.attributes, context)
6737
6737
  : undefined,
6738
- availabilityZone: smithy_client_1.expectString(output.availabilityZone),
6739
- capacityProviderName: smithy_client_1.expectString(output.capacityProviderName),
6740
- clusterArn: smithy_client_1.expectString(output.clusterArn),
6741
- connectivity: smithy_client_1.expectString(output.connectivity),
6738
+ availabilityZone: (0, smithy_client_1.expectString)(output.availabilityZone),
6739
+ capacityProviderName: (0, smithy_client_1.expectString)(output.capacityProviderName),
6740
+ clusterArn: (0, smithy_client_1.expectString)(output.clusterArn),
6741
+ connectivity: (0, smithy_client_1.expectString)(output.connectivity),
6742
6742
  connectivityAt: output.connectivityAt !== undefined && output.connectivityAt !== null
6743
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.connectivityAt)))
6743
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.connectivityAt)))
6744
6744
  : undefined,
6745
- containerInstanceArn: smithy_client_1.expectString(output.containerInstanceArn),
6745
+ containerInstanceArn: (0, smithy_client_1.expectString)(output.containerInstanceArn),
6746
6746
  containers: output.containers !== undefined && output.containers !== null
6747
6747
  ? deserializeAws_json1_1Containers(output.containers, context)
6748
6748
  : undefined,
6749
- cpu: smithy_client_1.expectString(output.cpu),
6749
+ cpu: (0, smithy_client_1.expectString)(output.cpu),
6750
6750
  createdAt: output.createdAt !== undefined && output.createdAt !== null
6751
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
6751
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
6752
6752
  : undefined,
6753
- desiredStatus: smithy_client_1.expectString(output.desiredStatus),
6754
- enableExecuteCommand: smithy_client_1.expectBoolean(output.enableExecuteCommand),
6753
+ desiredStatus: (0, smithy_client_1.expectString)(output.desiredStatus),
6754
+ enableExecuteCommand: (0, smithy_client_1.expectBoolean)(output.enableExecuteCommand),
6755
6755
  ephemeralStorage: output.ephemeralStorage !== undefined && output.ephemeralStorage !== null
6756
6756
  ? deserializeAws_json1_1EphemeralStorage(output.ephemeralStorage, context)
6757
6757
  : undefined,
6758
6758
  executionStoppedAt: output.executionStoppedAt !== undefined && output.executionStoppedAt !== null
6759
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.executionStoppedAt)))
6759
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.executionStoppedAt)))
6760
6760
  : undefined,
6761
- group: smithy_client_1.expectString(output.group),
6762
- healthStatus: smithy_client_1.expectString(output.healthStatus),
6761
+ group: (0, smithy_client_1.expectString)(output.group),
6762
+ healthStatus: (0, smithy_client_1.expectString)(output.healthStatus),
6763
6763
  inferenceAccelerators: output.inferenceAccelerators !== undefined && output.inferenceAccelerators !== null
6764
6764
  ? deserializeAws_json1_1InferenceAccelerators(output.inferenceAccelerators, context)
6765
6765
  : undefined,
6766
- lastStatus: smithy_client_1.expectString(output.lastStatus),
6767
- launchType: smithy_client_1.expectString(output.launchType),
6768
- memory: smithy_client_1.expectString(output.memory),
6766
+ lastStatus: (0, smithy_client_1.expectString)(output.lastStatus),
6767
+ launchType: (0, smithy_client_1.expectString)(output.launchType),
6768
+ memory: (0, smithy_client_1.expectString)(output.memory),
6769
6769
  overrides: output.overrides !== undefined && output.overrides !== null
6770
6770
  ? deserializeAws_json1_1TaskOverride(output.overrides, context)
6771
6771
  : undefined,
6772
- platformFamily: smithy_client_1.expectString(output.platformFamily),
6773
- platformVersion: smithy_client_1.expectString(output.platformVersion),
6772
+ platformFamily: (0, smithy_client_1.expectString)(output.platformFamily),
6773
+ platformVersion: (0, smithy_client_1.expectString)(output.platformVersion),
6774
6774
  pullStartedAt: output.pullStartedAt !== undefined && output.pullStartedAt !== null
6775
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.pullStartedAt)))
6775
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.pullStartedAt)))
6776
6776
  : undefined,
6777
6777
  pullStoppedAt: output.pullStoppedAt !== undefined && output.pullStoppedAt !== null
6778
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.pullStoppedAt)))
6778
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.pullStoppedAt)))
6779
6779
  : undefined,
6780
6780
  startedAt: output.startedAt !== undefined && output.startedAt !== null
6781
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startedAt)))
6781
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startedAt)))
6782
6782
  : undefined,
6783
- startedBy: smithy_client_1.expectString(output.startedBy),
6784
- stopCode: smithy_client_1.expectString(output.stopCode),
6783
+ startedBy: (0, smithy_client_1.expectString)(output.startedBy),
6784
+ stopCode: (0, smithy_client_1.expectString)(output.stopCode),
6785
6785
  stoppedAt: output.stoppedAt !== undefined && output.stoppedAt !== null
6786
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.stoppedAt)))
6786
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.stoppedAt)))
6787
6787
  : undefined,
6788
- stoppedReason: smithy_client_1.expectString(output.stoppedReason),
6788
+ stoppedReason: (0, smithy_client_1.expectString)(output.stoppedReason),
6789
6789
  stoppingAt: output.stoppingAt !== undefined && output.stoppingAt !== null
6790
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.stoppingAt)))
6790
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.stoppingAt)))
6791
6791
  : undefined,
6792
6792
  tags: output.tags !== undefined && output.tags !== null ? deserializeAws_json1_1Tags(output.tags, context) : undefined,
6793
- taskArn: smithy_client_1.expectString(output.taskArn),
6794
- taskDefinitionArn: smithy_client_1.expectString(output.taskDefinitionArn),
6795
- version: smithy_client_1.expectLong(output.version),
6793
+ taskArn: (0, smithy_client_1.expectString)(output.taskArn),
6794
+ taskDefinitionArn: (0, smithy_client_1.expectString)(output.taskDefinitionArn),
6795
+ version: (0, smithy_client_1.expectLong)(output.version),
6796
6796
  };
6797
6797
  };
6798
6798
  const deserializeAws_json1_1TaskDefinition = (output, context) => {
@@ -6803,22 +6803,22 @@ const deserializeAws_json1_1TaskDefinition = (output, context) => {
6803
6803
  containerDefinitions: output.containerDefinitions !== undefined && output.containerDefinitions !== null
6804
6804
  ? deserializeAws_json1_1ContainerDefinitions(output.containerDefinitions, context)
6805
6805
  : undefined,
6806
- cpu: smithy_client_1.expectString(output.cpu),
6806
+ cpu: (0, smithy_client_1.expectString)(output.cpu),
6807
6807
  deregisteredAt: output.deregisteredAt !== undefined && output.deregisteredAt !== null
6808
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.deregisteredAt)))
6808
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.deregisteredAt)))
6809
6809
  : undefined,
6810
6810
  ephemeralStorage: output.ephemeralStorage !== undefined && output.ephemeralStorage !== null
6811
6811
  ? deserializeAws_json1_1EphemeralStorage(output.ephemeralStorage, context)
6812
6812
  : undefined,
6813
- executionRoleArn: smithy_client_1.expectString(output.executionRoleArn),
6814
- family: smithy_client_1.expectString(output.family),
6813
+ executionRoleArn: (0, smithy_client_1.expectString)(output.executionRoleArn),
6814
+ family: (0, smithy_client_1.expectString)(output.family),
6815
6815
  inferenceAccelerators: output.inferenceAccelerators !== undefined && output.inferenceAccelerators !== null
6816
6816
  ? deserializeAws_json1_1InferenceAccelerators(output.inferenceAccelerators, context)
6817
6817
  : undefined,
6818
- ipcMode: smithy_client_1.expectString(output.ipcMode),
6819
- memory: smithy_client_1.expectString(output.memory),
6820
- networkMode: smithy_client_1.expectString(output.networkMode),
6821
- pidMode: smithy_client_1.expectString(output.pidMode),
6818
+ ipcMode: (0, smithy_client_1.expectString)(output.ipcMode),
6819
+ memory: (0, smithy_client_1.expectString)(output.memory),
6820
+ networkMode: (0, smithy_client_1.expectString)(output.networkMode),
6821
+ pidMode: (0, smithy_client_1.expectString)(output.pidMode),
6822
6822
  placementConstraints: output.placementConstraints !== undefined && output.placementConstraints !== null
6823
6823
  ? deserializeAws_json1_1TaskDefinitionPlacementConstraints(output.placementConstraints, context)
6824
6824
  : undefined,
@@ -6826,22 +6826,22 @@ const deserializeAws_json1_1TaskDefinition = (output, context) => {
6826
6826
  ? deserializeAws_json1_1ProxyConfiguration(output.proxyConfiguration, context)
6827
6827
  : undefined,
6828
6828
  registeredAt: output.registeredAt !== undefined && output.registeredAt !== null
6829
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.registeredAt)))
6829
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.registeredAt)))
6830
6830
  : undefined,
6831
- registeredBy: smithy_client_1.expectString(output.registeredBy),
6831
+ registeredBy: (0, smithy_client_1.expectString)(output.registeredBy),
6832
6832
  requiresAttributes: output.requiresAttributes !== undefined && output.requiresAttributes !== null
6833
6833
  ? deserializeAws_json1_1RequiresAttributes(output.requiresAttributes, context)
6834
6834
  : undefined,
6835
6835
  requiresCompatibilities: output.requiresCompatibilities !== undefined && output.requiresCompatibilities !== null
6836
6836
  ? deserializeAws_json1_1CompatibilityList(output.requiresCompatibilities, context)
6837
6837
  : undefined,
6838
- revision: smithy_client_1.expectInt32(output.revision),
6838
+ revision: (0, smithy_client_1.expectInt32)(output.revision),
6839
6839
  runtimePlatform: output.runtimePlatform !== undefined && output.runtimePlatform !== null
6840
6840
  ? deserializeAws_json1_1RuntimePlatform(output.runtimePlatform, context)
6841
6841
  : undefined,
6842
- status: smithy_client_1.expectString(output.status),
6843
- taskDefinitionArn: smithy_client_1.expectString(output.taskDefinitionArn),
6844
- taskRoleArn: smithy_client_1.expectString(output.taskRoleArn),
6842
+ status: (0, smithy_client_1.expectString)(output.status),
6843
+ taskDefinitionArn: (0, smithy_client_1.expectString)(output.taskDefinitionArn),
6844
+ taskRoleArn: (0, smithy_client_1.expectString)(output.taskRoleArn),
6845
6845
  volumes: output.volumes !== undefined && output.volumes !== null
6846
6846
  ? deserializeAws_json1_1VolumeList(output.volumes, context)
6847
6847
  : undefined,
@@ -6849,8 +6849,8 @@ const deserializeAws_json1_1TaskDefinition = (output, context) => {
6849
6849
  };
6850
6850
  const deserializeAws_json1_1TaskDefinitionPlacementConstraint = (output, context) => {
6851
6851
  return {
6852
- expression: smithy_client_1.expectString(output.expression),
6853
- type: smithy_client_1.expectString(output.type),
6852
+ expression: (0, smithy_client_1.expectString)(output.expression),
6853
+ type: (0, smithy_client_1.expectString)(output.type),
6854
6854
  };
6855
6855
  };
6856
6856
  const deserializeAws_json1_1TaskDefinitionPlacementConstraints = (output, context) => {
@@ -6869,16 +6869,16 @@ const deserializeAws_json1_1TaskOverride = (output, context) => {
6869
6869
  containerOverrides: output.containerOverrides !== undefined && output.containerOverrides !== null
6870
6870
  ? deserializeAws_json1_1ContainerOverrides(output.containerOverrides, context)
6871
6871
  : undefined,
6872
- cpu: smithy_client_1.expectString(output.cpu),
6872
+ cpu: (0, smithy_client_1.expectString)(output.cpu),
6873
6873
  ephemeralStorage: output.ephemeralStorage !== undefined && output.ephemeralStorage !== null
6874
6874
  ? deserializeAws_json1_1EphemeralStorage(output.ephemeralStorage, context)
6875
6875
  : undefined,
6876
- executionRoleArn: smithy_client_1.expectString(output.executionRoleArn),
6876
+ executionRoleArn: (0, smithy_client_1.expectString)(output.executionRoleArn),
6877
6877
  inferenceAcceleratorOverrides: output.inferenceAcceleratorOverrides !== undefined && output.inferenceAcceleratorOverrides !== null
6878
6878
  ? deserializeAws_json1_1InferenceAcceleratorOverrides(output.inferenceAcceleratorOverrides, context)
6879
6879
  : undefined,
6880
- memory: smithy_client_1.expectString(output.memory),
6881
- taskRoleArn: smithy_client_1.expectString(output.taskRoleArn),
6880
+ memory: (0, smithy_client_1.expectString)(output.memory),
6881
+ taskRoleArn: (0, smithy_client_1.expectString)(output.taskRoleArn),
6882
6882
  };
6883
6883
  };
6884
6884
  const deserializeAws_json1_1Tasks = (output, context) => {
@@ -6897,48 +6897,48 @@ const deserializeAws_json1_1TaskSet = (output, context) => {
6897
6897
  capacityProviderStrategy: output.capacityProviderStrategy !== undefined && output.capacityProviderStrategy !== null
6898
6898
  ? deserializeAws_json1_1CapacityProviderStrategy(output.capacityProviderStrategy, context)
6899
6899
  : undefined,
6900
- clusterArn: smithy_client_1.expectString(output.clusterArn),
6901
- computedDesiredCount: smithy_client_1.expectInt32(output.computedDesiredCount),
6900
+ clusterArn: (0, smithy_client_1.expectString)(output.clusterArn),
6901
+ computedDesiredCount: (0, smithy_client_1.expectInt32)(output.computedDesiredCount),
6902
6902
  createdAt: output.createdAt !== undefined && output.createdAt !== null
6903
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
6903
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
6904
6904
  : undefined,
6905
- externalId: smithy_client_1.expectString(output.externalId),
6906
- id: smithy_client_1.expectString(output.id),
6907
- launchType: smithy_client_1.expectString(output.launchType),
6905
+ externalId: (0, smithy_client_1.expectString)(output.externalId),
6906
+ id: (0, smithy_client_1.expectString)(output.id),
6907
+ launchType: (0, smithy_client_1.expectString)(output.launchType),
6908
6908
  loadBalancers: output.loadBalancers !== undefined && output.loadBalancers !== null
6909
6909
  ? deserializeAws_json1_1LoadBalancers(output.loadBalancers, context)
6910
6910
  : undefined,
6911
6911
  networkConfiguration: output.networkConfiguration !== undefined && output.networkConfiguration !== null
6912
6912
  ? deserializeAws_json1_1NetworkConfiguration(output.networkConfiguration, context)
6913
6913
  : undefined,
6914
- pendingCount: smithy_client_1.expectInt32(output.pendingCount),
6915
- platformFamily: smithy_client_1.expectString(output.platformFamily),
6916
- platformVersion: smithy_client_1.expectString(output.platformVersion),
6917
- runningCount: smithy_client_1.expectInt32(output.runningCount),
6914
+ pendingCount: (0, smithy_client_1.expectInt32)(output.pendingCount),
6915
+ platformFamily: (0, smithy_client_1.expectString)(output.platformFamily),
6916
+ platformVersion: (0, smithy_client_1.expectString)(output.platformVersion),
6917
+ runningCount: (0, smithy_client_1.expectInt32)(output.runningCount),
6918
6918
  scale: output.scale !== undefined && output.scale !== null
6919
6919
  ? deserializeAws_json1_1Scale(output.scale, context)
6920
6920
  : undefined,
6921
- serviceArn: smithy_client_1.expectString(output.serviceArn),
6921
+ serviceArn: (0, smithy_client_1.expectString)(output.serviceArn),
6922
6922
  serviceRegistries: output.serviceRegistries !== undefined && output.serviceRegistries !== null
6923
6923
  ? deserializeAws_json1_1ServiceRegistries(output.serviceRegistries, context)
6924
6924
  : undefined,
6925
- stabilityStatus: smithy_client_1.expectString(output.stabilityStatus),
6925
+ stabilityStatus: (0, smithy_client_1.expectString)(output.stabilityStatus),
6926
6926
  stabilityStatusAt: output.stabilityStatusAt !== undefined && output.stabilityStatusAt !== null
6927
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.stabilityStatusAt)))
6927
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.stabilityStatusAt)))
6928
6928
  : undefined,
6929
- startedBy: smithy_client_1.expectString(output.startedBy),
6930
- status: smithy_client_1.expectString(output.status),
6929
+ startedBy: (0, smithy_client_1.expectString)(output.startedBy),
6930
+ status: (0, smithy_client_1.expectString)(output.status),
6931
6931
  tags: output.tags !== undefined && output.tags !== null ? deserializeAws_json1_1Tags(output.tags, context) : undefined,
6932
- taskDefinition: smithy_client_1.expectString(output.taskDefinition),
6933
- taskSetArn: smithy_client_1.expectString(output.taskSetArn),
6932
+ taskDefinition: (0, smithy_client_1.expectString)(output.taskDefinition),
6933
+ taskSetArn: (0, smithy_client_1.expectString)(output.taskSetArn),
6934
6934
  updatedAt: output.updatedAt !== undefined && output.updatedAt !== null
6935
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.updatedAt)))
6935
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updatedAt)))
6936
6936
  : undefined,
6937
6937
  };
6938
6938
  };
6939
6939
  const deserializeAws_json1_1TaskSetNotFoundException = (output, context) => {
6940
6940
  return {
6941
- message: smithy_client_1.expectString(output.message),
6941
+ message: (0, smithy_client_1.expectString)(output.message),
6942
6942
  };
6943
6943
  };
6944
6944
  const deserializeAws_json1_1TaskSets = (output, context) => {
@@ -6954,11 +6954,11 @@ const deserializeAws_json1_1TaskSets = (output, context) => {
6954
6954
  };
6955
6955
  const deserializeAws_json1_1Tmpfs = (output, context) => {
6956
6956
  return {
6957
- containerPath: smithy_client_1.expectString(output.containerPath),
6957
+ containerPath: (0, smithy_client_1.expectString)(output.containerPath),
6958
6958
  mountOptions: output.mountOptions !== undefined && output.mountOptions !== null
6959
6959
  ? deserializeAws_json1_1StringList(output.mountOptions, context)
6960
6960
  : undefined,
6961
- size: smithy_client_1.expectInt32(output.size),
6961
+ size: (0, smithy_client_1.expectInt32)(output.size),
6962
6962
  };
6963
6963
  };
6964
6964
  const deserializeAws_json1_1TmpfsList = (output, context) => {
@@ -6974,9 +6974,9 @@ const deserializeAws_json1_1TmpfsList = (output, context) => {
6974
6974
  };
6975
6975
  const deserializeAws_json1_1Ulimit = (output, context) => {
6976
6976
  return {
6977
- hardLimit: smithy_client_1.expectInt32(output.hardLimit),
6978
- name: smithy_client_1.expectString(output.name),
6979
- softLimit: smithy_client_1.expectInt32(output.softLimit),
6977
+ hardLimit: (0, smithy_client_1.expectInt32)(output.hardLimit),
6978
+ name: (0, smithy_client_1.expectString)(output.name),
6979
+ softLimit: (0, smithy_client_1.expectInt32)(output.softLimit),
6980
6980
  };
6981
6981
  };
6982
6982
  const deserializeAws_json1_1UlimitList = (output, context) => {
@@ -6992,7 +6992,7 @@ const deserializeAws_json1_1UlimitList = (output, context) => {
6992
6992
  };
6993
6993
  const deserializeAws_json1_1UnsupportedFeatureException = (output, context) => {
6994
6994
  return {
6995
- message: smithy_client_1.expectString(output.message),
6995
+ message: (0, smithy_client_1.expectString)(output.message),
6996
6996
  };
6997
6997
  };
6998
6998
  const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
@@ -7038,7 +7038,7 @@ const deserializeAws_json1_1UpdateContainerInstancesStateResponse = (output, con
7038
7038
  };
7039
7039
  const deserializeAws_json1_1UpdateInProgressException = (output, context) => {
7040
7040
  return {
7041
- message: smithy_client_1.expectString(output.message),
7041
+ message: (0, smithy_client_1.expectString)(output.message),
7042
7042
  };
7043
7043
  };
7044
7044
  const deserializeAws_json1_1UpdateServicePrimaryTaskSetResponse = (output, context) => {
@@ -7064,9 +7064,9 @@ const deserializeAws_json1_1UpdateTaskSetResponse = (output, context) => {
7064
7064
  };
7065
7065
  const deserializeAws_json1_1VersionInfo = (output, context) => {
7066
7066
  return {
7067
- agentHash: smithy_client_1.expectString(output.agentHash),
7068
- agentVersion: smithy_client_1.expectString(output.agentVersion),
7069
- dockerVersion: smithy_client_1.expectString(output.dockerVersion),
7067
+ agentHash: (0, smithy_client_1.expectString)(output.agentHash),
7068
+ agentVersion: (0, smithy_client_1.expectString)(output.agentVersion),
7069
+ dockerVersion: (0, smithy_client_1.expectString)(output.dockerVersion),
7070
7070
  };
7071
7071
  };
7072
7072
  const deserializeAws_json1_1Volume = (output, context) => {
@@ -7084,13 +7084,13 @@ const deserializeAws_json1_1Volume = (output, context) => {
7084
7084
  host: output.host !== undefined && output.host !== null
7085
7085
  ? deserializeAws_json1_1HostVolumeProperties(output.host, context)
7086
7086
  : undefined,
7087
- name: smithy_client_1.expectString(output.name),
7087
+ name: (0, smithy_client_1.expectString)(output.name),
7088
7088
  };
7089
7089
  };
7090
7090
  const deserializeAws_json1_1VolumeFrom = (output, context) => {
7091
7091
  return {
7092
- readOnly: smithy_client_1.expectBoolean(output.readOnly),
7093
- sourceContainer: smithy_client_1.expectString(output.sourceContainer),
7092
+ readOnly: (0, smithy_client_1.expectBoolean)(output.readOnly),
7093
+ sourceContainer: (0, smithy_client_1.expectString)(output.sourceContainer),
7094
7094
  };
7095
7095
  };
7096
7096
  const deserializeAws_json1_1VolumeFromList = (output, context) => {