@aws-sdk/client-direct-connect 3.31.0 → 3.32.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 (139) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/DirectConnectClient.js +13 -13
  3. package/dist/cjs/DirectConnectClient.js.map +1 -1
  4. package/dist/cjs/commands/AcceptDirectConnectGatewayAssociationProposalCommand.js +3 -3
  5. package/dist/cjs/commands/AcceptDirectConnectGatewayAssociationProposalCommand.js.map +1 -1
  6. package/dist/cjs/commands/AllocateConnectionOnInterconnectCommand.js +3 -3
  7. package/dist/cjs/commands/AllocateConnectionOnInterconnectCommand.js.map +1 -1
  8. package/dist/cjs/commands/AllocateHostedConnectionCommand.js +3 -3
  9. package/dist/cjs/commands/AllocateHostedConnectionCommand.js.map +1 -1
  10. package/dist/cjs/commands/AllocatePrivateVirtualInterfaceCommand.js +3 -3
  11. package/dist/cjs/commands/AllocatePrivateVirtualInterfaceCommand.js.map +1 -1
  12. package/dist/cjs/commands/AllocatePublicVirtualInterfaceCommand.js +3 -3
  13. package/dist/cjs/commands/AllocatePublicVirtualInterfaceCommand.js.map +1 -1
  14. package/dist/cjs/commands/AllocateTransitVirtualInterfaceCommand.js +3 -3
  15. package/dist/cjs/commands/AllocateTransitVirtualInterfaceCommand.js.map +1 -1
  16. package/dist/cjs/commands/AssociateConnectionWithLagCommand.js +3 -3
  17. package/dist/cjs/commands/AssociateConnectionWithLagCommand.js.map +1 -1
  18. package/dist/cjs/commands/AssociateHostedConnectionCommand.js +3 -3
  19. package/dist/cjs/commands/AssociateHostedConnectionCommand.js.map +1 -1
  20. package/dist/cjs/commands/AssociateMacSecKeyCommand.js +3 -3
  21. package/dist/cjs/commands/AssociateMacSecKeyCommand.js.map +1 -1
  22. package/dist/cjs/commands/AssociateVirtualInterfaceCommand.js +3 -3
  23. package/dist/cjs/commands/AssociateVirtualInterfaceCommand.js.map +1 -1
  24. package/dist/cjs/commands/ConfirmConnectionCommand.js +3 -3
  25. package/dist/cjs/commands/ConfirmConnectionCommand.js.map +1 -1
  26. package/dist/cjs/commands/ConfirmPrivateVirtualInterfaceCommand.js +3 -3
  27. package/dist/cjs/commands/ConfirmPrivateVirtualInterfaceCommand.js.map +1 -1
  28. package/dist/cjs/commands/ConfirmPublicVirtualInterfaceCommand.js +3 -3
  29. package/dist/cjs/commands/ConfirmPublicVirtualInterfaceCommand.js.map +1 -1
  30. package/dist/cjs/commands/ConfirmTransitVirtualInterfaceCommand.js +3 -3
  31. package/dist/cjs/commands/ConfirmTransitVirtualInterfaceCommand.js.map +1 -1
  32. package/dist/cjs/commands/CreateBGPPeerCommand.js +3 -3
  33. package/dist/cjs/commands/CreateBGPPeerCommand.js.map +1 -1
  34. package/dist/cjs/commands/CreateConnectionCommand.js +3 -3
  35. package/dist/cjs/commands/CreateConnectionCommand.js.map +1 -1
  36. package/dist/cjs/commands/CreateDirectConnectGatewayAssociationCommand.js +3 -3
  37. package/dist/cjs/commands/CreateDirectConnectGatewayAssociationCommand.js.map +1 -1
  38. package/dist/cjs/commands/CreateDirectConnectGatewayAssociationProposalCommand.js +3 -3
  39. package/dist/cjs/commands/CreateDirectConnectGatewayAssociationProposalCommand.js.map +1 -1
  40. package/dist/cjs/commands/CreateDirectConnectGatewayCommand.js +3 -3
  41. package/dist/cjs/commands/CreateDirectConnectGatewayCommand.js.map +1 -1
  42. package/dist/cjs/commands/CreateInterconnectCommand.js +3 -3
  43. package/dist/cjs/commands/CreateInterconnectCommand.js.map +1 -1
  44. package/dist/cjs/commands/CreateLagCommand.js +3 -3
  45. package/dist/cjs/commands/CreateLagCommand.js.map +1 -1
  46. package/dist/cjs/commands/CreatePrivateVirtualInterfaceCommand.js +3 -3
  47. package/dist/cjs/commands/CreatePrivateVirtualInterfaceCommand.js.map +1 -1
  48. package/dist/cjs/commands/CreatePublicVirtualInterfaceCommand.js +3 -3
  49. package/dist/cjs/commands/CreatePublicVirtualInterfaceCommand.js.map +1 -1
  50. package/dist/cjs/commands/CreateTransitVirtualInterfaceCommand.js +3 -3
  51. package/dist/cjs/commands/CreateTransitVirtualInterfaceCommand.js.map +1 -1
  52. package/dist/cjs/commands/DeleteBGPPeerCommand.js +3 -3
  53. package/dist/cjs/commands/DeleteBGPPeerCommand.js.map +1 -1
  54. package/dist/cjs/commands/DeleteConnectionCommand.js +3 -3
  55. package/dist/cjs/commands/DeleteConnectionCommand.js.map +1 -1
  56. package/dist/cjs/commands/DeleteDirectConnectGatewayAssociationCommand.js +3 -3
  57. package/dist/cjs/commands/DeleteDirectConnectGatewayAssociationCommand.js.map +1 -1
  58. package/dist/cjs/commands/DeleteDirectConnectGatewayAssociationProposalCommand.js +3 -3
  59. package/dist/cjs/commands/DeleteDirectConnectGatewayAssociationProposalCommand.js.map +1 -1
  60. package/dist/cjs/commands/DeleteDirectConnectGatewayCommand.js +3 -3
  61. package/dist/cjs/commands/DeleteDirectConnectGatewayCommand.js.map +1 -1
  62. package/dist/cjs/commands/DeleteInterconnectCommand.js +3 -3
  63. package/dist/cjs/commands/DeleteInterconnectCommand.js.map +1 -1
  64. package/dist/cjs/commands/DeleteLagCommand.js +3 -3
  65. package/dist/cjs/commands/DeleteLagCommand.js.map +1 -1
  66. package/dist/cjs/commands/DeleteVirtualInterfaceCommand.js +3 -3
  67. package/dist/cjs/commands/DeleteVirtualInterfaceCommand.js.map +1 -1
  68. package/dist/cjs/commands/DescribeConnectionLoaCommand.js +3 -3
  69. package/dist/cjs/commands/DescribeConnectionLoaCommand.js.map +1 -1
  70. package/dist/cjs/commands/DescribeConnectionsCommand.js +3 -3
  71. package/dist/cjs/commands/DescribeConnectionsCommand.js.map +1 -1
  72. package/dist/cjs/commands/DescribeConnectionsOnInterconnectCommand.js +3 -3
  73. package/dist/cjs/commands/DescribeConnectionsOnInterconnectCommand.js.map +1 -1
  74. package/dist/cjs/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.js +3 -3
  75. package/dist/cjs/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.js.map +1 -1
  76. package/dist/cjs/commands/DescribeDirectConnectGatewayAssociationsCommand.js +3 -3
  77. package/dist/cjs/commands/DescribeDirectConnectGatewayAssociationsCommand.js.map +1 -1
  78. package/dist/cjs/commands/DescribeDirectConnectGatewayAttachmentsCommand.js +3 -3
  79. package/dist/cjs/commands/DescribeDirectConnectGatewayAttachmentsCommand.js.map +1 -1
  80. package/dist/cjs/commands/DescribeDirectConnectGatewaysCommand.js +3 -3
  81. package/dist/cjs/commands/DescribeDirectConnectGatewaysCommand.js.map +1 -1
  82. package/dist/cjs/commands/DescribeHostedConnectionsCommand.js +3 -3
  83. package/dist/cjs/commands/DescribeHostedConnectionsCommand.js.map +1 -1
  84. package/dist/cjs/commands/DescribeInterconnectLoaCommand.js +3 -3
  85. package/dist/cjs/commands/DescribeInterconnectLoaCommand.js.map +1 -1
  86. package/dist/cjs/commands/DescribeInterconnectsCommand.js +3 -3
  87. package/dist/cjs/commands/DescribeInterconnectsCommand.js.map +1 -1
  88. package/dist/cjs/commands/DescribeLagsCommand.js +3 -3
  89. package/dist/cjs/commands/DescribeLagsCommand.js.map +1 -1
  90. package/dist/cjs/commands/DescribeLoaCommand.js +3 -3
  91. package/dist/cjs/commands/DescribeLoaCommand.js.map +1 -1
  92. package/dist/cjs/commands/DescribeLocationsCommand.js +3 -3
  93. package/dist/cjs/commands/DescribeLocationsCommand.js.map +1 -1
  94. package/dist/cjs/commands/DescribeTagsCommand.js +3 -3
  95. package/dist/cjs/commands/DescribeTagsCommand.js.map +1 -1
  96. package/dist/cjs/commands/DescribeVirtualGatewaysCommand.js +3 -3
  97. package/dist/cjs/commands/DescribeVirtualGatewaysCommand.js.map +1 -1
  98. package/dist/cjs/commands/DescribeVirtualInterfacesCommand.js +3 -3
  99. package/dist/cjs/commands/DescribeVirtualInterfacesCommand.js.map +1 -1
  100. package/dist/cjs/commands/DisassociateConnectionFromLagCommand.js +3 -3
  101. package/dist/cjs/commands/DisassociateConnectionFromLagCommand.js.map +1 -1
  102. package/dist/cjs/commands/DisassociateMacSecKeyCommand.js +3 -3
  103. package/dist/cjs/commands/DisassociateMacSecKeyCommand.js.map +1 -1
  104. package/dist/cjs/commands/ListVirtualInterfaceTestHistoryCommand.js +3 -3
  105. package/dist/cjs/commands/ListVirtualInterfaceTestHistoryCommand.js.map +1 -1
  106. package/dist/cjs/commands/StartBgpFailoverTestCommand.js +3 -3
  107. package/dist/cjs/commands/StartBgpFailoverTestCommand.js.map +1 -1
  108. package/dist/cjs/commands/StopBgpFailoverTestCommand.js +3 -3
  109. package/dist/cjs/commands/StopBgpFailoverTestCommand.js.map +1 -1
  110. package/dist/cjs/commands/TagResourceCommand.js +3 -3
  111. package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
  112. package/dist/cjs/commands/UntagResourceCommand.js +3 -3
  113. package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
  114. package/dist/cjs/commands/UpdateConnectionCommand.js +3 -3
  115. package/dist/cjs/commands/UpdateConnectionCommand.js.map +1 -1
  116. package/dist/cjs/commands/UpdateDirectConnectGatewayAssociationCommand.js +3 -3
  117. package/dist/cjs/commands/UpdateDirectConnectGatewayAssociationCommand.js.map +1 -1
  118. package/dist/cjs/commands/UpdateLagCommand.js +3 -3
  119. package/dist/cjs/commands/UpdateLagCommand.js.map +1 -1
  120. package/dist/cjs/commands/UpdateVirtualInterfaceAttributesCommand.js +3 -3
  121. package/dist/cjs/commands/UpdateVirtualInterfaceAttributesCommand.js.map +1 -1
  122. package/dist/cjs/endpoints.js +1 -1
  123. package/dist/cjs/endpoints.js.map +1 -1
  124. package/dist/cjs/index.js +62 -62
  125. package/dist/cjs/index.js.map +1 -1
  126. package/dist/cjs/models/index.js +1 -1
  127. package/dist/cjs/models/index.js.map +1 -1
  128. package/dist/cjs/package.json +31 -31
  129. package/dist/cjs/protocols/Aws_json1_1.js +155 -155
  130. package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
  131. package/dist/cjs/runtimeConfig.browser.js +4 -4
  132. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  133. package/dist/cjs/runtimeConfig.js +8 -8
  134. package/dist/cjs/runtimeConfig.js.map +1 -1
  135. package/dist/cjs/runtimeConfig.native.js +1 -1
  136. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  137. package/dist/es/package.json +31 -31
  138. package/package.json +31 -31
  139. package/tsconfig.json +1 -2
