@aws-sdk/client-servicediscovery 3.54.1 → 3.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-cjs/ServiceDiscoveryClient.js +13 -13
  3. package/dist-cjs/commands/CreateHttpNamespaceCommand.js +3 -3
  4. package/dist-cjs/commands/CreatePrivateDnsNamespaceCommand.js +3 -3
  5. package/dist-cjs/commands/CreatePublicDnsNamespaceCommand.js +3 -3
  6. package/dist-cjs/commands/CreateServiceCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteNamespaceCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteServiceCommand.js +3 -3
  9. package/dist-cjs/commands/DeregisterInstanceCommand.js +3 -3
  10. package/dist-cjs/commands/DiscoverInstancesCommand.js +3 -3
  11. package/dist-cjs/commands/GetInstanceCommand.js +3 -3
  12. package/dist-cjs/commands/GetInstancesHealthStatusCommand.js +3 -3
  13. package/dist-cjs/commands/GetNamespaceCommand.js +3 -3
  14. package/dist-cjs/commands/GetOperationCommand.js +3 -3
  15. package/dist-cjs/commands/GetServiceCommand.js +3 -3
  16. package/dist-cjs/commands/ListInstancesCommand.js +3 -3
  17. package/dist-cjs/commands/ListNamespacesCommand.js +3 -3
  18. package/dist-cjs/commands/ListOperationsCommand.js +3 -3
  19. package/dist-cjs/commands/ListServicesCommand.js +3 -3
  20. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  21. package/dist-cjs/commands/RegisterInstanceCommand.js +3 -3
  22. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  23. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  24. package/dist-cjs/commands/UpdateHttpNamespaceCommand.js +3 -3
  25. package/dist-cjs/commands/UpdateInstanceCustomHealthStatusCommand.js +3 -3
  26. package/dist-cjs/commands/UpdatePrivateDnsNamespaceCommand.js +3 -3
  27. package/dist-cjs/commands/UpdatePublicDnsNamespaceCommand.js +3 -3
  28. package/dist-cjs/commands/UpdateServiceCommand.js +3 -3
  29. package/dist-cjs/endpoints.js +1 -1
  30. package/dist-cjs/protocols/Aws_json1_1.js +147 -147
  31. package/dist-cjs/runtimeConfig.browser.js +4 -4
  32. package/dist-cjs/runtimeConfig.js +9 -9
  33. package/dist-cjs/runtimeConfig.native.js +1 -1
  34. package/dist-es/ServiceDiscovery.js +26 -26
  35. package/dist-es/pagination/GetInstancesHealthStatusPaginator.js +4 -4
  36. package/dist-es/pagination/ListInstancesPaginator.js +4 -4
  37. package/dist-es/pagination/ListNamespacesPaginator.js +4 -4
  38. package/dist-es/pagination/ListOperationsPaginator.js +4 -4
  39. package/dist-es/pagination/ListServicesPaginator.js +4 -4
  40. package/dist-types/runtimeConfig.native.d.ts +2 -2
  41. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  42. package/package.json +34 -34
@@ -87,7 +87,7 @@ const serializeAws_json1_1DiscoverInstancesCommand = async (input, context) => {
87
87
  let { hostname: resolvedHostname } = await context.endpoint();
88
88
  if (context.disableHostPrefix !== true) {
89
89
  resolvedHostname = "data-" + resolvedHostname;
90
- if (!protocol_http_1.isValidHostname(resolvedHostname)) {
90
+ if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
91
91
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
92
92
  }
93
93
  }
@@ -319,7 +319,7 @@ const deserializeAws_json1_1CreateHttpNamespaceCommandError = async (output, con
319
319
  $fault: "client",
320
320
  $metadata: deserializeMetadata(output),
321
321
  });
322
- throw smithy_client_1.decorateServiceException(response, parsedBody);
322
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
323
323
  }
324
324
  };
325
325
  const deserializeAws_json1_1CreatePrivateDnsNamespaceCommand = async (output, context) => {
@@ -367,7 +367,7 @@ const deserializeAws_json1_1CreatePrivateDnsNamespaceCommandError = async (outpu
367
367
  $fault: "client",
368
368
  $metadata: deserializeMetadata(output),
369
369
  });
370
- throw smithy_client_1.decorateServiceException(response, parsedBody);
370
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
371
371
  }
372
372
  };
373
373
  const deserializeAws_json1_1CreatePublicDnsNamespaceCommand = async (output, context) => {
@@ -415,7 +415,7 @@ const deserializeAws_json1_1CreatePublicDnsNamespaceCommandError = async (output
415
415
  $fault: "client",
416
416
  $metadata: deserializeMetadata(output),
417
417
  });
418
- throw smithy_client_1.decorateServiceException(response, parsedBody);
418
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
419
419
  }
420
420
  };
421
421
  const deserializeAws_json1_1CreateServiceCommand = async (output, context) => {
@@ -463,7 +463,7 @@ const deserializeAws_json1_1CreateServiceCommandError = async (output, context)
463
463
  $fault: "client",
464
464
  $metadata: deserializeMetadata(output),
465
465
  });
466
- throw smithy_client_1.decorateServiceException(response, parsedBody);
466
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
467
467
  }
468
468
  };
469
469
  const deserializeAws_json1_1DeleteNamespaceCommand = async (output, context) => {
@@ -508,7 +508,7 @@ const deserializeAws_json1_1DeleteNamespaceCommandError = async (output, context
508
508
  $fault: "client",
509
509
  $metadata: deserializeMetadata(output),
510
510
  });
511
- throw smithy_client_1.decorateServiceException(response, parsedBody);
511
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
512
512
  }
513
513
  };
514
514
  const deserializeAws_json1_1DeleteServiceCommand = async (output, context) => {
@@ -550,7 +550,7 @@ const deserializeAws_json1_1DeleteServiceCommandError = async (output, context)
550
550
  $fault: "client",
551
551
  $metadata: deserializeMetadata(output),
552
552
  });
553
- throw smithy_client_1.decorateServiceException(response, parsedBody);
553
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
554
554
  }
555
555
  };
556
556
  const deserializeAws_json1_1DeregisterInstanceCommand = async (output, context) => {
@@ -598,7 +598,7 @@ const deserializeAws_json1_1DeregisterInstanceCommandError = async (output, cont
598
598
  $fault: "client",
599
599
  $metadata: deserializeMetadata(output),
600
600
  });
601
- throw smithy_client_1.decorateServiceException(response, parsedBody);
601
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
602
602
  }
603
603
  };
604
604
  const deserializeAws_json1_1DiscoverInstancesCommand = async (output, context) => {
@@ -643,7 +643,7 @@ const deserializeAws_json1_1DiscoverInstancesCommandError = async (output, conte
643
643
  $fault: "client",
644
644
  $metadata: deserializeMetadata(output),
645
645
  });
646
- throw smithy_client_1.decorateServiceException(response, parsedBody);
646
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
647
647
  }
648
648
  };
