@aws-sdk/client-direct-connect 3.54.0 → 3.56.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 (74) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/DirectConnectClient.js +13 -13
  3. package/dist-cjs/commands/AcceptDirectConnectGatewayAssociationProposalCommand.js +3 -3
  4. package/dist-cjs/commands/AllocateConnectionOnInterconnectCommand.js +3 -3
  5. package/dist-cjs/commands/AllocateHostedConnectionCommand.js +3 -3
  6. package/dist-cjs/commands/AllocatePrivateVirtualInterfaceCommand.js +3 -3
  7. package/dist-cjs/commands/AllocatePublicVirtualInterfaceCommand.js +3 -3
  8. package/dist-cjs/commands/AllocateTransitVirtualInterfaceCommand.js +3 -3
  9. package/dist-cjs/commands/AssociateConnectionWithLagCommand.js +3 -3
  10. package/dist-cjs/commands/AssociateHostedConnectionCommand.js +3 -3
  11. package/dist-cjs/commands/AssociateMacSecKeyCommand.js +3 -3
  12. package/dist-cjs/commands/AssociateVirtualInterfaceCommand.js +3 -3
  13. package/dist-cjs/commands/ConfirmConnectionCommand.js +3 -3
  14. package/dist-cjs/commands/ConfirmCustomerAgreementCommand.js +3 -3
  15. package/dist-cjs/commands/ConfirmPrivateVirtualInterfaceCommand.js +3 -3
  16. package/dist-cjs/commands/ConfirmPublicVirtualInterfaceCommand.js +3 -3
  17. package/dist-cjs/commands/ConfirmTransitVirtualInterfaceCommand.js +3 -3
  18. package/dist-cjs/commands/CreateBGPPeerCommand.js +3 -3
  19. package/dist-cjs/commands/CreateConnectionCommand.js +3 -3
  20. package/dist-cjs/commands/CreateDirectConnectGatewayAssociationCommand.js +3 -3
  21. package/dist-cjs/commands/CreateDirectConnectGatewayAssociationProposalCommand.js +3 -3
  22. package/dist-cjs/commands/CreateDirectConnectGatewayCommand.js +3 -3
  23. package/dist-cjs/commands/CreateInterconnectCommand.js +3 -3
  24. package/dist-cjs/commands/CreateLagCommand.js +3 -3
  25. package/dist-cjs/commands/CreatePrivateVirtualInterfaceCommand.js +3 -3
  26. package/dist-cjs/commands/CreatePublicVirtualInterfaceCommand.js +3 -3
  27. package/dist-cjs/commands/CreateTransitVirtualInterfaceCommand.js +3 -3
  28. package/dist-cjs/commands/DeleteBGPPeerCommand.js +3 -3
  29. package/dist-cjs/commands/DeleteConnectionCommand.js +3 -3
  30. package/dist-cjs/commands/DeleteDirectConnectGatewayAssociationCommand.js +3 -3
  31. package/dist-cjs/commands/DeleteDirectConnectGatewayAssociationProposalCommand.js +3 -3
  32. package/dist-cjs/commands/DeleteDirectConnectGatewayCommand.js +3 -3
  33. package/dist-cjs/commands/DeleteInterconnectCommand.js +3 -3
  34. package/dist-cjs/commands/DeleteLagCommand.js +3 -3
  35. package/dist-cjs/commands/DeleteVirtualInterfaceCommand.js +3 -3
  36. package/dist-cjs/commands/DescribeConnectionLoaCommand.js +3 -3
  37. package/dist-cjs/commands/DescribeConnectionsCommand.js +3 -3
  38. package/dist-cjs/commands/DescribeConnectionsOnInterconnectCommand.js +3 -3
  39. package/dist-cjs/commands/DescribeCustomerMetadataCommand.js +3 -3
  40. package/dist-cjs/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.js +3 -3
  41. package/dist-cjs/commands/DescribeDirectConnectGatewayAssociationsCommand.js +3 -3
  42. package/dist-cjs/commands/DescribeDirectConnectGatewayAttachmentsCommand.js +3 -3
  43. package/dist-cjs/commands/DescribeDirectConnectGatewaysCommand.js +3 -3
  44. package/dist-cjs/commands/DescribeHostedConnectionsCommand.js +3 -3
  45. package/dist-cjs/commands/DescribeInterconnectLoaCommand.js +3 -3
  46. package/dist-cjs/commands/DescribeInterconnectsCommand.js +3 -3
  47. package/dist-cjs/commands/DescribeLagsCommand.js +3 -3
  48. package/dist-cjs/commands/DescribeLoaCommand.js +3 -3
  49. package/dist-cjs/commands/DescribeLocationsCommand.js +3 -3
  50. package/dist-cjs/commands/DescribeRouterConfigurationCommand.js +3 -3
  51. package/dist-cjs/commands/DescribeTagsCommand.js +3 -3
  52. package/dist-cjs/commands/DescribeVirtualGatewaysCommand.js +3 -3
  53. package/dist-cjs/commands/DescribeVirtualInterfacesCommand.js +3 -3
  54. package/dist-cjs/commands/DisassociateConnectionFromLagCommand.js +3 -3
  55. package/dist-cjs/commands/DisassociateMacSecKeyCommand.js +3 -3
  56. package/dist-cjs/commands/ListVirtualInterfaceTestHistoryCommand.js +3 -3
  57. package/dist-cjs/commands/StartBgpFailoverTestCommand.js +3 -3
  58. package/dist-cjs/commands/StopBgpFailoverTestCommand.js +3 -3
  59. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  60. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  61. package/dist-cjs/commands/UpdateConnectionCommand.js +3 -3
  62. package/dist-cjs/commands/UpdateDirectConnectGatewayAssociationCommand.js +3 -3
  63. package/dist-cjs/commands/UpdateDirectConnectGatewayCommand.js +3 -3
  64. package/dist-cjs/commands/UpdateLagCommand.js +3 -3
  65. package/dist-cjs/commands/UpdateVirtualInterfaceAttributesCommand.js +3 -3
  66. package/dist-cjs/endpoints.js +1 -1
  67. package/dist-cjs/protocols/Aws_json1_1.js +236 -236
  68. package/dist-cjs/runtimeConfig.browser.js +4 -4
  69. package/dist-cjs/runtimeConfig.js +9 -9
  70. package/dist-cjs/runtimeConfig.native.js +1 -1
  71. package/dist-es/DirectConnect.js +63 -63
  72. package/dist-types/runtimeConfig.native.d.ts +2 -2
  73. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  74. package/package.json +34 -34
@@ -670,7 +670,7 @@ const deserializeAws_json1_1AcceptDirectConnectGatewayAssociationProposalCommand
670
670
  $fault: "client",
671
671
  $metadata: deserializeMetadata(output),
672
672
  });
673
- throw smithy_client_1.decorateServiceException(response, parsedBody);
673
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
674
674
  }
675
675
  };
676
676
  const deserializeAws_json1_1AllocateConnectionOnInterconnectCommand = async (output, context) => {
@@ -709,7 +709,7 @@ const deserializeAws_json1_1AllocateConnectionOnInterconnectCommandError = async
709
709
  $fault: "client",
710
710
  $metadata: deserializeMetadata(output),
711
711
  });
712
- throw smithy_client_1.decorateServiceException(response, parsedBody);
712
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
713
713
  }
714
714
  };
715
715
  const deserializeAws_json1_1AllocateHostedConnectionCommand = async (output, context) => {
@@ -754,7 +754,7 @@ const deserializeAws_json1_1AllocateHostedConnectionCommandError = async (output
754
754
  $fault: "client",
755
755
  $metadata: deserializeMetadata(output),
756
756
  });
757
- throw smithy_client_1.decorateServiceException(response, parsedBody);
757
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
758
758
  }
759
759
  };
760
760
  const deserializeAws_json1_1AllocatePrivateVirtualInterfaceCommand = async (output, context) => {
@@ -799,7 +799,7 @@ const deserializeAws_json1_1AllocatePrivateVirtualInterfaceCommandError = async
799
799
  $fault: "client",
800
800
  $metadata: deserializeMetadata(output),
801
801
  });
802
- throw smithy_client_1.decorateServiceException(response, parsedBody);
802
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
803
803
  }
804
804
  };
805
805
  const deserializeAws_json1_1AllocatePublicVirtualInterfaceCommand = async (output, context) => {
@@ -844,7 +844,7 @@ const deserializeAws_json1_1AllocatePublicVirtualInterfaceCommandError = async (
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_1AllocateTransitVirtualInterfaceCommand = async (output, context) => {
@@ -889,7 +889,7 @@ const deserializeAws_json1_1AllocateTransitVirtualInterfaceCommandError = async
889
889
  $fault: "client",
890
890
  $metadata: deserializeMetadata(output),
891
891
  });
892
- throw smithy_client_1.decorateServiceException(response, parsedBody);
892
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
893
893
  }
894
894
  };
895
895
  const deserializeAws_json1_1AssociateConnectionWithLagCommand = async (output, context) => {
@@ -928,7 +928,7 @@ const deserializeAws_json1_1AssociateConnectionWithLagCommandError = async (outp
928
928
  $fault: "client",
929
929
  $metadata: deserializeMetadata(output),
930
930
  });
931
- throw smithy_client_1.decorateServiceException(response, parsedBody);
931
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
932
932
  }
933
933
  };
934
934
  const deserializeAws_json1_1AssociateHostedConnectionCommand = async (output, context) => {
@@ -967,7 +967,7 @@ const deserializeAws_json1_1AssociateHostedConnectionCommandError = async (outpu
967
967
  $fault: "client",
968
968
  $metadata: deserializeMetadata(output),
969
969
  });
970
- throw smithy_client_1.decorateServiceException(response, parsedBody);
970
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
971
971
  }
972
972
  };
973
973
  const deserializeAws_json1_1AssociateMacSecKeyCommand = async (output, context) => {
@@ -1006,7 +1006,7 @@ const deserializeAws_json1_1AssociateMacSecKeyCommandError = async (output, cont
1006
1006
  $fault: "client",
1007
1007
  $metadata: deserializeMetadata(output),
1008
1008
  });
1009
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1009
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1010
1010
  }
1011
1011
  };