@@ -4738,15 +4738,15 @@ const deserializeAws_json1_1AllocateTransitVirtualInterfaceResult = (output, con
4738
4738
  };
4739
4739
  const deserializeAws_json1_1AssociatedGateway = (output, context) => {
4740
4740
  return {
4741
- id: (0, smithy_client_1.expectString)(output.id),
4742
- ownerAccount: (0, smithy_client_1.expectString)(output.ownerAccount),
4743
- region: (0, smithy_client_1.expectString)(output.region),
4744
- type: (0, smithy_client_1.expectString)(output.type),
4741
+ id: smithy_client_1.expectString(output.id),
4742
+ ownerAccount: smithy_client_1.expectString(output.ownerAccount),
4743
+ region: smithy_client_1.expectString(output.region),
4744
+ type: smithy_client_1.expectString(output.type),
4745
4745
  };
4746
4746
  };
4747
4747
  const deserializeAws_json1_1AssociateMacSecKeyResponse = (output, context) => {
4748
4748
  return {
4749
- connectionId: (0, smithy_client_1.expectString)(output.connectionId),
4749
+ connectionId: smithy_client_1.expectString(output.connectionId),
4750
4750
  macSecKeys: output.macSecKeys !== undefined && output.macSecKeys !== null
4751
4751
  ? deserializeAws_json1_1MacSecKeyList(output.macSecKeys, context)
4752
4752
  : undefined,
@@ -4759,7 +4759,7 @@ const deserializeAws_json1_1AvailableMacSecPortSpeeds = (output, context) => {
4759
4759
  if (entry === null) {
4760
4760
  return null;
4761
4761
  }
4762
- return (0, smithy_client_1.expectString)(entry);
4762
+ return smithy_client_1.expectString(entry);
4763
4763
  });
4764
4764
  };