649
649
  const deserializeAws_json1_1GetInstanceCommand = async (output, context) => {
@@ -685,7 +685,7 @@ const deserializeAws_json1_1GetInstanceCommandError = async (output, context) =>
685
685
  $fault: "client",
686
686
  $metadata: deserializeMetadata(output),
687
687
  });
688
- throw smithy_client_1.decorateServiceException(response, parsedBody);
688
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
689
689
  }
690
690
  };
691
691
  const deserializeAws_json1_1GetInstancesHealthStatusCommand = async (output, context) => {
@@ -727,7 +727,7 @@ const deserializeAws_json1_1GetInstancesHealthStatusCommandError = async (output
727
727
  $fault: "client",
728
728
  $metadata: deserializeMetadata(output),
729
729
  });
730
- throw smithy_client_1.decorateServiceException(response, parsedBody);
730
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
731
731
  }
732
732
  };
733
733
  const deserializeAws_json1_1GetNamespaceCommand = async (output, context) => {
@@ -766,7 +766,7 @@ const deserializeAws_json1_1GetNamespaceCommandError = async (output, context) =
766
766
  $fault: "client",
767
767
  $metadata: deserializeMetadata(output),
768
768
  });
769
- throw smithy_client_1.decorateServiceException(response, parsedBody);
769
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
770
770
  }
771
771
  };
772
772
  const deserializeAws_json1_1GetOperationCommand = async (output, context) => {
@@ -805,7 +805,7 @@ const deserializeAws_json1_1GetOperationCommandError = async (output, context) =
805
805
  $fault: "client",
806
806
  $metadata: deserializeMetadata(output),
807
807
  });
808
- throw smithy_client_1.decorateServiceException(response, parsedBody);
808
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
809
809
  }
810
810
  };
811
811
  const deserializeAws_json1_1GetServiceCommand = async (output, context) => {
@@ -844,7 +844,7 @@ const deserializeAws_json1_1GetServiceCommandError = async (output, context) =>
844
844
  $fault: "client",
845
845
  $metadata: deserializeMetadata(output),
846
846
  });
847
- throw smithy_client_1.decorateServiceException(response, parsedBody);
847
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
848
848
  }
849
849
  };
850
850
  const deserializeAws_json1_1ListInstancesCommand = async (output, context) => {
@@ -883,7 +883,7 @@ const deserializeAws_json1_1ListInstancesCommandError = async (output, context)
883
883
  $fault: "client",
884
884
  $metadata: deserializeMetadata(output),
885
885
  });
886
- throw smithy_client_1.decorateServiceException(response, parsedBody);
886
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
887
887
  }
888
888
  };
889
889
  const deserializeAws_json1_1ListNamespacesCommand = async (output, context) => {
@@ -919,7 +919,7 @@ const deserializeAws_json1_1ListNamespacesCommandError = async (output, context)
919
919
  $fault: "client",
920
920
  $metadata: deserializeMetadata(output),
921
921
  });
922
- throw smithy_client_1.decorateServiceException(response, parsedBody);
922
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
923
923
  }
924
924
  };
925
925
  const deserializeAws_json1_1ListOperationsCommand = async (output, context) => {
@@ -955,7 +955,7 @@ const deserializeAws_json1_1ListOperationsCommandError = async (output, context)
955
955
  $fault: "client",
956
956
  $metadata: deserializeMetadata(output),
957
957
  });
958
- throw smithy_client_1.decorateServiceException(response, parsedBody);
958
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
959
959
  }
960
960
  };
961
961
  const deserializeAws_json1_1ListServicesCommand = async (output, context) => {
@@ -991,7 +991,7 @@ const deserializeAws_json1_1ListServicesCommandError = async (output, context) =
991
991
  $fault: "client",
992
992
  $metadata: deserializeMetadata(output),
993
993
  });
994
- throw smithy_client_1.decorateServiceException(response, parsedBody);
994
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
995
995
  }
996
996
  };
997
997
  const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
@@ -1030,7 +1030,7 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
1030
1030
  $fault: "client",
1031
1031
  $metadata: deserializeMetadata(output),
1032
1032
  });
1033
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1033
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1034
1034
  }
1035
1035
  };
1036
1036
  const deserializeAws_json1_1RegisterInstanceCommand = async (output, context) => {
@@ -1078,7 +1078,7 @@ const deserializeAws_json1_1RegisterInstanceCommandError = async (output, contex
1078
1078
  $fault: "client",
1079
1079
  $metadata: deserializeMetadata(output),
1080
1080
  });
1081
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1081
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1082
1082
  }
1083
1083
  };
1084
1084
  const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
@@ -1120,7 +1120,7 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
1120
1120
  $fault: "client",
1121
1121
  $metadata: deserializeMetadata(output),
1122
1122
  });
1123
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1123
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1124
1124
  }
1125
1125
  };
1126
1126
  const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
@@ -1159,7 +1159,7 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
1159
1159
  $fault: "client",
1160
1160
  $metadata: deserializeMetadata(output),
1161
1161
  });
1162
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1162
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1163
1163
  }
1164
1164
  };
1165
1165
  const deserializeAws_json1_1UpdateHttpNamespaceCommand = async (output, context) => {
@@ -1204,7 +1204,7 @@ const deserializeAws_json1_1UpdateHttpNamespaceCommandError = async (output, con
1204
1204
  $fault: "client",
1205
1205
  $metadata: deserializeMetadata(output),
1206
1206
  });
1207
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1207
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1208
1208
  }
1209
1209
  };
1210
1210
  const deserializeAws_json1_1UpdateInstanceCustomHealthStatusCommand = async (output, context) => {
@@ -1246,7 +1246,7 @@ const deserializeAws_json1_1UpdateInstanceCustomHealthStatusCommandError = async
1246
1246
  $fault: "client",
1247
1247
  $metadata: deserializeMetadata(output),
1248
1248
  });
1249
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1249
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1250
1250
  }
1251
1251
  };
1252
1252
  const deserializeAws_json1_1UpdatePrivateDnsNamespaceCommand = async (output, context) => {
@@ -1291,7 +1291,7 @@ const deserializeAws_json1_1UpdatePrivateDnsNamespaceCommandError = async (outpu
1291
1291
  $fault: "client",
1292
1292
  $metadata: deserializeMetadata(output),
1293
1293
  });
1294
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1294
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1295
1295
  }
1296
1296
  };
1297
1297
  const deserializeAws_json1_1UpdatePublicDnsNamespaceCommand = async (output, context) => {
@@ -1336,7 +1336,7 @@ const deserializeAws_json1_1UpdatePublicDnsNamespaceCommandError = async (output
1336
1336
  $fault: "client",
1337
1337
  $metadata: deserializeMetadata(output),
1338
1338
  });
1339
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1339
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1340
1340
  }
1341
1341
  };
1342
1342
  const deserializeAws_json1_1UpdateServiceCommand = async (output, context) => {
@@ -1378,7 +1378,7 @@ const deserializeAws_json1_1UpdateServiceCommandError = async (output, context)
1378
1378
  $fault: "client",
1379
1379
  $metadata: deserializeMetadata(output),
1380
1380
  });