1012
1012
  const deserializeAws_json1_1AssociateVirtualInterfaceCommand = async (output, context) => {
@@ -1045,7 +1045,7 @@ const deserializeAws_json1_1AssociateVirtualInterfaceCommandError = async (outpu
1045
1045
  $fault: "client",
1046
1046
  $metadata: deserializeMetadata(output),
1047
1047
  });
1048
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1048
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1049
1049
  }
1050
1050
  };
1051
1051
  const deserializeAws_json1_1ConfirmConnectionCommand = async (output, context) => {
@@ -1084,7 +1084,7 @@ const deserializeAws_json1_1ConfirmConnectionCommandError = async (output, conte
1084
1084
  $fault: "client",
1085
1085
  $metadata: deserializeMetadata(output),
1086
1086
  });
1087
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1087
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1088
1088
  }
1089
1089
  };
1090
1090
  const deserializeAws_json1_1ConfirmCustomerAgreementCommand = async (output, context) => {
@@ -1123,7 +1123,7 @@ const deserializeAws_json1_1ConfirmCustomerAgreementCommandError = async (output
1123
1123
  $fault: "client",
1124
1124
  $metadata: deserializeMetadata(output),
1125
1125
  });
1126
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1126
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1127
1127
  }
1128
1128
  };
1129
1129
  const deserializeAws_json1_1ConfirmPrivateVirtualInterfaceCommand = async (output, context) => {
@@ -1162,7 +1162,7 @@ const deserializeAws_json1_1ConfirmPrivateVirtualInterfaceCommandError = async (
1162
1162
  $fault: "client",
1163
1163
  $metadata: deserializeMetadata(output),
1164
1164
  });
1165
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1165
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1166
1166
  }
1167
1167
  };
1168
1168
  const deserializeAws_json1_1ConfirmPublicVirtualInterfaceCommand = async (output, context) => {
@@ -1201,7 +1201,7 @@ const deserializeAws_json1_1ConfirmPublicVirtualInterfaceCommandError = async (o
1201
1201
  $fault: "client",
1202
1202
  $metadata: deserializeMetadata(output),
1203
1203
  });
1204
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1204
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1205
1205
  }
1206
1206
  };
1207
1207
  const deserializeAws_json1_1ConfirmTransitVirtualInterfaceCommand = async (output, context) => {
@@ -1240,7 +1240,7 @@ const deserializeAws_json1_1ConfirmTransitVirtualInterfaceCommandError = async (
1240
1240
  $fault: "client",
1241
1241
  $metadata: deserializeMetadata(output),
1242
1242
  });
1243
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1243
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1244
1244
  }
1245
1245
  };
1246
1246
  const deserializeAws_json1_1CreateBGPPeerCommand = async (output, context) => {
@@ -1279,7 +1279,7 @@ const deserializeAws_json1_1CreateBGPPeerCommandError = async (output, context)
1279
1279
  $fault: "client",
1280
1280
  $metadata: deserializeMetadata(output),
1281
1281
  });
1282
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1282
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1283
1283
  }
1284
1284
  };
1285
1285
  const deserializeAws_json1_1CreateConnectionCommand = async (output, context) => {
@@ -1324,7 +1324,7 @@ const deserializeAws_json1_1CreateConnectionCommandError = async (output, contex
1324
1324
  $fault: "client",
1325
1325
  $metadata: deserializeMetadata(output),
1326
1326
  });
1327
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1327
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1328
1328
  }
1329
1329
  };
1330
1330
  const deserializeAws_json1_1CreateDirectConnectGatewayCommand = async (output, context) => {
@@ -1363,7 +1363,7 @@ const deserializeAws_json1_1CreateDirectConnectGatewayCommandError = async (outp
1363
1363
  $fault: "client",
1364
1364
  $metadata: deserializeMetadata(output),
1365
1365
  });
1366
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1366
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1367
1367
  }
1368
1368
  };
1369
1369
  const deserializeAws_json1_1CreateDirectConnectGatewayAssociationCommand = async (output, context) => {
@@ -1402,7 +1402,7 @@ const deserializeAws_json1_1CreateDirectConnectGatewayAssociationCommandError =
1402
1402
  $fault: "client",
1403
1403
  $metadata: deserializeMetadata(output),
1404
1404
  });
1405
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1405
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1406
1406
  }
1407
1407
  };
1408
1408
  const deserializeAws_json1_1CreateDirectConnectGatewayAssociationProposalCommand = async (output, context) => {
@@ -1441,7 +1441,7 @@ const deserializeAws_json1_1CreateDirectConnectGatewayAssociationProposalCommand
1441
1441
  $fault: "client",
1442
1442
  $metadata: deserializeMetadata(output),
1443
1443
  });
1444
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1444
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1445
1445
  }
1446
1446
  };
1447
1447
  const deserializeAws_json1_1CreateInterconnectCommand = async (output, context) => {
@@ -1486,7 +1486,7 @@ const deserializeAws_json1_1CreateInterconnectCommandError = async (output, cont
1486
1486
  $fault: "client",
1487
1487
  $metadata: deserializeMetadata(output),
1488
1488
  });
1489
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1489
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1490
1490
  }
1491
1491
  };
1492
1492
  const deserializeAws_json1_1CreateLagCommand = async (output, context) => {
@@ -1531,7 +1531,7 @@ const deserializeAws_json1_1CreateLagCommandError = async (output, context) => {
1531
1531
  $fault: "client",
1532
1532
  $metadata: deserializeMetadata(output),
1533
1533
  });
1534
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1534
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1535
1535
  }
1536
1536
  };
1537
1537
  const deserializeAws_json1_1CreatePrivateVirtualInterfaceCommand = async (output, context) => {
@@ -1576,7 +1576,7 @@ const deserializeAws_json1_1CreatePrivateVirtualInterfaceCommandError = async (o
1576
1576
  $fault: "client",
1577
1577
  $metadata: deserializeMetadata(output),
1578
1578
  });
1579
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1579
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1580
1580
  }
1581
1581
  };
1582
1582
  const deserializeAws_json1_1CreatePublicVirtualInterfaceCommand = async (output, context) => {
@@ -1621,7 +1621,7 @@ const deserializeAws_json1_1CreatePublicVirtualInterfaceCommandError = async (ou
1621
1621
  $fault: "client",
1622
1622
  $metadata: deserializeMetadata(output),
1623
1623
  });
1624
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1624
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1625
1625
  }
1626
1626
  };
1627
1627
  const deserializeAws_json1_1CreateTransitVirtualInterfaceCommand = async (output, context) => {
@@ -1666,7 +1666,7 @@ const deserializeAws_json1_1CreateTransitVirtualInterfaceCommandError = async (o
1666
1666
  $fault: "client",
1667
1667
  $metadata: deserializeMetadata(output),
1668
1668
  });
1669
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1669
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1670
1670
  }
1671
1671
  };
1672
1672
  const deserializeAws_json1_1DeleteBGPPeerCommand = async (output, context) => {
@@ -1705,7 +1705,7 @@ const deserializeAws_json1_1DeleteBGPPeerCommandError = async (output, context)
1705
1705
  $fault: "client",
1706
1706
  $metadata: deserializeMetadata(output),
1707
1707
  });
1708
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1708
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1709
1709
  }
1710
1710
  };
1711
1711
  const deserializeAws_json1_1DeleteConnectionCommand = async (output, context) => {
@@ -1744,7 +1744,7 @@ const deserializeAws_json1_1DeleteConnectionCommandError = async (output, contex
1744
1744
  $fault: "client",
1745
1745
  $metadata: deserializeMetadata(output),
1746
1746
  });
1747
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1747
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1748
1748
  }
1749
1749
  };
1750
1750
  const deserializeAws_json1_1DeleteDirectConnectGatewayCommand = async (output, context) => {
@@ -1783,7 +1783,7 @@ const deserializeAws_json1_1DeleteDirectConnectGatewayCommandError = async (outp
1783
1783
  $fault: "client",
1784
1784
  $metadata: deserializeMetadata(output),
1785
1785
  });
1786
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1786
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1787
1787
  }
1788
1788
  };
1789
1789
  const deserializeAws_json1_1DeleteDirectConnectGatewayAssociationCommand = async (output, context) => {
@@ -1822,7 +1822,7 @@ const deserializeAws_json1_1DeleteDirectConnectGatewayAssociationCommandError =
1822
1822
  $fault: "client",
1823
1823
  $metadata: deserializeMetadata(output),
1824
1824
  });
1825
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1825
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1826
1826
  }
1827
1827
  };
1828
1828
  const deserializeAws_json1_1DeleteDirectConnectGatewayAssociationProposalCommand = async (output, context) => {
@@ -1861,7 +1861,7 @@ const deserializeAws_json1_1DeleteDirectConnectGatewayAssociationProposalCommand
1861
1861
  $fault: "client",
1862
1862
  $metadata: deserializeMetadata(output),
1863
1863
  });
1864
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1864
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1865
1865
  }
1866
1866
  };
1867
1867
  const deserializeAws_json1_1DeleteInterconnectCommand = async (output, context) => {
@@ -1900,7 +1900,7 @@ const deserializeAws_json1_1DeleteInterconnectCommandError = async (output, cont
1900
1900
  $fault: "client",
1901
1901
  $metadata: deserializeMetadata(output),
1902
1902
  });
1903
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1903
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1904
1904
  }
1905
1905
  };
1906
1906
  const deserializeAws_json1_1DeleteLagCommand = async (output, context) => {
@@ -1939,7 +1939,7 @@ const deserializeAws_json1_1DeleteLagCommandError = async (output, context) => {
1939
1939
  $fault: "client",
1940
1940
  $metadata: deserializeMetadata(output),
1941
1941
  });
1942
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1942
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1943
1943
  }
1944
1944
  };
1945
1945
  const deserializeAws_json1_1DeleteVirtualInterfaceCommand = async (output, context) => {
@@ -1978,7 +1978,7 @@ const deserializeAws_json1_1DeleteVirtualInterfaceCommandError = async (output,
1978
1978
  $fault: "client",
1979
1979
  $metadata: deserializeMetadata(output),
1980
1980
  });
1981
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1981
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1982
1982
  }
1983
1983
  };
1984
1984
  const deserializeAws_json1_1DescribeConnectionLoaCommand = async (output, context) => {
@@ -2017,7 +2017,7 @@ const deserializeAws_json1_1DescribeConnectionLoaCommandError = async (output, c
2017
2017
  $fault: "client",
2018
2018
  $metadata: deserializeMetadata(output),
2019
2019
  });
