@aws-sdk/client-ecs 3.53.0 → 3.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/CHANGELOG.md +30 -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/models/models_0.js +1 -0
  57. package/dist-cjs/protocols/Aws_json1_1.js +445 -434
  58. package/dist-cjs/runtimeConfig.browser.js +4 -4
  59. package/dist-cjs/runtimeConfig.js +9 -9
  60. package/dist-cjs/runtimeConfig.native.js +1 -1
  61. package/dist-cjs/waiters/waitForServicesInactive.js +3 -3
  62. package/dist-cjs/waiters/waitForTasksRunning.js +3 -3
  63. package/dist-cjs/waiters/waitForTasksStopped.js +3 -3
  64. package/dist-es/ECS.js +52 -52
  65. package/dist-es/models/models_0.js +1 -0
  66. package/dist-es/pagination/ListAccountSettingsPaginator.js +4 -4
  67. package/dist-es/pagination/ListAttributesPaginator.js +4 -4
  68. package/dist-es/pagination/ListClustersPaginator.js +4 -4
  69. package/dist-es/pagination/ListContainerInstancesPaginator.js +4 -4
  70. package/dist-es/pagination/ListServicesPaginator.js +4 -4
  71. package/dist-es/pagination/ListTaskDefinitionFamiliesPaginator.js +4 -4
  72. package/dist-es/pagination/ListTaskDefinitionsPaginator.js +4 -4
  73. package/dist-es/pagination/ListTasksPaginator.js +4 -4
  74. package/dist-es/protocols/Aws_json1_1.js +10 -3
  75. package/dist-es/waiters/waitForServicesInactive.js +2 -2
  76. package/dist-es/waiters/waitForTasksRunning.js +3 -3
  77. package/dist-es/waiters/waitForTasksStopped.js +1 -1
  78. package/dist-types/ECS.d.ts +42 -21
  79. package/dist-types/ECSClient.d.ts +2 -2
  80. package/dist-types/commands/CreateServiceCommand.d.ts +1 -2
  81. package/dist-types/commands/PutAccountSettingCommand.d.ts +1 -1
  82. package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +2 -2
  83. package/dist-types/commands/UpdateServiceCommand.d.ts +38 -16
  84. package/dist-types/models/models_0.d.ts +167 -61
  85. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  86. package/dist-types/runtimeConfig.d.ts +1 -1
  87. package/dist-types/runtimeConfig.native.d.ts +3 -3
  88. package/dist-types/ts3.4/ECSClient.d.ts +2 -2
  89. package/dist-types/ts3.4/models/models_0.d.ts +9 -0
  90. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  91. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  92. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  93. 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) => {
@@ -4904,6 +4904,8 @@ const serializeAws_json1_1UpdateServiceRequest = (input, context) => {
4904
4904
  deploymentConfiguration: serializeAws_json1_1DeploymentConfiguration(input.deploymentConfiguration, context),
4905
4905
  }),
4906
4906
  ...(input.desiredCount !== undefined && input.desiredCount !== null && { desiredCount: input.desiredCount }),
4907
+ ...(input.enableECSManagedTags !== undefined &&
4908
+ input.enableECSManagedTags !== null && { enableECSManagedTags: input.enableECSManagedTags }),
4907
4909
  ...(input.enableExecuteCommand !== undefined &&
4908
4910
  input.enableExecuteCommand !== null && { enableExecuteCommand: input.enableExecuteCommand }),
4909
4911
  ...(input.forceNewDeployment !== undefined &&
@@ -4912,6 +4914,10 @@ const serializeAws_json1_1UpdateServiceRequest = (input, context) => {
4912
4914
  input.healthCheckGracePeriodSeconds !== null && {
4913
4915
  healthCheckGracePeriodSeconds: input.healthCheckGracePeriodSeconds,
4914
4916
  }),
4917
+ ...(input.loadBalancers !== undefined &&
4918
+ input.loadBalancers !== null && {
4919
+ loadBalancers: serializeAws_json1_1LoadBalancers(input.loadBalancers, context),
4920
+ }),
4915
4921
  ...(input.networkConfiguration !== undefined &&
4916
4922
  input.networkConfiguration !== null && {
4917
4923
  networkConfiguration: serializeAws_json1_1NetworkConfiguration(input.networkConfiguration, context),
@@ -4926,7 +4932,12 @@ const serializeAws_json1_1UpdateServiceRequest = (input, context) => {
4926
4932
  }),
4927
4933
  ...(input.platformVersion !== undefined &&
4928
4934
  input.platformVersion !== null && { platformVersion: input.platformVersion }),
4935
+ ...(input.propagateTags !== undefined && input.propagateTags !== null && { propagateTags: input.propagateTags }),
4929
4936
  ...(input.service !== undefined && input.service !== null && { service: input.service }),
4937
+ ...(input.serviceRegistries !== undefined &&
4938
+ input.serviceRegistries !== null && {
4939
+ serviceRegistries: serializeAws_json1_1ServiceRegistries(input.serviceRegistries, context),
4940
+ }),
4930
4941
  ...(input.taskDefinition !== undefined &&
4931
4942
  input.taskDefinition !== null && { taskDefinition: input.taskDefinition }),
4932
4943
  };
@@ -4995,7 +5006,7 @@ const serializeAws_json1_1VolumeList = (input, context) => {
4995
5006
  };
4996
5007
  const deserializeAws_json1_1AccessDeniedException = (output, context) => {
4997
5008
  return {
4998
- message: smithy_client_1.expectString(output.message),
5009
+ message: (0, smithy_client_1.expectString)(output.message),
4999
5010
  };
5000
5011
  };
5001
5012
  const deserializeAws_json1_1Attachment = (output, context) => {
@@ -5003,9 +5014,9 @@ const deserializeAws_json1_1Attachment = (output, context) => {
5003
5014
  details: output.details !== undefined && output.details !== null
5004
5015
  ? deserializeAws_json1_1AttachmentDetails(output.details, context)
5005
5016
  : undefined,
5006
- id: smithy_client_1.expectString(output.id),
5007
- status: smithy_client_1.expectString(output.status),
5008
- 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),
5009
5020
  };
5010
5021
  };
5011
5022
  const deserializeAws_json1_1AttachmentDetails = (output, context) => {
@@ -5032,15 +5043,15 @@ const deserializeAws_json1_1Attachments = (output, context) => {
5032
5043
  };
5033
5044
  const deserializeAws_json1_1Attribute = (output, context) => {
5034
5045
  return {
5035
- name: smithy_client_1.expectString(output.name),
5036
- targetId: smithy_client_1.expectString(output.targetId),
5037
- targetType: smithy_client_1.expectString(output.targetType),
5038
- 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),
5039
5050
  };
5040
5051
  };
5041
5052
  const deserializeAws_json1_1AttributeLimitExceededException = (output, context) => {
5042
5053
  return {
5043
- message: smithy_client_1.expectString(output.message),
5054
+ message: (0, smithy_client_1.expectString)(output.message),
5044
5055
  };
5045
5056
  };
5046
5057
  const deserializeAws_json1_1Attributes = (output, context) => {
@@ -5056,16 +5067,16 @@ const deserializeAws_json1_1Attributes = (output, context) => {
5056
5067
  };
5057
5068
  const deserializeAws_json1_1AutoScalingGroupProvider = (output, context) => {
5058
5069
  return {
5059
- autoScalingGroupArn: smithy_client_1.expectString(output.autoScalingGroupArn),
5070
+ autoScalingGroupArn: (0, smithy_client_1.expectString)(output.autoScalingGroupArn),
5060
5071
  managedScaling: output.managedScaling !== undefined && output.managedScaling !== null
5061
5072
  ? deserializeAws_json1_1ManagedScaling(output.managedScaling, context)
5062
5073
  : undefined,
5063
- managedTerminationProtection: smithy_client_1.expectString(output.managedTerminationProtection),
5074
+ managedTerminationProtection: (0, smithy_client_1.expectString)(output.managedTerminationProtection),
5064
5075
  };
5065
5076
  };
5066
5077
  const deserializeAws_json1_1AwsVpcConfiguration = (output, context) => {
5067
5078
  return {
5068
- assignPublicIp: smithy_client_1.expectString(output.assignPublicIp),
5079
+ assignPublicIp: (0, smithy_client_1.expectString)(output.assignPublicIp),
5069
5080
  securityGroups: output.securityGroups !== undefined && output.securityGroups !== null
5070
5081
  ? deserializeAws_json1_1StringList(output.securityGroups, context)
5071
5082
  : undefined,
@@ -5076,7 +5087,7 @@ const deserializeAws_json1_1AwsVpcConfiguration = (output, context) => {
5076
5087
  };
5077
5088
  const deserializeAws_json1_1BlockedException = (output, context) => {
5078
5089
  return {
5079
- message: smithy_client_1.expectString(output.message),
5090
+ message: (0, smithy_client_1.expectString)(output.message),
5080
5091
  };
5081
5092
  };
5082
5093
  const deserializeAws_json1_1CapacityProvider = (output, context) => {
@@ -5084,12 +5095,12 @@ const deserializeAws_json1_1CapacityProvider = (output, context) => {
5084
5095
  autoScalingGroupProvider: output.autoScalingGroupProvider !== undefined && output.autoScalingGroupProvider !== null
5085
5096
  ? deserializeAws_json1_1AutoScalingGroupProvider(output.autoScalingGroupProvider, context)
5086
5097
  : undefined,
5087
- capacityProviderArn: smithy_client_1.expectString(output.capacityProviderArn),
5088
- name: smithy_client_1.expectString(output.name),
5089
- 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),
5090
5101
  tags: output.tags !== undefined && output.tags !== null ? deserializeAws_json1_1Tags(output.tags, context) : undefined,
5091
- updateStatus: smithy_client_1.expectString(output.updateStatus),
5092
- 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),
5093
5104
  };
5094
5105
  };
5095
5106
  const deserializeAws_json1_1CapacityProviders = (output, context) => {
@@ -5116,44 +5127,44 @@ const deserializeAws_json1_1CapacityProviderStrategy = (output, context) => {
5116
5127
  };
5117
5128
  const deserializeAws_json1_1CapacityProviderStrategyItem = (output, context) => {
5118
5129
  return {
5119
- base: smithy_client_1.expectInt32(output.base),
5120
- capacityProvider: smithy_client_1.expectString(output.capacityProvider),
5121
- 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),
5122
5133
  };
5123
5134
  };
5124
5135
  const deserializeAws_json1_1ClientException = (output, context) => {
5125
5136
  return {
5126
- message: smithy_client_1.expectString(output.message),
5137
+ message: (0, smithy_client_1.expectString)(output.message),
5127
5138
  };
5128
5139
  };
5129
5140
  const deserializeAws_json1_1Cluster = (output, context) => {
5130
5141
  return {
5131
- activeServicesCount: smithy_client_1.expectInt32(output.activeServicesCount),
5142
+ activeServicesCount: (0, smithy_client_1.expectInt32)(output.activeServicesCount),
5132
5143
  attachments: output.attachments !== undefined && output.attachments !== null
5133
5144
  ? deserializeAws_json1_1Attachments(output.attachments, context)
5134
5145
  : undefined,
5135
- attachmentsStatus: smithy_client_1.expectString(output.attachmentsStatus),
5146
+ attachmentsStatus: (0, smithy_client_1.expectString)(output.attachmentsStatus),
5136
5147
  capacityProviders: output.capacityProviders !== undefined && output.capacityProviders !== null
5137
5148
  ? deserializeAws_json1_1StringList(output.capacityProviders, context)
5138
5149
  : undefined,
5139
- clusterArn: smithy_client_1.expectString(output.clusterArn),
5140
- 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),
5141
5152
  configuration: output.configuration !== undefined && output.configuration !== null
5142
5153
  ? deserializeAws_json1_1ClusterConfiguration(output.configuration, context)
5143
5154
  : undefined,
5144
5155
  defaultCapacityProviderStrategy: output.defaultCapacityProviderStrategy !== undefined && output.defaultCapacityProviderStrategy !== null
5145
5156
  ? deserializeAws_json1_1CapacityProviderStrategy(output.defaultCapacityProviderStrategy, context)
5146
5157
  : undefined,
5147
- pendingTasksCount: smithy_client_1.expectInt32(output.pendingTasksCount),
5148
- registeredContainerInstancesCount: smithy_client_1.expectInt32(output.registeredContainerInstancesCount),
5149
- 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),
5150
5161
  settings: output.settings !== undefined && output.settings !== null
5151
5162
  ? deserializeAws_json1_1ClusterSettings(output.settings, context)
5152
5163
  : undefined,
5153
5164
  statistics: output.statistics !== undefined && output.statistics !== null
5154
5165
  ? deserializeAws_json1_1Statistics(output.statistics, context)
5155
5166
  : undefined,
5156
- status: smithy_client_1.expectString(output.status),
5167
+ status: (0, smithy_client_1.expectString)(output.status),
5157
5168
  tags: output.tags !== undefined && output.tags !== null ? deserializeAws_json1_1Tags(output.tags, context) : undefined,
5158
5169
  };