4765
4765
  const deserializeAws_json1_1AvailablePortSpeeds = (output, context) => {
@@ -4769,21 +4769,21 @@ const deserializeAws_json1_1AvailablePortSpeeds = (output, context) => {
4769
4769
  if (entry === null) {
4770
4770
  return null;
4771
4771
  }
4772
- return (0, smithy_client_1.expectString)(entry);
4772
+ return smithy_client_1.expectString(entry);
4773
4773
  });
4774
4774
  };
4775
4775
  const deserializeAws_json1_1BGPPeer = (output, context) => {
4776
4776
  return {
4777
- addressFamily: (0, smithy_client_1.expectString)(output.addressFamily),
4778
- amazonAddress: (0, smithy_client_1.expectString)(output.amazonAddress),
4779
- asn: (0, smithy_client_1.expectInt32)(output.asn),
4780
- authKey: (0, smithy_client_1.expectString)(output.authKey),
4781
- awsDeviceV2: (0, smithy_client_1.expectString)(output.awsDeviceV2),
4782
- awsLogicalDeviceId: (0, smithy_client_1.expectString)(output.awsLogicalDeviceId),
4783
- bgpPeerId: (0, smithy_client_1.expectString)(output.bgpPeerId),
4784
- bgpPeerState: (0, smithy_client_1.expectString)(output.bgpPeerState),
4785
- bgpStatus: (0, smithy_client_1.expectString)(output.bgpStatus),
4786
- customerAddress: (0, smithy_client_1.expectString)(output.customerAddress),
4777
+ addressFamily: smithy_client_1.expectString(output.addressFamily),
4778
+ amazonAddress: smithy_client_1.expectString(output.amazonAddress),
4779
+ asn: smithy_client_1.expectInt32(output.asn),
4780
+ authKey: smithy_client_1.expectString(output.authKey),
4781
+ awsDeviceV2: smithy_client_1.expectString(output.awsDeviceV2),
4782
+ awsLogicalDeviceId: smithy_client_1.expectString(output.awsLogicalDeviceId),
4783
+ bgpPeerId: smithy_client_1.expectString(output.bgpPeerId),
4784
+ bgpPeerState: smithy_client_1.expectString(output.bgpPeerState),
4785
+ bgpStatus: smithy_client_1.expectString(output.bgpStatus),
4786
+ customerAddress: smithy_client_1.expectString(output.customerAddress),
4787
4787
  };
4788
4788
  };
4789
4789
  const deserializeAws_json1_1BGPPeerIdList = (output, context) => {
@@ -4793,7 +4793,7 @@ const deserializeAws_json1_1BGPPeerIdList = (output, context) => {
4793
4793
  if (entry === null) {
4794
4794
  return null;
4795
4795
  }
4796
- return (0, smithy_client_1.expectString)(entry);
4796
+ return smithy_client_1.expectString(entry);
4797
4797
  });
4798
4798
  };
4799
4799
  const deserializeAws_json1_1BGPPeerList = (output, context) => {
@@ -4808,54 +4808,54 @@ const deserializeAws_json1_1BGPPeerList = (output, context) => {
4808
4808
  };
4809
4809
  const deserializeAws_json1_1ConfirmConnectionResponse = (output, context) => {
4810
4810
  return {
4811
- connectionState: (0, smithy_client_1.expectString)(output.connectionState),
4811
+ connectionState: smithy_client_1.expectString(output.connectionState),
4812
4812
  };
4813
4813
  };
4814
4814
  const deserializeAws_json1_1ConfirmPrivateVirtualInterfaceResponse = (output, context) => {
4815
4815
  return {
4816
- virtualInterfaceState: (0, smithy_client_1.expectString)(output.virtualInterfaceState),
4816
+ virtualInterfaceState: smithy_client_1.expectString(output.virtualInterfaceState),
4817
4817
  };
4818
4818
  };
4819
4819
  const deserializeAws_json1_1ConfirmPublicVirtualInterfaceResponse = (output, context) => {
4820
4820
  return {
4821
- virtualInterfaceState: (0, smithy_client_1.expectString)(output.virtualInterfaceState),
4821
+ virtualInterfaceState: smithy_client_1.expectString(output.virtualInterfaceState),
4822
4822
  };
4823
4823
  };
4824
4824
  const deserializeAws_json1_1ConfirmTransitVirtualInterfaceResponse = (output, context) => {
4825
4825
  return {
4826
- virtualInterfaceState: (0, smithy_client_1.expectString)(output.virtualInterfaceState),
4826
+ virtualInterfaceState: smithy_client_1.expectString(output.virtualInterfaceState),
4827
4827
  };
4828
4828
  };
4829
4829
  const deserializeAws_json1_1Connection = (output, context) => {
4830
4830
  return {
4831
- awsDevice: (0, smithy_client_1.expectString)(output.awsDevice),
4832
- awsDeviceV2: (0, smithy_client_1.expectString)(output.awsDeviceV2),
4833
- awsLogicalDeviceId: (0, smithy_client_1.expectString)(output.awsLogicalDeviceId),
4834
- bandwidth: (0, smithy_client_1.expectString)(output.bandwidth),
4835
- connectionId: (0, smithy_client_1.expectString)(output.connectionId),
4836
- connectionName: (0, smithy_client_1.expectString)(output.connectionName),
4837
- connectionState: (0, smithy_client_1.expectString)(output.connectionState),
4838
- encryptionMode: (0, smithy_client_1.expectString)(output.encryptionMode),
4839
- hasLogicalRedundancy: (0, smithy_client_1.expectString)(output.hasLogicalRedundancy),
4840
- jumboFrameCapable: (0, smithy_client_1.expectBoolean)(output.jumboFrameCapable),
4841
- lagId: (0, smithy_client_1.expectString)(output.lagId),
4831
+ awsDevice: smithy_client_1.expectString(output.awsDevice),
4832
+ awsDeviceV2: smithy_client_1.expectString(output.awsDeviceV2),
4833
+ awsLogicalDeviceId: smithy_client_1.expectString(output.awsLogicalDeviceId),
4834
+ bandwidth: smithy_client_1.expectString(output.bandwidth),
4835
+ connectionId: smithy_client_1.expectString(output.connectionId),
4836
+ connectionName: smithy_client_1.expectString(output.connectionName),
4837
+ connectionState: smithy_client_1.expectString(output.connectionState),
4838
+ encryptionMode: smithy_client_1.expectString(output.encryptionMode),
4839
+ hasLogicalRedundancy: smithy_client_1.expectString(output.hasLogicalRedundancy),
4840
+ jumboFrameCapable: smithy_client_1.expectBoolean(output.jumboFrameCapable),
4841
+ lagId: smithy_client_1.expectString(output.lagId),
4842
4842
  loaIssueTime: output.loaIssueTime !== undefined && output.loaIssueTime !== null
4843
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.loaIssueTime)))
4843
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.loaIssueTime)))
4844
4844
  : undefined,