2020
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2020
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2021
2021
  }
2022
2022
  };
2023
2023
  const deserializeAws_json1_1DescribeConnectionsCommand = async (output, context) => {
@@ -2056,7 +2056,7 @@ const deserializeAws_json1_1DescribeConnectionsCommandError = async (output, con
2056
2056
  $fault: "client",
2057
2057
  $metadata: deserializeMetadata(output),
2058
2058
  });
2059
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2059
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2060
2060
  }
2061
2061
  };
2062
2062
  const deserializeAws_json1_1DescribeConnectionsOnInterconnectCommand = async (output, context) => {
@@ -2095,7 +2095,7 @@ const deserializeAws_json1_1DescribeConnectionsOnInterconnectCommandError = asyn
2095
2095
  $fault: "client",
2096
2096
  $metadata: deserializeMetadata(output),
2097
2097
  });
2098
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2098
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2099
2099
  }
2100
2100
  };
2101
2101
  const deserializeAws_json1_1DescribeCustomerMetadataCommand = async (output, context) => {
@@ -2134,7 +2134,7 @@ const deserializeAws_json1_1DescribeCustomerMetadataCommandError = async (output
2134
2134
  $fault: "client",
2135
2135
  $metadata: deserializeMetadata(output),
2136
2136
  });
2137
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2137
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2138
2138
  }
2139
2139
  };
2140
2140
  const deserializeAws_json1_1DescribeDirectConnectGatewayAssociationProposalsCommand = async (output, context) => {
@@ -2173,7 +2173,7 @@ const deserializeAws_json1_1DescribeDirectConnectGatewayAssociationProposalsComm
2173
2173
  $fault: "client",
2174
2174
  $metadata: deserializeMetadata(output),
2175
2175
  });
2176
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2176
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2177
2177
  }
2178
2178
  };
2179
2179
  const deserializeAws_json1_1DescribeDirectConnectGatewayAssociationsCommand = async (output, context) => {
@@ -2212,7 +2212,7 @@ const deserializeAws_json1_1DescribeDirectConnectGatewayAssociationsCommandError
2212
2212
  $fault: "client",
2213
2213
  $metadata: deserializeMetadata(output),
2214
2214
  });
2215
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2215
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2216
2216
  }
2217
2217
  };
2218
2218
  const deserializeAws_json1_1DescribeDirectConnectGatewayAttachmentsCommand = async (output, context) => {
@@ -2251,7 +2251,7 @@ const deserializeAws_json1_1DescribeDirectConnectGatewayAttachmentsCommandError
2251
2251
  $fault: "client",
2252
2252
  $metadata: deserializeMetadata(output),
2253
2253
  });
2254
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2254
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2255
2255
  }
2256
2256
  };
2257
2257
  const deserializeAws_json1_1DescribeDirectConnectGatewaysCommand = async (output, context) => {
@@ -2290,7 +2290,7 @@ const deserializeAws_json1_1DescribeDirectConnectGatewaysCommandError = async (o
2290
2290
  $fault: "client",
2291
2291
  $metadata: deserializeMetadata(output),
2292
2292
  });
2293
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2293
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2294
2294
  }
2295
2295
  };
2296
2296
  const deserializeAws_json1_1DescribeHostedConnectionsCommand = async (output, context) => {
@@ -2329,7 +2329,7 @@ const deserializeAws_json1_1DescribeHostedConnectionsCommandError = async (outpu
2329
2329
  $fault: "client",
2330
2330
  $metadata: deserializeMetadata(output),
2331
2331
  });
2332
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2332
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2333
2333
  }
2334
2334
  };
2335
2335
  const deserializeAws_json1_1DescribeInterconnectLoaCommand = async (output, context) => {
@@ -2368,7 +2368,7 @@ const deserializeAws_json1_1DescribeInterconnectLoaCommandError = async (output,
2368
2368
  $fault: "client",
2369
2369
  $metadata: deserializeMetadata(output),
2370
2370
  });
2371
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2371
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2372
2372
  }
2373
2373
  };
2374
2374
  const deserializeAws_json1_1DescribeInterconnectsCommand = async (output, context) => {
@@ -2407,7 +2407,7 @@ const deserializeAws_json1_1DescribeInterconnectsCommandError = async (output, c
2407
2407
  $fault: "client",
2408
2408
  $metadata: deserializeMetadata(output),
2409
2409
  });
2410
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2410
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2411
2411
  }
2412
2412
  };
2413
2413
  const deserializeAws_json1_1DescribeLagsCommand = async (output, context) => {
@@ -2446,7 +2446,7 @@ const deserializeAws_json1_1DescribeLagsCommandError = async (output, context) =
2446
2446
  $fault: "client",
2447
2447
  $metadata: deserializeMetadata(output),
2448
2448
  });
2449
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2449
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2450
2450
  }
2451
2451
  };
2452
2452
  const deserializeAws_json1_1DescribeLoaCommand = async (output, context) => {
@@ -2485,7 +2485,7 @@ const deserializeAws_json1_1DescribeLoaCommandError = async (output, context) =>
2485
2485
  $fault: "client",
2486
2486
  $metadata: deserializeMetadata(output),
2487
2487
  });
2488
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2488
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2489
2489
  }
2490
2490
  };
2491
2491
  const deserializeAws_json1_1DescribeLocationsCommand = async (output, context) => {
@@ -2524,7 +2524,7 @@ const deserializeAws_json1_1DescribeLocationsCommandError = async (output, conte
2524
2524
  $fault: "client",
2525
2525
  $metadata: deserializeMetadata(output),
2526
2526
  });
2527
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2527
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2528
2528
  }
2529
2529
  };
2530
2530
  const deserializeAws_json1_1DescribeRouterConfigurationCommand = async (output, context) => {
@@ -2563,7 +2563,7 @@ const deserializeAws_json1_1DescribeRouterConfigurationCommandError = async (out
2563
2563
  $fault: "client",
2564
2564
  $metadata: deserializeMetadata(output),
2565
2565
  });
2566
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2566
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2567
2567
  }
2568
2568
  };
2569
2569
  const deserializeAws_json1_1DescribeTagsCommand = async (output, context) => {
@@ -2602,7 +2602,7 @@ const deserializeAws_json1_1DescribeTagsCommandError = async (output, context) =
2602
2602
  $fault: "client",
2603
2603
  $metadata: deserializeMetadata(output),
2604
2604
  });
2605
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2605
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2606
2606
  }
2607
2607
  };
2608
2608
  const deserializeAws_json1_1DescribeVirtualGatewaysCommand = async (output, context) => {
@@ -2641,7 +2641,7 @@ const deserializeAws_json1_1DescribeVirtualGatewaysCommandError = async (output,
2641
2641
  $fault: "client",
2642
2642
  $metadata: deserializeMetadata(output),
2643
2643
  });
2644
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2644
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2645
2645
  }
2646
2646
  };
2647
2647
  const deserializeAws_json1_1DescribeVirtualInterfacesCommand = async (output, context) => {
@@ -2680,7 +2680,7 @@ const deserializeAws_json1_1DescribeVirtualInterfacesCommandError = async (outpu
2680
2680
  $fault: "client",
2681
2681
  $metadata: deserializeMetadata(output),
2682
2682
  });
2683
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2683
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2684
2684
  }
2685
2685
  };
2686
2686
  const deserializeAws_json1_1DisassociateConnectionFromLagCommand = async (output, context) => {
@@ -2719,7 +2719,7 @@ const deserializeAws_json1_1DisassociateConnectionFromLagCommandError = async (o
2719
2719
  $fault: "client",
2720
2720
  $metadata: deserializeMetadata(output),
2721
2721
  });
2722
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2722
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2723
2723
  }
2724
2724
  };
2725
2725
  const deserializeAws_json1_1DisassociateMacSecKeyCommand = async (output, context) => {
@@ -2758,7 +2758,7 @@ const deserializeAws_json1_1DisassociateMacSecKeyCommandError = async (output, c
2758
2758
  $fault: "client",
2759
2759
  $metadata: deserializeMetadata(output),
2760
2760
  });
2761
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2761
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2762
2762
  }
2763
2763
  };
2764
2764
  const deserializeAws_json1_1ListVirtualInterfaceTestHistoryCommand = async (output, context) => {
@@ -2797,7 +2797,7 @@ const deserializeAws_json1_1ListVirtualInterfaceTestHistoryCommandError = async
2797
2797
  $fault: "client",
2798
2798
  $metadata: deserializeMetadata(output),
2799
2799
  });
2800
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2800
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2801
2801
  }
2802
2802
  };
2803
2803
  const deserializeAws_json1_1StartBgpFailoverTestCommand = async (output, context) => {
@@ -2836,7 +2836,7 @@ const deserializeAws_json1_1StartBgpFailoverTestCommandError = async (output, co
2836
2836
  $fault: "client",
2837
2837
  $metadata: deserializeMetadata(output),
2838
2838
  });
2839
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2839
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2840
2840
  }
2841
2841
  };
2842
2842
  const deserializeAws_json1_1StopBgpFailoverTestCommand = async (output, context) => {
@@ -2875,7 +2875,7 @@ const deserializeAws_json1_1StopBgpFailoverTestCommandError = async (output, con
2875
2875
  $fault: "client",
2876
2876
  $metadata: deserializeMetadata(output),
2877
2877
  });
2878
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2878
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2879
2879
  }
2880
2880
  };
2881
2881
  const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
@@ -2920,7 +2920,7 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
2920
2920
  $fault: "client",
2921
2921
  $metadata: deserializeMetadata(output),
2922
2922
  });
2923
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2923
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2924
2924
  }
2925
2925
  };
2926
2926
  const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
@@ -2959,7 +2959,7 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
2959
2959
  $fault: "client",
2960
2960
  $metadata: deserializeMetadata(output),
2961
2961
  });
2962
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2962
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2963
2963
  }
2964
2964
  };
2965
2965
  const deserializeAws_json1_1UpdateConnectionCommand = async (output, context) => {
@@ -2998,7 +2998,7 @@ const deserializeAws_json1_1UpdateConnectionCommandError = async (output, contex
2998
2998
  $fault: "client",
2999
2999
  $metadata: deserializeMetadata(output),
3000
3000
  });