5159
5170
  };
@@ -5166,22 +5177,22 @@ const deserializeAws_json1_1ClusterConfiguration = (output, context) => {
5166
5177
  };
5167
5178
  const deserializeAws_json1_1ClusterContainsContainerInstancesException = (output, context) => {
5168
5179
  return {
5169
- message: smithy_client_1.expectString(output.message),
5180
+ message: (0, smithy_client_1.expectString)(output.message),
5170
5181
  };
5171
5182
  };
5172
5183
  const deserializeAws_json1_1ClusterContainsServicesException = (output, context) => {
5173
5184
  return {
5174
- message: smithy_client_1.expectString(output.message),
5185
+ message: (0, smithy_client_1.expectString)(output.message),
5175
5186
  };
5176
5187
  };
5177
5188
  const deserializeAws_json1_1ClusterContainsTasksException = (output, context) => {
5178
5189
  return {
5179
- message: smithy_client_1.expectString(output.message),
5190
+ message: (0, smithy_client_1.expectString)(output.message),
5180
5191
  };
5181
5192
  };
5182
5193
  const deserializeAws_json1_1ClusterNotFoundException = (output, context) => {
5183
5194
  return {
5184
- message: smithy_client_1.expectString(output.message),
5195
+ message: (0, smithy_client_1.expectString)(output.message),
5185
5196
  };
5186
5197
  };
5187
5198
  const deserializeAws_json1_1Clusters = (output, context) => {
@@ -5197,8 +5208,8 @@ const deserializeAws_json1_1Clusters = (output, context) => {
5197
5208
  };
5198
5209
  const deserializeAws_json1_1ClusterSetting = (output, context) => {
5199
5210
  return {
5200
- name: smithy_client_1.expectString(output.name),
5201
- 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),
5202
5213
  };
5203
5214
  };
5204
5215
  const deserializeAws_json1_1ClusterSettings = (output, context) => {
@@ -5219,37 +5230,37 @@ const deserializeAws_json1_1CompatibilityList = (output, context) => {
5219
5230
  if (entry === null) {
5220
5231
  return null;
5221
5232
  }
5222
- return smithy_client_1.expectString(entry);
5233
+ return (0, smithy_client_1.expectString)(entry);
5223
5234
  });
5224
5235
  return retVal;
5225
5236
  };
5226
5237
  const deserializeAws_json1_1Container = (output, context) => {
5227
5238
  return {
5228
- containerArn: smithy_client_1.expectString(output.containerArn),
5229
- cpu: smithy_client_1.expectString(output.cpu),
5230
- 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),
5231
5242
  gpuIds: output.gpuIds !== undefined && output.gpuIds !== null
5232
5243
  ? deserializeAws_json1_1GpuIds(output.gpuIds, context)
5233
5244
  : undefined,
5234
- healthStatus: smithy_client_1.expectString(output.healthStatus),
5235
- image: smithy_client_1.expectString(output.image),
5236
- imageDigest: smithy_client_1.expectString(output.imageDigest),
5237
- 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),
5238
5249
  managedAgents: output.managedAgents !== undefined && output.managedAgents !== null
5239
5250
  ? deserializeAws_json1_1ManagedAgents(output.managedAgents, context)
5240
5251
  : undefined,
5241
- memory: smithy_client_1.expectString(output.memory),
5242
- memoryReservation: smithy_client_1.expectString(output.memoryReservation),
5243
- 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),
5244
5255
  networkBindings: output.networkBindings !== undefined && output.networkBindings !== null
5245
5256
  ? deserializeAws_json1_1NetworkBindings(output.networkBindings, context)
5246
5257
  : undefined,
5247
5258
  networkInterfaces: output.networkInterfaces !== undefined && output.networkInterfaces !== null
5248
5259
  ? deserializeAws_json1_1NetworkInterfaces(output.networkInterfaces, context)
5249
5260
  : undefined,
5250
- reason: smithy_client_1.expectString(output.reason),
5251
- runtimeId: smithy_client_1.expectString(output.runtimeId),
5252
- 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),
5253
5264
  };
5254
5265
  };
5255
5266
  const deserializeAws_json1_1ContainerDefinition = (output, context) => {
@@ -5257,11 +5268,11 @@ const deserializeAws_json1_1ContainerDefinition = (output, context) => {
5257
5268
  command: output.command !== undefined && output.command !== null
5258
5269
  ? deserializeAws_json1_1StringList(output.command, context)
5259
5270
  : undefined,
5260
- cpu: smithy_client_1.expectInt32(output.cpu),
5271
+ cpu: (0, smithy_client_1.expectInt32)(output.cpu),
5261
5272
  dependsOn: output.dependsOn !== undefined && output.dependsOn !== null
5262
5273
  ? deserializeAws_json1_1ContainerDependencies(output.dependsOn, context)
5263
5274
  : undefined,
5264
- disableNetworking: smithy_client_1.expectBoolean(output.disableNetworking),
5275
+ disableNetworking: (0, smithy_client_1.expectBoolean)(output.disableNetworking),
5265
5276
  dnsSearchDomains: output.dnsSearchDomains !== undefined && output.dnsSearchDomains !== null
5266
5277
  ? deserializeAws_json1_1StringList(output.dnsSearchDomains, context)
5267
5278
  : undefined,
@@ -5283,7 +5294,7 @@ const deserializeAws_json1_1ContainerDefinition = (output, context) => {
5283
5294
  environmentFiles: output.environmentFiles !== undefined && output.environmentFiles !== null
5284
5295
  ? deserializeAws_json1_1EnvironmentFiles(output.environmentFiles, context)
5285
5296
  : undefined,
5286
- essential: smithy_client_1.expectBoolean(output.essential),
5297
+ essential: (0, smithy_client_1.expectBoolean)(output.essential),
5287
5298
  extraHosts: output.extraHosts !== undefined && output.extraHosts !== null
5288
5299
  ? deserializeAws_json1_1HostEntryList(output.extraHosts, context)
5289
5300
  : undefined,
@@ -5293,9 +5304,9 @@ const deserializeAws_json1_1ContainerDefinition = (output, context) => {
5293
5304
  healthCheck: output.healthCheck !== undefined && output.healthCheck !== null
5294
5305
  ? deserializeAws_json1_1HealthCheck(output.healthCheck, context)
5295
5306
  : undefined,
5296
- hostname: smithy_client_1.expectString(output.hostname),
5297
- image: smithy_client_1.expectString(output.image),
5298
- 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),
5299
5310
  links: output.links !== undefined && output.links !== null
5300
5311
  ? deserializeAws_json1_1StringList(output.links, context)
5301
5312
  : undefined,
@@ -5305,18 +5316,18 @@ const deserializeAws_json1_1ContainerDefinition = (output, context) => {
5305
5316
  logConfiguration: output.logConfiguration !== undefined && output.logConfiguration !== null
5306
5317
  ? deserializeAws_json1_1LogConfiguration(output.logConfiguration, context)
5307
5318
  : undefined,
5308
- memory: smithy_client_1.expectInt32(output.memory),
5309
- 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),
5310
5321
  mountPoints: output.mountPoints !== undefined && output.mountPoints !== null
5311
5322
  ? deserializeAws_json1_1MountPointList(output.mountPoints, context)
5312
5323
  : undefined,
5313
- name: smithy_client_1.expectString(output.name),
5324
+ name: (0, smithy_client_1.expectString)(output.name),
5314
5325
  portMappings: output.portMappings !== undefined && output.portMappings !== null
5315
5326
  ? deserializeAws_json1_1PortMappingList(output.portMappings, context)
5316
5327
  : undefined,
5317
- privileged: smithy_client_1.expectBoolean(output.privileged),
5318
- pseudoTerminal: smithy_client_1.expectBoolean(output.pseudoTerminal),
5319
- 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),
5320
5331
  repositoryCredentials: output.repositoryCredentials !== undefined && output.repositoryCredentials !== null
5321
5332
  ? deserializeAws_json1_1RepositoryCredentials(output.repositoryCredentials, context)
5322
5333
  : undefined,
@@ -5326,19 +5337,19 @@ const deserializeAws_json1_1ContainerDefinition = (output, context) => {
5326
5337
  secrets: output.secrets !== undefined && output.secrets !== null
5327
5338
  ? deserializeAws_json1_1SecretList(output.secrets, context)
5328
5339
  : undefined,
5329
- startTimeout: smithy_client_1.expectInt32(output.startTimeout),
5330
- 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),
5331
5342
  systemControls: output.systemControls !== undefined && output.systemControls !== null
5332
5343
  ? deserializeAws_json1_1SystemControls(output.systemControls, context)
5333
5344
  : undefined,
5334
5345
  ulimits: output.ulimits !== undefined && output.ulimits !== null
5335
5346
  ? deserializeAws_json1_1UlimitList(output.ulimits, context)
5336
5347
  : undefined,
5337
- user: smithy_client_1.expectString(output.user),
5348
+ user: (0, smithy_client_1.expectString)(output.user),
5338
5349
  volumesFrom: output.volumesFrom !== undefined && output.volumesFrom !== null
5339
5350
  ? deserializeAws_json1_1VolumeFromList(output.volumesFrom, context)
5340
5351
  : undefined,
5341
- workingDirectory: smithy_client_1.expectString(output.workingDirectory),
5352
+ workingDirectory: (0, smithy_client_1.expectString)(output.workingDirectory),
5342
5353
  };
5343
5354
  };
