@aws-sdk/client-shield 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 (57) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/ShieldClient.js +13 -13
  3. package/dist-cjs/commands/AssociateDRTLogBucketCommand.js +3 -3
  4. package/dist-cjs/commands/AssociateDRTRoleCommand.js +3 -3
  5. package/dist-cjs/commands/AssociateHealthCheckCommand.js +3 -3
  6. package/dist-cjs/commands/AssociateProactiveEngagementDetailsCommand.js +3 -3
  7. package/dist-cjs/commands/CreateProtectionCommand.js +3 -3
  8. package/dist-cjs/commands/CreateProtectionGroupCommand.js +3 -3
  9. package/dist-cjs/commands/CreateSubscriptionCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteProtectionCommand.js +3 -3
  11. package/dist-cjs/commands/DeleteProtectionGroupCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteSubscriptionCommand.js +3 -3
  13. package/dist-cjs/commands/DescribeAttackCommand.js +3 -3
  14. package/dist-cjs/commands/DescribeAttackStatisticsCommand.js +3 -3
  15. package/dist-cjs/commands/DescribeDRTAccessCommand.js +3 -3
  16. package/dist-cjs/commands/DescribeEmergencyContactSettingsCommand.js +3 -3
  17. package/dist-cjs/commands/DescribeProtectionCommand.js +3 -3
  18. package/dist-cjs/commands/DescribeProtectionGroupCommand.js +3 -3
  19. package/dist-cjs/commands/DescribeSubscriptionCommand.js +3 -3
  20. package/dist-cjs/commands/DisableApplicationLayerAutomaticResponseCommand.js +3 -3
  21. package/dist-cjs/commands/DisableProactiveEngagementCommand.js +3 -3
  22. package/dist-cjs/commands/DisassociateDRTLogBucketCommand.js +3 -3
  23. package/dist-cjs/commands/DisassociateDRTRoleCommand.js +3 -3
  24. package/dist-cjs/commands/DisassociateHealthCheckCommand.js +3 -3
  25. package/dist-cjs/commands/EnableApplicationLayerAutomaticResponseCommand.js +3 -3
  26. package/dist-cjs/commands/EnableProactiveEngagementCommand.js +3 -3
  27. package/dist-cjs/commands/GetSubscriptionStateCommand.js +3 -3
  28. package/dist-cjs/commands/ListAttacksCommand.js +3 -3
  29. package/dist-cjs/commands/ListProtectionGroupsCommand.js +3 -3
  30. package/dist-cjs/commands/ListProtectionsCommand.js +3 -3
  31. package/dist-cjs/commands/ListResourcesInProtectionGroupCommand.js +3 -3
  32. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  33. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  34. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  35. package/dist-cjs/commands/UpdateApplicationLayerAutomaticResponseCommand.js +3 -3
  36. package/dist-cjs/commands/UpdateEmergencyContactSettingsCommand.js +3 -3
  37. package/dist-cjs/commands/UpdateProtectionGroupCommand.js +3 -3
  38. package/dist-cjs/commands/UpdateSubscriptionCommand.js +3 -3
  39. package/dist-cjs/endpoints.js +1 -1
  40. package/dist-cjs/protocols/Aws_json1_1.js +134 -134
  41. package/dist-cjs/runtimeConfig.browser.js +4 -4
  42. package/dist-cjs/runtimeConfig.js +9 -9
  43. package/dist-cjs/runtimeConfig.native.js +1 -1
  44. package/dist-es/Shield.js +36 -36
  45. package/dist-es/pagination/ListAttacksPaginator.js +4 -4
  46. package/dist-es/pagination/ListProtectionGroupsPaginator.js +4 -4
  47. package/dist-es/pagination/ListProtectionsPaginator.js +4 -4
  48. package/dist-es/pagination/ListResourcesInProtectionGroupPaginator.js +4 -4
  49. package/dist-types/ShieldClient.d.ts +2 -2
  50. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  51. package/dist-types/runtimeConfig.d.ts +1 -1
  52. package/dist-types/runtimeConfig.native.d.ts +3 -3
  53. package/dist-types/ts3.4/ShieldClient.d.ts +2 -2
  54. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  55. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  56. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  57. package/package.json +34 -34
@@ -420,7 +420,7 @@ const deserializeAws_json1_1AssociateDRTLogBucketCommandError = async (output, c
420
420
  $fault: "client",
421
421
  $metadata: deserializeMetadata(output),
422
422
  });
423
- throw smithy_client_1.decorateServiceException(response, parsedBody);
423
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
424
424
  }
425
425
  };
426
426
  const deserializeAws_json1_1AssociateDRTRoleCommand = async (output, context) => {
@@ -471,7 +471,7 @@ const deserializeAws_json1_1AssociateDRTRoleCommandError = async (output, contex
471
471
  $fault: "client",
472
472
  $metadata: deserializeMetadata(output),
473
473
  });
474
- throw smithy_client_1.decorateServiceException(response, parsedBody);
474
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
475
475
  }
476
476
  };
477
477
  const deserializeAws_json1_1AssociateHealthCheckCommand = async (output, context) => {
@@ -522,7 +522,7 @@ const deserializeAws_json1_1AssociateHealthCheckCommandError = async (output, co
522
522
  $fault: "client",
523
523
  $metadata: deserializeMetadata(output),
524
524
  });
525
- throw smithy_client_1.decorateServiceException(response, parsedBody);
525
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
526
526
  }
527
527
  };
528
528
  const deserializeAws_json1_1AssociateProactiveEngagementDetailsCommand = async (output, context) => {
@@ -570,7 +570,7 @@ const deserializeAws_json1_1AssociateProactiveEngagementDetailsCommandError = as
570
570
  $fault: "client",
571
571
  $metadata: deserializeMetadata(output),
572
572
  });
573
- throw smithy_client_1.decorateServiceException(response, parsedBody);
573
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
574
574
  }
575
575
  };
576
576
  const deserializeAws_json1_1CreateProtectionCommand = async (output, context) => {
@@ -627,7 +627,7 @@ const deserializeAws_json1_1CreateProtectionCommandError = async (output, contex
627
627
  $fault: "client",
628
628
  $metadata: deserializeMetadata(output),
629
629
  });
630
- throw smithy_client_1.decorateServiceException(response, parsedBody);
630
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
631
631
  }
632
632
  };
633
633
  const deserializeAws_json1_1CreateProtectionGroupCommand = async (output, context) => {
@@ -678,7 +678,7 @@ const deserializeAws_json1_1CreateProtectionGroupCommandError = async (output, c
678
678
  $fault: "client",
679
679
  $metadata: deserializeMetadata(output),
680
680
  });
681
- throw smithy_client_1.decorateServiceException(response, parsedBody);
681
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
682
682
  }
683
683
  };