4845
- location: (0, smithy_client_1.expectString)(output.location),
4846
- macSecCapable: (0, smithy_client_1.expectBoolean)(output.macSecCapable),
4845
+ location: smithy_client_1.expectString(output.location),
4846
+ macSecCapable: smithy_client_1.expectBoolean(output.macSecCapable),
4847
4847
  macSecKeys: output.macSecKeys !== undefined && output.macSecKeys !== null
4848
4848
  ? deserializeAws_json1_1MacSecKeyList(output.macSecKeys, context)
4849
4849
  : undefined,
4850
- ownerAccount: (0, smithy_client_1.expectString)(output.ownerAccount),
4851
- partnerName: (0, smithy_client_1.expectString)(output.partnerName),
4852
- portEncryptionStatus: (0, smithy_client_1.expectString)(output.portEncryptionStatus),
4853
- providerName: (0, smithy_client_1.expectString)(output.providerName),
4854
- region: (0, smithy_client_1.expectString)(output.region),
4850
+ ownerAccount: smithy_client_1.expectString(output.ownerAccount),
4851
+ partnerName: smithy_client_1.expectString(output.partnerName),
4852
+ portEncryptionStatus: smithy_client_1.expectString(output.portEncryptionStatus),
4853
+ providerName: smithy_client_1.expectString(output.providerName),
4854
+ region: smithy_client_1.expectString(output.region),
4855
4855
  tags: output.tags !== undefined && output.tags !== null
4856
4856
  ? deserializeAws_json1_1TagList(output.tags, context)
4857
4857
  : undefined,
4858
- vlan: (0, smithy_client_1.expectInt32)(output.vlan),
4858
+ vlan: smithy_client_1.expectInt32(output.vlan),
4859
4859
  };
4860
4860
  };
4861
4861
  const deserializeAws_json1_1ConnectionList = (output, context) => {
@@ -4942,12 +4942,12 @@ const deserializeAws_json1_1DeleteDirectConnectGatewayResult = (output, context)
4942
4942
  };
4943
4943
  const deserializeAws_json1_1DeleteInterconnectResponse = (output, context) => {
4944
4944
  return {
4945
- interconnectState: (0, smithy_client_1.expectString)(output.interconnectState),
4945
+ interconnectState: smithy_client_1.expectString(output.interconnectState),
4946
4946
  };
4947
4947
  };
4948
4948
  const deserializeAws_json1_1DeleteVirtualInterfaceResponse = (output, context) => {
4949
4949
  return {
4950
- virtualInterfaceState: (0, smithy_client_1.expectString)(output.virtualInterfaceState),
4950
+ virtualInterfaceState: smithy_client_1.expectString(output.virtualInterfaceState),
4951
4951
  };
4952
4952
  };
4953
4953
  const deserializeAws_json1_1DescribeConnectionLoaResponse = (output, context) => {
@@ -4961,7 +4961,7 @@ const deserializeAws_json1_1DescribeDirectConnectGatewayAssociationProposalsResu
4961
4961
  output.directConnectGatewayAssociationProposals !== null
4962
4962
  ? deserializeAws_json1_1DirectConnectGatewayAssociationProposalList(output.directConnectGatewayAssociationProposals, context)
4963
4963
  : undefined,
4964
- nextToken: (0, smithy_client_1.expectString)(output.nextToken),
4964
+ nextToken: smithy_client_1.expectString(output.nextToken),
4965
4965
  };
4966
4966
  };
4967
4967
  const deserializeAws_json1_1DescribeDirectConnectGatewayAssociationsResult = (output, context) => {
@@ -4969,7 +4969,7 @@ const deserializeAws_json1_1DescribeDirectConnectGatewayAssociationsResult = (ou
4969
4969
  directConnectGatewayAssociations: output.directConnectGatewayAssociations !== undefined && output.directConnectGatewayAssociations !== null
4970
4970
  ? deserializeAws_json1_1DirectConnectGatewayAssociationList(output.directConnectGatewayAssociations, context)
4971
4971
  : undefined,
4972
- nextToken: (0, smithy_client_1.expectString)(output.nextToken),
4972
+ nextToken: smithy_client_1.expectString(output.nextToken),
4973
4973
  };
4974
4974
  };
4975
4975
  const deserializeAws_json1_1DescribeDirectConnectGatewayAttachmentsResult = (output, context) => {
@@ -4977,7 +4977,7 @@ const deserializeAws_json1_1DescribeDirectConnectGatewayAttachmentsResult = (out
4977
4977
  directConnectGatewayAttachments: output.directConnectGatewayAttachments !== undefined && output.directConnectGatewayAttachments !== null
4978
4978
  ? deserializeAws_json1_1DirectConnectGatewayAttachmentList(output.directConnectGatewayAttachments, context)
4979
4979
  : undefined,
4980
- nextToken: (0, smithy_client_1.expectString)(output.nextToken),
4980
+ nextToken: smithy_client_1.expectString(output.nextToken),
4981
4981
  };
4982
4982
  };
4983
4983
  const deserializeAws_json1_1DescribeDirectConnectGatewaysResult = (output, context) => {
@@ -4985,7 +4985,7 @@ const deserializeAws_json1_1DescribeDirectConnectGatewaysResult = (output, conte
4985
4985
  directConnectGateways: output.directConnectGateways !== undefined && output.directConnectGateways !== null
4986
4986
  ? deserializeAws_json1_1DirectConnectGatewayList(output.directConnectGateways, context)
4987
4987
  : undefined,
4988
- nextToken: (0, smithy_client_1.expectString)(output.nextToken),
4988
+ nextToken: smithy_client_1.expectString(output.nextToken),
4989
4989
  };
4990
4990
  };