5344
5355
  const deserializeAws_json1_1ContainerDefinitions = (output, context) => {
@@ -5365,29 +5376,29 @@ const deserializeAws_json1_1ContainerDependencies = (output, context) => {
5365
5376
  };
5366
5377
  const deserializeAws_json1_1ContainerDependency = (output, context) => {
5367
5378
  return {
5368
- condition: smithy_client_1.expectString(output.condition),
5369
- 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),
5370
5381
  };
5371
5382
  };
5372
5383
  const deserializeAws_json1_1ContainerInstance = (output, context) => {
5373
5384
  return {
5374
- agentConnected: smithy_client_1.expectBoolean(output.agentConnected),
5375
- 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),
5376
5387
  attachments: output.attachments !== undefined && output.attachments !== null
5377
5388
  ? deserializeAws_json1_1Attachments(output.attachments, context)
5378
5389
  : undefined,
5379
5390
  attributes: output.attributes !== undefined && output.attributes !== null
5380
5391
  ? deserializeAws_json1_1Attributes(output.attributes, context)
5381
5392
  : undefined,
5382
- capacityProviderName: smithy_client_1.expectString(output.capacityProviderName),
5383
- containerInstanceArn: smithy_client_1.expectString(output.containerInstanceArn),
5384
- 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),
5385
5396
  healthStatus: output.healthStatus !== undefined && output.healthStatus !== null
5386
5397
  ? deserializeAws_json1_1ContainerInstanceHealthStatus(output.healthStatus, context)
5387
5398
  : undefined,
5388
- pendingTasksCount: smithy_client_1.expectInt32(output.pendingTasksCount),
5399
+ pendingTasksCount: (0, smithy_client_1.expectInt32)(output.pendingTasksCount),
5389
5400
  registeredAt: output.registeredAt !== undefined && output.registeredAt !== null
5390
- ? 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)))
5391
5402
  : undefined,
5392
5403
  registeredResources: output.registeredResources !== undefined && output.registeredResources !== null
5393
5404
  ? deserializeAws_json1_1Resources(output.registeredResources, context)
@@ -5395,11 +5406,11 @@ const deserializeAws_json1_1ContainerInstance = (output, context) => {
5395
5406
  remainingResources: output.remainingResources !== undefined && output.remainingResources !== null
5396
5407
  ? deserializeAws_json1_1Resources(output.remainingResources, context)
5397
5408
  : undefined,
5398
- runningTasksCount: smithy_client_1.expectInt32(output.runningTasksCount),
5399
- status: smithy_client_1.expectString(output.status),
5400
- 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),
5401
5412
  tags: output.tags !== undefined && output.tags !== null ? deserializeAws_json1_1Tags(output.tags, context) : undefined,
5402
- version: smithy_client_1.expectLong(output.version),
5413
+ version: (0, smithy_client_1.expectLong)(output.version),
5403
5414
  versionInfo: output.versionInfo !== undefined && output.versionInfo !== null
5404
5415
  ? deserializeAws_json1_1VersionInfo(output.versionInfo, context)
5405
5416
  : undefined,
@@ -5410,7 +5421,7 @@ const deserializeAws_json1_1ContainerInstanceHealthStatus = (output, context) =>
5410
5421
  details: output.details !== undefined && output.details !== null
5411
5422
  ? deserializeAws_json1_1InstanceHealthCheckResultList(output.details, context)
5412
5423
  : undefined,
5413
- overallStatus: smithy_client_1.expectString(output.overallStatus),
5424
+ overallStatus: (0, smithy_client_1.expectString)(output.overallStatus),
5414
5425
  };
5415
5426
  };
5416
5427
  const deserializeAws_json1_1ContainerInstances = (output, context) => {
@@ -5429,16 +5440,16 @@ const deserializeAws_json1_1ContainerOverride = (output, context) => {
5429
5440
  command: output.command !== undefined && output.command !== null
5430
5441
  ? deserializeAws_json1_1StringList(output.command, context)
5431
5442
  : undefined,
5432
- cpu: smithy_client_1.expectInt32(output.cpu),
5443
+ cpu: (0, smithy_client_1.expectInt32)(output.cpu),
5433
5444
  environment: output.environment !== undefined && output.environment !== null
5434
5445
  ? deserializeAws_json1_1EnvironmentVariables(output.environment, context)
5435
5446
  : undefined,
5436
5447
  environmentFiles: output.environmentFiles !== undefined && output.environmentFiles !== null
5437
5448
  ? deserializeAws_json1_1EnvironmentFiles(output.environmentFiles, context)
5438
5449
  : undefined,
5439
- memory: smithy_client_1.expectInt32(output.memory),
5440
- memoryReservation: smithy_client_1.expectInt32(output.memoryReservation),
5441
- 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),
5442
5453
  resourceRequirements: output.resourceRequirements !== undefined && output.resourceRequirements !== null
5443
5454
  ? deserializeAws_json1_1ResourceRequirements(output.resourceRequirements, context)
5444
5455
  : undefined,
@@ -5542,32 +5553,32 @@ const deserializeAws_json1_1Deployment = (output, context) => {
5542
5553
  ? deserializeAws_json1_1CapacityProviderStrategy(output.capacityProviderStrategy, context)
5543
5554
  : undefined,
5544
5555
  createdAt: output.createdAt !== undefined && output.createdAt !== null
5545
- ? 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)))
5546
5557
  : undefined,
5547
- desiredCount: smithy_client_1.expectInt32(output.desiredCount),
5548
- failedTasks: smithy_client_1.expectInt32(output.failedTasks),
5549
- id: smithy_client_1.expectString(output.id),
5550
- 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),
5551
5562
  networkConfiguration: output.networkConfiguration !== undefined && output.networkConfiguration !== null
5552
5563
  ? deserializeAws_json1_1NetworkConfiguration(output.networkConfiguration, context)
5553
5564
  : undefined,
5554
- pendingCount: smithy_client_1.expectInt32(output.pendingCount),
5555
- platformFamily: smithy_client_1.expectString(output.platformFamily),
5556
- platformVersion: smithy_client_1.expectString(output.platformVersion),
5557
- rolloutState: smithy_client_1.expectString(output.rolloutState),
5558
- rolloutStateReason: smithy_client_1.expectString(output.rolloutStateReason),
5559
- runningCount: smithy_client_1.expectInt32(output.runningCount),
5560
- status: smithy_client_1.expectString(output.status),
5561
- 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),
5562
5573
  updatedAt: output.updatedAt !== undefined && output.updatedAt !== null
5563
- ? 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)))
5564
5575
  : undefined,
5565
5576
  };
5566
5577
  };
5567
5578
  const deserializeAws_json1_1DeploymentCircuitBreaker = (output, context) => {
5568
5579
  return {
5569
- enable: smithy_client_1.expectBoolean(output.enable),
5570
- 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),
5571
5582
  };
5572
5583
  };
5573
5584
  const deserializeAws_json1_1DeploymentConfiguration = (output, context) => {
@@ -5575,13 +5586,13 @@ const deserializeAws_json1_1DeploymentConfiguration = (output, context) => {
5575
5586
  deploymentCircuitBreaker: output.deploymentCircuitBreaker !== undefined && output.deploymentCircuitBreaker !== null
5576
5587
  ? deserializeAws_json1_1DeploymentCircuitBreaker(output.deploymentCircuitBreaker, context)
5577
5588
  : undefined,
5578
- maximumPercent: smithy_client_1.expectInt32(output.maximumPercent),
5579
- 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),
5580
5591
  };
5581
5592
  };
5582
5593
  const deserializeAws_json1_1DeploymentController = (output, context) => {
5583
5594
  return {
5584
- type: smithy_client_1.expectString(output.type),
5595
+ type: (0, smithy_client_1.expectString)(output.type),
5585
5596
  };
5586
5597
  };
5587
5598
  const deserializeAws_json1_1Deployments = (output, context) => {
@@ -5617,7 +5628,7 @@ const deserializeAws_json1_1DescribeCapacityProvidersResponse = (output, context
5617
5628
  failures: output.failures !== undefined && output.failures !== null
5618
5629
  ? deserializeAws_json1_1Failures(output.failures, context)
5619
5630
  : undefined,
5620
- nextToken: smithy_client_1.expectString(output.nextToken),
5631
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
5621
5632
  };
5622
5633
  };
5623
5634
  const deserializeAws_json1_1DescribeClustersResponse = (output, context) => {
@@ -5680,8 +5691,8 @@ const deserializeAws_json1_1DescribeTasksResponse = (output, context) => {
5680
5691
  };
5681
5692
  const deserializeAws_json1_1Device = (output, context) => {
5682
5693
  return {
5683
- containerPath: smithy_client_1.expectString(output.containerPath),
5684
- 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),
5685
5696
  permissions: output.permissions !== undefined && output.permissions !== null
5686
5697
  ? deserializeAws_json1_1DeviceCgroupPermissions(output.permissions, context)
5687
5698
  : undefined,
@@ -5694,7 +5705,7 @@ const deserializeAws_json1_1DeviceCgroupPermissions = (output, context) => {
5694
5705
  if (entry === null) {
5695
5706
  return null;
5696
5707
  }
5697
- return smithy_client_1.expectString(entry);
5708
+ return (0, smithy_client_1.expectString)(entry);
5698
5709
  });
5699
5710
  return retVal;
5700
5711
  };
@@ -5711,8 +5722,8 @@ const deserializeAws_json1_1DevicesList = (output, context) => {
5711
5722
  };
5712
5723
  const deserializeAws_json1_1DiscoverPollEndpointResponse = (output, context) => {
5713
5724
  return {
5714
- endpoint: smithy_client_1.expectString(output.endpoint),
5715
- 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),
5716
5727
  };
5717
5728
  };
5718
5729
  const deserializeAws_json1_1DockerLabelsMap = (output, context) => {
@@ -5722,27 +5733,27 @@ const deserializeAws_json1_1DockerLabelsMap = (output, context) => {
5722
5733
  }
5723
5734
  return {
5724
5735
  ...acc,
5725
- [key]: smithy_client_1.expectString(value),
5736
+ [key]: (0, smithy_client_1.expectString)(value),
5726
5737
  };
5727
5738
  }, {});
5728
5739
  };