3001
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3001
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3002
3002
  }
3003
3003
  };
3004
3004
  const deserializeAws_json1_1UpdateDirectConnectGatewayCommand = async (output, context) => {
@@ -3037,7 +3037,7 @@ const deserializeAws_json1_1UpdateDirectConnectGatewayCommandError = async (outp
3037
3037
  $fault: "client",
3038
3038
  $metadata: deserializeMetadata(output),
3039
3039
  });
3040
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3040
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3041
3041
  }
3042
3042
  };
3043
3043
  const deserializeAws_json1_1UpdateDirectConnectGatewayAssociationCommand = async (output, context) => {
@@ -3076,7 +3076,7 @@ const deserializeAws_json1_1UpdateDirectConnectGatewayAssociationCommandError =
3076
3076
  $fault: "client",
3077
3077
  $metadata: deserializeMetadata(output),
3078
3078
  });
3079
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3079
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3080
3080
  }
3081
3081
  };
3082
3082
  const deserializeAws_json1_1UpdateLagCommand = async (output, context) => {
@@ -3115,7 +3115,7 @@ const deserializeAws_json1_1UpdateLagCommandError = async (output, context) => {
3115
3115
  $fault: "client",
3116
3116
  $metadata: deserializeMetadata(output),
3117
3117
  });
3118
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3118
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3119
3119
  }
3120
3120
  };
3121
3121
  const deserializeAws_json1_1UpdateVirtualInterfaceAttributesCommand = async (output, context) => {
@@ -3154,7 +3154,7 @@ const deserializeAws_json1_1UpdateVirtualInterfaceAttributesCommandError = async
3154
3154
  $fault: "client",
3155
3155
  $metadata: deserializeMetadata(output),
3156
3156
  });
3157
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3157
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3158
3158
  }
3159
3159
  };
3160
3160
  const deserializeAws_json1_1DirectConnectClientExceptionResponse = async (parsedOutput, context) => {
@@ -3164,7 +3164,7 @@ const deserializeAws_json1_1DirectConnectClientExceptionResponse = async (parsed
3164
3164
  $metadata: deserializeMetadata(parsedOutput),
3165
3165
  ...deserialized,
3166
3166
  });
3167
- return smithy_client_1.decorateServiceException(exception, body);
3167
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3168
3168
  };
3169
3169
  const deserializeAws_json1_1DirectConnectServerExceptionResponse = async (parsedOutput, context) => {
3170
3170
  const body = parsedOutput.body;
@@ -3173,7 +3173,7 @@ const deserializeAws_json1_1DirectConnectServerExceptionResponse = async (parsed
3173
3173
  $metadata: deserializeMetadata(parsedOutput),
3174
3174
  ...deserialized,
3175
3175
  });
3176
- return smithy_client_1.decorateServiceException(exception, body);
3176
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3177
3177
  };
3178
3178
  const deserializeAws_json1_1DuplicateTagKeysExceptionResponse = async (parsedOutput, context) => {
3179
3179
  const body = parsedOutput.body;
@@ -3182,7 +3182,7 @@ const deserializeAws_json1_1DuplicateTagKeysExceptionResponse = async (parsedOut
3182
3182
  $metadata: deserializeMetadata(parsedOutput),
3183
3183
  ...deserialized,
3184
3184
  });
3185
- return smithy_client_1.decorateServiceException(exception, body);
3185
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3186
3186
  };
3187
3187
  const deserializeAws_json1_1TooManyTagsExceptionResponse = async (parsedOutput, context) => {
3188
3188
  const body = parsedOutput.body;
@@ -3191,7 +3191,7 @@ const deserializeAws_json1_1TooManyTagsExceptionResponse = async (parsedOutput,
3191
3191
  $metadata: deserializeMetadata(parsedOutput),
3192
3192
  ...deserialized,
3193
3193
  });
3194
- return smithy_client_1.decorateServiceException(exception, body);
3194
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
3195
3195
  };
3196
3196
  const serializeAws_json1_1AcceptDirectConnectGatewayAssociationProposalRequest = (input, context) => {
3197
3197
  return {
@@ -3913,15 +3913,15 @@ const deserializeAws_json1_1AllocateTransitVirtualInterfaceResult = (output, con
3913
3913
  };
3914
3914
  const deserializeAws_json1_1AssociatedGateway = (output, context) => {
3915
3915
  return {
3916
- id: smithy_client_1.expectString(output.id),
3917
- ownerAccount: smithy_client_1.expectString(output.ownerAccount),
3918
- region: smithy_client_1.expectString(output.region),
3919
- type: smithy_client_1.expectString(output.type),
3916
+ id: (0, smithy_client_1.expectString)(output.id),
3917
+ ownerAccount: (0, smithy_client_1.expectString)(output.ownerAccount),
3918
+ region: (0, smithy_client_1.expectString)(output.region),
3919
+ type: (0, smithy_client_1.expectString)(output.type),
3920
3920
  };
3921
3921
  };
3922
3922
  const deserializeAws_json1_1AssociateMacSecKeyResponse = (output, context) => {
3923
3923
  return {
3924
- connectionId: smithy_client_1.expectString(output.connectionId),
3924
+ connectionId: (0, smithy_client_1.expectString)(output.connectionId),
3925
3925
  macSecKeys: output.macSecKeys !== undefined && output.macSecKeys !== null
3926
3926
  ? deserializeAws_json1_1MacSecKeyList(output.macSecKeys, context)
3927
3927
  : undefined,
@@ -3934,7 +3934,7 @@ const deserializeAws_json1_1AvailableMacSecPortSpeeds = (output, context) => {
3934
3934
  if (entry === null) {
3935
3935
  return null;
3936
3936
  }
3937
- return smithy_client_1.expectString(entry);
3937
+ return (0, smithy_client_1.expectString)(entry);
3938
3938
  });
3939
3939
  return retVal;
3940
3940
  };
@@ -3945,22 +3945,22 @@ const deserializeAws_json1_1AvailablePortSpeeds = (output, context) => {
3945
3945
  if (entry === null) {
3946
3946
  return null;
3947
3947
  }
3948
- return smithy_client_1.expectString(entry);
3948
+ return (0, smithy_client_1.expectString)(entry);
3949
3949
  });
3950
3950
  return retVal;
3951
3951
  };
3952
3952
  const deserializeAws_json1_1BGPPeer = (output, context) => {
3953
3953
  return {
3954
- addressFamily: smithy_client_1.expectString(output.addressFamily),
3955
- amazonAddress: smithy_client_1.expectString(output.amazonAddress),
3956
- asn: smithy_client_1.expectInt32(output.asn),
3957
- authKey: smithy_client_1.expectString(output.authKey),
3958
- awsDeviceV2: smithy_client_1.expectString(output.awsDeviceV2),
3959
- awsLogicalDeviceId: smithy_client_1.expectString(output.awsLogicalDeviceId),
3960
- bgpPeerId: smithy_client_1.expectString(output.bgpPeerId),
3961
- bgpPeerState: smithy_client_1.expectString(output.bgpPeerState),
3962
- bgpStatus: smithy_client_1.expectString(output.bgpStatus),
3963
- customerAddress: smithy_client_1.expectString(output.customerAddress),
3954
+ addressFamily: (0, smithy_client_1.expectString)(output.addressFamily),
3955
+ amazonAddress: (0, smithy_client_1.expectString)(output.amazonAddress),
3956
+ asn: (0, smithy_client_1.expectInt32)(output.asn),
3957
+ authKey: (0, smithy_client_1.expectString)(output.authKey),
3958
+ awsDeviceV2: (0, smithy_client_1.expectString)(output.awsDeviceV2),
3959
+ awsLogicalDeviceId: (0, smithy_client_1.expectString)(output.awsLogicalDeviceId),
3960
+ bgpPeerId: (0, smithy_client_1.expectString)(output.bgpPeerId),
3961
+ bgpPeerState: (0, smithy_client_1.expectString)(output.bgpPeerState),
3962
+ bgpStatus: (0, smithy_client_1.expectString)(output.bgpStatus),
3963
+ customerAddress: (0, smithy_client_1.expectString)(output.customerAddress),
3964
3964
  };
3965
3965
  };
3966
3966
  const deserializeAws_json1_1BGPPeerIdList = (output, context) => {
@@ -3970,7 +3970,7 @@ const deserializeAws_json1_1BGPPeerIdList = (output, context) => {
3970
3970
  if (entry === null) {
3971
3971
  return null;
3972
3972
  }
3973
- return smithy_client_1.expectString(entry);
3973
+ return (0, smithy_client_1.expectString)(entry);
3974
3974
  });
3975
3975
  return retVal;
3976
3976
  };
@@ -3987,59 +3987,59 @@ const deserializeAws_json1_1BGPPeerList = (output, context) => {
3987
3987
  };
3988
3988
  const deserializeAws_json1_1ConfirmConnectionResponse = (output, context) => {
3989
3989
  return {
3990
- connectionState: smithy_client_1.expectString(output.connectionState),
3990
+ connectionState: (0, smithy_client_1.expectString)(output.connectionState),
3991
3991
  };
3992
3992
  };
3993
3993
  const deserializeAws_json1_1ConfirmCustomerAgreementResponse = (output, context) => {
3994
3994
  return {
3995
- status: smithy_client_1.expectString(output.status),
3995
+ status: (0, smithy_client_1.expectString)(output.status),
3996
3996
  };
3997
3997
  };
3998
3998
  const deserializeAws_json1_1ConfirmPrivateVirtualInterfaceResponse = (output, context) => {
3999
3999
  return {
4000
- virtualInterfaceState: smithy_client_1.expectString(output.virtualInterfaceState),
4000
+ virtualInterfaceState: (0, smithy_client_1.expectString)(output.virtualInterfaceState),
4001
4001
  };
4002
4002
  };
4003
4003
  const deserializeAws_json1_1ConfirmPublicVirtualInterfaceResponse = (output, context) => {
4004
4004
  return {
4005
- virtualInterfaceState: smithy_client_1.expectString(output.virtualInterfaceState),
4005
+ virtualInterfaceState: (0, smithy_client_1.expectString)(output.virtualInterfaceState),
4006
4006
  };
4007
4007
  };