684
684
  const deserializeAws_json1_1CreateSubscriptionCommand = async (output, context) => {
@@ -717,7 +717,7 @@ const deserializeAws_json1_1CreateSubscriptionCommandError = async (output, cont
717
717
  $fault: "client",
718
718
  $metadata: deserializeMetadata(output),
719
719
  });
720
- throw smithy_client_1.decorateServiceException(response, parsedBody);
720
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
721
721
  }
722
722
  };
723
723
  const deserializeAws_json1_1DeleteProtectionCommand = async (output, context) => {
@@ -759,7 +759,7 @@ const deserializeAws_json1_1DeleteProtectionCommandError = async (output, contex
759
759
  $fault: "client",
760
760
  $metadata: deserializeMetadata(output),
761
761
  });
762
- throw smithy_client_1.decorateServiceException(response, parsedBody);
762
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
763
763
  }
764
764
  };
765
765
  const deserializeAws_json1_1DeleteProtectionGroupCommand = async (output, context) => {
@@ -801,7 +801,7 @@ const deserializeAws_json1_1DeleteProtectionGroupCommandError = async (output, c
801
801
  $fault: "client",
802
802
  $metadata: deserializeMetadata(output),
803
803
  });
804
- throw smithy_client_1.decorateServiceException(response, parsedBody);
804
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
805
805
  }
806
806
  };
807
807
  const deserializeAws_json1_1DeleteSubscriptionCommand = async (output, context) => {
@@ -843,7 +843,7 @@ const deserializeAws_json1_1DeleteSubscriptionCommandError = async (output, cont
843
843
  $fault: "client",
844
844
  $metadata: deserializeMetadata(output),
845
845
  });
846
- throw smithy_client_1.decorateServiceException(response, parsedBody);
846
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
847
847
  }
848
848
  };
849
849
  const deserializeAws_json1_1DescribeAttackCommand = async (output, context) => {
@@ -882,7 +882,7 @@ const deserializeAws_json1_1DescribeAttackCommandError = async (output, context)
882
882
  $fault: "client",
883
883
  $metadata: deserializeMetadata(output),
884
884
  });
885
- throw smithy_client_1.decorateServiceException(response, parsedBody);
885
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
886
886
  }
887
887
  };
888
888
  const deserializeAws_json1_1DescribeAttackStatisticsCommand = async (output, context) => {
@@ -918,7 +918,7 @@ const deserializeAws_json1_1DescribeAttackStatisticsCommandError = async (output
918
918
  $fault: "client",
919
919
  $metadata: deserializeMetadata(output),
920
920
  });
921
- throw smithy_client_1.decorateServiceException(response, parsedBody);
921
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
922
922
  }
923
923
  };
924
924
  const deserializeAws_json1_1DescribeDRTAccessCommand = async (output, context) => {
@@ -957,7 +957,7 @@ const deserializeAws_json1_1DescribeDRTAccessCommandError = async (output, conte
957
957
  $fault: "client",
958
958
  $metadata: deserializeMetadata(output),
959
959
  });
960
- throw smithy_client_1.decorateServiceException(response, parsedBody);
960
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
961
961
  }
962
962
  };
963
963
  const deserializeAws_json1_1DescribeEmergencyContactSettingsCommand = async (output, context) => {
@@ -996,7 +996,7 @@ const deserializeAws_json1_1DescribeEmergencyContactSettingsCommandError = async
996
996
  $fault: "client",
997
997
  $metadata: deserializeMetadata(output),
998
998
  });
999
- throw smithy_client_1.decorateServiceException(response, parsedBody);
999
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1000
1000
  }
1001
1001
  };
1002
1002
  const deserializeAws_json1_1DescribeProtectionCommand = async (output, context) => {
@@ -1038,7 +1038,7 @@ const deserializeAws_json1_1DescribeProtectionCommandError = async (output, cont
1038
1038
  $fault: "client",
1039
1039
  $metadata: deserializeMetadata(output),
1040
1040
  });
1041
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1041
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1042
1042
  }
1043
1043
  };
1044
1044
  const deserializeAws_json1_1DescribeProtectionGroupCommand = async (output, context) => {
@@ -1077,7 +1077,7 @@ const deserializeAws_json1_1DescribeProtectionGroupCommandError = async (output,
1077
1077
  $fault: "client",
1078
1078
  $metadata: deserializeMetadata(output),
1079
1079
  });
1080
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1080
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1081
1081
  }
1082
1082
  };
1083
1083
  const deserializeAws_json1_1DescribeSubscriptionCommand = async (output, context) => {
@@ -1116,7 +1116,7 @@ const deserializeAws_json1_1DescribeSubscriptionCommandError = async (output, co
1116
1116
  $fault: "client",
1117
1117
  $metadata: deserializeMetadata(output),
1118
1118
  });
1119
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1119
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1120
1120
  }
1121
1121
  };
1122
1122
  const deserializeAws_json1_1DisableApplicationLayerAutomaticResponseCommand = async (output, context) => {
@@ -1164,7 +1164,7 @@ const deserializeAws_json1_1DisableApplicationLayerAutomaticResponseCommandError
1164
1164
  $fault: "client",
1165
1165
  $metadata: deserializeMetadata(output),
1166
1166
  });
1167
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1167
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1168
1168
  }
1169
1169
  };
1170
1170
  const deserializeAws_json1_1DisableProactiveEngagementCommand = async (output, context) => {
@@ -1212,7 +1212,7 @@ const deserializeAws_json1_1DisableProactiveEngagementCommandError = async (outp
1212
1212
  $fault: "client",
1213
1213
  $metadata: deserializeMetadata(output),
1214
1214
  });
1215
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1215
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1216
1216
  }
1217
1217
  };
1218
1218
  const deserializeAws_json1_1DisassociateDRTLogBucketCommand = async (output, context) => {
@@ -1263,7 +1263,7 @@ const deserializeAws_json1_1DisassociateDRTLogBucketCommandError = async (output
1263
1263
  $fault: "client",
1264
1264
  $metadata: deserializeMetadata(output),
1265
1265
  });
1266
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1266
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1267
1267
  }
1268
1268
  };
1269
1269
  const deserializeAws_json1_1DisassociateDRTRoleCommand = async (output, context) => {
@@ -1308,7 +1308,7 @@ const deserializeAws_json1_1DisassociateDRTRoleCommandError = async (output, con
1308
1308
  $fault: "client",
1309
1309
  $metadata: deserializeMetadata(output),
1310
1310
  });
1311
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1311
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1312
1312
  }
1313
1313
  };
1314
1314
  const deserializeAws_json1_1DisassociateHealthCheckCommand = async (output, context) => {
@@ -1356,7 +1356,7 @@ const deserializeAws_json1_1DisassociateHealthCheckCommandError = async (output,
1356
1356
  $fault: "client",
1357
1357
  $metadata: deserializeMetadata(output),
1358
1358
  });
1359
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1359
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1360
1360
  }
1361
1361
  };