5729
5740
  const deserializeAws_json1_1DockerVolumeConfiguration = (output, context) => {
5730
5741
  return {
5731
- autoprovision: smithy_client_1.expectBoolean(output.autoprovision),
5732
- 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),
5733
5744
  driverOpts: output.driverOpts !== undefined && output.driverOpts !== null
5734
5745
  ? deserializeAws_json1_1StringMap(output.driverOpts, context)
5735
5746
  : undefined,
5736
5747
  labels: output.labels !== undefined && output.labels !== null
5737
5748
  ? deserializeAws_json1_1StringMap(output.labels, context)
5738
5749
  : undefined,
5739
- scope: smithy_client_1.expectString(output.scope),
5750
+ scope: (0, smithy_client_1.expectString)(output.scope),
5740
5751
  };
5741
5752
  };
5742
5753
  const deserializeAws_json1_1EFSAuthorizationConfig = (output, context) => {
5743
5754
  return {
5744
- accessPointId: smithy_client_1.expectString(output.accessPointId),
5745
- 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),
5746
5757
  };
5747
5758
  };
5748
5759
  const deserializeAws_json1_1EFSVolumeConfiguration = (output, context) => {
@@ -5750,16 +5761,16 @@ const deserializeAws_json1_1EFSVolumeConfiguration = (output, context) => {
5750
5761
  authorizationConfig: output.authorizationConfig !== undefined && output.authorizationConfig !== null
5751
5762
  ? deserializeAws_json1_1EFSAuthorizationConfig(output.authorizationConfig, context)
5752
5763
  : undefined,
5753
- fileSystemId: smithy_client_1.expectString(output.fileSystemId),
5754
- rootDirectory: smithy_client_1.expectString(output.rootDirectory),
5755
- transitEncryption: smithy_client_1.expectString(output.transitEncryption),
5756
- 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),
5757
5768
  };
5758
5769
  };
5759
5770
  const deserializeAws_json1_1EnvironmentFile = (output, context) => {
5760
5771
  return {
5761
- type: smithy_client_1.expectString(output.type),
5762
- 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),
5763
5774
  };
5764
5775
  };
5765
5776
  const deserializeAws_json1_1EnvironmentFiles = (output, context) => {
@@ -5786,44 +5797,44 @@ const deserializeAws_json1_1EnvironmentVariables = (output, context) => {
5786
5797
  };
5787
5798
  const deserializeAws_json1_1EphemeralStorage = (output, context) => {
5788
5799
  return {
5789
- sizeInGiB: smithy_client_1.expectInt32(output.sizeInGiB),
5800
+ sizeInGiB: (0, smithy_client_1.expectInt32)(output.sizeInGiB),
5790
5801
  };
5791
5802
  };
5792
5803
  const deserializeAws_json1_1ExecuteCommandConfiguration = (output, context) => {
5793
5804
  return {
5794
- kmsKeyId: smithy_client_1.expectString(output.kmsKeyId),
5805
+ kmsKeyId: (0, smithy_client_1.expectString)(output.kmsKeyId),
5795
5806
  logConfiguration: output.logConfiguration !== undefined && output.logConfiguration !== null
5796
5807
  ? deserializeAws_json1_1ExecuteCommandLogConfiguration(output.logConfiguration, context)
5797
5808
  : undefined,
5798
- logging: smithy_client_1.expectString(output.logging),
5809
+ logging: (0, smithy_client_1.expectString)(output.logging),
5799
5810
  };
5800
5811
  };
5801
5812
  const deserializeAws_json1_1ExecuteCommandLogConfiguration = (output, context) => {
5802
5813
  return {
5803
- cloudWatchEncryptionEnabled: smithy_client_1.expectBoolean(output.cloudWatchEncryptionEnabled),
5804
- cloudWatchLogGroupName: smithy_client_1.expectString(output.cloudWatchLogGroupName),
5805
- s3BucketName: smithy_client_1.expectString(output.s3BucketName),
5806
- s3EncryptionEnabled: smithy_client_1.expectBoolean(output.s3EncryptionEnabled),
5807
- 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),
5808
5819
  };
5809
5820
  };
5810
5821
  const deserializeAws_json1_1ExecuteCommandResponse = (output, context) => {
5811
5822
  return {
5812
- clusterArn: smithy_client_1.expectString(output.clusterArn),
5813
- containerArn: smithy_client_1.expectString(output.containerArn),
5814
- containerName: smithy_client_1.expectString(output.containerName),
5815
- 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),
5816
5827
  session: output.session !== undefined && output.session !== null
5817
5828
  ? deserializeAws_json1_1Session(output.session, context)
5818
5829
  : undefined,
5819
- taskArn: smithy_client_1.expectString(output.taskArn),
5830
+ taskArn: (0, smithy_client_1.expectString)(output.taskArn),
5820
5831
  };
5821
5832
  };
5822
5833
  const deserializeAws_json1_1Failure = (output, context) => {
5823
5834
  return {
5824
- arn: smithy_client_1.expectString(output.arn),
5825
- detail: smithy_client_1.expectString(output.detail),
5826
- 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),
5827
5838
  };
5828
5839
  };
5829
5840
  const deserializeAws_json1_1Failures = (output, context) => {
@@ -5842,7 +5853,7 @@ const deserializeAws_json1_1FirelensConfiguration = (output, context) => {
5842
5853
  options: output.options !== undefined && output.options !== null
5843
5854
  ? deserializeAws_json1_1FirelensConfigurationOptionsMap(output.options, context)
5844
5855
  : undefined,
5845
- type: smithy_client_1.expectString(output.type),
5856
+ type: (0, smithy_client_1.expectString)(output.type),
5846
5857
  };
5847
5858
  };
5848
5859
  const deserializeAws_json1_1FirelensConfigurationOptionsMap = (output, context) => {
@@ -5852,14 +5863,14 @@ const deserializeAws_json1_1FirelensConfigurationOptionsMap = (output, context)
5852
5863
  }
5853
5864
  return {
5854
5865
  ...acc,
5855
- [key]: smithy_client_1.expectString(value),
5866
+ [key]: (0, smithy_client_1.expectString)(value),
5856
5867
  };
5857
5868
  }, {});
5858
5869
  };
5859
5870
  const deserializeAws_json1_1FSxWindowsFileServerAuthorizationConfig = (output, context) => {
5860
5871
  return {
5861
- credentialsParameter: smithy_client_1.expectString(output.credentialsParameter),
5862
- 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),
5863
5874
  };
5864
5875
  };
5865
5876
  const deserializeAws_json1_1FSxWindowsFileServerVolumeConfiguration = (output, context) => {
@@ -5867,8 +5878,8 @@ const deserializeAws_json1_1FSxWindowsFileServerVolumeConfiguration = (output, c
5867
5878
  authorizationConfig: output.authorizationConfig !== undefined && output.authorizationConfig !== null
5868
5879
  ? deserializeAws_json1_1FSxWindowsFileServerAuthorizationConfig(output.authorizationConfig, context)
5869
5880
  : undefined,
5870
- fileSystemId: smithy_client_1.expectString(output.fileSystemId),
5871
- 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),
5872
5883
  };
5873
5884
  };
5874
5885
  const deserializeAws_json1_1GpuIds = (output, context) => {
@@ -5878,7 +5889,7 @@ const deserializeAws_json1_1GpuIds = (output, context) => {
5878
5889
  if (entry === null) {
5879
5890
  return null;
5880
5891
  }
5881
- return smithy_client_1.expectString(entry);
5892
+ return (0, smithy_client_1.expectString)(entry);
5882
5893
  });
5883
5894
  return retVal;
5884
5895
  };
@@ -5887,16 +5898,16 @@ const deserializeAws_json1_1HealthCheck = (output, context) => {
5887
5898
  command: output.command !== undefined && output.command !== null
5888
5899
  ? deserializeAws_json1_1StringList(output.command, context)
5889
5900
  : undefined,
5890
- interval: smithy_client_1.expectInt32(output.interval),
5891
- retries: smithy_client_1.expectInt32(output.retries),
5892
- startPeriod: smithy_client_1.expectInt32(output.startPeriod),
5893
- 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),
5894
5905
  };
5895
5906
  };
5896
5907
  const deserializeAws_json1_1HostEntry = (output, context) => {
5897
5908
  return {
5898
- hostname: smithy_client_1.expectString(output.hostname),
5899
- 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),
5900
5911
  };
5901
5912
  };
5902
5913
  const deserializeAws_json1_1HostEntryList = (output, context) => {
@@ -5912,19 +5923,19 @@ const deserializeAws_json1_1HostEntryList = (output, context) => {
5912
5923
  };
5913
5924
  const deserializeAws_json1_1HostVolumeProperties = (output, context) => {
5914
5925
  return {
5915
- sourcePath: smithy_client_1.expectString(output.sourcePath),
5926
+ sourcePath: (0, smithy_client_1.expectString)(output.sourcePath),
5916
5927
  };
5917
5928
  };
5918
5929
  const deserializeAws_json1_1InferenceAccelerator = (output, context) => {
5919
5930
  return {
5920
- deviceName: smithy_client_1.expectString(output.deviceName),
5921
- 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),
5922
5933
  };
5923
5934
  };
5924
5935
  const deserializeAws_json1_1InferenceAcceleratorOverride = (output, context) => {
5925
5936
  return {
5926
- deviceName: smithy_client_1.expectString(output.deviceName),
5927
- 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),
5928
5939
  };
5929
5940
  };
5930
5941
  const deserializeAws_json1_1InferenceAcceleratorOverrides = (output, context) => {
@@ -5952,13 +5963,13 @@ const deserializeAws_json1_1InferenceAccelerators = (output, context) => {
5952
5963
  const deserializeAws_json1_1InstanceHealthCheckResult = (output, context) => {
5953
5964
  return {
5954
5965
  lastStatusChange: output.lastStatusChange !== undefined && output.lastStatusChange !== null
5955
- ? 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)))
5956
5967
  : undefined,
5957
5968
  lastUpdated: output.lastUpdated !== undefined && output.lastUpdated !== null
5958
- ? 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)))
5959
5970
  : undefined,
5960
- status: smithy_client_1.expectString(output.status),
5961
- 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),
5962
5973
  };
5963
5974
  };
5964
5975
  const deserializeAws_json1_1InstanceHealthCheckResultList = (output, context) => {
@@ -5974,7 +5985,7 @@ const deserializeAws_json1_1InstanceHealthCheckResultList = (output, context) =>
5974
5985
  };
5975
5986
  const deserializeAws_json1_1InvalidParameterException = (output, context) => {
5976
5987
  return {
5977
- message: smithy_client_1.expectString(output.message),
5988
+ message: (0, smithy_client_1.expectString)(output.message),
5978
5989
  };
5979
5990
  };
5980
5991
  const deserializeAws_json1_1KernelCapabilities = (output, context) => {
@@ -5989,13 +6000,13 @@ const deserializeAws_json1_1KernelCapabilities = (output, context) => {
5989
6000
  };
5990
6001
  const deserializeAws_json1_1KeyValuePair = (output, context) => {
5991
6002
  return {
5992
- name: smithy_client_1.expectString(output.name),
5993
- 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),
5994
6005
  };
5995
6006
  };