1381
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1381
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1382
1382
  }
1383
1383
  };
1384
1384
  const deserializeAws_json1_1CustomHealthNotFoundResponse = async (parsedOutput, context) => {
@@ -1388,7 +1388,7 @@ const deserializeAws_json1_1CustomHealthNotFoundResponse = async (parsedOutput,
1388
1388
  $metadata: deserializeMetadata(parsedOutput),
1389
1389
  ...deserialized,
1390
1390
  });
1391
- return smithy_client_1.decorateServiceException(exception, body);
1391
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1392
1392
  };
1393
1393
  const deserializeAws_json1_1DuplicateRequestResponse = async (parsedOutput, context) => {
1394
1394
  const body = parsedOutput.body;
@@ -1397,7 +1397,7 @@ const deserializeAws_json1_1DuplicateRequestResponse = async (parsedOutput, cont
1397
1397
  $metadata: deserializeMetadata(parsedOutput),
1398
1398
  ...deserialized,
1399
1399
  });
1400
- return smithy_client_1.decorateServiceException(exception, body);
1400
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1401
1401
  };
1402
1402
  const deserializeAws_json1_1InstanceNotFoundResponse = async (parsedOutput, context) => {
1403
1403
  const body = parsedOutput.body;
@@ -1406,7 +1406,7 @@ const deserializeAws_json1_1InstanceNotFoundResponse = async (parsedOutput, cont
1406
1406
  $metadata: deserializeMetadata(parsedOutput),
1407
1407
  ...deserialized,
1408
1408
  });
1409
- return smithy_client_1.decorateServiceException(exception, body);
1409
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1410
1410
  };
1411
1411
  const deserializeAws_json1_1InvalidInputResponse = async (parsedOutput, context) => {
1412
1412
  const body = parsedOutput.body;
@@ -1415,7 +1415,7 @@ const deserializeAws_json1_1InvalidInputResponse = async (parsedOutput, context)
1415
1415
  $metadata: deserializeMetadata(parsedOutput),
1416
1416
  ...deserialized,
1417
1417
  });
1418
- return smithy_client_1.decorateServiceException(exception, body);
1418
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1419
1419
  };
1420
1420
  const deserializeAws_json1_1NamespaceAlreadyExistsResponse = async (parsedOutput, context) => {
1421
1421
  const body = parsedOutput.body;
@@ -1424,7 +1424,7 @@ const deserializeAws_json1_1NamespaceAlreadyExistsResponse = async (parsedOutput
1424
1424
  $metadata: deserializeMetadata(parsedOutput),
1425
1425
  ...deserialized,
1426
1426
  });
1427
- return smithy_client_1.decorateServiceException(exception, body);
1427
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1428
1428
  };
1429
1429
  const deserializeAws_json1_1NamespaceNotFoundResponse = async (parsedOutput, context) => {
1430
1430
  const body = parsedOutput.body;
@@ -1433,7 +1433,7 @@ const deserializeAws_json1_1NamespaceNotFoundResponse = async (parsedOutput, con
1433
1433
  $metadata: deserializeMetadata(parsedOutput),
1434
1434
  ...deserialized,
1435
1435
  });
1436
- return smithy_client_1.decorateServiceException(exception, body);
1436
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1437
1437
  };
1438
1438
  const deserializeAws_json1_1OperationNotFoundResponse = async (parsedOutput, context) => {
1439
1439
  const body = parsedOutput.body;
@@ -1442,7 +1442,7 @@ const deserializeAws_json1_1OperationNotFoundResponse = async (parsedOutput, con
1442
1442
  $metadata: deserializeMetadata(parsedOutput),
1443
1443
  ...deserialized,
1444
1444
  });
1445
- return smithy_client_1.decorateServiceException(exception, body);
1445
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1446
1446
  };
1447
1447
  const deserializeAws_json1_1RequestLimitExceededResponse = async (parsedOutput, context) => {
1448
1448
  const body = parsedOutput.body;
@@ -1451,7 +1451,7 @@ const deserializeAws_json1_1RequestLimitExceededResponse = async (parsedOutput,
1451
1451
  $metadata: deserializeMetadata(parsedOutput),
1452
1452
  ...deserialized,
1453
1453
  });
1454
- return smithy_client_1.decorateServiceException(exception, body);
1454
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1455
1455
  };
1456
1456
  const deserializeAws_json1_1ResourceInUseResponse = async (parsedOutput, context) => {
1457
1457
  const body = parsedOutput.body;
@@ -1460,7 +1460,7 @@ const deserializeAws_json1_1ResourceInUseResponse = async (parsedOutput, context
1460
1460
  $metadata: deserializeMetadata(parsedOutput),
1461
1461
  ...deserialized,
1462
1462
  });
1463
- return smithy_client_1.decorateServiceException(exception, body);
1463
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1464
1464
  };
1465
1465
  const deserializeAws_json1_1ResourceLimitExceededResponse = async (parsedOutput, context) => {
1466
1466
  const body = parsedOutput.body;
@@ -1469,7 +1469,7 @@ const deserializeAws_json1_1ResourceLimitExceededResponse = async (parsedOutput,
1469
1469
  $metadata: deserializeMetadata(parsedOutput),
1470
1470
  ...deserialized,
1471
1471
  });
1472
- return smithy_client_1.decorateServiceException(exception, body);
1472
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1473
1473
  };
1474
1474
  const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
1475
1475
  const body = parsedOutput.body;
@@ -1478,7 +1478,7 @@ const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOut
1478
1478
  $metadata: deserializeMetadata(parsedOutput),
1479
1479
  ...deserialized,
1480
1480
  });
1481
- return smithy_client_1.decorateServiceException(exception, body);
1481
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1482
1482
  };
1483
1483
  const deserializeAws_json1_1ServiceAlreadyExistsResponse = async (parsedOutput, context) => {
1484
1484
  const body = parsedOutput.body;
@@ -1487,7 +1487,7 @@ const deserializeAws_json1_1ServiceAlreadyExistsResponse = async (parsedOutput,
1487
1487
  $metadata: deserializeMetadata(parsedOutput),
1488
1488
  ...deserialized,
1489
1489
  });
1490
- return smithy_client_1.decorateServiceException(exception, body);
1490
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1491
1491
  };
1492
1492
  const deserializeAws_json1_1ServiceNotFoundResponse = async (parsedOutput, context) => {
1493
1493
  const body = parsedOutput.body;
@@ -1496,7 +1496,7 @@ const deserializeAws_json1_1ServiceNotFoundResponse = async (parsedOutput, conte
1496
1496
  $metadata: deserializeMetadata(parsedOutput),
1497
1497
  ...deserialized,
1498
1498
  });
1499
- return smithy_client_1.decorateServiceException(exception, body);
1499
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1500
1500
  };