4008
4008
  const deserializeAws_json1_1ConfirmTransitVirtualInterfaceResponse = (output, context) => {
4009
4009
  return {
4010
- virtualInterfaceState: smithy_client_1.expectString(output.virtualInterfaceState),
4010
+ virtualInterfaceState: (0, smithy_client_1.expectString)(output.virtualInterfaceState),
4011
4011
  };
4012
4012
  };
4013
4013
  const deserializeAws_json1_1Connection = (output, context) => {
4014
4014
  return {
4015
- awsDevice: smithy_client_1.expectString(output.awsDevice),
4016
- awsDeviceV2: smithy_client_1.expectString(output.awsDeviceV2),
4017
- awsLogicalDeviceId: smithy_client_1.expectString(output.awsLogicalDeviceId),
4018
- bandwidth: smithy_client_1.expectString(output.bandwidth),
4019
- connectionId: smithy_client_1.expectString(output.connectionId),
4020
- connectionName: smithy_client_1.expectString(output.connectionName),
4021
- connectionState: smithy_client_1.expectString(output.connectionState),
4022
- encryptionMode: smithy_client_1.expectString(output.encryptionMode),
4023
- hasLogicalRedundancy: smithy_client_1.expectString(output.hasLogicalRedundancy),
4024
- jumboFrameCapable: smithy_client_1.expectBoolean(output.jumboFrameCapable),
4025
- lagId: smithy_client_1.expectString(output.lagId),
4015
+ awsDevice: (0, smithy_client_1.expectString)(output.awsDevice),
4016
+ awsDeviceV2: (0, smithy_client_1.expectString)(output.awsDeviceV2),
4017
+ awsLogicalDeviceId: (0, smithy_client_1.expectString)(output.awsLogicalDeviceId),
4018
+ bandwidth: (0, smithy_client_1.expectString)(output.bandwidth),
4019
+ connectionId: (0, smithy_client_1.expectString)(output.connectionId),
4020
+ connectionName: (0, smithy_client_1.expectString)(output.connectionName),
4021
+ connectionState: (0, smithy_client_1.expectString)(output.connectionState),
4022
+ encryptionMode: (0, smithy_client_1.expectString)(output.encryptionMode),
4023
+ hasLogicalRedundancy: (0, smithy_client_1.expectString)(output.hasLogicalRedundancy),
4024
+ jumboFrameCapable: (0, smithy_client_1.expectBoolean)(output.jumboFrameCapable),
4025
+ lagId: (0, smithy_client_1.expectString)(output.lagId),
4026
4026
  loaIssueTime: output.loaIssueTime !== undefined && output.loaIssueTime !== null
4027
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.loaIssueTime)))
4027
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.loaIssueTime)))
4028
4028
  : undefined,
4029
- location: smithy_client_1.expectString(output.location),
4030
- macSecCapable: smithy_client_1.expectBoolean(output.macSecCapable),
4029
+ location: (0, smithy_client_1.expectString)(output.location),
4030
+ macSecCapable: (0, smithy_client_1.expectBoolean)(output.macSecCapable),
4031
4031
  macSecKeys: output.macSecKeys !== undefined && output.macSecKeys !== null
4032
4032
  ? deserializeAws_json1_1MacSecKeyList(output.macSecKeys, context)
4033
4033
  : undefined,
4034
- ownerAccount: smithy_client_1.expectString(output.ownerAccount),
4035
- partnerName: smithy_client_1.expectString(output.partnerName),
4036
- portEncryptionStatus: smithy_client_1.expectString(output.portEncryptionStatus),
4037
- providerName: smithy_client_1.expectString(output.providerName),
4038
- region: smithy_client_1.expectString(output.region),
4034
+ ownerAccount: (0, smithy_client_1.expectString)(output.ownerAccount),
4035
+ partnerName: (0, smithy_client_1.expectString)(output.partnerName),
4036
+ portEncryptionStatus: (0, smithy_client_1.expectString)(output.portEncryptionStatus),
4037
+ providerName: (0, smithy_client_1.expectString)(output.providerName),
4038
+ region: (0, smithy_client_1.expectString)(output.region),
4039
4039
  tags: output.tags !== undefined && output.tags !== null
4040
4040
  ? deserializeAws_json1_1TagList(output.tags, context)
4041
4041
  : undefined,
4042
- vlan: smithy_client_1.expectInt32(output.vlan),
4042
+ vlan: (0, smithy_client_1.expectInt32)(output.vlan),
4043
4043
  };
4044
4044
  };
4045
4045
  const deserializeAws_json1_1ConnectionList = (output, context) => {
@@ -4098,8 +4098,8 @@ const deserializeAws_json1_1CreateTransitVirtualInterfaceResult = (output, conte
4098
4098
  };
4099
4099
  const deserializeAws_json1_1CustomerAgreement = (output, context) => {
4100
4100
  return {
4101
- agreementName: smithy_client_1.expectString(output.agreementName),
4102
- status: smithy_client_1.expectString(output.status),
4101
+ agreementName: (0, smithy_client_1.expectString)(output.agreementName),
4102
+ status: (0, smithy_client_1.expectString)(output.status),
4103
4103
  };
4104
4104
  };
4105
4105
  const deserializeAws_json1_1DeleteBGPPeerResponse = (output, context) => {
@@ -4133,12 +4133,12 @@ const deserializeAws_json1_1DeleteDirectConnectGatewayResult = (output, context)
4133
4133
  };
4134
4134
  const deserializeAws_json1_1DeleteInterconnectResponse = (output, context) => {
4135
4135
  return {
4136
- interconnectState: smithy_client_1.expectString(output.interconnectState),
4136
+ interconnectState: (0, smithy_client_1.expectString)(output.interconnectState),
4137
4137
  };
4138
4138
  };
4139
4139
  const deserializeAws_json1_1DeleteVirtualInterfaceResponse = (output, context) => {
4140
4140
  return {
4141
- virtualInterfaceState: smithy_client_1.expectString(output.virtualInterfaceState),
4141
+ virtualInterfaceState: (0, smithy_client_1.expectString)(output.virtualInterfaceState),
4142
4142
  };
4143
4143
  };
4144
4144
  const deserializeAws_json1_1DescribeConnectionLoaResponse = (output, context) => {
@@ -4151,7 +4151,7 @@ const deserializeAws_json1_1DescribeCustomerMetadataResponse = (output, context)
4151
4151
  agreements: output.agreements !== undefined && output.agreements !== null
4152
4152
  ? deserializeAws_json1_1AgreementList(output.agreements, context)
4153
4153
  : undefined,
4154
- nniPartnerType: smithy_client_1.expectString(output.nniPartnerType),
4154
+ nniPartnerType: (0, smithy_client_1.expectString)(output.nniPartnerType),
4155
4155
  };
4156
4156
  };
4157
4157
  const deserializeAws_json1_1DescribeDirectConnectGatewayAssociationProposalsResult = (output, context) => {
@@ -4160,7 +4160,7 @@ const deserializeAws_json1_1DescribeDirectConnectGatewayAssociationProposalsResu
4160
4160
  output.directConnectGatewayAssociationProposals !== null
4161
4161
  ? deserializeAws_json1_1DirectConnectGatewayAssociationProposalList(output.directConnectGatewayAssociationProposals, context)
4162
4162
  : undefined,
4163
- nextToken: smithy_client_1.expectString(output.nextToken),
4163
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
4164
4164
  };
4165
4165
  };
4166
4166
  const deserializeAws_json1_1DescribeDirectConnectGatewayAssociationsResult = (output, context) => {
@@ -4168,7 +4168,7 @@ const deserializeAws_json1_1DescribeDirectConnectGatewayAssociationsResult = (ou
4168
4168
  directConnectGatewayAssociations: output.directConnectGatewayAssociations !== undefined && output.directConnectGatewayAssociations !== null
4169
4169
  ? deserializeAws_json1_1DirectConnectGatewayAssociationList(output.directConnectGatewayAssociations, context)
4170
4170
  : undefined,
4171
- nextToken: smithy_client_1.expectString(output.nextToken),
4171
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
4172
4172
  };
4173
4173
  };
4174
4174
  const deserializeAws_json1_1DescribeDirectConnectGatewayAttachmentsResult = (output, context) => {
@@ -4176,7 +4176,7 @@ const deserializeAws_json1_1DescribeDirectConnectGatewayAttachmentsResult = (out
4176
4176
  directConnectGatewayAttachments: output.directConnectGatewayAttachments !== undefined && output.directConnectGatewayAttachments !== null
4177
4177
  ? deserializeAws_json1_1DirectConnectGatewayAttachmentList(output.directConnectGatewayAttachments, context)
4178
4178
  : undefined,
4179
- nextToken: smithy_client_1.expectString(output.nextToken),
4179
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
4180
4180
  };
4181
4181
  };
4182
4182
  const deserializeAws_json1_1DescribeDirectConnectGatewaysResult = (output, context) => {
@@ -4184,7 +4184,7 @@ const deserializeAws_json1_1DescribeDirectConnectGatewaysResult = (output, conte
4184
4184
  directConnectGateways: output.directConnectGateways !== undefined && output.directConnectGateways !== null
4185
4185
  ? deserializeAws_json1_1DirectConnectGatewayList(output.directConnectGateways, context)
4186
4186
  : undefined,
4187
- nextToken: smithy_client_1.expectString(output.nextToken),
4187
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
4188
4188
  };
4189
4189
  };
4190
4190
  const deserializeAws_json1_1DescribeInterconnectLoaResponse = (output, context) => {
@@ -4194,12 +4194,12 @@ const deserializeAws_json1_1DescribeInterconnectLoaResponse = (output, context)
4194
4194
  };
4195
4195
  const deserializeAws_json1_1DescribeRouterConfigurationResponse = (output, context) => {
4196
4196
  return {
4197
- customerRouterConfig: smithy_client_1.expectString(output.customerRouterConfig),
4197
+ customerRouterConfig: (0, smithy_client_1.expectString)(output.customerRouterConfig),
4198
4198
  router: output.router !== undefined && output.router !== null
4199
4199
  ? deserializeAws_json1_1RouterType(output.router, context)
4200
4200
  : undefined,
4201
- virtualInterfaceId: smithy_client_1.expectString(output.virtualInterfaceId),
4202
- virtualInterfaceName: smithy_client_1.expectString(output.virtualInterfaceName),
4201
+ virtualInterfaceId: (0, smithy_client_1.expectString)(output.virtualInterfaceId),
4202
+ virtualInterfaceName: (0, smithy_client_1.expectString)(output.virtualInterfaceName),
4203
4203
  };
4204
4204
  };