5996
6007
  const deserializeAws_json1_1LimitExceededException = (output, context) => {
5997
6008
  return {
5998
- message: smithy_client_1.expectString(output.message),
6009
+ message: (0, smithy_client_1.expectString)(output.message),
5999
6010
  };
6000
6011
  };
6001
6012
  const deserializeAws_json1_1LinuxParameters = (output, context) => {
@@ -6006,10 +6017,10 @@ const deserializeAws_json1_1LinuxParameters = (output, context) => {
6006
6017
  devices: output.devices !== undefined && output.devices !== null
6007
6018
  ? deserializeAws_json1_1DevicesList(output.devices, context)
6008
6019
  : undefined,
6009
- initProcessEnabled: smithy_client_1.expectBoolean(output.initProcessEnabled),
6010
- maxSwap: smithy_client_1.expectInt32(output.maxSwap),
6011
- sharedMemorySize: smithy_client_1.expectInt32(output.sharedMemorySize),
6012
- 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),
6013
6024
  tmpfs: output.tmpfs !== undefined && output.tmpfs !== null
6014
6025
  ? deserializeAws_json1_1TmpfsList(output.tmpfs, context)
6015
6026
  : undefined,
@@ -6017,7 +6028,7 @@ const deserializeAws_json1_1LinuxParameters = (output, context) => {
6017
6028
  };
6018
6029
  const deserializeAws_json1_1ListAccountSettingsResponse = (output, context) => {
6019
6030
  return {
6020
- nextToken: smithy_client_1.expectString(output.nextToken),
6031
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
6021
6032
  settings: output.settings !== undefined && output.settings !== null
6022
6033
  ? deserializeAws_json1_1Settings(output.settings, context)
6023
6034
  : undefined,
@@ -6028,7 +6039,7 @@ const deserializeAws_json1_1ListAttributesResponse = (output, context) => {
6028
6039
  attributes: output.attributes !== undefined && output.attributes !== null
6029
6040
  ? deserializeAws_json1_1Attributes(output.attributes, context)
6030
6041
  : undefined,
6031
- nextToken: smithy_client_1.expectString(output.nextToken),
6042
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
6032
6043
  };
6033
6044
  };
6034
6045
  const deserializeAws_json1_1ListClustersResponse = (output, context) => {
@@ -6036,7 +6047,7 @@ const deserializeAws_json1_1ListClustersResponse = (output, context) => {
6036
6047
  clusterArns: output.clusterArns !== undefined && output.clusterArns !== null
6037
6048
  ? deserializeAws_json1_1StringList(output.clusterArns, context)
6038
6049
  : undefined,
6039
- nextToken: smithy_client_1.expectString(output.nextToken),
6050
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
6040
6051
  };
6041
6052
  };
6042
6053
  const deserializeAws_json1_1ListContainerInstancesResponse = (output, context) => {
@@ -6044,12 +6055,12 @@ const deserializeAws_json1_1ListContainerInstancesResponse = (output, context) =
6044
6055
  containerInstanceArns: output.containerInstanceArns !== undefined && output.containerInstanceArns !== null
6045
6056
  ? deserializeAws_json1_1StringList(output.containerInstanceArns, context)
6046
6057
  : undefined,
6047
- nextToken: smithy_client_1.expectString(output.nextToken),
6058
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
6048
6059
  };
6049
6060
  };
6050
6061
  const deserializeAws_json1_1ListServicesResponse = (output, context) => {
6051
6062
  return {
6052
- nextToken: smithy_client_1.expectString(output.nextToken),
6063
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
6053
6064
  serviceArns: output.serviceArns !== undefined && output.serviceArns !== null
6054
6065
  ? deserializeAws_json1_1StringList(output.serviceArns, context)
6055
6066
  : undefined,
@@ -6065,12 +6076,12 @@ const deserializeAws_json1_1ListTaskDefinitionFamiliesResponse = (output, contex
6065
6076
  families: output.families !== undefined && output.families !== null
6066
6077
  ? deserializeAws_json1_1StringList(output.families, context)
6067
6078
  : undefined,
6068
- nextToken: smithy_client_1.expectString(output.nextToken),
6079
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
6069
6080
  };
6070
6081
  };
6071
6082
  const deserializeAws_json1_1ListTaskDefinitionsResponse = (output, context) => {
6072
6083
  return {
6073
- nextToken: smithy_client_1.expectString(output.nextToken),
6084
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
6074
6085
  taskDefinitionArns: output.taskDefinitionArns !== undefined && output.taskDefinitionArns !== null
6075
6086
  ? deserializeAws_json1_1StringList(output.taskDefinitionArns, context)
6076
6087
  : undefined,
@@ -6078,7 +6089,7 @@ const deserializeAws_json1_1ListTaskDefinitionsResponse = (output, context) => {
6078
6089
  };
6079
6090
  const deserializeAws_json1_1ListTasksResponse = (output, context) => {
6080
6091
  return {
6081
- nextToken: smithy_client_1.expectString(output.nextToken),
6092
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
6082
6093
  taskArns: output.taskArns !== undefined && output.taskArns !== null
6083
6094
  ? deserializeAws_json1_1StringList(output.taskArns, context)
6084
6095
  : undefined,
@@ -6086,10 +6097,10 @@ const deserializeAws_json1_1ListTasksResponse = (output, context) => {
6086
6097
  };
6087
6098
  const deserializeAws_json1_1LoadBalancer = (output, context) => {
6088
6099
  return {
6089
- containerName: smithy_client_1.expectString(output.containerName),
6090
- containerPort: smithy_client_1.expectInt32(output.containerPort),
6091
- loadBalancerName: smithy_client_1.expectString(output.loadBalancerName),
6092
- 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),
6093
6104
  };
6094
6105
  };
6095
6106
  const deserializeAws_json1_1LoadBalancers = (output, context) => {
@@ -6105,7 +6116,7 @@ const deserializeAws_json1_1LoadBalancers = (output, context) => {
6105
6116
  };
6106
6117
  const deserializeAws_json1_1LogConfiguration = (output, context) => {
6107
6118
  return {
6108
- logDriver: smithy_client_1.expectString(output.logDriver),
6119
+ logDriver: (0, smithy_client_1.expectString)(output.logDriver),
6109
6120
  options: output.options !== undefined && output.options !== null
6110
6121
  ? deserializeAws_json1_1LogConfigurationOptionsMap(output.options, context)
6111
6122
  : undefined,
@@ -6121,18 +6132,18 @@ const deserializeAws_json1_1LogConfigurationOptionsMap = (output, context) => {
6121
6132
  }
6122
6133
  return {
6123
6134
  ...acc,
6124
- [key]: smithy_client_1.expectString(value),
6135
+ [key]: (0, smithy_client_1.expectString)(value),
6125
6136
  };
6126
6137
  }, {});
6127
6138
  };
6128
6139
  const deserializeAws_json1_1ManagedAgent = (output, context) => {
6129
6140
  return {
6130
6141
  lastStartedAt: output.lastStartedAt !== undefined && output.lastStartedAt !== null
6131
- ? 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)))
6132
6143
  : undefined,
6133
- lastStatus: smithy_client_1.expectString(output.lastStatus),
6134
- name: smithy_client_1.expectString(output.name),
6135
- 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),
6136
6147
  };
6137
6148
  };
6138
6149
  const deserializeAws_json1_1ManagedAgents = (output, context) => {
@@ -6148,23 +6159,23 @@ const deserializeAws_json1_1ManagedAgents = (output, context) => {
6148
6159
  };
6149
6160
  const deserializeAws_json1_1ManagedScaling = (output, context) => {
6150
6161
  return {
6151
- instanceWarmupPeriod: smithy_client_1.expectInt32(output.instanceWarmupPeriod),
6152
- maximumScalingStepSize: smithy_client_1.expectInt32(output.maximumScalingStepSize),
6153
- minimumScalingStepSize: smithy_client_1.expectInt32(output.minimumScalingStepSize),
6154
- status: smithy_client_1.expectString(output.status),
6155
- 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),
6156
6167
  };
6157
6168
  };
6158
6169
  const deserializeAws_json1_1MissingVersionException = (output, context) => {
6159
6170
  return {
6160
- message: smithy_client_1.expectString(output.message),
6171
+ message: (0, smithy_client_1.expectString)(output.message),
6161
6172
  };
6162
6173
  };
6163
6174
  const deserializeAws_json1_1MountPoint = (output, context) => {
6164
6175
  return {
6165
- containerPath: smithy_client_1.expectString(output.containerPath),
6166
- readOnly: smithy_client_1.expectBoolean(output.readOnly),
6167
- 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),
6168
6179
  };
6169
6180
  };
6170
6181
  const deserializeAws_json1_1MountPointList = (output, context) => {
@@ -6180,10 +6191,10 @@ const deserializeAws_json1_1MountPointList = (output, context) => {
6180
6191
  };
6181
6192
  const deserializeAws_json1_1NetworkBinding = (output, context) => {
6182
6193
  return {
6183
- bindIP: smithy_client_1.expectString(output.bindIP),
6184
- containerPort: smithy_client_1.expectInt32(output.containerPort),
6185
- hostPort: smithy_client_1.expectInt32(output.hostPort),
6186
- 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),
6187
6198
  };
6188
6199
  };
6189
6200
  const deserializeAws_json1_1NetworkBindings = (output, context) => {
@@ -6206,9 +6217,9 @@ const deserializeAws_json1_1NetworkConfiguration = (output, context) => {
6206
6217
  };
6207
6218
  const deserializeAws_json1_1NetworkInterface = (output, context) => {
6208
6219
  return {
6209
- attachmentId: smithy_client_1.expectString(output.attachmentId),
6210
- ipv6Address: smithy_client_1.expectString(output.ipv6Address),
6211
- 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),
6212
6223
  };
6213
6224
  };
6214
6225
  const deserializeAws_json1_1NetworkInterfaces = (output, context) => {
@@ -6224,13 +6235,13 @@ const deserializeAws_json1_1NetworkInterfaces = (output, context) => {
6224
6235
  };
6225
6236
  const deserializeAws_json1_1NoUpdateAvailableException = (output, context) => {
6226
6237
  return {
6227
- message: smithy_client_1.expectString(output.message),
6238
+ message: (0, smithy_client_1.expectString)(output.message),
6228
6239
  };
6229
6240
  };
6230
6241
  const deserializeAws_json1_1PlacementConstraint = (output, context) => {
6231
6242
  return {
6232
- expression: smithy_client_1.expectString(output.expression),
6233
- 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),
6234
6245
  };
6235
6246
  };
6236
6247
  const deserializeAws_json1_1PlacementConstraints = (output, context) => {
@@ -6257,25 +6268,25 @@ const deserializeAws_json1_1PlacementStrategies = (output, context) => {
6257
6268
  };
6258
6269
  const deserializeAws_json1_1PlacementStrategy = (output, context) => {
6259
6270
  return {
6260
- field: smithy_client_1.expectString(output.field),
6261
- 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),
6262
6273
  };
6263
6274
  };