1501
1501
  const deserializeAws_json1_1TooManyTagsExceptionResponse = async (parsedOutput, context) => {
1502
1502
  const body = parsedOutput.body;
@@ -1505,7 +1505,7 @@ const deserializeAws_json1_1TooManyTagsExceptionResponse = async (parsedOutput,
1505
1505
  $metadata: deserializeMetadata(parsedOutput),
1506
1506
  ...deserialized,
1507
1507
  });
1508
- return smithy_client_1.decorateServiceException(exception, body);
1508
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1509
1509
  };
1510
1510
  const serializeAws_json1_1Attributes = (input, context) => {
1511
1511
  return Object.entries(input).reduce((acc, [key, value]) => {
@@ -1521,7 +1521,7 @@ const serializeAws_json1_1Attributes = (input, context) => {
1521
1521
  const serializeAws_json1_1CreateHttpNamespaceRequest = (input, context) => {
1522
1522
  var _a;
1523
1523
  return {
1524
- CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a : uuid_1.v4(),
1524
+ CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1525
1525
  ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
1526
1526
  ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
1527
1527
  ...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
@@ -1530,7 +1530,7 @@ const serializeAws_json1_1CreateHttpNamespaceRequest = (input, context) => {
1530
1530
  const serializeAws_json1_1CreatePrivateDnsNamespaceRequest = (input, context) => {
1531
1531
  var _a;
1532
1532
  return {
1533
- CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a : uuid_1.v4(),
1533
+ CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1534
1534
  ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
1535
1535
  ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
1536
1536
  ...(input.Properties !== undefined &&
@@ -1544,7 +1544,7 @@ const serializeAws_json1_1CreatePrivateDnsNamespaceRequest = (input, context) =>
1544
1544
  const serializeAws_json1_1CreatePublicDnsNamespaceRequest = (input, context) => {
1545
1545
  var _a;
1546
1546
  return {
1547
- CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a : uuid_1.v4(),
1547
+ CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1548
1548
  ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
1549
1549
  ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
1550
1550
  ...(input.Properties !== undefined &&
@@ -1557,7 +1557,7 @@ const serializeAws_json1_1CreatePublicDnsNamespaceRequest = (input, context) =>
1557
1557
  const serializeAws_json1_1CreateServiceRequest = (input, context) => {
1558
1558
  var _a;
1559
1559
  return {
1560
- CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a : uuid_1.v4(),
1560
+ CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1561
1561
  ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
1562
1562
  ...(input.DnsConfig !== undefined &&
1563
1563
  input.DnsConfig !== null && { DnsConfig: serializeAws_json1_1DnsConfig(input.DnsConfig, context) }),
@@ -1853,7 +1853,7 @@ const serializeAws_json1_1RegisterInstanceRequest = (input, context) => {
1853
1853
  return {
1854
1854
  ...(input.Attributes !== undefined &&
1855
1855
  input.Attributes !== null && { Attributes: serializeAws_json1_1Attributes(input.Attributes, context) }),
1856
- CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a : uuid_1.v4(),
1856
+ CreatorRequestId: (_a = input.CreatorRequestId) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1857
1857
  ...(input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId }),
1858
1858
  ...(input.ServiceId !== undefined && input.ServiceId !== null && { ServiceId: input.ServiceId }),
1859
1859
  };
@@ -1942,7 +1942,7 @@ const serializeAws_json1_1UpdateHttpNamespaceRequest = (input, context) => {
1942
1942
  ...(input.Id !== undefined && input.Id !== null && { Id: input.Id }),
1943
1943
  ...(input.Namespace !== undefined &&
1944
1944
  input.Namespace !== null && { Namespace: serializeAws_json1_1HttpNamespaceChange(input.Namespace, context) }),
1945
- UpdaterRequestId: (_a = input.UpdaterRequestId) !== null && _a !== void 0 ? _a : uuid_1.v4(),
1945
+ UpdaterRequestId: (_a = input.UpdaterRequestId) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1946
1946
  };
1947
1947
  };
1948
1948
  const serializeAws_json1_1UpdateInstanceCustomHealthStatusRequest = (input, context) => {
@@ -1960,7 +1960,7 @@ const serializeAws_json1_1UpdatePrivateDnsNamespaceRequest = (input, context) =>
1960
1960
  input.Namespace !== null && {
1961
1961
  Namespace: serializeAws_json1_1PrivateDnsNamespaceChange(input.Namespace, context),
1962
1962
  }),
1963
- UpdaterRequestId: (_a = input.UpdaterRequestId) !== null && _a !== void 0 ? _a : uuid_1.v4(),
1963
+ UpdaterRequestId: (_a = input.UpdaterRequestId) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1964
1964
  };
1965
1965
  };
1966
1966
  const serializeAws_json1_1UpdatePublicDnsNamespaceRequest = (input, context) => {
@@ -1971,7 +1971,7 @@ const serializeAws_json1_1UpdatePublicDnsNamespaceRequest = (input, context) =>
1971
1971
  input.Namespace !== null && {
1972
1972
  Namespace: serializeAws_json1_1PublicDnsNamespaceChange(input.Namespace, context),
1973
1973
  }),
1974
- UpdaterRequestId: (_a = input.UpdaterRequestId) !== null && _a !== void 0 ? _a : uuid_1.v4(),
1974
+ UpdaterRequestId: (_a = input.UpdaterRequestId) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1975
1975
  };
1976
1976
  };
1977
1977
  const serializeAws_json1_1UpdateServiceRequest = (input, context) => {
@@ -1988,23 +1988,23 @@ const deserializeAws_json1_1Attributes = (output, context) => {
1988
1988
  }
1989
1989
  return {
1990
1990
  ...acc,
1991
- [key]: smithy_client_1.expectString(value),
1991
+ [key]: (0, smithy_client_1.expectString)(value),
1992
1992
  };
1993
1993
  }, {});
1994
1994
  };
1995
1995
  const deserializeAws_json1_1CreateHttpNamespaceResponse = (output, context) => {
1996
1996
  return {
1997
- OperationId: smithy_client_1.expectString(output.OperationId),
1997
+ OperationId: (0, smithy_client_1.expectString)(output.OperationId),
1998
1998
  };
1999
1999
  };
2000
2000
  const deserializeAws_json1_1CreatePrivateDnsNamespaceResponse = (output, context) => {
2001
2001
  return {
2002
- OperationId: smithy_client_1.expectString(output.OperationId),
2002
+ OperationId: (0, smithy_client_1.expectString)(output.OperationId),
2003
2003
  };
2004
2004
  };
2005
2005
  const deserializeAws_json1_1CreatePublicDnsNamespaceResponse = (output, context) => {
2006
2006
  return {
2007
- OperationId: smithy_client_1.expectString(output.OperationId),
2007
+ OperationId: (0, smithy_client_1.expectString)(output.OperationId),
2008
2008
  };
2009
2009
  };
2010
2010
  const deserializeAws_json1_1CreateServiceResponse = (output, context) => {
@@ -2016,12 +2016,12 @@ const deserializeAws_json1_1CreateServiceResponse = (output, context) => {
2016
2016
  };
2017
2017
  const deserializeAws_json1_1CustomHealthNotFound = (output, context) => {
2018
2018
  return {
2019
- Message: smithy_client_1.expectString(output.Message),
2019
+ Message: (0, smithy_client_1.expectString)(output.Message),
2020
2020
  };
2021
2021
  };
2022
2022
  const deserializeAws_json1_1DeleteNamespaceResponse = (output, context) => {
2023
2023
  return {
2024
- OperationId: smithy_client_1.expectString(output.OperationId),
2024
+ OperationId: (0, smithy_client_1.expectString)(output.OperationId),
2025
2025
  };
2026
2026
  };
2027
2027
  const deserializeAws_json1_1DeleteServiceResponse = (output, context) => {
@@ -2029,7 +2029,7 @@ const deserializeAws_json1_1DeleteServiceResponse = (output, context) => {
2029
2029
  };
2030
2030
  const deserializeAws_json1_1DeregisterInstanceResponse = (output, context) => {
2031
2031
  return {
2032
- OperationId: smithy_client_1.expectString(output.OperationId),
2032
+ OperationId: (0, smithy_client_1.expectString)(output.OperationId),
2033
2033
  };
2034
2034
  };
2035
2035
  const deserializeAws_json1_1DiscoverInstancesResponse = (output, context) => {
@@ -2044,20 +2044,20 @@ const deserializeAws_json1_1DnsConfig = (output, context) => {
2044
2044
  DnsRecords: output.DnsRecords !== undefined && output.DnsRecords !== null
2045
2045
  ? deserializeAws_json1_1DnsRecordList(output.DnsRecords, context)
2046
2046
  : undefined,
2047
- NamespaceId: smithy_client_1.expectString(output.NamespaceId),
2048
- RoutingPolicy: smithy_client_1.expectString(output.RoutingPolicy),
2047
+ NamespaceId: (0, smithy_client_1.expectString)(output.NamespaceId),
2048
+ RoutingPolicy: (0, smithy_client_1.expectString)(output.RoutingPolicy),
2049
2049
  };
2050
2050
  };
2051
2051
  const deserializeAws_json1_1DnsProperties = (output, context) => {
2052
2052
  return {
2053
- HostedZoneId: smithy_client_1.expectString(output.HostedZoneId),
2053
+ HostedZoneId: (0, smithy_client_1.expectString)(output.HostedZoneId),
2054
2054
  SOA: output.SOA !== undefined && output.SOA !== null ? deserializeAws_json1_1SOA(output.SOA, context) : undefined,
2055
2055
  };
2056
2056
  };
2057
2057
  const deserializeAws_json1_1DnsRecord = (output, context) => {
2058
2058
  return {
2059
- TTL: smithy_client_1.expectLong(output.TTL),
2060
- Type: smithy_client_1.expectString(output.Type),
2059
+ TTL: (0, smithy_client_1.expectLong)(output.TTL),
2060
+ Type: (0, smithy_client_1.expectString)(output.Type),
2061
2061
  };
2062
2062
  };
2063
2063
  const deserializeAws_json1_1DnsRecordList = (output, context) => {
@@ -2073,8 +2073,8 @@ const deserializeAws_json1_1DnsRecordList = (output, context) => {
2073
2073
  };
2074
2074
  const deserializeAws_json1_1DuplicateRequest = (output, context) => {
2075
2075
  return {
2076
- DuplicateOperationId: smithy_client_1.expectString(output.DuplicateOperationId),
2077
- Message: smithy_client_1.expectString(output.Message),
2076
+ DuplicateOperationId: (0, smithy_client_1.expectString)(output.DuplicateOperationId),
2077
+ Message: (0, smithy_client_1.expectString)(output.Message),
2078
2078
  };
2079
2079
  };
2080
2080
  const deserializeAws_json1_1GetInstanceResponse = (output, context) => {
@@ -2086,7 +2086,7 @@ const deserializeAws_json1_1GetInstanceResponse = (output, context) => {
2086
2086
  };
2087
2087
  const deserializeAws_json1_1GetInstancesHealthStatusResponse = (output, context) => {
2088
2088
  return {
2089
- NextToken: smithy_client_1.expectString(output.NextToken),
2089
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2090
2090
  Status: output.Status !== undefined && output.Status !== null
2091
2091
  ? deserializeAws_json1_1InstanceHealthStatusMap(output.Status, context)
2092
2092
  : undefined,
@@ -2115,14 +2115,14 @@ const deserializeAws_json1_1GetServiceResponse = (output, context) => {
2115
2115
  };
2116
2116
  const deserializeAws_json1_1HealthCheckConfig = (output, context) => {
2117
2117
  return {
2118
- FailureThreshold: smithy_client_1.expectInt32(output.FailureThreshold),
2119
- ResourcePath: smithy_client_1.expectString(output.ResourcePath),
2120
- Type: smithy_client_1.expectString(output.Type),
2118
+ FailureThreshold: (0, smithy_client_1.expectInt32)(output.FailureThreshold),
2119
+ ResourcePath: (0, smithy_client_1.expectString)(output.ResourcePath),
2120
+ Type: (0, smithy_client_1.expectString)(output.Type),
2121
2121
  };
2122
2122
  };
2123
2123
  const deserializeAws_json1_1HealthCheckCustomConfig = (output, context) => {
2124
2124
  return {
2125
- FailureThreshold: smithy_client_1.expectInt32(output.FailureThreshold),
2125
+ FailureThreshold: (0, smithy_client_1.expectInt32)(output.FailureThreshold),
2126
2126
  };
2127
2127
  };
2128
2128
  const deserializeAws_json1_1HttpInstanceSummary = (output, context) => {
@@ -2130,10 +2130,10 @@ const deserializeAws_json1_1HttpInstanceSummary = (output, context) => {
2130
2130
  Attributes: output.Attributes !== undefined && output.Attributes !== null
2131
2131
  ? deserializeAws_json1_1Attributes(output.Attributes, context)
2132
2132
  : undefined,
2133
- HealthStatus: smithy_client_1.expectString(output.HealthStatus),
2134
- InstanceId: smithy_client_1.expectString(output.InstanceId),
2135
- NamespaceName: smithy_client_1.expectString(output.NamespaceName),
2136
- ServiceName: smithy_client_1.expectString(output.ServiceName),
2133
+ HealthStatus: (0, smithy_client_1.expectString)(output.HealthStatus),
2134
+ InstanceId: (0, smithy_client_1.expectString)(output.InstanceId),
2135
+ NamespaceName: (0, smithy_client_1.expectString)(output.NamespaceName),
2136
+ ServiceName: (0, smithy_client_1.expectString)(output.ServiceName),
2137
2137
  };
2138
2138
  };
2139
2139
  const deserializeAws_json1_1HttpInstanceSummaryList = (output, context) => {
@@ -2149,7 +2149,7 @@ const deserializeAws_json1_1HttpInstanceSummaryList = (output, context) => {
2149
2149
  };
2150
2150
  const deserializeAws_json1_1HttpProperties = (output, context) => {
2151
2151
  return {
2152
- HttpName: smithy_client_1.expectString(output.HttpName),
2152
+ HttpName: (0, smithy_client_1.expectString)(output.HttpName),
2153
2153
  };
2154
2154
  };
2155
2155
  const deserializeAws_json1_1Instance = (output, context) => {
@@ -2157,8 +2157,8 @@ const deserializeAws_json1_1Instance = (output, context) => {
2157
2157
  Attributes: output.Attributes !== undefined && output.Attributes !== null
2158
2158
  ? deserializeAws_json1_1Attributes(output.Attributes, context)
2159
2159
  : undefined,
2160
- CreatorRequestId: smithy_client_1.expectString(output.CreatorRequestId),
2161
- Id: smithy_client_1.expectString(output.Id),
2160
+ CreatorRequestId: (0, smithy_client_1.expectString)(output.CreatorRequestId),
2161
+ Id: (0, smithy_client_1.expectString)(output.Id),
2162
2162
  };
2163
2163
  };
2164
2164
  const deserializeAws_json1_1InstanceHealthStatusMap = (output, context) => {
@@ -2168,13 +2168,13 @@ const deserializeAws_json1_1InstanceHealthStatusMap = (output, context) => {
2168
2168
  }
2169
2169
  return {
2170
2170
  ...acc,
2171
- [key]: smithy_client_1.expectString(value),
2171
+ [key]: (0, smithy_client_1.expectString)(value),
2172
2172
  };
2173
2173
  }, {});
2174
2174
  };
2175
2175
  const deserializeAws_json1_1InstanceNotFound = (output, context) => {
2176
2176
  return {
2177
- Message: smithy_client_1.expectString(output.Message),
2177
+ Message: (0, smithy_client_1.expectString)(output.Message),
2178
2178
  };
2179
2179
  };
2180
2180
  const deserializeAws_json1_1InstanceSummary = (output, context) => {
@@ -2182,7 +2182,7 @@ const deserializeAws_json1_1InstanceSummary = (output, context) => {
2182
2182
  Attributes: output.Attributes !== undefined && output.Attributes !== null
2183
2183
  ? deserializeAws_json1_1Attributes(output.Attributes, context)
2184
2184
  : undefined,
2185
- Id: smithy_client_1.expectString(output.Id),
2185
+ Id: (0, smithy_client_1.expectString)(output.Id),
2186
2186
  };
2187
2187
  };
2188
2188
  const deserializeAws_json1_1InstanceSummaryList = (output, context) => {
@@ -2198,7 +2198,7 @@ const deserializeAws_json1_1InstanceSummaryList = (output, context) => {
2198
2198
  };
2199
2199
  const deserializeAws_json1_1InvalidInput = (output, context) => {
2200
2200
  return {
2201
- Message: smithy_client_1.expectString(output.Message),
2201
+ Message: (0, smithy_client_1.expectString)(output.Message),
2202
2202
  };
2203
2203
  };
2204
2204
  const deserializeAws_json1_1ListInstancesResponse = (output, context) => {
@@ -2206,7 +2206,7 @@ const deserializeAws_json1_1ListInstancesResponse = (output, context) => {
2206
2206
  Instances: output.Instances !== undefined && output.Instances !== null
2207
2207
  ? deserializeAws_json1_1InstanceSummaryList(output.Instances, context)
2208
2208
  : undefined,
2209
- NextToken: smithy_client_1.expectString(output.NextToken),
2209
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2210
2210
  };
2211
2211
  };
2212
2212
  const deserializeAws_json1_1ListNamespacesResponse = (output, context) => {
@@ -2214,12 +2214,12 @@ const deserializeAws_json1_1ListNamespacesResponse = (output, context) => {
2214
2214
  Namespaces: output.Namespaces !== undefined && output.Namespaces !== null
2215
2215
  ? deserializeAws_json1_1NamespaceSummariesList(output.Namespaces, context)
2216
2216
  : undefined,
2217
- NextToken: smithy_client_1.expectString(output.NextToken),
2217
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2218
2218
  };
2219
2219
  };
2220
2220
  const deserializeAws_json1_1ListOperationsResponse = (output, context) => {
2221
2221
  return {
2222
- NextToken: smithy_client_1.expectString(output.NextToken),
2222
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2223
2223
  Operations: output.Operations !== undefined && output.Operations !== null
2224
2224
  ? deserializeAws_json1_1OperationSummaryList(output.Operations, context)
2225
2225
  : undefined,
@@ -2227,7 +2227,7 @@ const deserializeAws_json1_1ListOperationsResponse = (output, context) => {
2227
2227
  };
2228
2228
  const deserializeAws_json1_1ListServicesResponse = (output, context) => {
2229
2229
  return {
2230
- NextToken: smithy_client_1.expectString(output.NextToken),
2230
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2231
2231
  Services: output.Services !== undefined && output.Services !== null
2232
2232
  ? deserializeAws_json1_1ServiceSummariesList(output.Services, context)
2233
2233
  : undefined,
@@ -2242,31 +2242,31 @@ const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
2242
2242
  };
2243
2243
  const deserializeAws_json1_1Namespace = (output, context) => {
2244
2244
  return {
2245
- Arn: smithy_client_1.expectString(output.Arn),
2245
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
2246
2246
  CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
2247
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreateDate)))
2247
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateDate)))
2248
2248
  : undefined,
2249
- CreatorRequestId: smithy_client_1.expectString(output.CreatorRequestId),
2250
- Description: smithy_client_1.expectString(output.Description),
2251
- Id: smithy_client_1.expectString(output.Id),
2252
- Name: smithy_client_1.expectString(output.Name),
2249
+ CreatorRequestId: (0, smithy_client_1.expectString)(output.CreatorRequestId),
2250
+ Description: (0, smithy_client_1.expectString)(output.Description),
2251
+ Id: (0, smithy_client_1.expectString)(output.Id),
2252
+ Name: (0, smithy_client_1.expectString)(output.Name),
2253
2253
  Properties: output.Properties !== undefined && output.Properties !== null
2254
2254
  ? deserializeAws_json1_1NamespaceProperties(output.Properties, context)
2255
2255
  : undefined,
2256
- ServiceCount: smithy_client_1.expectInt32(output.ServiceCount),
2257
- Type: smithy_client_1.expectString(output.Type),
2256
+ ServiceCount: (0, smithy_client_1.expectInt32)(output.ServiceCount),
2257
+ Type: (0, smithy_client_1.expectString)(output.Type),
2258
2258
  };
2259
2259
  };
2260
2260
  const deserializeAws_json1_1NamespaceAlreadyExists = (output, context) => {
2261
2261
  return {
2262
- CreatorRequestId: smithy_client_1.expectString(output.CreatorRequestId),
2263
- Message: smithy_client_1.expectString(output.Message),
2264
- NamespaceId: smithy_client_1.expectString(output.NamespaceId),
2262
+ CreatorRequestId: (0, smithy_client_1.expectString)(output.CreatorRequestId),
2263
+ Message: (0, smithy_client_1.expectString)(output.Message),
2264
+ NamespaceId: (0, smithy_client_1.expectString)(output.NamespaceId),
2265
2265
  };
2266
2266
  };
2267
2267
  const deserializeAws_json1_1NamespaceNotFound = (output, context) => {
2268
2268
  return {
2269
- Message: smithy_client_1.expectString(output.Message),
2269
+ Message: (0, smithy_client_1.expectString)(output.Message),
2270
2270
  };
2271
2271
  };
2272
2272
  const deserializeAws_json1_1NamespaceProperties = (output, context) => {
@@ -2292,47 +2292,47 @@ const deserializeAws_json1_1NamespaceSummariesList = (output, context) => {
2292
2292
  };
2293
2293
  const deserializeAws_json1_1NamespaceSummary = (output, context) => {
2294
2294
  return {
2295
- Arn: smithy_client_1.expectString(output.Arn),
2295
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
2296
2296
  CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
2297
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreateDate)))
2297
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateDate)))
2298
2298
  : undefined,
2299
- Description: smithy_client_1.expectString(output.Description),
2300
- Id: smithy_client_1.expectString(output.Id),
2301
- Name: smithy_client_1.expectString(output.Name),
2299
+ Description: (0, smithy_client_1.expectString)(output.Description),
2300
+ Id: (0, smithy_client_1.expectString)(output.Id),
2301
+ Name: (0, smithy_client_1.expectString)(output.Name),
2302
2302
  Properties: output.Properties !== undefined && output.Properties !== null
2303
2303
  ? deserializeAws_json1_1NamespaceProperties(output.Properties, context)
2304
2304
  : undefined,
2305
- ServiceCount: smithy_client_1.expectInt32(output.ServiceCount),
2306
- Type: smithy_client_1.expectString(output.Type),
2305
+ ServiceCount: (0, smithy_client_1.expectInt32)(output.ServiceCount),
2306
+ Type: (0, smithy_client_1.expectString)(output.Type),
2307
2307
  };
2308
2308
  };
2309
2309
  const deserializeAws_json1_1Operation = (output, context) => {
2310
2310
  return {
2311
2311
  CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
2312
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreateDate)))
2312
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateDate)))
2313
2313
  : undefined,
2314
- ErrorCode: smithy_client_1.expectString(output.ErrorCode),
2315
- ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
2316
- Id: smithy_client_1.expectString(output.Id),
2317
- Status: smithy_client_1.expectString(output.Status),
2314
+ ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
2315
+ ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
2316
+ Id: (0, smithy_client_1.expectString)(output.Id),
2317
+ Status: (0, smithy_client_1.expectString)(output.Status),
2318
2318
  Targets: output.Targets !== undefined && output.Targets !== null
2319
2319
  ? deserializeAws_json1_1OperationTargetsMap(output.Targets, context)
2320
2320
  : undefined,
2321
- Type: smithy_client_1.expectString(output.Type),
2321
+ Type: (0, smithy_client_1.expectString)(output.Type),
2322
2322
  UpdateDate: output.UpdateDate !== undefined && output.UpdateDate !== null
2323
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdateDate)))
2323
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdateDate)))
2324
2324
  : undefined,