4991
4991
  const deserializeAws_json1_1DescribeInterconnectLoaResponse = (output, context) => {
@@ -5002,17 +5002,17 @@ const deserializeAws_json1_1DescribeTagsResponse = (output, context) => {
5002
5002
  };
5003
5003
  const deserializeAws_json1_1DirectConnectClientException = (output, context) => {
5004
5004
  return {
5005
- message: (0, smithy_client_1.expectString)(output.message),
5005
+ message: smithy_client_1.expectString(output.message),
5006
5006
  };
5007
5007
  };
5008
5008
  const deserializeAws_json1_1DirectConnectGateway = (output, context) => {
5009
5009
  return {
5010
- amazonSideAsn: (0, smithy_client_1.expectLong)(output.amazonSideAsn),
5011
- directConnectGatewayId: (0, smithy_client_1.expectString)(output.directConnectGatewayId),
5012
- directConnectGatewayName: (0, smithy_client_1.expectString)(output.directConnectGatewayName),
5013
- directConnectGatewayState: (0, smithy_client_1.expectString)(output.directConnectGatewayState),
5014
- ownerAccount: (0, smithy_client_1.expectString)(output.ownerAccount),
5015
- stateChangeError: (0, smithy_client_1.expectString)(output.stateChangeError),
5010
+ amazonSideAsn: smithy_client_1.expectLong(output.amazonSideAsn),
5011
+ directConnectGatewayId: smithy_client_1.expectString(output.directConnectGatewayId),
5012
+ directConnectGatewayName: smithy_client_1.expectString(output.directConnectGatewayName),
5013
+ directConnectGatewayState: smithy_client_1.expectString(output.directConnectGatewayState),
5014
+ ownerAccount: smithy_client_1.expectString(output.ownerAccount),
5015
+ stateChangeError: smithy_client_1.expectString(output.stateChangeError),
5016
5016
  };
5017
5017
  };
5018
5018
  const deserializeAws_json1_1DirectConnectGatewayAssociation = (output, context) => {
@@ -5024,14 +5024,14 @@ const deserializeAws_json1_1DirectConnectGatewayAssociation = (output, context)
5024
5024
  associatedGateway: output.associatedGateway !== undefined && output.associatedGateway !== null
5025
5025
  ? deserializeAws_json1_1AssociatedGateway(output.associatedGateway, context)
5026
5026
  : undefined,
5027
- associationId: (0, smithy_client_1.expectString)(output.associationId),
5028
- associationState: (0, smithy_client_1.expectString)(output.associationState),
5029
- directConnectGatewayId: (0, smithy_client_1.expectString)(output.directConnectGatewayId),
5030
- directConnectGatewayOwnerAccount: (0, smithy_client_1.expectString)(output.directConnectGatewayOwnerAccount),
5031
- stateChangeError: (0, smithy_client_1.expectString)(output.stateChangeError),
5032
- virtualGatewayId: (0, smithy_client_1.expectString)(output.virtualGatewayId),
5033
- virtualGatewayOwnerAccount: (0, smithy_client_1.expectString)(output.virtualGatewayOwnerAccount),
5034
- virtualGatewayRegion: (0, smithy_client_1.expectString)(output.virtualGatewayRegion),
5027
+ associationId: smithy_client_1.expectString(output.associationId),
5028
+ associationState: smithy_client_1.expectString(output.associationState),
5029
+ directConnectGatewayId: smithy_client_1.expectString(output.directConnectGatewayId),
5030
+ directConnectGatewayOwnerAccount: smithy_client_1.expectString(output.directConnectGatewayOwnerAccount),
5031
+ stateChangeError: smithy_client_1.expectString(output.stateChangeError),
5032
+ virtualGatewayId: smithy_client_1.expectString(output.virtualGatewayId),
5033
+ virtualGatewayOwnerAccount: smithy_client_1.expectString(output.virtualGatewayOwnerAccount),
5034
+ virtualGatewayRegion: smithy_client_1.expectString(output.virtualGatewayRegion),
5035
5035
  };
5036
5036
  };
5037
5037
  const deserializeAws_json1_1DirectConnectGatewayAssociationList = (output, context) => {
@@ -5049,14 +5049,14 @@ const deserializeAws_json1_1DirectConnectGatewayAssociationProposal = (output, c
5049
5049
  associatedGateway: output.associatedGateway !== undefined && output.associatedGateway !== null
5050
5050
  ? deserializeAws_json1_1AssociatedGateway(output.associatedGateway, context)
5051
5051
  : undefined,
5052
- directConnectGatewayId: (0, smithy_client_1.expectString)(output.directConnectGatewayId),
5053
- directConnectGatewayOwnerAccount: (0, smithy_client_1.expectString)(output.directConnectGatewayOwnerAccount),
5052
+ directConnectGatewayId: smithy_client_1.expectString(output.directConnectGatewayId),
5053
+ directConnectGatewayOwnerAccount: smithy_client_1.expectString(output.directConnectGatewayOwnerAccount),
5054
5054
  existingAllowedPrefixesToDirectConnectGateway: output.existingAllowedPrefixesToDirectConnectGateway !== undefined &&
5055
5055
  output.existingAllowedPrefixesToDirectConnectGateway !== null
5056
5056
  ? deserializeAws_json1_1RouteFilterPrefixList(output.existingAllowedPrefixesToDirectConnectGateway, context)
5057
5057
  : undefined,
5058
- proposalId: (0, smithy_client_1.expectString)(output.proposalId),
5059
- proposalState: (0, smithy_client_1.expectString)(output.proposalState),
5058
+ proposalId: smithy_client_1.expectString(output.proposalId),
5059
+ proposalState: smithy_client_1.expectString(output.proposalState),
5060
5060
  requestedAllowedPrefixesToDirectConnectGateway: output.requestedAllowedPrefixesToDirectConnectGateway !== undefined &&
5061
5061
  output.requestedAllowedPrefixesToDirectConnectGateway !== null
5062
5062
  ? deserializeAws_json1_1RouteFilterPrefixList(output.requestedAllowedPrefixesToDirectConnectGateway, context)
@@ -5075,13 +5075,13 @@ const deserializeAws_json1_1DirectConnectGatewayAssociationProposalList = (outpu
5075
5075
  };
5076
5076
  const deserializeAws_json1_1DirectConnectGatewayAttachment = (output, context) => {
5077
5077
  return {
5078
- attachmentState: (0, smithy_client_1.expectString)(output.attachmentState),
5079
- attachmentType: (0, smithy_client_1.expectString)(output.attachmentType),
5080
- directConnectGatewayId: (0, smithy_client_1.expectString)(output.directConnectGatewayId),
5081
- stateChangeError: (0, smithy_client_1.expectString)(output.stateChangeError),
5082
- virtualInterfaceId: (0, smithy_client_1.expectString)(output.virtualInterfaceId),
5083
- virtualInterfaceOwnerAccount: (0, smithy_client_1.expectString)(output.virtualInterfaceOwnerAccount),
5084
- virtualInterfaceRegion: (0, smithy_client_1.expectString)(output.virtualInterfaceRegion),
5078
+ attachmentState: smithy_client_1.expectString(output.attachmentState),
5079
+ attachmentType: smithy_client_1.expectString(output.attachmentType),
5080
+ directConnectGatewayId: smithy_client_1.expectString(output.directConnectGatewayId),
5081
+ stateChangeError: smithy_client_1.expectString(output.stateChangeError),
5082
+ virtualInterfaceId: smithy_client_1.expectString(output.virtualInterfaceId),
5083
+ virtualInterfaceOwnerAccount: smithy_client_1.expectString(output.virtualInterfaceOwnerAccount),
5084
+ virtualInterfaceRegion: smithy_client_1.expectString(output.virtualInterfaceRegion),
5085
5085
  };
5086
5086
  };
5087
5087
  const deserializeAws_json1_1DirectConnectGatewayAttachmentList = (output, context) => {
@@ -5106,12 +5106,12 @@ const deserializeAws_json1_1DirectConnectGatewayList = (output, context) => {
5106
5106
  };
5107
5107
  const deserializeAws_json1_1DirectConnectServerException = (output, context) => {
5108
5108
  return {
5109
- message: (0, smithy_client_1.expectString)(output.message),
5109
+ message: smithy_client_1.expectString(output.message),
5110
5110
  };
5111
5111
  };
5112
5112
  const deserializeAws_json1_1DisassociateMacSecKeyResponse = (output, context) => {
5113
5113
  return {
5114
- connectionId: (0, smithy_client_1.expectString)(output.connectionId),
5114
+ connectionId: smithy_client_1.expectString(output.connectionId),
5115
5115
  macSecKeys: output.macSecKeys !== undefined && output.macSecKeys !== null
5116
5116
  ? deserializeAws_json1_1MacSecKeyList(output.macSecKeys, context)
5117
5117
  : undefined,
@@ -5119,27 +5119,27 @@ const deserializeAws_json1_1DisassociateMacSecKeyResponse = (output, context) =>
5119
5119
  };
5120
5120
  const deserializeAws_json1_1DuplicateTagKeysException = (output, context) => {
5121
5121
  return {
5122
- message: (0, smithy_client_1.expectString)(output.message),
5122
+ message: smithy_client_1.expectString(output.message),
5123
5123
  };
5124
5124
  };
5125
5125
  const deserializeAws_json1_1Interconnect = (output, context) => {
5126
5126
  return {
5127
- awsDevice: (0, smithy_client_1.expectString)(output.awsDevice),
5128
- awsDeviceV2: (0, smithy_client_1.expectString)(output.awsDeviceV2),
5129
- awsLogicalDeviceId: (0, smithy_client_1.expectString)(output.awsLogicalDeviceId),
5130
- bandwidth: (0, smithy_client_1.expectString)(output.bandwidth),
5131
- hasLogicalRedundancy: (0, smithy_client_1.expectString)(output.hasLogicalRedundancy),
5132
- interconnectId: (0, smithy_client_1.expectString)(output.interconnectId),
5133
- interconnectName: (0, smithy_client_1.expectString)(output.interconnectName),
5134
- interconnectState: (0, smithy_client_1.expectString)(output.interconnectState),
5135
- jumboFrameCapable: (0, smithy_client_1.expectBoolean)(output.jumboFrameCapable),
5136
- lagId: (0, smithy_client_1.expectString)(output.lagId),
5127
+ awsDevice: smithy_client_1.expectString(output.awsDevice),
5128
+ awsDeviceV2: smithy_client_1.expectString(output.awsDeviceV2),
5129
+ awsLogicalDeviceId: smithy_client_1.expectString(output.awsLogicalDeviceId),
5130
+ bandwidth: smithy_client_1.expectString(output.bandwidth),
5131
+ hasLogicalRedundancy: smithy_client_1.expectString(output.hasLogicalRedundancy),
5132
+ interconnectId: smithy_client_1.expectString(output.interconnectId),
5133
+ interconnectName: smithy_client_1.expectString(output.interconnectName),
5134
+ interconnectState: smithy_client_1.expectString(output.interconnectState),
5135
+ jumboFrameCapable: smithy_client_1.expectBoolean(output.jumboFrameCapable),
5136
+ lagId: smithy_client_1.expectString(output.lagId),
5137
5137
  loaIssueTime: output.loaIssueTime !== undefined && output.loaIssueTime !== null
5138
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.loaIssueTime)))
5138
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.loaIssueTime)))
5139
5139
  : undefined,