6264
6275
  const deserializeAws_json1_1PlatformTaskDefinitionIncompatibilityException = (output, context) => {
6265
6276
  return {
6266
- message: smithy_client_1.expectString(output.message),
6277
+ message: (0, smithy_client_1.expectString)(output.message),
6267
6278
  };
6268
6279
  };
6269
6280
  const deserializeAws_json1_1PlatformUnknownException = (output, context) => {
6270
6281
  return {
6271
- message: smithy_client_1.expectString(output.message),
6282
+ message: (0, smithy_client_1.expectString)(output.message),
6272
6283
  };
6273
6284
  };
6274
6285
  const deserializeAws_json1_1PortMapping = (output, context) => {
6275
6286
  return {
6276
- containerPort: smithy_client_1.expectInt32(output.containerPort),
6277
- hostPort: smithy_client_1.expectInt32(output.hostPort),
6278
- 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),
6279
6290
  };
6280
6291
  };
6281
6292
  const deserializeAws_json1_1PortMappingList = (output, context) => {
@@ -6291,11 +6302,11 @@ const deserializeAws_json1_1PortMappingList = (output, context) => {
6291
6302
  };
6292
6303
  const deserializeAws_json1_1ProxyConfiguration = (output, context) => {
6293
6304
  return {
6294
- containerName: smithy_client_1.expectString(output.containerName),
6305
+ containerName: (0, smithy_client_1.expectString)(output.containerName),
6295
6306
  properties: output.properties !== undefined && output.properties !== null
6296
6307
  ? deserializeAws_json1_1ProxyConfigurationProperties(output.properties, context)
6297
6308
  : undefined,
6298
- type: smithy_client_1.expectString(output.type),
6309
+ type: (0, smithy_client_1.expectString)(output.type),
6299
6310
  };
6300
6311
  };
6301
6312
  const deserializeAws_json1_1ProxyConfigurationProperties = (output, context) => {
@@ -6354,7 +6365,7 @@ const deserializeAws_json1_1RegisterTaskDefinitionResponse = (output, context) =
6354
6365
  };
6355
6366
  const deserializeAws_json1_1RepositoryCredentials = (output, context) => {
6356
6367
  return {
6357
- credentialsParameter: smithy_client_1.expectString(output.credentialsParameter),
6368
+ credentialsParameter: (0, smithy_client_1.expectString)(output.credentialsParameter),
6358
6369
  };
6359
6370
  };
6360
6371
  const deserializeAws_json1_1RequiresAttributes = (output, context) => {
@@ -6370,30 +6381,30 @@ const deserializeAws_json1_1RequiresAttributes = (output, context) => {
6370
6381
  };
6371
6382
  const deserializeAws_json1_1Resource = (output, context) => {
6372
6383
  return {
6373
- doubleValue: smithy_client_1.limitedParseDouble(output.doubleValue),
6374
- integerValue: smithy_client_1.expectInt32(output.integerValue),
6375
- longValue: smithy_client_1.expectLong(output.longValue),
6376
- 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),
6377
6388
  stringSetValue: output.stringSetValue !== undefined && output.stringSetValue !== null
6378
6389
  ? deserializeAws_json1_1StringList(output.stringSetValue, context)
6379
6390
  : undefined,
6380
- type: smithy_client_1.expectString(output.type),
6391
+ type: (0, smithy_client_1.expectString)(output.type),
6381
6392
  };
6382
6393
  };
6383
6394
  const deserializeAws_json1_1ResourceInUseException = (output, context) => {
6384
6395
  return {
6385
- message: smithy_client_1.expectString(output.message),
6396
+ message: (0, smithy_client_1.expectString)(output.message),
6386
6397
  };
6387
6398
  };
6388
6399
  const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
6389
6400
  return {
6390
- message: smithy_client_1.expectString(output.message),
6401
+ message: (0, smithy_client_1.expectString)(output.message),
6391
6402
  };
6392
6403
  };
6393
6404
  const deserializeAws_json1_1ResourceRequirement = (output, context) => {
6394
6405
  return {
6395
- type: smithy_client_1.expectString(output.type),
6396
- 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),
6397
6408
  };
6398
6409
  };
6399
6410
  const deserializeAws_json1_1ResourceRequirements = (output, context) => {
@@ -6430,20 +6441,20 @@ const deserializeAws_json1_1RunTaskResponse = (output, context) => {
6430
6441
  };
6431
6442
  const deserializeAws_json1_1RuntimePlatform = (output, context) => {
6432
6443
  return {
6433
- cpuArchitecture: smithy_client_1.expectString(output.cpuArchitecture),
6434
- 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),
6435
6446
  };
6436
6447
  };
6437
6448
  const deserializeAws_json1_1Scale = (output, context) => {
6438
6449
  return {
6439
- unit: smithy_client_1.expectString(output.unit),
6440
- 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),
6441
6452
  };
6442
6453
  };
6443
6454
  const deserializeAws_json1_1Secret = (output, context) => {
6444
6455
  return {
6445
- name: smithy_client_1.expectString(output.name),
6446
- 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),
6447
6458
  };
6448
6459
  };
6449
6460
  const deserializeAws_json1_1SecretList = (output, context) => {
@@ -6459,7 +6470,7 @@ const deserializeAws_json1_1SecretList = (output, context) => {
6459
6470
  };
6460
6471
  const deserializeAws_json1_1ServerException = (output, context) => {
6461
6472
  return {
6462
- message: smithy_client_1.expectString(output.message),
6473
+ message: (0, smithy_client_1.expectString)(output.message),
6463
6474
  };
6464
6475
  };
6465
6476
  const deserializeAws_json1_1Service = (output, context) => {
@@ -6467,11 +6478,11 @@ const deserializeAws_json1_1Service = (output, context) => {
6467
6478
  capacityProviderStrategy: output.capacityProviderStrategy !== undefined && output.capacityProviderStrategy !== null
6468
6479
  ? deserializeAws_json1_1CapacityProviderStrategy(output.capacityProviderStrategy, context)
6469
6480
  : undefined,
6470
- clusterArn: smithy_client_1.expectString(output.clusterArn),
6481
+ clusterArn: (0, smithy_client_1.expectString)(output.clusterArn),
6471
6482
  createdAt: output.createdAt !== undefined && output.createdAt !== null
6472
- ? 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)))
6473
6484
  : undefined,
6474
- createdBy: smithy_client_1.expectString(output.createdBy),
6485
+ createdBy: (0, smithy_client_1.expectString)(output.createdBy),
6475
6486
  deploymentConfiguration: output.deploymentConfiguration !== undefined && output.deploymentConfiguration !== null
6476
6487
  ? deserializeAws_json1_1DeploymentConfiguration(output.deploymentConfiguration, context)
6477
6488
  : undefined,
@@ -6481,41 +6492,41 @@ const deserializeAws_json1_1Service = (output, context) => {
6481
6492
  deployments: output.deployments !== undefined && output.deployments !== null
6482
6493
  ? deserializeAws_json1_1Deployments(output.deployments, context)
6483
6494
  : undefined,
6484
- desiredCount: smithy_client_1.expectInt32(output.desiredCount),
6485
- enableECSManagedTags: smithy_client_1.expectBoolean(output.enableECSManagedTags),
6486
- 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),
6487
6498
  events: output.events !== undefined && output.events !== null
6488
6499
  ? deserializeAws_json1_1ServiceEvents(output.events, context)
6489
6500
  : undefined,
6490
- healthCheckGracePeriodSeconds: smithy_client_1.expectInt32(output.healthCheckGracePeriodSeconds),
6491
- 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),
6492
6503
  loadBalancers: output.loadBalancers !== undefined && output.loadBalancers !== null
6493
6504
  ? deserializeAws_json1_1LoadBalancers(output.loadBalancers, context)
6494
6505
  : undefined,
6495
6506
  networkConfiguration: output.networkConfiguration !== undefined && output.networkConfiguration !== null
6496
6507
  ? deserializeAws_json1_1NetworkConfiguration(output.networkConfiguration, context)
6497
6508
  : undefined,
6498
- pendingCount: smithy_client_1.expectInt32(output.pendingCount),
6509
+ pendingCount: (0, smithy_client_1.expectInt32)(output.pendingCount),
6499
6510
  placementConstraints: output.placementConstraints !== undefined && output.placementConstraints !== null
6500
6511
  ? deserializeAws_json1_1PlacementConstraints(output.placementConstraints, context)
6501
6512
  : undefined,
6502
6513
  placementStrategy: output.placementStrategy !== undefined && output.placementStrategy !== null
6503
6514
  ? deserializeAws_json1_1PlacementStrategies(output.placementStrategy, context)
6504
6515
  : undefined,
6505
- platformFamily: smithy_client_1.expectString(output.platformFamily),
6506
- platformVersion: smithy_client_1.expectString(output.platformVersion),
6507
- propagateTags: smithy_client_1.expectString(output.propagateTags),
6508
- roleArn: smithy_client_1.expectString(output.roleArn),
6509
- runningCount: smithy_client_1.expectInt32(output.runningCount),
6510
- schedulingStrategy: smithy_client_1.expectString(output.schedulingStrategy),
6511
- serviceArn: smithy_client_1.expectString(output.serviceArn),
6512
- 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),
6513
6524
  serviceRegistries: output.serviceRegistries !== undefined && output.serviceRegistries !== null
6514
6525
  ? deserializeAws_json1_1ServiceRegistries(output.serviceRegistries, context)
6515
6526
  : undefined,
6516
- status: smithy_client_1.expectString(output.status),
6527
+ status: (0, smithy_client_1.expectString)(output.status),
6517
6528
  tags: output.tags !== undefined && output.tags !== null ? deserializeAws_json1_1Tags(output.tags, context) : undefined,
6518
- taskDefinition: smithy_client_1.expectString(output.taskDefinition),
6529
+ taskDefinition: (0, smithy_client_1.expectString)(output.taskDefinition),
6519
6530
  taskSets: output.taskSets !== undefined && output.taskSets !== null
6520
6531
  ? deserializeAws_json1_1TaskSets(output.taskSets, context)
6521
6532
  : undefined,
@@ -6524,10 +6535,10 @@ const deserializeAws_json1_1Service = (output, context) => {
6524
6535
  const deserializeAws_json1_1ServiceEvent = (output, context) => {
6525
6536
  return {
6526
6537
  createdAt: output.createdAt !== undefined && output.createdAt !== null
6527
- ? 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)))
6528
6539
  : undefined,
6529
- id: smithy_client_1.expectString(output.id),
6530
- 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),
6531
6542
  };
6532
6543
  };