1362
1362
  const deserializeAws_json1_1EnableApplicationLayerAutomaticResponseCommand = async (output, context) => {
@@ -1407,7 +1407,7 @@ const deserializeAws_json1_1EnableApplicationLayerAutomaticResponseCommandError
1407
1407
  $fault: "client",
1408
1408
  $metadata: deserializeMetadata(output),
1409
1409
  });
1410
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1410
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1411
1411
  }
1412
1412
  };
1413
1413
  const deserializeAws_json1_1EnableProactiveEngagementCommand = async (output, context) => {
@@ -1455,7 +1455,7 @@ const deserializeAws_json1_1EnableProactiveEngagementCommandError = async (outpu
1455
1455
  $fault: "client",
1456
1456
  $metadata: deserializeMetadata(output),
1457
1457
  });
1458
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1458
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1459
1459
  }
1460
1460
  };
1461
1461
  const deserializeAws_json1_1GetSubscriptionStateCommand = async (output, context) => {
@@ -1491,7 +1491,7 @@ const deserializeAws_json1_1GetSubscriptionStateCommandError = async (output, co
1491
1491
  $fault: "client",
1492
1492
  $metadata: deserializeMetadata(output),
1493
1493
  });
1494
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1494
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1495
1495
  }
1496
1496
  };
1497
1497
  const deserializeAws_json1_1ListAttacksCommand = async (output, context) => {
@@ -1533,7 +1533,7 @@ const deserializeAws_json1_1ListAttacksCommandError = async (output, context) =>
1533
1533
  $fault: "client",
1534
1534
  $metadata: deserializeMetadata(output),
1535
1535
  });
1536
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1536
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1537
1537
  }
1538
1538
  };
1539
1539
  const deserializeAws_json1_1ListProtectionGroupsCommand = async (output, context) => {
@@ -1575,7 +1575,7 @@ const deserializeAws_json1_1ListProtectionGroupsCommandError = async (output, co
1575
1575
  $fault: "client",
1576
1576
  $metadata: deserializeMetadata(output),
1577
1577
  });
1578
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1578
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1579
1579
  }
1580
1580
  };
1581
1581
  const deserializeAws_json1_1ListProtectionsCommand = async (output, context) => {
@@ -1617,7 +1617,7 @@ const deserializeAws_json1_1ListProtectionsCommandError = async (output, context
1617
1617
  $fault: "client",
1618
1618
  $metadata: deserializeMetadata(output),
1619
1619
  });
1620
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1620
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1621
1621
  }
1622
1622
  };
1623
1623
  const deserializeAws_json1_1ListResourcesInProtectionGroupCommand = async (output, context) => {
@@ -1659,7 +1659,7 @@ const deserializeAws_json1_1ListResourcesInProtectionGroupCommandError = async (
1659
1659
  $fault: "client",
1660
1660
  $metadata: deserializeMetadata(output),
1661
1661
  });
1662
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1662
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1663
1663
  }
1664
1664
  };
1665
1665
  const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
@@ -1701,7 +1701,7 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
1701
1701
  $fault: "client",
1702
1702
  $metadata: deserializeMetadata(output),
1703
1703
  });
1704
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1704
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1705
1705
  }
1706
1706
  };
1707
1707
  const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
@@ -1746,7 +1746,7 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
1746
1746
  $fault: "client",
1747
1747
  $metadata: deserializeMetadata(output),
1748
1748
  });
1749
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1749
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1750
1750
  }
1751
1751
  };
1752
1752
  const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
@@ -1791,7 +1791,7 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
1791
1791
  $fault: "client",
1792
1792
  $metadata: deserializeMetadata(output),
1793
1793
  });
1794
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1794
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1795
1795
  }
1796
1796
  };
1797
1797
  const deserializeAws_json1_1UpdateApplicationLayerAutomaticResponseCommand = async (output, context) => {
@@ -1839,7 +1839,7 @@ const deserializeAws_json1_1UpdateApplicationLayerAutomaticResponseCommandError
1839
1839
  $fault: "client",
1840
1840
  $metadata: deserializeMetadata(output),
1841
1841
  });
1842
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1842
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1843
1843
  }
1844
1844
  };
1845
1845
  const deserializeAws_json1_1UpdateEmergencyContactSettingsCommand = async (output, context) => {
@@ -1884,7 +1884,7 @@ const deserializeAws_json1_1UpdateEmergencyContactSettingsCommandError = async (
1884
1884
  $fault: "client",
1885
1885
  $metadata: deserializeMetadata(output),
1886
1886
  });
1887
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1887
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1888
1888
  }
1889
1889
  };
1890
1890
  const deserializeAws_json1_1UpdateProtectionGroupCommand = async (output, context) => {
@@ -1929,7 +1929,7 @@ const deserializeAws_json1_1UpdateProtectionGroupCommandError = async (output, c
1929
1929
  $fault: "client",
1930
1930
  $metadata: deserializeMetadata(output),
1931
1931
  });
1932
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1932
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1933
1933
  }
1934
1934
  };
1935
1935
  const deserializeAws_json1_1UpdateSubscriptionCommand = async (output, context) => {
@@ -1977,7 +1977,7 @@ const deserializeAws_json1_1UpdateSubscriptionCommandError = async (output, cont
1977
1977
  $fault: "client",
1978
1978
  $metadata: deserializeMetadata(output),
1979
1979
  });
1980
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1980
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1981
1981
  }
1982
1982
  };
1983
1983
  const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
@@ -1987,7 +1987,7 @@ const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput,
1987
1987
  $metadata: deserializeMetadata(parsedOutput),
1988
1988
  ...deserialized,
1989
1989
  });
1990
- return smithy_client_1.decorateServiceException(exception, body);
1990
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1991
1991
  };
1992
1992
  const deserializeAws_json1_1AccessDeniedForDependencyExceptionResponse = async (parsedOutput, context) => {
1993
1993
  const body = parsedOutput.body;
@@ -1996,7 +1996,7 @@ const deserializeAws_json1_1AccessDeniedForDependencyExceptionResponse = async (
1996
1996
  $metadata: deserializeMetadata(parsedOutput),
1997
1997
  ...deserialized,
1998
1998
  });
1999
- return smithy_client_1.decorateServiceException(exception, body);
1999
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2000
2000
  };
2001
2001
  const deserializeAws_json1_1InternalErrorExceptionResponse = async (parsedOutput, context) => {
2002
2002
  const body = parsedOutput.body;
@@ -2005,7 +2005,7 @@ const deserializeAws_json1_1InternalErrorExceptionResponse = async (parsedOutput
2005
2005
  $metadata: deserializeMetadata(parsedOutput),
2006
2006
  ...deserialized,
2007
2007
  });
2008
- return smithy_client_1.decorateServiceException(exception, body);
2008
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2009
2009
  };
2010
2010
  const deserializeAws_json1_1InvalidOperationExceptionResponse = async (parsedOutput, context) => {
2011
2011
  const body = parsedOutput.body;
@@ -2014,7 +2014,7 @@ const deserializeAws_json1_1InvalidOperationExceptionResponse = async (parsedOut
2014
2014
  $metadata: deserializeMetadata(parsedOutput),
2015
2015
  ...deserialized,
2016
2016
  });