5140
- location: (0, smithy_client_1.expectString)(output.location),
5141
- providerName: (0, smithy_client_1.expectString)(output.providerName),
5142
- region: (0, smithy_client_1.expectString)(output.region),
5140
+ location: smithy_client_1.expectString(output.location),
5141
+ providerName: smithy_client_1.expectString(output.providerName),
5142
+ region: smithy_client_1.expectString(output.region),
5143
5143
  tags: output.tags !== undefined && output.tags !== null
5144
5144
  ? deserializeAws_json1_1TagList(output.tags, context)
5145
5145
  : undefined,
@@ -5164,30 +5164,30 @@ const deserializeAws_json1_1Interconnects = (output, context) => {
5164
5164
  };
5165
5165
  const deserializeAws_json1_1Lag = (output, context) => {
5166
5166
  return {
5167
- allowsHostedConnections: (0, smithy_client_1.expectBoolean)(output.allowsHostedConnections),
5168
- awsDevice: (0, smithy_client_1.expectString)(output.awsDevice),
5169
- awsDeviceV2: (0, smithy_client_1.expectString)(output.awsDeviceV2),
5170
- awsLogicalDeviceId: (0, smithy_client_1.expectString)(output.awsLogicalDeviceId),
5167
+ allowsHostedConnections: smithy_client_1.expectBoolean(output.allowsHostedConnections),
5168
+ awsDevice: smithy_client_1.expectString(output.awsDevice),
5169
+ awsDeviceV2: smithy_client_1.expectString(output.awsDeviceV2),
5170
+ awsLogicalDeviceId: smithy_client_1.expectString(output.awsLogicalDeviceId),
5171
5171
  connections: output.connections !== undefined && output.connections !== null
5172
5172
  ? deserializeAws_json1_1ConnectionList(output.connections, context)
5173
5173
  : undefined,
5174
- connectionsBandwidth: (0, smithy_client_1.expectString)(output.connectionsBandwidth),
5175
- encryptionMode: (0, smithy_client_1.expectString)(output.encryptionMode),
5176
- hasLogicalRedundancy: (0, smithy_client_1.expectString)(output.hasLogicalRedundancy),
5177
- jumboFrameCapable: (0, smithy_client_1.expectBoolean)(output.jumboFrameCapable),
5178
- lagId: (0, smithy_client_1.expectString)(output.lagId),
5179
- lagName: (0, smithy_client_1.expectString)(output.lagName),
5180
- lagState: (0, smithy_client_1.expectString)(output.lagState),
5181
- location: (0, smithy_client_1.expectString)(output.location),
5182
- macSecCapable: (0, smithy_client_1.expectBoolean)(output.macSecCapable),
5174
+ connectionsBandwidth: smithy_client_1.expectString(output.connectionsBandwidth),
5175
+ encryptionMode: smithy_client_1.expectString(output.encryptionMode),
5176
+ hasLogicalRedundancy: smithy_client_1.expectString(output.hasLogicalRedundancy),
5177
+ jumboFrameCapable: smithy_client_1.expectBoolean(output.jumboFrameCapable),
5178
+ lagId: smithy_client_1.expectString(output.lagId),
5179
+ lagName: smithy_client_1.expectString(output.lagName),
5180
+ lagState: smithy_client_1.expectString(output.lagState),
5181
+ location: smithy_client_1.expectString(output.location),
5182
+ macSecCapable: smithy_client_1.expectBoolean(output.macSecCapable),
5183
5183
  macSecKeys: output.macSecKeys !== undefined && output.macSecKeys !== null
5184
5184
  ? deserializeAws_json1_1MacSecKeyList(output.macSecKeys, context)
5185
5185
  : undefined,
5186
- minimumLinks: (0, smithy_client_1.expectInt32)(output.minimumLinks),
5187
- numberOfConnections: (0, smithy_client_1.expectInt32)(output.numberOfConnections),
5188
- ownerAccount: (0, smithy_client_1.expectString)(output.ownerAccount),
5189
- providerName: (0, smithy_client_1.expectString)(output.providerName),
5190
- region: (0, smithy_client_1.expectString)(output.region),
5186
+ minimumLinks: smithy_client_1.expectInt32(output.minimumLinks),
5187
+ numberOfConnections: smithy_client_1.expectInt32(output.numberOfConnections),
5188
+ ownerAccount: smithy_client_1.expectString(output.ownerAccount),
5189
+ providerName: smithy_client_1.expectString(output.providerName),
5190
+ region: smithy_client_1.expectString(output.region),
5191
5191
  tags: output.tags !== undefined && output.tags !== null
5192
5192
  ? deserializeAws_json1_1TagList(output.tags, context)
5193
5193
  : undefined,
@@ -5212,7 +5212,7 @@ const deserializeAws_json1_1Lags = (output, context) => {
5212
5212
  };
5213
5213
  const deserializeAws_json1_1ListVirtualInterfaceTestHistoryResponse = (output, context) => {
5214
5214
  return {
5215
- nextToken: (0, smithy_client_1.expectString)(output.nextToken),
5215
+ nextToken: smithy_client_1.expectString(output.nextToken),
5216
5216
  virtualInterfaceTestHistory: output.virtualInterfaceTestHistory !== undefined && output.virtualInterfaceTestHistory !== null
5217
5217
  ? deserializeAws_json1_1VirtualInterfaceTestHistoryList(output.virtualInterfaceTestHistory, context)
5218
5218
  : undefined,
@@ -5223,7 +5223,7 @@ const deserializeAws_json1_1Loa = (output, context) => {
5223
5223
  loaContent: output.loaContent !== undefined && output.loaContent !== null
5224
5224
  ? context.base64Decoder(output.loaContent)
5225
5225
  : undefined,
5226
- loaContentType: (0, smithy_client_1.expectString)(output.loaContentType),
5226
+ loaContentType: smithy_client_1.expectString(output.loaContentType),
5227
5227
  };
5228
5228
  };
5229
5229
  const deserializeAws_json1_1Location = (output, context) => {
@@ -5237,9 +5237,9 @@ const deserializeAws_json1_1Location = (output, context) => {
5237
5237
  availableProviders: output.availableProviders !== undefined && output.availableProviders !== null
5238
5238
  ? deserializeAws_json1_1ProviderList(output.availableProviders, context)
5239
5239
  : undefined,
5240
- locationCode: (0, smithy_client_1.expectString)(output.locationCode),
5241
- locationName: (0, smithy_client_1.expectString)(output.locationName),
5242
- region: (0, smithy_client_1.expectString)(output.region),
5240
+ locationCode: smithy_client_1.expectString(output.locationCode),
5241
+ locationName: smithy_client_1.expectString(output.locationName),
5242
+ region: smithy_client_1.expectString(output.region),
5243
5243
  };
5244
5244
  };
5245
5245
  const deserializeAws_json1_1LocationList = (output, context) => {
@@ -5261,10 +5261,10 @@ const deserializeAws_json1_1Locations = (output, context) => {
5261
5261
  };
5262
5262
  const deserializeAws_json1_1MacSecKey = (output, context) => {
5263
5263
  return {
5264
- ckn: (0, smithy_client_1.expectString)(output.ckn),
5265
- secretARN: (0, smithy_client_1.expectString)(output.secretARN),
5266
- startOn: (0, smithy_client_1.expectString)(output.startOn),
5267
- state: (0, smithy_client_1.expectString)(output.state),
5264
+ ckn: smithy_client_1.expectString(output.ckn),
5265
+ secretARN: smithy_client_1.expectString(output.secretARN),
5266
+ startOn: smithy_client_1.expectString(output.startOn),
5267
+ state: smithy_client_1.expectString(output.state),
5268
5268
  };
5269
5269
  };
5270
5270
  const deserializeAws_json1_1MacSecKeyList = (output, context) => {
@@ -5284,12 +5284,12 @@ const deserializeAws_json1_1ProviderList = (output, context) => {
5284
5284
  if (entry === null) {
5285
5285
  return null;
5286
5286
  }
5287
- return (0, smithy_client_1.expectString)(entry);
5287
+ return smithy_client_1.expectString(entry);
5288
5288
  });
5289
5289
  };
5290
5290
  const deserializeAws_json1_1ResourceTag = (output, context) => {
5291
5291
  return {
5292
- resourceArn: (0, smithy_client_1.expectString)(output.resourceArn),
5292
+ resourceArn: smithy_client_1.expectString(output.resourceArn),
5293
5293
  tags: output.tags !== undefined && output.tags !== null
5294
5294
  ? deserializeAws_json1_1TagList(output.tags, context)
5295
5295
  : undefined,
@@ -5307,7 +5307,7 @@ const deserializeAws_json1_1ResourceTagList = (output, context) => {
5307
5307
  };
5308
5308
  const deserializeAws_json1_1RouteFilterPrefix = (output, context) => {
5309
5309
  return {
5310
- cidr: (0, smithy_client_1.expectString)(output.cidr),
5310
+ cidr: smithy_client_1.expectString(output.cidr),
5311
5311
  };
5312
5312
  };
5313
5313
  const deserializeAws_json1_1RouteFilterPrefixList = (output, context) => {
@@ -5336,8 +5336,8 @@ const deserializeAws_json1_1StopBgpFailoverTestResponse = (output, context) => {
5336
5336
  };
5337
5337
  const deserializeAws_json1_1Tag = (output, context) => {
5338
5338
  return {
5339
- key: (0, smithy_client_1.expectString)(output.key),
5340
- value: (0, smithy_client_1.expectString)(output.value),
5339
+ key: smithy_client_1.expectString(output.key),
5340
+ value: smithy_client_1.expectString(output.value),
5341
5341
  };
5342
5342
  };
5343
5343
  const deserializeAws_json1_1TagList = (output, context) => {
@@ -5355,7 +5355,7 @@ const deserializeAws_json1_1TagResourceResponse = (output, context) => {
5355
5355
  };
5356
5356
  const deserializeAws_json1_1TooManyTagsException = (output, context) => {
5357
5357
  return {
5358
- message: (0, smithy_client_1.expectString)(output.message),
5358
+ message: smithy_client_1.expectString(output.message),
5359
5359
  };
5360
5360
  };
5361
5361
  const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
@@ -5370,8 +5370,8 @@ const deserializeAws_json1_1UpdateDirectConnectGatewayAssociationResult = (outpu
5370
5370
  };
5371
5371
  const deserializeAws_json1_1VirtualGateway = (output, context) => {
5372
5372
  return {
5373
- virtualGatewayId: (0, smithy_client_1.expectString)(output.virtualGatewayId),
5374
- virtualGatewayState: (0, smithy_client_1.expectString)(output.virtualGatewayState),
5373
+ virtualGatewayId: smithy_client_1.expectString(output.virtualGatewayId),
5374
+ virtualGatewayState: smithy_client_1.expectString(output.virtualGatewayState),
5375
5375
  };
5376
5376
  };
5377
5377
  const deserializeAws_json1_1VirtualGatewayList = (output, context) => {
@@ -5393,37 +5393,37 @@ const deserializeAws_json1_1VirtualGateways = (output, context) => {
5393
5393
  };
5394
5394
  const deserializeAws_json1_1VirtualInterface = (output, context) => {
5395
5395
  return {
5396
- addressFamily: (0, smithy_client_1.expectString)(output.addressFamily),
5397
- amazonAddress: (0, smithy_client_1.expectString)(output.amazonAddress),
5398
- amazonSideAsn: (0, smithy_client_1.expectLong)(output.amazonSideAsn),
5399
- asn: (0, smithy_client_1.expectInt32)(output.asn),
5400
- authKey: (0, smithy_client_1.expectString)(output.authKey),
5401
- awsDeviceV2: (0, smithy_client_1.expectString)(output.awsDeviceV2),
5402
- awsLogicalDeviceId: (0, smithy_client_1.expectString)(output.awsLogicalDeviceId),
5396
+ addressFamily: smithy_client_1.expectString(output.addressFamily),
5397
+ amazonAddress: smithy_client_1.expectString(output.amazonAddress),
5398
+ amazonSideAsn: smithy_client_1.expectLong(output.amazonSideAsn),
5399
+ asn: smithy_client_1.expectInt32(output.asn),
5400
+ authKey: smithy_client_1.expectString(output.authKey),
5401
+ awsDeviceV2: smithy_client_1.expectString(output.awsDeviceV2),
5402
+ awsLogicalDeviceId: smithy_client_1.expectString(output.awsLogicalDeviceId),
5403
5403
  bgpPeers: output.bgpPeers !== undefined && output.bgpPeers !== null
5404
5404
  ? deserializeAws_json1_1BGPPeerList(output.bgpPeers, context)
5405
5405
  : undefined,
5406
- connectionId: (0, smithy_client_1.expectString)(output.connectionId),
5407
- customerAddress: (0, smithy_client_1.expectString)(output.customerAddress),
5408
- customerRouterConfig: (0, smithy_client_1.expectString)(output.customerRouterConfig),
5409
- directConnectGatewayId: (0, smithy_client_1.expectString)(output.directConnectGatewayId),
5410
- jumboFrameCapable: (0, smithy_client_1.expectBoolean)(output.jumboFrameCapable),
5411
- location: (0, smithy_client_1.expectString)(output.location),
5412
- mtu: (0, smithy_client_1.expectInt32)(output.mtu),
5413
- ownerAccount: (0, smithy_client_1.expectString)(output.ownerAccount),
5414
- region: (0, smithy_client_1.expectString)(output.region),
5406
+ connectionId: smithy_client_1.expectString(output.connectionId),
5407
+ customerAddress: smithy_client_1.expectString(output.customerAddress),
5408
+ customerRouterConfig: smithy_client_1.expectString(output.customerRouterConfig),
5409
+ directConnectGatewayId: smithy_client_1.expectString(output.directConnectGatewayId),
5410
+ jumboFrameCapable: smithy_client_1.expectBoolean(output.jumboFrameCapable),
5411
+ location: smithy_client_1.expectString(output.location),
5412
+ mtu: smithy_client_1.expectInt32(output.mtu),
5413
+ ownerAccount: smithy_client_1.expectString(output.ownerAccount),
5414
+ region: smithy_client_1.expectString(output.region),
5415
5415
  routeFilterPrefixes: output.routeFilterPrefixes !== undefined && output.routeFilterPrefixes !== null
5416
5416
  ? deserializeAws_json1_1RouteFilterPrefixList(output.routeFilterPrefixes, context)
5417
5417
  : undefined,
5418
5418
  tags: output.tags !== undefined && output.tags !== null
5419
5419
  ? deserializeAws_json1_1TagList(output.tags, context)
5420
5420
  : undefined,
5421
- virtualGatewayId: (0, smithy_client_1.expectString)(output.virtualGatewayId),
5422
- virtualInterfaceId: (0, smithy_client_1.expectString)(output.virtualInterfaceId),
5423
- virtualInterfaceName: (0, smithy_client_1.expectString)(output.virtualInterfaceName),
5424
- virtualInterfaceState: (0, smithy_client_1.expectString)(output.virtualInterfaceState),
5425
- virtualInterfaceType: (0, smithy_client_1.expectString)(output.virtualInterfaceType),
5426
- vlan: (0, smithy_client_1.expectInt32)(output.vlan),
5421
+ virtualGatewayId: smithy_client_1.expectString(output.virtualGatewayId),
5422
+ virtualInterfaceId: smithy_client_1.expectString(output.virtualInterfaceId),
5423
+ virtualInterfaceName: smithy_client_1.expectString(output.virtualInterfaceName),
5424
+ virtualInterfaceState: smithy_client_1.expectString(output.virtualInterfaceState),
5425
+ virtualInterfaceType: smithy_client_1.expectString(output.virtualInterfaceType),
5426
+ vlan: smithy_client_1.expectInt32(output.vlan),
5427
5427
  };
5428
5428
  };
5429
5429
  const deserializeAws_json1_1VirtualInterfaceList = (output, context) => {
@@ -5449,16 +5449,16 @@ const deserializeAws_json1_1VirtualInterfaceTestHistory = (output, context) => {
5449
5449
  ? deserializeAws_json1_1BGPPeerIdList(output.bgpPeers, context)
5450
5450
  : undefined,
5451
5451
  endTime: output.endTime !== undefined && output.endTime !== null
5452
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime)))
5452
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.endTime)))
5453
5453
  : undefined,
5454
- ownerAccount: (0, smithy_client_1.expectString)(output.ownerAccount),
5454
+ ownerAccount: smithy_client_1.expectString(output.ownerAccount),
5455
5455
  startTime: output.startTime !== undefined && output.startTime !== null
5456
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime)))
5456
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startTime)))
5457
5457
  : undefined,
5458
- status: (0, smithy_client_1.expectString)(output.status),
5459
- testDurationInMinutes: (0, smithy_client_1.expectInt32)(output.testDurationInMinutes),
5460
- testId: (0, smithy_client_1.expectString)(output.testId),
5461
- virtualInterfaceId: (0, smithy_client_1.expectString)(output.virtualInterfaceId),
5458
+ status: smithy_client_1.expectString(output.status),
5459
+ testDurationInMinutes: smithy_client_1.expectInt32(output.testDurationInMinutes),
5460
+ testId: smithy_client_1.expectString(output.testId),
5461
+ virtualInterfaceId: smithy_client_1.expectString(output.virtualInterfaceId),
5462
5462
  };
5463
5463
  };
5464
5464
  const deserializeAws_json1_1VirtualInterfaceTestHistoryList = (output, context) => {