6533
6544
  const deserializeAws_json1_1ServiceEvents = (output, context) => {
@@ -6543,12 +6554,12 @@ const deserializeAws_json1_1ServiceEvents = (output, context) => {
6543
6554
  };
6544
6555
  const deserializeAws_json1_1ServiceNotActiveException = (output, context) => {
6545
6556
  return {
6546
- message: smithy_client_1.expectString(output.message),
6557
+ message: (0, smithy_client_1.expectString)(output.message),
6547
6558
  };
6548
6559
  };
6549
6560
  const deserializeAws_json1_1ServiceNotFoundException = (output, context) => {
6550
6561
  return {
6551
- message: smithy_client_1.expectString(output.message),
6562
+ message: (0, smithy_client_1.expectString)(output.message),
6552
6563
  };
6553
6564
  };
6554
6565
  const deserializeAws_json1_1ServiceRegistries = (output, context) => {
@@ -6564,10 +6575,10 @@ const deserializeAws_json1_1ServiceRegistries = (output, context) => {
6564
6575
  };
6565
6576
  const deserializeAws_json1_1ServiceRegistry = (output, context) => {
6566
6577
  return {
6567
- containerName: smithy_client_1.expectString(output.containerName),
6568
- containerPort: smithy_client_1.expectInt32(output.containerPort),
6569
- port: smithy_client_1.expectInt32(output.port),
6570
- 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),
6571
6582
  };
6572
6583
  };
6573
6584
  const deserializeAws_json1_1Services = (output, context) => {
@@ -6583,16 +6594,16 @@ const deserializeAws_json1_1Services = (output, context) => {
6583
6594
  };
6584
6595
  const deserializeAws_json1_1Session = (output, context) => {
6585
6596
  return {
6586
- sessionId: smithy_client_1.expectString(output.sessionId),
6587
- streamUrl: smithy_client_1.expectString(output.streamUrl),
6588
- 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),
6589
6600
  };
6590
6601
  };
6591
6602
  const deserializeAws_json1_1Setting = (output, context) => {
6592
6603
  return {
6593
- name: smithy_client_1.expectString(output.name),
6594
- principalArn: smithy_client_1.expectString(output.principalArn),
6595
- 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),
6596
6607
  };
6597
6608
  };
6598
6609
  const deserializeAws_json1_1Settings = (output, context) => {
@@ -6639,7 +6650,7 @@ const deserializeAws_json1_1StringList = (output, context) => {
6639
6650
  if (entry === null) {
6640
6651
  return null;
6641
6652
  }
6642
- return smithy_client_1.expectString(entry);
6653
+ return (0, smithy_client_1.expectString)(entry);
6643
6654
  });
6644
6655
  return retVal;
6645
6656
  };
@@ -6650,29 +6661,29 @@ const deserializeAws_json1_1StringMap = (output, context) => {
6650
6661
  }
6651
6662
  return {
6652
6663
  ...acc,
6653
- [key]: smithy_client_1.expectString(value),
6664
+ [key]: (0, smithy_client_1.expectString)(value),
6654
6665
  };
6655
6666
  }, {});
6656
6667
  };
6657
6668
  const deserializeAws_json1_1SubmitAttachmentStateChangesResponse = (output, context) => {
6658
6669
  return {
6659
- acknowledgment: smithy_client_1.expectString(output.acknowledgment),
6670
+ acknowledgment: (0, smithy_client_1.expectString)(output.acknowledgment),
6660
6671
  };
6661
6672
  };
6662
6673
  const deserializeAws_json1_1SubmitContainerStateChangeResponse = (output, context) => {
6663
6674
  return {
6664
- acknowledgment: smithy_client_1.expectString(output.acknowledgment),
6675
+ acknowledgment: (0, smithy_client_1.expectString)(output.acknowledgment),
6665
6676
  };
6666
6677
  };
6667
6678
  const deserializeAws_json1_1SubmitTaskStateChangeResponse = (output, context) => {
6668
6679
  return {
6669
- acknowledgment: smithy_client_1.expectString(output.acknowledgment),
6680
+ acknowledgment: (0, smithy_client_1.expectString)(output.acknowledgment),
6670
6681
  };
6671
6682
  };
6672
6683
  const deserializeAws_json1_1SystemControl = (output, context) => {
6673
6684
  return {
6674
- namespace: smithy_client_1.expectString(output.namespace),
6675
- 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),
6676
6687
  };
6677
6688
  };
6678
6689
  const deserializeAws_json1_1SystemControls = (output, context) => {
@@ -6688,8 +6699,8 @@ const deserializeAws_json1_1SystemControls = (output, context) => {
6688
6699
  };
6689
6700
  const deserializeAws_json1_1Tag = (output, context) => {
6690
6701
  return {
6691
- key: smithy_client_1.expectString(output.key),
6692
- 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),
6693
6704
  };
6694
6705
  };
6695
6706
  const deserializeAws_json1_1TagResourceResponse = (output, context) => {
@@ -6708,12 +6719,12 @@ const deserializeAws_json1_1Tags = (output, context) => {
6708
6719
  };
6709
6720
  const deserializeAws_json1_1TargetNotConnectedException = (output, context) => {
6710
6721
  return {
6711
- message: smithy_client_1.expectString(output.message),
6722
+ message: (0, smithy_client_1.expectString)(output.message),
6712
6723
  };
6713
6724
  };
6714
6725
  const deserializeAws_json1_1TargetNotFoundException = (output, context) => {
6715
6726
  return {
6716
- message: smithy_client_1.expectString(output.message),
6727
+ message: (0, smithy_client_1.expectString)(output.message),
6717
6728
  };
6718
6729
  };
6719
6730
  const deserializeAws_json1_1Task = (output, context) => {
@@ -6724,64 +6735,64 @@ const deserializeAws_json1_1Task = (output, context) => {
6724
6735
  attributes: output.attributes !== undefined && output.attributes !== null
6725
6736
  ? deserializeAws_json1_1Attributes(output.attributes, context)
6726
6737
  : undefined,
6727
- availabilityZone: smithy_client_1.expectString(output.availabilityZone),
6728
- capacityProviderName: smithy_client_1.expectString(output.capacityProviderName),
6729
- clusterArn: smithy_client_1.expectString(output.clusterArn),
6730
- 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),
6731
6742
  connectivityAt: output.connectivityAt !== undefined && output.connectivityAt !== null
6732
- ? 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)))
6733
6744
  : undefined,
6734
- containerInstanceArn: smithy_client_1.expectString(output.containerInstanceArn),
6745
+ containerInstanceArn: (0, smithy_client_1.expectString)(output.containerInstanceArn),
6735
6746
  containers: output.containers !== undefined && output.containers !== null
6736
6747
  ? deserializeAws_json1_1Containers(output.containers, context)
6737
6748
  : undefined,
6738
- cpu: smithy_client_1.expectString(output.cpu),
6749
+ cpu: (0, smithy_client_1.expectString)(output.cpu),
6739
6750
  createdAt: output.createdAt !== undefined && output.createdAt !== null
6740
- ? 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)))
6741
6752
  : undefined,
6742
- desiredStatus: smithy_client_1.expectString(output.desiredStatus),
6743
- 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),
6744
6755
  ephemeralStorage: output.ephemeralStorage !== undefined && output.ephemeralStorage !== null
6745
6756
  ? deserializeAws_json1_1EphemeralStorage(output.ephemeralStorage, context)
6746
6757
  : undefined,
6747
6758
  executionStoppedAt: output.executionStoppedAt !== undefined && output.executionStoppedAt !== null
6748
- ? 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)))
6749
6760
  : undefined,
6750
- group: smithy_client_1.expectString(output.group),
6751
- 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),
6752
6763
  inferenceAccelerators: output.inferenceAccelerators !== undefined && output.inferenceAccelerators !== null
6753
6764
  ? deserializeAws_json1_1InferenceAccelerators(output.inferenceAccelerators, context)
6754
6765
  : undefined,
6755
- lastStatus: smithy_client_1.expectString(output.lastStatus),
6756
- launchType: smithy_client_1.expectString(output.launchType),
6757
- 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),
6758
6769
  overrides: output.overrides !== undefined && output.overrides !== null
6759
6770
  ? deserializeAws_json1_1TaskOverride(output.overrides, context)
6760
6771
  : undefined,
6761
- platformFamily: smithy_client_1.expectString(output.platformFamily),
6762
- 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),
6763
6774
  pullStartedAt: output.pullStartedAt !== undefined && output.pullStartedAt !== null
6764
- ? 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)))
6765
6776
  : undefined,
6766
6777
  pullStoppedAt: output.pullStoppedAt !== undefined && output.pullStoppedAt !== null
6767
- ? 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)))
6768
6779
  : undefined,
6769
6780
  startedAt: output.startedAt !== undefined && output.startedAt !== null
6770
- ? 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)))
6771
6782
  : undefined,
6772
- startedBy: smithy_client_1.expectString(output.startedBy),
6773
- 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),
6774
6785
  stoppedAt: output.stoppedAt !== undefined && output.stoppedAt !== null
6775
- ? 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)))
6776
6787
  : undefined,
6777
- stoppedReason: smithy_client_1.expectString(output.stoppedReason),
6788
+ stoppedReason: (0, smithy_client_1.expectString)(output.stoppedReason),
6778
6789
  stoppingAt: output.stoppingAt !== undefined && output.stoppingAt !== null
6779
- ? 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)))
6780
6791
  : undefined,
6781
6792
  tags: output.tags !== undefined && output.tags !== null ? deserializeAws_json1_1Tags(output.tags, context) : undefined,
6782
- taskArn: smithy_client_1.expectString(output.taskArn),
6783
- taskDefinitionArn: smithy_client_1.expectString(output.taskDefinitionArn),
6784
- 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),
6785
6796
  };
6786
6797
  };
6787
6798
  const deserializeAws_json1_1TaskDefinition = (output, context) => {
@@ -6792,22 +6803,22 @@ const deserializeAws_json1_1TaskDefinition = (output, context) => {
6792
6803
  containerDefinitions: output.containerDefinitions !== undefined && output.containerDefinitions !== null
6793
6804
  ? deserializeAws_json1_1ContainerDefinitions(output.containerDefinitions, context)
6794
6805
  : undefined,
6795
- cpu: smithy_client_1.expectString(output.cpu),
6806
+ cpu: (0, smithy_client_1.expectString)(output.cpu),
6796
6807
  deregisteredAt: output.deregisteredAt !== undefined && output.deregisteredAt !== null
6797
- ? 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)))
6798
6809
  : undefined,
6799
6810
  ephemeralStorage: output.ephemeralStorage !== undefined && output.ephemeralStorage !== null
6800
6811
  ? deserializeAws_json1_1EphemeralStorage(output.ephemeralStorage, context)
6801
6812
  : undefined,
6802
- executionRoleArn: smithy_client_1.expectString(output.executionRoleArn),
6803
- 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),
6804
6815
  inferenceAccelerators: output.inferenceAccelerators !== undefined && output.inferenceAccelerators !== null
6805
6816
  ? deserializeAws_json1_1InferenceAccelerators(output.inferenceAccelerators, context)
6806
6817
  : undefined,
6807
- ipcMode: smithy_client_1.expectString(output.ipcMode),
6808
- memory: smithy_client_1.expectString(output.memory),
6809
- networkMode: smithy_client_1.expectString(output.networkMode),
6810
- 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),
6811
6822
  placementConstraints: output.placementConstraints !== undefined && output.placementConstraints !== null