4205
4205
  const deserializeAws_json1_1DescribeTagsResponse = (output, context) => {
@@ -4211,17 +4211,17 @@ const deserializeAws_json1_1DescribeTagsResponse = (output, context) => {
4211
4211
  };
4212
4212
  const deserializeAws_json1_1DirectConnectClientException = (output, context) => {
4213
4213
  return {
4214
- message: smithy_client_1.expectString(output.message),
4214
+ message: (0, smithy_client_1.expectString)(output.message),
4215
4215
  };
4216
4216
  };
4217
4217
  const deserializeAws_json1_1DirectConnectGateway = (output, context) => {
4218
4218
  return {
4219
- amazonSideAsn: smithy_client_1.expectLong(output.amazonSideAsn),
4220
- directConnectGatewayId: smithy_client_1.expectString(output.directConnectGatewayId),
4221
- directConnectGatewayName: smithy_client_1.expectString(output.directConnectGatewayName),
4222
- directConnectGatewayState: smithy_client_1.expectString(output.directConnectGatewayState),
4223
- ownerAccount: smithy_client_1.expectString(output.ownerAccount),
4224
- stateChangeError: smithy_client_1.expectString(output.stateChangeError),
4219
+ amazonSideAsn: (0, smithy_client_1.expectLong)(output.amazonSideAsn),
4220
+ directConnectGatewayId: (0, smithy_client_1.expectString)(output.directConnectGatewayId),
4221
+ directConnectGatewayName: (0, smithy_client_1.expectString)(output.directConnectGatewayName),
4222
+ directConnectGatewayState: (0, smithy_client_1.expectString)(output.directConnectGatewayState),
4223
+ ownerAccount: (0, smithy_client_1.expectString)(output.ownerAccount),
4224
+ stateChangeError: (0, smithy_client_1.expectString)(output.stateChangeError),
4225
4225
  };
4226
4226
  };
4227
4227
  const deserializeAws_json1_1DirectConnectGatewayAssociation = (output, context) => {
@@ -4233,14 +4233,14 @@ const deserializeAws_json1_1DirectConnectGatewayAssociation = (output, context)
4233
4233
  associatedGateway: output.associatedGateway !== undefined && output.associatedGateway !== null
4234
4234
  ? deserializeAws_json1_1AssociatedGateway(output.associatedGateway, context)
4235
4235
  : undefined,
4236
- associationId: smithy_client_1.expectString(output.associationId),
4237
- associationState: smithy_client_1.expectString(output.associationState),
4238
- directConnectGatewayId: smithy_client_1.expectString(output.directConnectGatewayId),
4239
- directConnectGatewayOwnerAccount: smithy_client_1.expectString(output.directConnectGatewayOwnerAccount),
4240
- stateChangeError: smithy_client_1.expectString(output.stateChangeError),
4241
- virtualGatewayId: smithy_client_1.expectString(output.virtualGatewayId),
4242
- virtualGatewayOwnerAccount: smithy_client_1.expectString(output.virtualGatewayOwnerAccount),
4243
- virtualGatewayRegion: smithy_client_1.expectString(output.virtualGatewayRegion),
4236
+ associationId: (0, smithy_client_1.expectString)(output.associationId),
4237
+ associationState: (0, smithy_client_1.expectString)(output.associationState),
4238
+ directConnectGatewayId: (0, smithy_client_1.expectString)(output.directConnectGatewayId),
4239
+ directConnectGatewayOwnerAccount: (0, smithy_client_1.expectString)(output.directConnectGatewayOwnerAccount),
4240
+ stateChangeError: (0, smithy_client_1.expectString)(output.stateChangeError),
4241
+ virtualGatewayId: (0, smithy_client_1.expectString)(output.virtualGatewayId),
4242
+ virtualGatewayOwnerAccount: (0, smithy_client_1.expectString)(output.virtualGatewayOwnerAccount),
4243
+ virtualGatewayRegion: (0, smithy_client_1.expectString)(output.virtualGatewayRegion),
4244
4244
  };
4245
4245
  };
4246
4246
  const deserializeAws_json1_1DirectConnectGatewayAssociationList = (output, context) => {
@@ -4259,14 +4259,14 @@ const deserializeAws_json1_1DirectConnectGatewayAssociationProposal = (output, c
4259
4259
  associatedGateway: output.associatedGateway !== undefined && output.associatedGateway !== null
4260
4260
  ? deserializeAws_json1_1AssociatedGateway(output.associatedGateway, context)
4261
4261
  : undefined,
4262
- directConnectGatewayId: smithy_client_1.expectString(output.directConnectGatewayId),
4263
- directConnectGatewayOwnerAccount: smithy_client_1.expectString(output.directConnectGatewayOwnerAccount),
4262
+ directConnectGatewayId: (0, smithy_client_1.expectString)(output.directConnectGatewayId),
4263
+ directConnectGatewayOwnerAccount: (0, smithy_client_1.expectString)(output.directConnectGatewayOwnerAccount),
4264
4264
  existingAllowedPrefixesToDirectConnectGateway: output.existingAllowedPrefixesToDirectConnectGateway !== undefined &&
4265
4265
  output.existingAllowedPrefixesToDirectConnectGateway !== null
4266
4266
  ? deserializeAws_json1_1RouteFilterPrefixList(output.existingAllowedPrefixesToDirectConnectGateway, context)
4267
4267
  : undefined,
4268
- proposalId: smithy_client_1.expectString(output.proposalId),
4269
- proposalState: smithy_client_1.expectString(output.proposalState),
4268
+ proposalId: (0, smithy_client_1.expectString)(output.proposalId),
4269
+ proposalState: (0, smithy_client_1.expectString)(output.proposalState),
4270
4270
  requestedAllowedPrefixesToDirectConnectGateway: output.requestedAllowedPrefixesToDirectConnectGateway !== undefined &&
4271
4271
  output.requestedAllowedPrefixesToDirectConnectGateway !== null
4272
4272
  ? deserializeAws_json1_1RouteFilterPrefixList(output.requestedAllowedPrefixesToDirectConnectGateway, context)
@@ -4286,13 +4286,13 @@ const deserializeAws_json1_1DirectConnectGatewayAssociationProposalList = (outpu
4286
4286
  };
4287
4287
  const deserializeAws_json1_1DirectConnectGatewayAttachment = (output, context) => {
4288
4288
  return {
4289
- attachmentState: smithy_client_1.expectString(output.attachmentState),
4290
- attachmentType: smithy_client_1.expectString(output.attachmentType),
4291
- directConnectGatewayId: smithy_client_1.expectString(output.directConnectGatewayId),
4292
- stateChangeError: smithy_client_1.expectString(output.stateChangeError),
4293
- virtualInterfaceId: smithy_client_1.expectString(output.virtualInterfaceId),
4294
- virtualInterfaceOwnerAccount: smithy_client_1.expectString(output.virtualInterfaceOwnerAccount),
4295
- virtualInterfaceRegion: smithy_client_1.expectString(output.virtualInterfaceRegion),
4289
+ attachmentState: (0, smithy_client_1.expectString)(output.attachmentState),
4290
+ attachmentType: (0, smithy_client_1.expectString)(output.attachmentType),
4291
+ directConnectGatewayId: (0, smithy_client_1.expectString)(output.directConnectGatewayId),
4292
+ stateChangeError: (0, smithy_client_1.expectString)(output.stateChangeError),
4293
+ virtualInterfaceId: (0, smithy_client_1.expectString)(output.virtualInterfaceId),
4294
+ virtualInterfaceOwnerAccount: (0, smithy_client_1.expectString)(output.virtualInterfaceOwnerAccount),
4295
+ virtualInterfaceRegion: (0, smithy_client_1.expectString)(output.virtualInterfaceRegion),
4296
4296
  };
4297
4297
  };
4298
4298
  const deserializeAws_json1_1DirectConnectGatewayAttachmentList = (output, context) => {
@@ -4319,12 +4319,12 @@ const deserializeAws_json1_1DirectConnectGatewayList = (output, context) => {
4319
4319
  };
4320
4320
  const deserializeAws_json1_1DirectConnectServerException = (output, context) => {
4321
4321
  return {
4322
- message: smithy_client_1.expectString(output.message),
4322
+ message: (0, smithy_client_1.expectString)(output.message),
4323
4323
  };
4324
4324
  };
4325
4325
  const deserializeAws_json1_1DisassociateMacSecKeyResponse = (output, context) => {
4326
4326
  return {
4327
- connectionId: smithy_client_1.expectString(output.connectionId),
4327
+ connectionId: (0, smithy_client_1.expectString)(output.connectionId),
4328
4328
  macSecKeys: output.macSecKeys !== undefined && output.macSecKeys !== null
4329
4329
  ? deserializeAws_json1_1MacSecKeyList(output.macSecKeys, context)
4330
4330
  : undefined,
@@ -4332,27 +4332,27 @@ const deserializeAws_json1_1DisassociateMacSecKeyResponse = (output, context) =>
4332
4332
  };
4333
4333
  const deserializeAws_json1_1DuplicateTagKeysException = (output, context) => {
4334
4334
  return {
4335
- message: smithy_client_1.expectString(output.message),
4335
+ message: (0, smithy_client_1.expectString)(output.message),
4336
4336
  };
4337
4337
  };
4338
4338
  const deserializeAws_json1_1Interconnect = (output, context) => {
4339
4339
  return {
4340
- awsDevice: smithy_client_1.expectString(output.awsDevice),
4341
- awsDeviceV2: smithy_client_1.expectString(output.awsDeviceV2),
4342
- awsLogicalDeviceId: smithy_client_1.expectString(output.awsLogicalDeviceId),
4343
- bandwidth: smithy_client_1.expectString(output.bandwidth),
4344
- hasLogicalRedundancy: smithy_client_1.expectString(output.hasLogicalRedundancy),
4345
- interconnectId: smithy_client_1.expectString(output.interconnectId),
4346
- interconnectName: smithy_client_1.expectString(output.interconnectName),
4347
- interconnectState: smithy_client_1.expectString(output.interconnectState),
4348
- jumboFrameCapable: smithy_client_1.expectBoolean(output.jumboFrameCapable),
4349
- lagId: smithy_client_1.expectString(output.lagId),
4340
+ awsDevice: (0, smithy_client_1.expectString)(output.awsDevice),
4341
+ awsDeviceV2: (0, smithy_client_1.expectString)(output.awsDeviceV2),
4342
+ awsLogicalDeviceId: (0, smithy_client_1.expectString)(output.awsLogicalDeviceId),
4343
+ bandwidth: (0, smithy_client_1.expectString)(output.bandwidth),
4344
+ hasLogicalRedundancy: (0, smithy_client_1.expectString)(output.hasLogicalRedundancy),
4345
+ interconnectId: (0, smithy_client_1.expectString)(output.interconnectId),
4346
+ interconnectName: (0, smithy_client_1.expectString)(output.interconnectName),
4347
+ interconnectState: (0, smithy_client_1.expectString)(output.interconnectState),
4348
+ jumboFrameCapable: (0, smithy_client_1.expectBoolean)(output.jumboFrameCapable),
4349
+ lagId: (0, smithy_client_1.expectString)(output.lagId),
4350
4350
  loaIssueTime: output.loaIssueTime !== undefined && output.loaIssueTime !== null
4351
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.loaIssueTime)))
4351
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.loaIssueTime)))
4352
4352
  : undefined,