2325
2325
  };
2326
2326
  };
2327
2327
  const deserializeAws_json1_1OperationNotFound = (output, context) => {
2328
2328
  return {
2329
- Message: smithy_client_1.expectString(output.Message),
2329
+ Message: (0, smithy_client_1.expectString)(output.Message),
2330
2330
  };
2331
2331
  };
2332
2332
  const deserializeAws_json1_1OperationSummary = (output, context) => {
2333
2333
  return {
2334
- Id: smithy_client_1.expectString(output.Id),
2335
- Status: smithy_client_1.expectString(output.Status),
2334
+ Id: (0, smithy_client_1.expectString)(output.Id),
2335
+ Status: (0, smithy_client_1.expectString)(output.Status),
2336
2336
  };
2337
2337
  };
2338
2338
  const deserializeAws_json1_1OperationSummaryList = (output, context) => {
@@ -2353,43 +2353,43 @@ const deserializeAws_json1_1OperationTargetsMap = (output, context) => {
2353
2353
  }
2354
2354
  return {
2355
2355
  ...acc,
2356
- [key]: smithy_client_1.expectString(value),
2356
+ [key]: (0, smithy_client_1.expectString)(value),
2357
2357
  };
2358
2358
  }, {});
2359
2359
  };
2360
2360
  const deserializeAws_json1_1RegisterInstanceResponse = (output, context) => {
2361
2361
  return {
2362
- OperationId: smithy_client_1.expectString(output.OperationId),
2362
+ OperationId: (0, smithy_client_1.expectString)(output.OperationId),
2363
2363
  };
2364
2364
  };