2017
- return smithy_client_1.decorateServiceException(exception, body);
2017
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2018
2018
  };
2019
2019
  const deserializeAws_json1_1InvalidPaginationTokenExceptionResponse = async (parsedOutput, context) => {
2020
2020
  const body = parsedOutput.body;
@@ -2023,7 +2023,7 @@ const deserializeAws_json1_1InvalidPaginationTokenExceptionResponse = async (par
2023
2023
  $metadata: deserializeMetadata(parsedOutput),
2024
2024
  ...deserialized,
2025
2025
  });
2026
- return smithy_client_1.decorateServiceException(exception, body);
2026
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2027
2027
  };
2028
2028
  const deserializeAws_json1_1InvalidParameterExceptionResponse = async (parsedOutput, context) => {
2029
2029
  const body = parsedOutput.body;
@@ -2032,7 +2032,7 @@ const deserializeAws_json1_1InvalidParameterExceptionResponse = async (parsedOut
2032
2032
  $metadata: deserializeMetadata(parsedOutput),
2033
2033
  ...deserialized,
2034
2034
  });
2035
- return smithy_client_1.decorateServiceException(exception, body);
2035
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2036
2036
  };
2037
2037
  const deserializeAws_json1_1InvalidResourceExceptionResponse = async (parsedOutput, context) => {
2038
2038
  const body = parsedOutput.body;
@@ -2041,7 +2041,7 @@ const deserializeAws_json1_1InvalidResourceExceptionResponse = async (parsedOutp
2041
2041
  $metadata: deserializeMetadata(parsedOutput),
2042
2042
  ...deserialized,
2043
2043
  });
2044
- return smithy_client_1.decorateServiceException(exception, body);
2044
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2045
2045
  };
2046
2046
  const deserializeAws_json1_1LimitsExceededExceptionResponse = async (parsedOutput, context) => {
2047
2047
  const body = parsedOutput.body;
@@ -2050,7 +2050,7 @@ const deserializeAws_json1_1LimitsExceededExceptionResponse = async (parsedOutpu
2050
2050
  $metadata: deserializeMetadata(parsedOutput),
2051
2051
  ...deserialized,
2052
2052
  });
2053
- return smithy_client_1.decorateServiceException(exception, body);
2053
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2054
2054
  };
2055
2055
  const deserializeAws_json1_1LockedSubscriptionExceptionResponse = async (parsedOutput, context) => {
2056
2056
  const body = parsedOutput.body;
@@ -2059,7 +2059,7 @@ const deserializeAws_json1_1LockedSubscriptionExceptionResponse = async (parsedO
2059
2059
  $metadata: deserializeMetadata(parsedOutput),
2060
2060
  ...deserialized,
2061
2061
  });
2062
- return smithy_client_1.decorateServiceException(exception, body);
2062
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2063
2063
  };
2064
2064
  const deserializeAws_json1_1NoAssociatedRoleExceptionResponse = async (parsedOutput, context) => {
2065
2065
  const body = parsedOutput.body;
@@ -2068,7 +2068,7 @@ const deserializeAws_json1_1NoAssociatedRoleExceptionResponse = async (parsedOut
2068
2068
  $metadata: deserializeMetadata(parsedOutput),
2069
2069
  ...deserialized,
2070
2070
  });
2071
- return smithy_client_1.decorateServiceException(exception, body);
2071
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2072
2072
  };
2073
2073
  const deserializeAws_json1_1OptimisticLockExceptionResponse = async (parsedOutput, context) => {
2074
2074
  const body = parsedOutput.body;
@@ -2077,7 +2077,7 @@ const deserializeAws_json1_1OptimisticLockExceptionResponse = async (parsedOutpu
2077
2077
  $metadata: deserializeMetadata(parsedOutput),
2078
2078
  ...deserialized,
2079
2079
  });
2080
- return smithy_client_1.decorateServiceException(exception, body);
2080
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2081
2081
  };
2082
2082
  const deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
2083
2083
  const body = parsedOutput.body;
@@ -2086,7 +2086,7 @@ const deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse = async (pars
2086
2086
  $metadata: deserializeMetadata(parsedOutput),
2087
2087
  ...deserialized,
2088
2088
  });
2089
- return smithy_client_1.decorateServiceException(exception, body);
2089
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2090
2090
  };
2091
2091
  const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
2092
2092
  const body = parsedOutput.body;
@@ -2095,7 +2095,7 @@ const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOut
2095
2095
  $metadata: deserializeMetadata(parsedOutput),
2096
2096
  ...deserialized,
2097
2097
  });
2098
- return smithy_client_1.decorateServiceException(exception, body);
2098
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2099
2099
  };