4353
- location: smithy_client_1.expectString(output.location),
4354
- providerName: smithy_client_1.expectString(output.providerName),
4355
- region: smithy_client_1.expectString(output.region),
4353
+ location: (0, smithy_client_1.expectString)(output.location),
4354
+ providerName: (0, smithy_client_1.expectString)(output.providerName),
4355
+ region: (0, smithy_client_1.expectString)(output.region),
4356
4356
  tags: output.tags !== undefined && output.tags !== null
4357
4357
  ? deserializeAws_json1_1TagList(output.tags, context)
4358
4358
  : undefined,
@@ -4378,30 +4378,30 @@ const deserializeAws_json1_1Interconnects = (output, context) => {
4378
4378
  };
4379
4379
  const deserializeAws_json1_1Lag = (output, context) => {
4380
4380
  return {
4381
- allowsHostedConnections: smithy_client_1.expectBoolean(output.allowsHostedConnections),
4382
- awsDevice: smithy_client_1.expectString(output.awsDevice),
4383
- awsDeviceV2: smithy_client_1.expectString(output.awsDeviceV2),
4384
- awsLogicalDeviceId: smithy_client_1.expectString(output.awsLogicalDeviceId),
4381
+ allowsHostedConnections: (0, smithy_client_1.expectBoolean)(output.allowsHostedConnections),
4382
+ awsDevice: (0, smithy_client_1.expectString)(output.awsDevice),
4383
+ awsDeviceV2: (0, smithy_client_1.expectString)(output.awsDeviceV2),
4384
+ awsLogicalDeviceId: (0, smithy_client_1.expectString)(output.awsLogicalDeviceId),
4385
4385
  connections: output.connections !== undefined && output.connections !== null
4386
4386
  ? deserializeAws_json1_1ConnectionList(output.connections, context)
4387
4387
  : undefined,
4388
- connectionsBandwidth: smithy_client_1.expectString(output.connectionsBandwidth),
4389
- encryptionMode: smithy_client_1.expectString(output.encryptionMode),
4390
- hasLogicalRedundancy: smithy_client_1.expectString(output.hasLogicalRedundancy),
4391
- jumboFrameCapable: smithy_client_1.expectBoolean(output.jumboFrameCapable),
4392
- lagId: smithy_client_1.expectString(output.lagId),
4393
- lagName: smithy_client_1.expectString(output.lagName),
4394
- lagState: smithy_client_1.expectString(output.lagState),
4395
- location: smithy_client_1.expectString(output.location),
4396
- macSecCapable: smithy_client_1.expectBoolean(output.macSecCapable),
4388
+ connectionsBandwidth: (0, smithy_client_1.expectString)(output.connectionsBandwidth),
4389
+ encryptionMode: (0, smithy_client_1.expectString)(output.encryptionMode),
4390
+ hasLogicalRedundancy: (0, smithy_client_1.expectString)(output.hasLogicalRedundancy),
4391
+ jumboFrameCapable: (0, smithy_client_1.expectBoolean)(output.jumboFrameCapable),
4392
+ lagId: (0, smithy_client_1.expectString)(output.lagId),
4393
+ lagName: (0, smithy_client_1.expectString)(output.lagName),
4394
+ lagState: (0, smithy_client_1.expectString)(output.lagState),
4395
+ location: (0, smithy_client_1.expectString)(output.location),
4396
+ macSecCapable: (0, smithy_client_1.expectBoolean)(output.macSecCapable),
4397
4397
  macSecKeys: output.macSecKeys !== undefined && output.macSecKeys !== null
4398
4398
  ? deserializeAws_json1_1MacSecKeyList(output.macSecKeys, context)
4399
4399
  : undefined,
4400
- minimumLinks: smithy_client_1.expectInt32(output.minimumLinks),
4401
- numberOfConnections: smithy_client_1.expectInt32(output.numberOfConnections),
4402
- ownerAccount: smithy_client_1.expectString(output.ownerAccount),
4403
- providerName: smithy_client_1.expectString(output.providerName),
4404
- region: smithy_client_1.expectString(output.region),
4400
+ minimumLinks: (0, smithy_client_1.expectInt32)(output.minimumLinks),
4401
+ numberOfConnections: (0, smithy_client_1.expectInt32)(output.numberOfConnections),
4402
+ ownerAccount: (0, smithy_client_1.expectString)(output.ownerAccount),
4403
+ providerName: (0, smithy_client_1.expectString)(output.providerName),
4404
+ region: (0, smithy_client_1.expectString)(output.region),
4405
4405
  tags: output.tags !== undefined && output.tags !== null
4406
4406
  ? deserializeAws_json1_1TagList(output.tags, context)
4407
4407
  : undefined,
@@ -4427,7 +4427,7 @@ const deserializeAws_json1_1Lags = (output, context) => {
4427
4427
  };
4428
4428
  const deserializeAws_json1_1ListVirtualInterfaceTestHistoryResponse = (output, context) => {
4429
4429
  return {
4430
- nextToken: smithy_client_1.expectString(output.nextToken),
4430
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
4431
4431
  virtualInterfaceTestHistory: output.virtualInterfaceTestHistory !== undefined && output.virtualInterfaceTestHistory !== null
4432
4432
  ? deserializeAws_json1_1VirtualInterfaceTestHistoryList(output.virtualInterfaceTestHistory, context)
4433
4433
  : undefined,
@@ -4438,7 +4438,7 @@ const deserializeAws_json1_1Loa = (output, context) => {
4438
4438
  loaContent: output.loaContent !== undefined && output.loaContent !== null
4439
4439
  ? context.base64Decoder(output.loaContent)
4440
4440
  : undefined,
4441
- loaContentType: smithy_client_1.expectString(output.loaContentType),
4441
+ loaContentType: (0, smithy_client_1.expectString)(output.loaContentType),
4442
4442
  };
4443
4443
  };
4444
4444
  const deserializeAws_json1_1Location = (output, context) => {
@@ -4452,9 +4452,9 @@ const deserializeAws_json1_1Location = (output, context) => {
4452
4452
  availableProviders: output.availableProviders !== undefined && output.availableProviders !== null
4453
4453
  ? deserializeAws_json1_1ProviderList(output.availableProviders, context)
4454
4454
  : undefined,
4455
- locationCode: smithy_client_1.expectString(output.locationCode),
4456
- locationName: smithy_client_1.expectString(output.locationName),
4457
- region: smithy_client_1.expectString(output.region),
4455
+ locationCode: (0, smithy_client_1.expectString)(output.locationCode),
4456
+ locationName: (0, smithy_client_1.expectString)(output.locationName),
4457
+ region: (0, smithy_client_1.expectString)(output.region),
4458
4458
  };
4459
4459
  };
4460
4460
  const deserializeAws_json1_1LocationList = (output, context) => {
@@ -4477,10 +4477,10 @@ const deserializeAws_json1_1Locations = (output, context) => {
4477
4477
  };
4478
4478
  const deserializeAws_json1_1MacSecKey = (output, context) => {
4479
4479
  return {
4480
- ckn: smithy_client_1.expectString(output.ckn),
4481
- secretARN: smithy_client_1.expectString(output.secretARN),
4482
- startOn: smithy_client_1.expectString(output.startOn),
4483
- state: smithy_client_1.expectString(output.state),
4480
+ ckn: (0, smithy_client_1.expectString)(output.ckn),
4481
+ secretARN: (0, smithy_client_1.expectString)(output.secretARN),
4482
+ startOn: (0, smithy_client_1.expectString)(output.startOn),
4483
+ state: (0, smithy_client_1.expectString)(output.state),
4484
4484
  };
4485
4485
  };
4486
4486
  const deserializeAws_json1_1MacSecKeyList = (output, context) => {
@@ -4501,13 +4501,13 @@ const deserializeAws_json1_1ProviderList = (output, context) => {
4501
4501
  if (entry === null) {
4502
4502
  return null;
4503
4503
  }
4504
- return smithy_client_1.expectString(entry);
4504
+ return (0, smithy_client_1.expectString)(entry);
4505
4505
  });
4506
4506
  return retVal;
4507
4507
  };
4508
4508
  const deserializeAws_json1_1ResourceTag = (output, context) => {
4509
4509
  return {
4510
- resourceArn: smithy_client_1.expectString(output.resourceArn),
4510
+ resourceArn: (0, smithy_client_1.expectString)(output.resourceArn),
4511
4511
  tags: output.tags !== undefined && output.tags !== null
4512
4512
  ? deserializeAws_json1_1TagList(output.tags, context)
4513
4513
  : undefined,
@@ -4526,7 +4526,7 @@ const deserializeAws_json1_1ResourceTagList = (output, context) => {
4526
4526
  };
4527
4527
  const deserializeAws_json1_1RouteFilterPrefix = (output, context) => {
4528
4528
  return {
4529
- cidr: smithy_client_1.expectString(output.cidr),
4529
+ cidr: (0, smithy_client_1.expectString)(output.cidr),
4530
4530
  };
4531
4531
  };
4532
4532
  const deserializeAws_json1_1RouteFilterPrefixList = (output, context) => {
@@ -4542,12 +4542,12 @@ const deserializeAws_json1_1RouteFilterPrefixList = (output, context) => {
4542
4542
  };
4543
4543
  const deserializeAws_json1_1RouterType = (output, context) => {
4544
4544
  return {
4545
- platform: smithy_client_1.expectString(output.platform),
4546
- routerTypeIdentifier: smithy_client_1.expectString(output.routerTypeIdentifier),
4547
- software: smithy_client_1.expectString(output.software),
4548
- vendor: smithy_client_1.expectString(output.vendor),
4549
- xsltTemplateName: smithy_client_1.expectString(output.xsltTemplateName),
4550
- xsltTemplateNameForMacSec: smithy_client_1.expectString(output.xsltTemplateNameForMacSec),
4545
+ platform: (0, smithy_client_1.expectString)(output.platform),
4546
+ routerTypeIdentifier: (0, smithy_client_1.expectString)(output.routerTypeIdentifier),
4547
+ software: (0, smithy_client_1.expectString)(output.software),
4548
+ vendor: (0, smithy_client_1.expectString)(output.vendor),
4549
+ xsltTemplateName: (0, smithy_client_1.expectString)(output.xsltTemplateName),
4550
+ xsltTemplateNameForMacSec: (0, smithy_client_1.expectString)(output.xsltTemplateNameForMacSec),
4551
4551
  };
4552
4552
  };
4553
4553
  const deserializeAws_json1_1StartBgpFailoverTestResponse = (output, context) => {
@@ -4566,8 +4566,8 @@ const deserializeAws_json1_1StopBgpFailoverTestResponse = (output, context) => {
4566
4566
  };
4567
4567
  const deserializeAws_json1_1Tag = (output, context) => {
4568
4568
  return {
4569
- key: smithy_client_1.expectString(output.key),
4570
- value: smithy_client_1.expectString(output.value),
4569
+ key: (0, smithy_client_1.expectString)(output.key),
4570
+ value: (0, smithy_client_1.expectString)(output.value),
4571
4571
  };
4572
4572
  };
4573
4573
  const deserializeAws_json1_1TagList = (output, context) => {
@@ -4586,7 +4586,7 @@ const deserializeAws_json1_1TagResourceResponse = (output, context) => {
4586
4586
  };
4587
4587
  const deserializeAws_json1_1TooManyTagsException = (output, context) => {
4588
4588
  return {
4589
- message: smithy_client_1.expectString(output.message),
4589
+ message: (0, smithy_client_1.expectString)(output.message),
4590
4590
  };
4591
4591
  };
4592
4592
  const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
@@ -4608,8 +4608,8 @@ const deserializeAws_json1_1UpdateDirectConnectGatewayResponse = (output, contex
4608
4608
  };
4609
4609
  const deserializeAws_json1_1VirtualGateway = (output, context) => {
4610
4610
  return {
4611
- virtualGatewayId: smithy_client_1.expectString(output.virtualGatewayId),
4612
- virtualGatewayState: smithy_client_1.expectString(output.virtualGatewayState),
4611
+ virtualGatewayId: (0, smithy_client_1.expectString)(output.virtualGatewayId),
4612
+ virtualGatewayState: (0, smithy_client_1.expectString)(output.virtualGatewayState),
4613
4613
  };
4614
4614
  };
4615
4615
  const deserializeAws_json1_1VirtualGatewayList = (output, context) => {
@@ -4632,38 +4632,38 @@ const deserializeAws_json1_1VirtualGateways = (output, context) => {
4632
4632
  };
4633
4633
  const deserializeAws_json1_1VirtualInterface = (output, context) => {
4634
4634
  return {
4635
- addressFamily: smithy_client_1.expectString(output.addressFamily),
4636
- amazonAddress: smithy_client_1.expectString(output.amazonAddress),
4637
- amazonSideAsn: smithy_client_1.expectLong(output.amazonSideAsn),
4638
- asn: smithy_client_1.expectInt32(output.asn),
4639
- authKey: smithy_client_1.expectString(output.authKey),
4640
- awsDeviceV2: smithy_client_1.expectString(output.awsDeviceV2),
4641
- awsLogicalDeviceId: smithy_client_1.expectString(output.awsLogicalDeviceId),
4635
+ addressFamily: (0, smithy_client_1.expectString)(output.addressFamily),
4636
+ amazonAddress: (0, smithy_client_1.expectString)(output.amazonAddress),
4637
+ amazonSideAsn: (0, smithy_client_1.expectLong)(output.amazonSideAsn),
4638
+ asn: (0, smithy_client_1.expectInt32)(output.asn),
4639
+ authKey: (0, smithy_client_1.expectString)(output.authKey),
4640
+ awsDeviceV2: (0, smithy_client_1.expectString)(output.awsDeviceV2),
4641
+ awsLogicalDeviceId: (0, smithy_client_1.expectString)(output.awsLogicalDeviceId),
4642
4642
  bgpPeers: output.bgpPeers !== undefined && output.bgpPeers !== null
4643
4643
  ? deserializeAws_json1_1BGPPeerList(output.bgpPeers, context)
4644
4644
  : undefined,
4645
- connectionId: smithy_client_1.expectString(output.connectionId),
4646
- customerAddress: smithy_client_1.expectString(output.customerAddress),
4647
- customerRouterConfig: smithy_client_1.expectString(output.customerRouterConfig),
4648
- directConnectGatewayId: smithy_client_1.expectString(output.directConnectGatewayId),
4649
- jumboFrameCapable: smithy_client_1.expectBoolean(output.jumboFrameCapable),
4650
- location: smithy_client_1.expectString(output.location),
4651
- mtu: smithy_client_1.expectInt32(output.mtu),
4652
- ownerAccount: smithy_client_1.expectString(output.ownerAccount),
4653
- region: smithy_client_1.expectString(output.region),
4645
+ connectionId: (0, smithy_client_1.expectString)(output.connectionId),
4646
+ customerAddress: (0, smithy_client_1.expectString)(output.customerAddress),
4647
+ customerRouterConfig: (0, smithy_client_1.expectString)(output.customerRouterConfig),
4648
+ directConnectGatewayId: (0, smithy_client_1.expectString)(output.directConnectGatewayId),
4649
+ jumboFrameCapable: (0, smithy_client_1.expectBoolean)(output.jumboFrameCapable),
4650
+ location: (0, smithy_client_1.expectString)(output.location),
4651
+ mtu: (0, smithy_client_1.expectInt32)(output.mtu),
4652
+ ownerAccount: (0, smithy_client_1.expectString)(output.ownerAccount),
4653
+ region: (0, smithy_client_1.expectString)(output.region),
4654
4654
  routeFilterPrefixes: output.routeFilterPrefixes !== undefined && output.routeFilterPrefixes !== null
4655
4655
  ? deserializeAws_json1_1RouteFilterPrefixList(output.routeFilterPrefixes, context)
4656
4656
  : undefined,
4657
- siteLinkEnabled: smithy_client_1.expectBoolean(output.siteLinkEnabled),
4657
+ siteLinkEnabled: (0, smithy_client_1.expectBoolean)(output.siteLinkEnabled),
4658
4658
  tags: output.tags !== undefined && output.tags !== null
4659
4659
  ? deserializeAws_json1_1TagList(output.tags, context)
4660
4660
  : undefined,
4661
- virtualGatewayId: smithy_client_1.expectString(output.virtualGatewayId),
4662
- virtualInterfaceId: smithy_client_1.expectString(output.virtualInterfaceId),
4663
- virtualInterfaceName: smithy_client_1.expectString(output.virtualInterfaceName),
4664
- virtualInterfaceState: smithy_client_1.expectString(output.virtualInterfaceState),
4665
- virtualInterfaceType: smithy_client_1.expectString(output.virtualInterfaceType),
4666
- vlan: smithy_client_1.expectInt32(output.vlan),
4661
+ virtualGatewayId: (0, smithy_client_1.expectString)(output.virtualGatewayId),
4662
+ virtualInterfaceId: (0, smithy_client_1.expectString)(output.virtualInterfaceId),
4663
+ virtualInterfaceName: (0, smithy_client_1.expectString)(output.virtualInterfaceName),
4664
+ virtualInterfaceState: (0, smithy_client_1.expectString)(output.virtualInterfaceState),
4665
+ virtualInterfaceType: (0, smithy_client_1.expectString)(output.virtualInterfaceType),
4666
+ vlan: (0, smithy_client_1.expectInt32)(output.vlan),
4667
4667
  };
4668
4668
  };
4669
4669
  const deserializeAws_json1_1VirtualInterfaceList = (output, context) => {
@@ -4690,16 +4690,16 @@ const deserializeAws_json1_1VirtualInterfaceTestHistory = (output, context) => {
4690
4690
  ? deserializeAws_json1_1BGPPeerIdList(output.bgpPeers, context)
4691
4691
  : undefined,
4692
4692
  endTime: output.endTime !== undefined && output.endTime !== null
4693
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.endTime)))
4693
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime)))
4694
4694
  : undefined,
4695
- ownerAccount: smithy_client_1.expectString(output.ownerAccount),
4695
+ ownerAccount: (0, smithy_client_1.expectString)(output.ownerAccount),
4696
4696
  startTime: output.startTime !== undefined && output.startTime !== null
4697
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startTime)))
4697
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime)))
4698
4698
  : undefined,
4699
- status: smithy_client_1.expectString(output.status),
4700
- testDurationInMinutes: smithy_client_1.expectInt32(output.testDurationInMinutes),
4701
- testId: smithy_client_1.expectString(output.testId),
4702
- virtualInterfaceId: smithy_client_1.expectString(output.virtualInterfaceId),
4699
+ status: (0, smithy_client_1.expectString)(output.status),
4700
+ testDurationInMinutes: (0, smithy_client_1.expectInt32)(output.testDurationInMinutes),
4701
+ testId: (0, smithy_client_1.expectString)(output.testId),
4702
+ virtualInterfaceId: (0, smithy_client_1.expectString)(output.virtualInterfaceId),
4703
4703
  };
4704
4704
  };
4705
4705
  const deserializeAws_json1_1VirtualInterfaceTestHistoryList = (output, context) => {