6812
6823
  ? deserializeAws_json1_1TaskDefinitionPlacementConstraints(output.placementConstraints, context)
6813
6824
  : undefined,
@@ -6815,22 +6826,22 @@ const deserializeAws_json1_1TaskDefinition = (output, context) => {
6815
6826
  ? deserializeAws_json1_1ProxyConfiguration(output.proxyConfiguration, context)
6816
6827
  : undefined,
6817
6828
  registeredAt: output.registeredAt !== undefined && output.registeredAt !== null
6818
- ? 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)))
6819
6830
  : undefined,
6820
- registeredBy: smithy_client_1.expectString(output.registeredBy),
6831
+ registeredBy: (0, smithy_client_1.expectString)(output.registeredBy),
6821
6832
  requiresAttributes: output.requiresAttributes !== undefined && output.requiresAttributes !== null
6822
6833
  ? deserializeAws_json1_1RequiresAttributes(output.requiresAttributes, context)
6823
6834
  : undefined,
6824
6835
  requiresCompatibilities: output.requiresCompatibilities !== undefined && output.requiresCompatibilities !== null
6825
6836
  ? deserializeAws_json1_1CompatibilityList(output.requiresCompatibilities, context)
6826
6837
  : undefined,
6827
- revision: smithy_client_1.expectInt32(output.revision),
6838
+ revision: (0, smithy_client_1.expectInt32)(output.revision),
6828
6839
  runtimePlatform: output.runtimePlatform !== undefined && output.runtimePlatform !== null
6829
6840
  ? deserializeAws_json1_1RuntimePlatform(output.runtimePlatform, context)
6830
6841
  : undefined,
6831
- status: smithy_client_1.expectString(output.status),
6832
- taskDefinitionArn: smithy_client_1.expectString(output.taskDefinitionArn),
6833
- 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),
6834
6845
  volumes: output.volumes !== undefined && output.volumes !== null
6835
6846
  ? deserializeAws_json1_1VolumeList(output.volumes, context)
6836
6847
  : undefined,
@@ -6838,8 +6849,8 @@ const deserializeAws_json1_1TaskDefinition = (output, context) => {
6838
6849
  };
6839
6850
  const deserializeAws_json1_1TaskDefinitionPlacementConstraint = (output, context) => {
6840
6851
  return {
6841
- expression: smithy_client_1.expectString(output.expression),
6842
- 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),
6843
6854
  };
6844
6855
  };
6845
6856
  const deserializeAws_json1_1TaskDefinitionPlacementConstraints = (output, context) => {
@@ -6858,16 +6869,16 @@ const deserializeAws_json1_1TaskOverride = (output, context) => {
6858
6869
  containerOverrides: output.containerOverrides !== undefined && output.containerOverrides !== null
6859
6870
  ? deserializeAws_json1_1ContainerOverrides(output.containerOverrides, context)
6860
6871
  : undefined,
6861
- cpu: smithy_client_1.expectString(output.cpu),
6872
+ cpu: (0, smithy_client_1.expectString)(output.cpu),
6862
6873
  ephemeralStorage: output.ephemeralStorage !== undefined && output.ephemeralStorage !== null
6863
6874
  ? deserializeAws_json1_1EphemeralStorage(output.ephemeralStorage, context)
6864
6875
  : undefined,
6865
- executionRoleArn: smithy_client_1.expectString(output.executionRoleArn),
6876
+ executionRoleArn: (0, smithy_client_1.expectString)(output.executionRoleArn),
6866
6877
  inferenceAcceleratorOverrides: output.inferenceAcceleratorOverrides !== undefined && output.inferenceAcceleratorOverrides !== null
6867
6878
  ? deserializeAws_json1_1InferenceAcceleratorOverrides(output.inferenceAcceleratorOverrides, context)
6868
6879
  : undefined,
6869
- memory: smithy_client_1.expectString(output.memory),
6870
- 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),
6871
6882
  };
6872
6883
  };
6873
6884
  const deserializeAws_json1_1Tasks = (output, context) => {
@@ -6886,48 +6897,48 @@ const deserializeAws_json1_1TaskSet = (output, context) => {
6886
6897
  capacityProviderStrategy: output.capacityProviderStrategy !== undefined && output.capacityProviderStrategy !== null
6887
6898
  ? deserializeAws_json1_1CapacityProviderStrategy(output.capacityProviderStrategy, context)
6888
6899
  : undefined,
6889
- clusterArn: smithy_client_1.expectString(output.clusterArn),
6890
- 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),
6891
6902
  createdAt: output.createdAt !== undefined && output.createdAt !== null
6892
- ? 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)))
6893
6904
  : undefined,
6894
- externalId: smithy_client_1.expectString(output.externalId),
6895
- id: smithy_client_1.expectString(output.id),
6896
- 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),
6897
6908
  loadBalancers: output.loadBalancers !== undefined && output.loadBalancers !== null
6898
6909
  ? deserializeAws_json1_1LoadBalancers(output.loadBalancers, context)
6899
6910
  : undefined,
6900
6911
  networkConfiguration: output.networkConfiguration !== undefined && output.networkConfiguration !== null
6901
6912
  ? deserializeAws_json1_1NetworkConfiguration(output.networkConfiguration, context)
6902
6913
  : undefined,
6903
- pendingCount: smithy_client_1.expectInt32(output.pendingCount),
6904
- platformFamily: smithy_client_1.expectString(output.platformFamily),
6905
- platformVersion: smithy_client_1.expectString(output.platformVersion),
6906
- 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),
6907
6918
  scale: output.scale !== undefined && output.scale !== null
6908
6919
  ? deserializeAws_json1_1Scale(output.scale, context)
6909
6920
  : undefined,
6910
- serviceArn: smithy_client_1.expectString(output.serviceArn),
6921
+ serviceArn: (0, smithy_client_1.expectString)(output.serviceArn),
6911
6922
  serviceRegistries: output.serviceRegistries !== undefined && output.serviceRegistries !== null
6912
6923
  ? deserializeAws_json1_1ServiceRegistries(output.serviceRegistries, context)
6913
6924
  : undefined,
6914
- stabilityStatus: smithy_client_1.expectString(output.stabilityStatus),
6925
+ stabilityStatus: (0, smithy_client_1.expectString)(output.stabilityStatus),
6915
6926
  stabilityStatusAt: output.stabilityStatusAt !== undefined && output.stabilityStatusAt !== null
6916
- ? 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)))
6917
6928
  : undefined,
6918
- startedBy: smithy_client_1.expectString(output.startedBy),
6919
- 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),
6920
6931
  tags: output.tags !== undefined && output.tags !== null ? deserializeAws_json1_1Tags(output.tags, context) : undefined,
6921
- taskDefinition: smithy_client_1.expectString(output.taskDefinition),
6922
- 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),
6923
6934
  updatedAt: output.updatedAt !== undefined && output.updatedAt !== null
6924
- ? 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)))
6925
6936
  : undefined,
6926
6937
  };
6927
6938
  };
6928
6939
  const deserializeAws_json1_1TaskSetNotFoundException = (output, context) => {
6929
6940
  return {
6930
- message: smithy_client_1.expectString(output.message),
6941
+ message: (0, smithy_client_1.expectString)(output.message),
6931
6942
  };
6932
6943
  };
6933
6944
  const deserializeAws_json1_1TaskSets = (output, context) => {
@@ -6943,11 +6954,11 @@ const deserializeAws_json1_1TaskSets = (output, context) => {
6943
6954
  };
6944
6955
  const deserializeAws_json1_1Tmpfs = (output, context) => {
6945
6956
  return {
6946
- containerPath: smithy_client_1.expectString(output.containerPath),
6957
+ containerPath: (0, smithy_client_1.expectString)(output.containerPath),
6947
6958
  mountOptions: output.mountOptions !== undefined && output.mountOptions !== null
6948
6959
  ? deserializeAws_json1_1StringList(output.mountOptions, context)
6949
6960
  : undefined,
6950
- size: smithy_client_1.expectInt32(output.size),
6961
+ size: (0, smithy_client_1.expectInt32)(output.size),
6951
6962
  };
6952
6963
  };
6953
6964
  const deserializeAws_json1_1TmpfsList = (output, context) => {
@@ -6963,9 +6974,9 @@ const deserializeAws_json1_1TmpfsList = (output, context) => {
6963
6974
  };
6964
6975
  const deserializeAws_json1_1Ulimit = (output, context) => {
6965
6976
  return {
6966
- hardLimit: smithy_client_1.expectInt32(output.hardLimit),
6967
- name: smithy_client_1.expectString(output.name),
6968
- 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),
6969
6980
  };
6970
6981
  };
6971
6982
  const deserializeAws_json1_1UlimitList = (output, context) => {
@@ -6981,7 +6992,7 @@ const deserializeAws_json1_1UlimitList = (output, context) => {
6981
6992
  };
6982
6993
  const deserializeAws_json1_1UnsupportedFeatureException = (output, context) => {
6983
6994
  return {
6984
- message: smithy_client_1.expectString(output.message),
6995
+ message: (0, smithy_client_1.expectString)(output.message),
6985
6996
  };
6986
6997
  };
6987
6998
  const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
@@ -7027,7 +7038,7 @@ const deserializeAws_json1_1UpdateContainerInstancesStateResponse = (output, con
7027
7038
  };
7028
7039
  const deserializeAws_json1_1UpdateInProgressException = (output, context) => {
7029
7040
  return {
7030
- message: smithy_client_1.expectString(output.message),
7041
+ message: (0, smithy_client_1.expectString)(output.message),
7031
7042
  };
7032
7043
  };
7033
7044
  const deserializeAws_json1_1UpdateServicePrimaryTaskSetResponse = (output, context) => {
@@ -7053,9 +7064,9 @@ const deserializeAws_json1_1UpdateTaskSetResponse = (output, context) => {
7053
7064
  };
7054
7065
  const deserializeAws_json1_1VersionInfo = (output, context) => {
7055
7066
  return {
7056
- agentHash: smithy_client_1.expectString(output.agentHash),
7057
- agentVersion: smithy_client_1.expectString(output.agentVersion),
7058
- 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),
7059
7070
  };
7060
7071
  };
7061
7072
  const deserializeAws_json1_1Volume = (output, context) => {
@@ -7073,13 +7084,13 @@ const deserializeAws_json1_1Volume = (output, context) => {
7073
7084
  host: output.host !== undefined && output.host !== null
7074
7085
  ? deserializeAws_json1_1HostVolumeProperties(output.host, context)
7075
7086
  : undefined,
7076
- name: smithy_client_1.expectString(output.name),
7087
+ name: (0, smithy_client_1.expectString)(output.name),
7077
7088
  };
7078
7089
  };
7079
7090
  const deserializeAws_json1_1VolumeFrom = (output, context) => {
7080
7091
  return {
7081
- readOnly: smithy_client_1.expectBoolean(output.readOnly),
7082
- 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),
7083
7094
  };
7084
7095
  };
7085
7096
  const deserializeAws_json1_1VolumeFromList = (output, context) => {