2100
2100
  const serializeAws_json1_1AssociateDRTLogBucketRequest = (input, context) => {
2101
2101
  return {
@@ -2393,12 +2393,12 @@ const serializeAws_json1_1UpdateSubscriptionRequest = (input, context) => {
2393
2393
  };
2394
2394
  const deserializeAws_json1_1AccessDeniedException = (output, context) => {
2395
2395
  return {
2396
- message: smithy_client_1.expectString(output.message),
2396
+ message: (0, smithy_client_1.expectString)(output.message),
2397
2397
  };
2398
2398
  };
2399
2399
  const deserializeAws_json1_1AccessDeniedForDependencyException = (output, context) => {
2400
2400
  return {
2401
- message: smithy_client_1.expectString(output.message),
2401
+ message: (0, smithy_client_1.expectString)(output.message),
2402
2402
  };
2403
2403
  };
2404
2404
  const deserializeAws_json1_1ApplicationLayerAutomaticResponseConfiguration = (output, context) => {
@@ -2406,7 +2406,7 @@ const deserializeAws_json1_1ApplicationLayerAutomaticResponseConfiguration = (ou
2406
2406
  Action: output.Action !== undefined && output.Action !== null
2407
2407
  ? deserializeAws_json1_1ResponseAction(output.Action, context)
2408
2408
  : undefined,
2409
- Status: smithy_client_1.expectString(output.Status),
2409
+ Status: (0, smithy_client_1.expectString)(output.Status),
2410
2410
  };
2411
2411
  };
2412
2412
  const deserializeAws_json1_1AssociateDRTLogBucketResponse = (output, context) => {
@@ -2426,19 +2426,19 @@ const deserializeAws_json1_1AttackDetail = (output, context) => {
2426
2426
  AttackCounters: output.AttackCounters !== undefined && output.AttackCounters !== null
2427
2427
  ? deserializeAws_json1_1SummarizedCounterList(output.AttackCounters, context)
2428
2428
  : undefined,
2429
- AttackId: smithy_client_1.expectString(output.AttackId),
2429
+ AttackId: (0, smithy_client_1.expectString)(output.AttackId),
2430
2430
  AttackProperties: output.AttackProperties !== undefined && output.AttackProperties !== null
2431
2431
  ? deserializeAws_json1_1AttackProperties(output.AttackProperties, context)
2432
2432
  : undefined,
2433
2433
  EndTime: output.EndTime !== undefined && output.EndTime !== null
2434
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
2434
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
2435
2435
  : undefined,
2436
2436
  Mitigations: output.Mitigations !== undefined && output.Mitigations !== null
2437
2437
  ? deserializeAws_json1_1MitigationList(output.Mitigations, context)
2438
2438
  : undefined,
2439
- ResourceArn: smithy_client_1.expectString(output.ResourceArn),
2439
+ ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
2440
2440
  StartTime: output.StartTime !== undefined && output.StartTime !== null
2441
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
2441
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
2442
2442
  : undefined,
2443
2443
  SubResources: output.SubResources !== undefined && output.SubResources !== null
2444
2444
  ? deserializeAws_json1_1SubResourceSummaryList(output.SubResources, context)
@@ -2458,18 +2458,18 @@ const deserializeAws_json1_1AttackProperties = (output, context) => {
2458
2458
  };
2459
2459
  const deserializeAws_json1_1AttackProperty = (output, context) => {
2460
2460
  return {
2461
- AttackLayer: smithy_client_1.expectString(output.AttackLayer),
2462
- AttackPropertyIdentifier: smithy_client_1.expectString(output.AttackPropertyIdentifier),
2461
+ AttackLayer: (0, smithy_client_1.expectString)(output.AttackLayer),
2462
+ AttackPropertyIdentifier: (0, smithy_client_1.expectString)(output.AttackPropertyIdentifier),
2463
2463
  TopContributors: output.TopContributors !== undefined && output.TopContributors !== null
2464
2464
  ? deserializeAws_json1_1TopContributors(output.TopContributors, context)
2465
2465
  : undefined,
2466
- Total: smithy_client_1.expectLong(output.Total),
2467
- Unit: smithy_client_1.expectString(output.Unit),
2466
+ Total: (0, smithy_client_1.expectLong)(output.Total),
2467
+ Unit: (0, smithy_client_1.expectString)(output.Unit),
2468
2468
  };
2469
2469
  };
2470
2470
  const deserializeAws_json1_1AttackStatisticsDataItem = (output, context) => {
2471
2471
  return {
2472
- AttackCount: smithy_client_1.expectLong(output.AttackCount),
2472
+ AttackCount: (0, smithy_client_1.expectLong)(output.AttackCount),
2473
2473
  AttackVolume: output.AttackVolume !== undefined && output.AttackVolume !== null
2474
2474
  ? deserializeAws_json1_1AttackVolume(output.AttackVolume, context)
2475
2475
  : undefined,
@@ -2499,22 +2499,22 @@ const deserializeAws_json1_1AttackSummaries = (output, context) => {
2499
2499
  };
2500
2500
  const deserializeAws_json1_1AttackSummary = (output, context) => {
2501
2501
  return {
2502
- AttackId: smithy_client_1.expectString(output.AttackId),
2502
+ AttackId: (0, smithy_client_1.expectString)(output.AttackId),
2503
2503
  AttackVectors: output.AttackVectors !== undefined && output.AttackVectors !== null
2504
2504
  ? deserializeAws_json1_1AttackVectorDescriptionList(output.AttackVectors, context)
2505
2505
  : undefined,
2506
2506
  EndTime: output.EndTime !== undefined && output.EndTime !== null
2507
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
2507
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
2508
2508
  : undefined,
2509
- ResourceArn: smithy_client_1.expectString(output.ResourceArn),
2509
+ ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
2510
2510
  StartTime: output.StartTime !== undefined && output.StartTime !== null
2511
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
2511
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
2512
2512
  : undefined,
2513
2513
  };
2514
2514
  };
2515
2515
  const deserializeAws_json1_1AttackVectorDescription = (output, context) => {
2516
2516
  return {
2517
- VectorType: smithy_client_1.expectString(output.VectorType),
2517
+ VectorType: (0, smithy_client_1.expectString)(output.VectorType),
2518
2518
  };
2519
2519
  };
2520
2520
  const deserializeAws_json1_1AttackVectorDescriptionList = (output, context) => {
@@ -2543,7 +2543,7 @@ const deserializeAws_json1_1AttackVolume = (output, context) => {
2543
2543
  };
2544
2544
  const deserializeAws_json1_1AttackVolumeStatistics = (output, context) => {
2545
2545
  return {
2546
- Max: smithy_client_1.limitedParseDouble(output.Max),
2546
+ Max: (0, smithy_client_1.limitedParseDouble)(output.Max),
2547
2547
  };
2548
2548
  };
2549
2549
  const deserializeAws_json1_1BlockAction = (output, context) => {
@@ -2551,8 +2551,8 @@ const deserializeAws_json1_1BlockAction = (output, context) => {
2551
2551
  };
2552
2552
  const deserializeAws_json1_1Contributor = (output, context) => {
2553
2553
  return {
2554
- Name: smithy_client_1.expectString(output.Name),
2555
- Value: smithy_client_1.expectLong(output.Value),
2554
+ Name: (0, smithy_client_1.expectString)(output.Name),
2555
+ Value: (0, smithy_client_1.expectLong)(output.Value),
2556
2556
  };
2557
2557
  };
2558
2558
  const deserializeAws_json1_1CountAction = (output, context) => {
@@ -2563,7 +2563,7 @@ const deserializeAws_json1_1CreateProtectionGroupResponse = (output, context) =>
2563
2563
  };
2564
2564
  const deserializeAws_json1_1CreateProtectionResponse = (output, context) => {
2565
2565
  return {
2566
- ProtectionId: smithy_client_1.expectString(output.ProtectionId),
2566
+ ProtectionId: (0, smithy_client_1.expectString)(output.ProtectionId),
2567
2567
  };
2568
2568
  };
2569
2569
  const deserializeAws_json1_1CreateSubscriptionResponse = (output, context) => {
@@ -2600,7 +2600,7 @@ const deserializeAws_json1_1DescribeDRTAccessResponse = (output, context) => {
2600
2600
  LogBucketList: output.LogBucketList !== undefined && output.LogBucketList !== null
2601
2601
  ? deserializeAws_json1_1LogBucketList(output.LogBucketList, context)
2602
2602
  : undefined,
2603
- RoleArn: smithy_client_1.expectString(output.RoleArn),
2603
+ RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
2604
2604
  };
2605
2605
  };
2606
2606
  const deserializeAws_json1_1DescribeEmergencyContactSettingsResponse = (output, context) => {
@@ -2648,9 +2648,9 @@ const deserializeAws_json1_1DisassociateHealthCheckResponse = (output, context)
2648
2648
  };
2649
2649
  const deserializeAws_json1_1EmergencyContact = (output, context) => {
2650
2650
  return {
2651
- ContactNotes: smithy_client_1.expectString(output.ContactNotes),
2652
- EmailAddress: smithy_client_1.expectString(output.EmailAddress),
2653
- PhoneNumber: smithy_client_1.expectString(output.PhoneNumber),
2651
+ ContactNotes: (0, smithy_client_1.expectString)(output.ContactNotes),
2652
+ EmailAddress: (0, smithy_client_1.expectString)(output.EmailAddress),
2653
+ PhoneNumber: (0, smithy_client_1.expectString)(output.PhoneNumber),
2654
2654
  };
2655
2655
  };
2656
2656
  const deserializeAws_json1_1EmergencyContactList = (output, context) => {
@@ -2672,7 +2672,7 @@ const deserializeAws_json1_1EnableProactiveEngagementResponse = (output, context
2672
2672
  };
2673
2673
  const deserializeAws_json1_1GetSubscriptionStateResponse = (output, context) => {
2674
2674
  return {
2675
- SubscriptionState: smithy_client_1.expectString(output.SubscriptionState),
2675
+ SubscriptionState: (0, smithy_client_1.expectString)(output.SubscriptionState),
2676
2676
  };
2677
2677
  };
2678
2678
  const deserializeAws_json1_1HealthCheckIds = (output, context) => {
@@ -2682,23 +2682,23 @@ const deserializeAws_json1_1HealthCheckIds = (output, context) => {
2682
2682
  if (entry === null) {
2683
2683
  return null;
2684
2684
  }
2685
- return smithy_client_1.expectString(entry);
2685
+ return (0, smithy_client_1.expectString)(entry);
2686
2686
  });
2687
2687
  return retVal;
2688
2688
  };
2689
2689
  const deserializeAws_json1_1InternalErrorException = (output, context) => {
2690
2690
  return {
2691
- message: smithy_client_1.expectString(output.message),
2691
+ message: (0, smithy_client_1.expectString)(output.message),
2692
2692
  };
2693
2693
  };
2694
2694
  const deserializeAws_json1_1InvalidOperationException = (output, context) => {
2695
2695
  return {
2696
- message: smithy_client_1.expectString(output.message),
2696
+ message: (0, smithy_client_1.expectString)(output.message),
2697
2697
  };
2698
2698
  };
2699
2699
  const deserializeAws_json1_1InvalidPaginationTokenException = (output, context) => {
2700
2700
  return {
2701
- message: smithy_client_1.expectString(output.message),
2701
+ message: (0, smithy_client_1.expectString)(output.message),
2702
2702
  };
2703
2703
  };
2704
2704
  const deserializeAws_json1_1InvalidParameterException = (output, context) => {
@@ -2706,19 +2706,19 @@ const deserializeAws_json1_1InvalidParameterException = (output, context) => {
2706
2706
  fields: output.fields !== undefined && output.fields !== null
2707
2707
  ? deserializeAws_json1_1ValidationExceptionFieldList(output.fields, context)
2708
2708
  : undefined,
2709
- message: smithy_client_1.expectString(output.message),
2710
- reason: smithy_client_1.expectString(output.reason),
2709
+ message: (0, smithy_client_1.expectString)(output.message),
2710
+ reason: (0, smithy_client_1.expectString)(output.reason),
2711
2711
  };
2712
2712
  };
2713
2713
  const deserializeAws_json1_1InvalidResourceException = (output, context) => {
2714
2714
  return {
2715
- message: smithy_client_1.expectString(output.message),
2715
+ message: (0, smithy_client_1.expectString)(output.message),
2716
2716
  };
2717
2717
  };
2718
2718
  const deserializeAws_json1_1Limit = (output, context) => {
2719
2719
  return {
2720
- Max: smithy_client_1.expectLong(output.Max),
2721
- Type: smithy_client_1.expectString(output.Type),
2720
+ Max: (0, smithy_client_1.expectLong)(output.Max),
2721
+ Type: (0, smithy_client_1.expectString)(output.Type),
2722
2722
  };
2723
2723
  };
2724
2724
  const deserializeAws_json1_1Limits = (output, context) => {
@@ -2734,9 +2734,9 @@ const deserializeAws_json1_1Limits = (output, context) => {
2734
2734
  };
2735
2735
  const deserializeAws_json1_1LimitsExceededException = (output, context) => {
2736
2736
  return {
2737
- Limit: smithy_client_1.expectLong(output.Limit),
2738
- Type: smithy_client_1.expectString(output.Type),
2739
- message: smithy_client_1.expectString(output.message),
2737
+ Limit: (0, smithy_client_1.expectLong)(output.Limit),
2738
+ Type: (0, smithy_client_1.expectString)(output.Type),
2739
+ message: (0, smithy_client_1.expectString)(output.message),
2740
2740
  };
2741
2741
  };
2742
2742
  const deserializeAws_json1_1ListAttacksResponse = (output, context) => {
@@ -2744,12 +2744,12 @@ const deserializeAws_json1_1ListAttacksResponse = (output, context) => {
2744
2744
  AttackSummaries: output.AttackSummaries !== undefined && output.AttackSummaries !== null
2745
2745
  ? deserializeAws_json1_1AttackSummaries(output.AttackSummaries, context)
2746
2746
  : undefined,
2747
- NextToken: smithy_client_1.expectString(output.NextToken),
2747
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2748
2748
  };
2749
2749
  };
2750
2750
  const deserializeAws_json1_1ListProtectionGroupsResponse = (output, context) => {
2751
2751
  return {
2752
- NextToken: smithy_client_1.expectString(output.NextToken),
2752
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2753
2753
  ProtectionGroups: output.ProtectionGroups !== undefined && output.ProtectionGroups !== null
2754
2754
  ? deserializeAws_json1_1ProtectionGroups(output.ProtectionGroups, context)
2755
2755
  : undefined,
@@ -2757,7 +2757,7 @@ const deserializeAws_json1_1ListProtectionGroupsResponse = (output, context) =>
2757
2757
  };
2758
2758
  const deserializeAws_json1_1ListProtectionsResponse = (output, context) => {
2759
2759
  return {
2760
- NextToken: smithy_client_1.expectString(output.NextToken),
2760
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2761
2761
  Protections: output.Protections !== undefined && output.Protections !== null
2762
2762
  ? deserializeAws_json1_1Protections(output.Protections, context)
2763
2763
  : undefined,
@@ -2765,7 +2765,7 @@ const deserializeAws_json1_1ListProtectionsResponse = (output, context) => {
2765
2765
  };
2766
2766
  const deserializeAws_json1_1ListResourcesInProtectionGroupResponse = (output, context) => {
2767
2767
  return {
2768
- NextToken: smithy_client_1.expectString(output.NextToken),
2768
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2769
2769
  ResourceArns: output.ResourceArns !== undefined && output.ResourceArns !== null
2770
2770
  ? deserializeAws_json1_1ResourceArnList(output.ResourceArns, context)
2771
2771
  : undefined,
@@ -2780,7 +2780,7 @@ const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
2780
2780
  };
2781
2781
  const deserializeAws_json1_1LockedSubscriptionException = (output, context) => {
2782
2782
  return {
2783
- message: smithy_client_1.expectString(output.message),
2783
+ message: (0, smithy_client_1.expectString)(output.message),
2784
2784
  };
2785
2785
  };
2786
2786
  const deserializeAws_json1_1LogBucketList = (output, context) => {
@@ -2790,13 +2790,13 @@ const deserializeAws_json1_1LogBucketList = (output, context) => {
2790
2790
  if (entry === null) {
2791
2791
  return null;
2792
2792
  }
2793
- return smithy_client_1.expectString(entry);
2793
+ return (0, smithy_client_1.expectString)(entry);
2794
2794
  });
2795
2795
  return retVal;
2796
2796
  };
2797
2797
  const deserializeAws_json1_1Mitigation = (output, context) => {
2798
2798
  return {
2799
- MitigationName: smithy_client_1.expectString(output.MitigationName),
2799
+ MitigationName: (0, smithy_client_1.expectString)(output.MitigationName),
2800
2800
  };
2801
2801
  };
2802
2802
  const deserializeAws_json1_1MitigationList = (output, context) => {
@@ -2812,12 +2812,12 @@ const deserializeAws_json1_1MitigationList = (output, context) => {
2812
2812
  };
2813
2813
  const deserializeAws_json1_1NoAssociatedRoleException = (output, context) => {
2814
2814
  return {
2815
- message: smithy_client_1.expectString(output.message),
2815
+ message: (0, smithy_client_1.expectString)(output.message),
2816
2816
  };
2817
2817
  };
2818
2818
  const deserializeAws_json1_1OptimisticLockException = (output, context) => {
2819
2819
  return {
2820
- message: smithy_client_1.expectString(output.message),
2820
+ message: (0, smithy_client_1.expectString)(output.message),
2821
2821
  };
2822
2822
  };
2823
2823
  const deserializeAws_json1_1Protection = (output, context) => {
@@ -2829,32 +2829,32 @@ const deserializeAws_json1_1Protection = (output, context) => {
2829
2829
  HealthCheckIds: output.HealthCheckIds !== undefined && output.HealthCheckIds !== null
2830
2830
  ? deserializeAws_json1_1HealthCheckIds(output.HealthCheckIds, context)
2831
2831
  : undefined,
2832
- Id: smithy_client_1.expectString(output.Id),
2833
- Name: smithy_client_1.expectString(output.Name),
2834
- ProtectionArn: smithy_client_1.expectString(output.ProtectionArn),
2835
- ResourceArn: smithy_client_1.expectString(output.ResourceArn),
2832
+ Id: (0, smithy_client_1.expectString)(output.Id),
2833
+ Name: (0, smithy_client_1.expectString)(output.Name),
2834
+ ProtectionArn: (0, smithy_client_1.expectString)(output.ProtectionArn),
2835
+ ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
2836
2836
  };
2837
2837
  };
2838
2838
  const deserializeAws_json1_1ProtectionGroup = (output, context) => {
2839
2839
  return {
2840
- Aggregation: smithy_client_1.expectString(output.Aggregation),
2840
+ Aggregation: (0, smithy_client_1.expectString)(output.Aggregation),
2841
2841
  Members: output.Members !== undefined && output.Members !== null
2842
2842
  ? deserializeAws_json1_1ProtectionGroupMembers(output.Members, context)
2843
2843
  : undefined,
2844
- Pattern: smithy_client_1.expectString(output.Pattern),
2845
- ProtectionGroupArn: smithy_client_1.expectString(output.ProtectionGroupArn),
2846
- ProtectionGroupId: smithy_client_1.expectString(output.ProtectionGroupId),
2847
- ResourceType: smithy_client_1.expectString(output.ResourceType),
2844
+ Pattern: (0, smithy_client_1.expectString)(output.Pattern),
2845
+ ProtectionGroupArn: (0, smithy_client_1.expectString)(output.ProtectionGroupArn),
2846
+ ProtectionGroupId: (0, smithy_client_1.expectString)(output.ProtectionGroupId),
2847
+ ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
2848
2848
  };
2849
2849
  };
2850
2850
  const deserializeAws_json1_1ProtectionGroupArbitraryPatternLimits = (output, context) => {
2851
2851
  return {
2852
- MaxMembers: smithy_client_1.expectLong(output.MaxMembers),
2852
+ MaxMembers: (0, smithy_client_1.expectLong)(output.MaxMembers),
2853
2853
  };
2854
2854
  };
2855
2855
  const deserializeAws_json1_1ProtectionGroupLimits = (output, context) => {
2856
2856
  return {
2857
- MaxProtectionGroups: smithy_client_1.expectLong(output.MaxProtectionGroups),
2857
+ MaxProtectionGroups: (0, smithy_client_1.expectLong)(output.MaxProtectionGroups),
2858
2858
  PatternTypeLimits: output.PatternTypeLimits !== undefined && output.PatternTypeLimits !== null
2859
2859
  ? deserializeAws_json1_1ProtectionGroupPatternTypeLimits(output.PatternTypeLimits, context)
2860
2860
  : undefined,
@@ -2867,7 +2867,7 @@ const deserializeAws_json1_1ProtectionGroupMembers = (output, context) => {
2867
2867
  if (entry === null) {
2868
2868
  return null;
2869
2869
  }
2870
- return smithy_client_1.expectString(entry);
2870
+ return (0, smithy_client_1.expectString)(entry);
2871
2871
  });
2872
2872
  return retVal;
2873
2873
  };
@@ -2909,8 +2909,8 @@ const deserializeAws_json1_1Protections = (output, context) => {
2909
2909
  };
2910
2910
  const deserializeAws_json1_1ResourceAlreadyExistsException = (output, context) => {
2911
2911
  return {
2912
- message: smithy_client_1.expectString(output.message),
2913
- resourceType: smithy_client_1.expectString(output.resourceType),
2912
+ message: (0, smithy_client_1.expectString)(output.message),
2913
+ resourceType: (0, smithy_client_1.expectString)(output.resourceType),
2914
2914
  };
2915
2915
  };
2916
2916
  const deserializeAws_json1_1ResourceArnList = (output, context) => {
@@ -2920,14 +2920,14 @@ const deserializeAws_json1_1ResourceArnList = (output, context) => {
2920
2920
  if (entry === null) {
2921
2921
  return null;
2922
2922
  }
2923
- return smithy_client_1.expectString(entry);
2923
+ return (0, smithy_client_1.expectString)(entry);
2924
2924
  });
2925
2925
  return retVal;
2926
2926
  };
2927
2927
  const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
2928
2928
  return {
2929
- message: smithy_client_1.expectString(output.message),
2930
- resourceType: smithy_client_1.expectString(output.resourceType),
2929
+ message: (0, smithy_client_1.expectString)(output.message),
2930
+ resourceType: (0, smithy_client_1.expectString)(output.resourceType),
2931
2931
  };
2932
2932
  };
2933
2933
  const deserializeAws_json1_1ResponseAction = (output, context) => {
@@ -2948,8 +2948,8 @@ const deserializeAws_json1_1SubResourceSummary = (output, context) => {
2948
2948
  Counters: output.Counters !== undefined && output.Counters !== null
2949
2949
  ? deserializeAws_json1_1SummarizedCounterList(output.Counters, context)
2950
2950
  : undefined,
2951
- Id: smithy_client_1.expectString(output.Id),
2952
- Type: smithy_client_1.expectString(output.Type),
2951
+ Id: (0, smithy_client_1.expectString)(output.Id),
2952
+ Type: (0, smithy_client_1.expectString)(output.Type),
2953
2953
  };
2954
2954
  };
2955
2955
  const deserializeAws_json1_1SubResourceSummaryList = (output, context) => {
@@ -2965,22 +2965,22 @@ const deserializeAws_json1_1SubResourceSummaryList = (output, context) => {
2965
2965
  };
2966
2966
  const deserializeAws_json1_1Subscription = (output, context) => {
2967
2967
  return {
2968
- AutoRenew: smithy_client_1.expectString(output.AutoRenew),
2968
+ AutoRenew: (0, smithy_client_1.expectString)(output.AutoRenew),
2969
2969
  EndTime: output.EndTime !== undefined && output.EndTime !== null
2970
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
2970
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
2971
2971
  : undefined,
2972
2972
  Limits: output.Limits !== undefined && output.Limits !== null
2973
2973
  ? deserializeAws_json1_1Limits(output.Limits, context)
2974
2974
  : undefined,
2975
- ProactiveEngagementStatus: smithy_client_1.expectString(output.ProactiveEngagementStatus),
2975
+ ProactiveEngagementStatus: (0, smithy_client_1.expectString)(output.ProactiveEngagementStatus),
2976
2976
  StartTime: output.StartTime !== undefined && output.StartTime !== null
2977
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
2977
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
2978
2978
  : undefined,
2979
- SubscriptionArn: smithy_client_1.expectString(output.SubscriptionArn),
2979
+ SubscriptionArn: (0, smithy_client_1.expectString)(output.SubscriptionArn),
2980
2980
  SubscriptionLimits: output.SubscriptionLimits !== undefined && output.SubscriptionLimits !== null
2981
2981
  ? deserializeAws_json1_1SubscriptionLimits(output.SubscriptionLimits, context)
2982
2982
  : undefined,
2983
- TimeCommitmentInSeconds: smithy_client_1.expectLong(output.TimeCommitmentInSeconds),
2983
+ TimeCommitmentInSeconds: (0, smithy_client_1.expectLong)(output.TimeCommitmentInSeconds),
2984
2984
  };
2985
2985
  };
2986
2986
  const deserializeAws_json1_1SubscriptionLimits = (output, context) => {
@@ -2998,7 +2998,7 @@ const deserializeAws_json1_1SummarizedAttackVector = (output, context) => {
2998
2998
  VectorCounters: output.VectorCounters !== undefined && output.VectorCounters !== null
2999
2999
  ? deserializeAws_json1_1SummarizedCounterList(output.VectorCounters, context)
3000
3000
  : undefined,
3001
- VectorType: smithy_client_1.expectString(output.VectorType),
3001
+ VectorType: (0, smithy_client_1.expectString)(output.VectorType),
3002
3002
  };
3003
3003
  };
3004
3004
  const deserializeAws_json1_1SummarizedAttackVectorList = (output, context) => {
@@ -3014,12 +3014,12 @@ const deserializeAws_json1_1SummarizedAttackVectorList = (output, context) => {
3014
3014
  };
3015
3015
  const deserializeAws_json1_1SummarizedCounter = (output, context) => {
3016
3016
  return {
3017
- Average: smithy_client_1.limitedParseDouble(output.Average),
3018
- Max: smithy_client_1.limitedParseDouble(output.Max),
3019
- N: smithy_client_1.expectInt32(output.N),
3020
- Name: smithy_client_1.expectString(output.Name),
3021
- Sum: smithy_client_1.limitedParseDouble(output.Sum),
3022
- Unit: smithy_client_1.expectString(output.Unit),
3017
+ Average: (0, smithy_client_1.limitedParseDouble)(output.Average),
3018
+ Max: (0, smithy_client_1.limitedParseDouble)(output.Max),
3019
+ N: (0, smithy_client_1.expectInt32)(output.N),
3020
+ Name: (0, smithy_client_1.expectString)(output.Name),
3021
+ Sum: (0, smithy_client_1.limitedParseDouble)(output.Sum),
3022
+ Unit: (0, smithy_client_1.expectString)(output.Unit),
3023
3023
  };
3024
3024
  };
3025
3025
  const deserializeAws_json1_1SummarizedCounterList = (output, context) => {
@@ -3035,8 +3035,8 @@ const deserializeAws_json1_1SummarizedCounterList = (output, context) => {
3035
3035
  };
3036
3036
  const deserializeAws_json1_1Tag = (output, context) => {
3037
3037
  return {
3038
- Key: smithy_client_1.expectString(output.Key),
3039
- Value: smithy_client_1.expectString(output.Value),
3038
+ Key: (0, smithy_client_1.expectString)(output.Key),
3039
+ Value: (0, smithy_client_1.expectString)(output.Value),
3040
3040
  };
3041
3041
  };
3042
3042
  const deserializeAws_json1_1TagList = (output, context) => {
@@ -3056,10 +3056,10 @@ const deserializeAws_json1_1TagResourceResponse = (output, context) => {
3056
3056
  const deserializeAws_json1_1TimeRange = (output, context) => {
3057
3057
  return {
3058
3058
  FromInclusive: output.FromInclusive !== undefined && output.FromInclusive !== null
3059
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.FromInclusive)))
3059
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.FromInclusive)))
3060
3060
  : undefined,
3061
3061
  ToExclusive: output.ToExclusive !== undefined && output.ToExclusive !== null
3062
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ToExclusive)))
3062
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ToExclusive)))
3063
3063
  : undefined,
3064
3064
  };
3065
3065
  };
@@ -3091,8 +3091,8 @@ const deserializeAws_json1_1UpdateSubscriptionResponse = (output, context) => {
3091
3091
  };
3092
3092
  const deserializeAws_json1_1ValidationExceptionField = (output, context) => {
3093
3093
  return {
3094
- message: smithy_client_1.expectString(output.message),
3095
- name: smithy_client_1.expectString(output.name),
3094
+ message: (0, smithy_client_1.expectString)(output.message),
3095
+ name: (0, smithy_client_1.expectString)(output.name),
3096
3096
  };
3097
3097
  };
3098
3098
  const deserializeAws_json1_1ValidationExceptionFieldList = (output, context) => {