2365
2365
  const deserializeAws_json1_1RequestLimitExceeded = (output, context) => {
2366
2366
  return {
2367
- Message: smithy_client_1.expectString(output.Message),
2367
+ Message: (0, smithy_client_1.expectString)(output.Message),
2368
2368
  };
2369
2369
  };
2370
2370
  const deserializeAws_json1_1ResourceInUse = (output, context) => {
2371
2371
  return {
2372
- Message: smithy_client_1.expectString(output.Message),
2372
+ Message: (0, smithy_client_1.expectString)(output.Message),
2373
2373
  };
2374
2374
  };
2375
2375
  const deserializeAws_json1_1ResourceLimitExceeded = (output, context) => {
2376
2376
  return {
2377
- Message: smithy_client_1.expectString(output.Message),
2377
+ Message: (0, smithy_client_1.expectString)(output.Message),
2378
2378
  };
2379
2379
  };
2380
2380
  const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
2381
2381
  return {
2382
- Message: smithy_client_1.expectString(output.Message),
2382
+ Message: (0, smithy_client_1.expectString)(output.Message),
2383
2383
  };
2384
2384
  };
2385
2385
  const deserializeAws_json1_1Service = (output, context) => {
2386
2386
  return {
2387
- Arn: smithy_client_1.expectString(output.Arn),
2387
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
2388
2388
  CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
2389
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreateDate)))
2389
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateDate)))
2390
2390
  : undefined,
2391
- CreatorRequestId: smithy_client_1.expectString(output.CreatorRequestId),
2392
- Description: smithy_client_1.expectString(output.Description),
2391
+ CreatorRequestId: (0, smithy_client_1.expectString)(output.CreatorRequestId),
2392
+ Description: (0, smithy_client_1.expectString)(output.Description),
2393
2393
  DnsConfig: output.DnsConfig !== undefined && output.DnsConfig !== null
2394
2394
  ? deserializeAws_json1_1DnsConfig(output.DnsConfig, context)
2395
2395
  : undefined,
@@ -2399,23 +2399,23 @@ const deserializeAws_json1_1Service = (output, context) => {
2399
2399
  HealthCheckCustomConfig: output.HealthCheckCustomConfig !== undefined && output.HealthCheckCustomConfig !== null
2400
2400
  ? deserializeAws_json1_1HealthCheckCustomConfig(output.HealthCheckCustomConfig, context)
2401
2401
  : undefined,
2402
- Id: smithy_client_1.expectString(output.Id),
2403
- InstanceCount: smithy_client_1.expectInt32(output.InstanceCount),
2404
- Name: smithy_client_1.expectString(output.Name),
2405
- NamespaceId: smithy_client_1.expectString(output.NamespaceId),
2406
- Type: smithy_client_1.expectString(output.Type),
2402
+ Id: (0, smithy_client_1.expectString)(output.Id),
2403
+ InstanceCount: (0, smithy_client_1.expectInt32)(output.InstanceCount),
2404
+ Name: (0, smithy_client_1.expectString)(output.Name),
2405
+ NamespaceId: (0, smithy_client_1.expectString)(output.NamespaceId),
2406
+ Type: (0, smithy_client_1.expectString)(output.Type),
2407
2407
  };
2408
2408
  };
2409
2409
  const deserializeAws_json1_1ServiceAlreadyExists = (output, context) => {
2410
2410
  return {
2411
- CreatorRequestId: smithy_client_1.expectString(output.CreatorRequestId),
2412
- Message: smithy_client_1.expectString(output.Message),
2413
- ServiceId: smithy_client_1.expectString(output.ServiceId),
2411
+ CreatorRequestId: (0, smithy_client_1.expectString)(output.CreatorRequestId),
2412
+ Message: (0, smithy_client_1.expectString)(output.Message),
2413
+ ServiceId: (0, smithy_client_1.expectString)(output.ServiceId),
2414
2414
  };
2415
2415
  };
2416
2416
  const deserializeAws_json1_1ServiceNotFound = (output, context) => {
2417
2417
  return {
2418
- Message: smithy_client_1.expectString(output.Message),
2418
+ Message: (0, smithy_client_1.expectString)(output.Message),
2419
2419
  };
2420
2420
  };
2421
2421
  const deserializeAws_json1_1ServiceSummariesList = (output, context) => {
@@ -2431,11 +2431,11 @@ const deserializeAws_json1_1ServiceSummariesList = (output, context) => {
2431
2431
  };
2432
2432
  const deserializeAws_json1_1ServiceSummary = (output, context) => {
2433
2433
  return {
2434
- Arn: smithy_client_1.expectString(output.Arn),
2434
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
2435
2435
  CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
2436
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreateDate)))
2436
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateDate)))
2437
2437
  : undefined,
2438
- Description: smithy_client_1.expectString(output.Description),
2438
+ Description: (0, smithy_client_1.expectString)(output.Description),
2439
2439
  DnsConfig: output.DnsConfig !== undefined && output.DnsConfig !== null
2440
2440
  ? deserializeAws_json1_1DnsConfig(output.DnsConfig, context)
2441
2441
  : undefined,
@@ -2445,21 +2445,21 @@ const deserializeAws_json1_1ServiceSummary = (output, context) => {
2445
2445
  HealthCheckCustomConfig: output.HealthCheckCustomConfig !== undefined && output.HealthCheckCustomConfig !== null
2446
2446
  ? deserializeAws_json1_1HealthCheckCustomConfig(output.HealthCheckCustomConfig, context)
2447
2447
  : undefined,
2448
- Id: smithy_client_1.expectString(output.Id),
2449
- InstanceCount: smithy_client_1.expectInt32(output.InstanceCount),
2450
- Name: smithy_client_1.expectString(output.Name),
2451
- Type: smithy_client_1.expectString(output.Type),
2448
+ Id: (0, smithy_client_1.expectString)(output.Id),
2449
+ InstanceCount: (0, smithy_client_1.expectInt32)(output.InstanceCount),
2450
+ Name: (0, smithy_client_1.expectString)(output.Name),
2451
+ Type: (0, smithy_client_1.expectString)(output.Type),
2452
2452
  };
2453
2453
  };
2454
2454
  const deserializeAws_json1_1SOA = (output, context) => {
2455
2455
  return {
2456
- TTL: smithy_client_1.expectLong(output.TTL),
2456
+ TTL: (0, smithy_client_1.expectLong)(output.TTL),
2457
2457
  };
2458
2458
  };
2459
2459
  const deserializeAws_json1_1Tag = (output, context) => {
2460
2460
  return {
2461
- Key: smithy_client_1.expectString(output.Key),
2462
- Value: smithy_client_1.expectString(output.Value),
2461
+ Key: (0, smithy_client_1.expectString)(output.Key),
2462
+ Value: (0, smithy_client_1.expectString)(output.Value),
2463
2463
  };
2464
2464
  };
2465
2465
  const deserializeAws_json1_1TagList = (output, context) => {
@@ -2478,8 +2478,8 @@ const deserializeAws_json1_1TagResourceResponse = (output, context) => {
2478
2478
  };
2479
2479
  const deserializeAws_json1_1TooManyTagsException = (output, context) => {
2480
2480
  return {
2481
- Message: smithy_client_1.expectString(output.Message),
2482
- ResourceName: smithy_client_1.expectString(output.ResourceName),
2481
+ Message: (0, smithy_client_1.expectString)(output.Message),
2482
+ ResourceName: (0, smithy_client_1.expectString)(output.ResourceName),
2483
2483
  };
2484
2484
  };
2485
2485
  const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
@@ -2487,22 +2487,22 @@ const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
2487
2487
  };
2488
2488
  const deserializeAws_json1_1UpdateHttpNamespaceResponse = (output, context) => {
2489
2489
  return {
2490
- OperationId: smithy_client_1.expectString(output.OperationId),
2490
+ OperationId: (0, smithy_client_1.expectString)(output.OperationId),
2491
2491
  };
2492
2492
  };
2493
2493
  const deserializeAws_json1_1UpdatePrivateDnsNamespaceResponse = (output, context) => {
2494
2494
  return {
2495
- OperationId: smithy_client_1.expectString(output.OperationId),
2495
+ OperationId: (0, smithy_client_1.expectString)(output.OperationId),
2496
2496
  };
2497
2497
  };
2498
2498
  const deserializeAws_json1_1UpdatePublicDnsNamespaceResponse = (output, context) => {
2499
2499
  return {
2500
- OperationId: smithy_client_1.expectString(output.OperationId),
2500
+ OperationId: (0, smithy_client_1.expectString)(output.OperationId),
2501
2501
  };
2502
2502
  };
2503
2503
  const deserializeAws_json1_1UpdateServiceResponse = (output, context) => {
2504
2504
  return {
2505
- OperationId: smithy_client_1.expectString(output.OperationId),
2505
+ OperationId: (0, smithy_client_1.expectString)(output.OperationId),
2506
2506
  };
2507
2507
  };
2508
2508
  const deserializeMetadata = (output) => {