@aws-sdk/client-ec2 3.218.0 → 3.220.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 (602) hide show
  1. package/dist-cjs/EC2.js +435 -0
  2. package/dist-cjs/commands/AttachVerifiedAccessTrustProviderCommand.js +46 -0
  3. package/dist-cjs/commands/CreateCoipCidrCommand.js +2 -1
  4. package/dist-cjs/commands/CreateCoipPoolCommand.js +3 -3
  5. package/dist-cjs/commands/CreateCustomerGatewayCommand.js +3 -3
  6. package/dist-cjs/commands/CreateDefaultSubnetCommand.js +1 -2
  7. package/dist-cjs/commands/CreateSnapshotsCommand.js +2 -1
  8. package/dist-cjs/commands/CreateSpotDatafeedSubscriptionCommand.js +3 -3
  9. package/dist-cjs/commands/CreateStoreImageTaskCommand.js +3 -3
  10. package/dist-cjs/commands/CreateSubnetCidrReservationCommand.js +1 -2
  11. package/dist-cjs/commands/CreateSubnetCommand.js +3 -3
  12. package/dist-cjs/commands/CreateVerifiedAccessEndpointCommand.js +46 -0
  13. package/dist-cjs/commands/CreateVerifiedAccessGroupCommand.js +46 -0
  14. package/dist-cjs/commands/CreateVerifiedAccessInstanceCommand.js +46 -0
  15. package/dist-cjs/commands/CreateVerifiedAccessTrustProviderCommand.js +46 -0
  16. package/dist-cjs/commands/DeleteTransitGatewayRouteCommand.js +2 -1
  17. package/dist-cjs/commands/DeleteTransitGatewayRouteTableAnnouncementCommand.js +3 -3
  18. package/dist-cjs/commands/DeleteTransitGatewayRouteTableCommand.js +3 -3
  19. package/dist-cjs/commands/DeleteTransitGatewayVpcAttachmentCommand.js +3 -3
  20. package/dist-cjs/commands/DeleteVerifiedAccessEndpointCommand.js +46 -0
  21. package/dist-cjs/commands/DeleteVerifiedAccessGroupCommand.js +46 -0
  22. package/dist-cjs/commands/DeleteVerifiedAccessInstanceCommand.js +46 -0
  23. package/dist-cjs/commands/DeleteVerifiedAccessTrustProviderCommand.js +46 -0
  24. package/dist-cjs/commands/DeleteVolumeCommand.js +2 -2
  25. package/dist-cjs/commands/DeleteVpcCommand.js +2 -2
  26. package/dist-cjs/commands/DeleteVpcEndpointConnectionNotificationsCommand.js +3 -3
  27. package/dist-cjs/commands/DeleteVpcEndpointServiceConfigurationsCommand.js +3 -3
  28. package/dist-cjs/commands/DeleteVpcEndpointsCommand.js +3 -3
  29. package/dist-cjs/commands/DeleteVpcPeeringConnectionCommand.js +3 -3
  30. package/dist-cjs/commands/DeleteVpnConnectionCommand.js +2 -2
  31. package/dist-cjs/commands/DeleteVpnConnectionRouteCommand.js +2 -2
  32. package/dist-cjs/commands/DeleteVpnGatewayCommand.js +2 -2
  33. package/dist-cjs/commands/DeprovisionByoipCidrCommand.js +3 -3
  34. package/dist-cjs/commands/DeprovisionIpamPoolCidrCommand.js +3 -3
  35. package/dist-cjs/commands/DeprovisionPublicIpv4PoolCidrCommand.js +3 -3
  36. package/dist-cjs/commands/DeregisterImageCommand.js +2 -2
  37. package/dist-cjs/commands/DeregisterInstanceEventNotificationAttributesCommand.js +3 -3
  38. package/dist-cjs/commands/DescribeAwsNetworkPerformanceMetricSubscriptionsCommand.js +46 -0
  39. package/dist-cjs/commands/DescribeInstanceTypesCommand.js +2 -1
  40. package/dist-cjs/commands/DescribeInternetGatewaysCommand.js +3 -3
  41. package/dist-cjs/commands/DescribeIpamPoolsCommand.js +3 -3
  42. package/dist-cjs/commands/DescribeIpamScopesCommand.js +3 -3
  43. package/dist-cjs/commands/DescribeIpamsCommand.js +3 -3
  44. package/dist-cjs/commands/DescribeIpv6PoolsCommand.js +3 -3
  45. package/dist-cjs/commands/DescribeKeyPairsCommand.js +3 -3
  46. package/dist-cjs/commands/DescribeVerifiedAccessEndpointsCommand.js +46 -0
  47. package/dist-cjs/commands/DescribeVerifiedAccessGroupsCommand.js +46 -0
  48. package/dist-cjs/commands/DescribeVerifiedAccessInstanceLoggingConfigurationsCommand.js +46 -0
  49. package/dist-cjs/commands/DescribeVerifiedAccessInstancesCommand.js +46 -0
  50. package/dist-cjs/commands/DescribeVerifiedAccessTrustProvidersCommand.js +46 -0
  51. package/dist-cjs/commands/DescribeVpcEndpointServiceConfigurationsCommand.js +2 -1
  52. package/dist-cjs/commands/DescribeVpcEndpointServicePermissionsCommand.js +3 -3
  53. package/dist-cjs/commands/DescribeVpcEndpointServicesCommand.js +3 -3
  54. package/dist-cjs/commands/DescribeVpcPeeringConnectionsCommand.js +3 -3
  55. package/dist-cjs/commands/DescribeVpcsCommand.js +3 -3
  56. package/dist-cjs/commands/DescribeVpnConnectionsCommand.js +3 -3
  57. package/dist-cjs/commands/DescribeVpnGatewaysCommand.js +3 -3
  58. package/dist-cjs/commands/DetachClassicLinkVpcCommand.js +3 -3
  59. package/dist-cjs/commands/DetachInternetGatewayCommand.js +2 -2
  60. package/dist-cjs/commands/DetachNetworkInterfaceCommand.js +2 -2
  61. package/dist-cjs/commands/DetachVerifiedAccessTrustProviderCommand.js +46 -0
  62. package/dist-cjs/commands/DetachVolumeCommand.js +2 -2
  63. package/dist-cjs/commands/DetachVpnGatewayCommand.js +2 -2
  64. package/dist-cjs/commands/DisableAddressTransferCommand.js +3 -3
  65. package/dist-cjs/commands/DisableAwsNetworkPerformanceMetricSubscriptionCommand.js +46 -0
  66. package/dist-cjs/commands/DisableEbsEncryptionByDefaultCommand.js +3 -3
  67. package/dist-cjs/commands/DisableFastLaunchCommand.js +3 -3
  68. package/dist-cjs/commands/DisableFastSnapshotRestoresCommand.js +3 -3
  69. package/dist-cjs/commands/DisableImageDeprecationCommand.js +3 -3
  70. package/dist-cjs/commands/DisableIpamOrganizationAdminAccountCommand.js +3 -3
  71. package/dist-cjs/commands/DisableSerialConsoleAccessCommand.js +3 -3
  72. package/dist-cjs/commands/DisableTransitGatewayRouteTablePropagationCommand.js +3 -3
  73. package/dist-cjs/commands/DisableVgwRoutePropagationCommand.js +2 -2
  74. package/dist-cjs/commands/DisableVpcClassicLinkCommand.js +3 -3
  75. package/dist-cjs/commands/DisableVpcClassicLinkDnsSupportCommand.js +3 -3
  76. package/dist-cjs/commands/DisassociateAddressCommand.js +2 -2
  77. package/dist-cjs/commands/DisassociateClientVpnTargetNetworkCommand.js +3 -3
  78. package/dist-cjs/commands/DisassociateEnclaveCertificateIamRoleCommand.js +3 -3
  79. package/dist-cjs/commands/DisassociateIamInstanceProfileCommand.js +3 -3
  80. package/dist-cjs/commands/DisassociateInstanceEventWindowCommand.js +3 -3
  81. package/dist-cjs/commands/DisassociateRouteTableCommand.js +2 -2
  82. package/dist-cjs/commands/DisassociateSubnetCidrBlockCommand.js +3 -3
  83. package/dist-cjs/commands/DisassociateTransitGatewayMulticastDomainCommand.js +3 -3
  84. package/dist-cjs/commands/DisassociateTransitGatewayPolicyTableCommand.js +3 -3
  85. package/dist-cjs/commands/DisassociateTransitGatewayRouteTableCommand.js +1 -2
  86. package/dist-cjs/commands/EnableAwsNetworkPerformanceMetricSubscriptionCommand.js +46 -0
  87. package/dist-cjs/commands/EnableReachabilityAnalyzerOrganizationSharingCommand.js +46 -0
  88. package/dist-cjs/commands/GetAwsNetworkPerformanceDataCommand.js +46 -0
  89. package/dist-cjs/commands/GetVerifiedAccessEndpointPolicyCommand.js +46 -0
  90. package/dist-cjs/commands/GetVerifiedAccessGroupPolicyCommand.js +46 -0
  91. package/dist-cjs/commands/ModifyInstanceCreditSpecificationCommand.js +3 -3
  92. package/dist-cjs/commands/ModifyInstanceEventStartTimeCommand.js +3 -3
  93. package/dist-cjs/commands/ModifyInstanceEventWindowCommand.js +3 -3
  94. package/dist-cjs/commands/ModifyInstanceMaintenanceOptionsCommand.js +3 -3
  95. package/dist-cjs/commands/ModifyInstanceMetadataOptionsCommand.js +3 -3
  96. package/dist-cjs/commands/ModifyInstancePlacementCommand.js +3 -3
  97. package/dist-cjs/commands/ModifyIpamCommand.js +3 -3
  98. package/dist-cjs/commands/ModifyIpamPoolCommand.js +3 -3
  99. package/dist-cjs/commands/ModifyIpamResourceCidrCommand.js +3 -3
  100. package/dist-cjs/commands/ModifyIpamScopeCommand.js +3 -3
  101. package/dist-cjs/commands/ModifyLaunchTemplateCommand.js +3 -3
  102. package/dist-cjs/commands/ModifyLocalGatewayRouteCommand.js +3 -3
  103. package/dist-cjs/commands/ModifyManagedPrefixListCommand.js +3 -3
  104. package/dist-cjs/commands/ModifyNetworkInterfaceAttributeCommand.js +2 -2
  105. package/dist-cjs/commands/ModifyPrivateDnsNameOptionsCommand.js +3 -3
  106. package/dist-cjs/commands/ModifyReservedInstancesCommand.js +3 -3
  107. package/dist-cjs/commands/ModifySecurityGroupRulesCommand.js +3 -3
  108. package/dist-cjs/commands/ModifySnapshotAttributeCommand.js +2 -2
  109. package/dist-cjs/commands/ModifySnapshotTierCommand.js +3 -3
  110. package/dist-cjs/commands/ModifySpotFleetRequestCommand.js +3 -3
  111. package/dist-cjs/commands/ModifySubnetAttributeCommand.js +2 -2
  112. package/dist-cjs/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.js +3 -3
  113. package/dist-cjs/commands/ModifyTrafficMirrorFilterRuleCommand.js +3 -3
  114. package/dist-cjs/commands/ModifyTrafficMirrorSessionCommand.js +3 -3
  115. package/dist-cjs/commands/ModifyTransitGatewayCommand.js +3 -3
  116. package/dist-cjs/commands/ModifyTransitGatewayPrefixListReferenceCommand.js +3 -3
  117. package/dist-cjs/commands/ModifyTransitGatewayVpcAttachmentCommand.js +3 -3
  118. package/dist-cjs/commands/ModifyVerifiedAccessEndpointCommand.js +46 -0
  119. package/dist-cjs/commands/ModifyVerifiedAccessEndpointPolicyCommand.js +46 -0
  120. package/dist-cjs/commands/ModifyVerifiedAccessGroupCommand.js +46 -0
  121. package/dist-cjs/commands/ModifyVerifiedAccessGroupPolicyCommand.js +46 -0
  122. package/dist-cjs/commands/ModifyVerifiedAccessInstanceCommand.js +46 -0
  123. package/dist-cjs/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.js +46 -0
  124. package/dist-cjs/commands/ModifyVerifiedAccessTrustProviderCommand.js +46 -0
  125. package/dist-cjs/commands/ModifyVolumeAttributeCommand.js +2 -2
  126. package/dist-cjs/commands/ModifyVolumeCommand.js +3 -3
  127. package/dist-cjs/commands/ModifyVpcAttributeCommand.js +2 -2
  128. package/dist-cjs/commands/ModifyVpcEndpointCommand.js +3 -3
  129. package/dist-cjs/commands/ModifyVpcEndpointConnectionNotificationCommand.js +3 -3
  130. package/dist-cjs/commands/ModifyVpcEndpointServiceConfigurationCommand.js +3 -3
  131. package/dist-cjs/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.js +3 -3
  132. package/dist-cjs/commands/ModifyVpcEndpointServicePermissionsCommand.js +3 -3
  133. package/dist-cjs/commands/index.js +29 -0
  134. package/dist-cjs/models/models_0.js +61 -54
  135. package/dist-cjs/models/models_1.js +64 -64
  136. package/dist-cjs/models/models_2.js +154 -153
  137. package/dist-cjs/models/models_3.js +214 -223
  138. package/dist-cjs/models/models_4.js +292 -273
  139. package/dist-cjs/models/models_5.js +341 -347
  140. package/dist-cjs/models/models_6.js +431 -4
  141. package/dist-cjs/pagination/DescribeAwsNetworkPerformanceMetricSubscriptionsPaginator.js +36 -0
  142. package/dist-cjs/pagination/DescribeVerifiedAccessEndpointsPaginator.js +36 -0
  143. package/dist-cjs/pagination/DescribeVerifiedAccessGroupsPaginator.js +36 -0
  144. package/dist-cjs/pagination/DescribeVerifiedAccessInstanceLoggingConfigurationsPaginator.js +36 -0
  145. package/dist-cjs/pagination/DescribeVerifiedAccessInstancesPaginator.js +36 -0
  146. package/dist-cjs/pagination/DescribeVerifiedAccessTrustProvidersPaginator.js +36 -0
  147. package/dist-cjs/pagination/GetAwsNetworkPerformanceDataPaginator.js +36 -0
  148. package/dist-cjs/pagination/index.js +8 -1
  149. package/dist-cjs/protocols/Aws_ec2.js +3401 -147
  150. package/dist-es/EC2.js +435 -0
  151. package/dist-es/commands/AttachVerifiedAccessTrustProviderCommand.js +42 -0
  152. package/dist-es/commands/CreateCoipCidrCommand.js +2 -1
  153. package/dist-es/commands/CreateCoipPoolCommand.js +1 -1
  154. package/dist-es/commands/CreateCustomerGatewayCommand.js +1 -1
  155. package/dist-es/commands/CreateDefaultSubnetCommand.js +1 -2
  156. package/dist-es/commands/CreateSnapshotsCommand.js +2 -1
  157. package/dist-es/commands/CreateSpotDatafeedSubscriptionCommand.js +1 -1
  158. package/dist-es/commands/CreateStoreImageTaskCommand.js +1 -1
  159. package/dist-es/commands/CreateSubnetCidrReservationCommand.js +1 -2
  160. package/dist-es/commands/CreateSubnetCommand.js +1 -1
  161. package/dist-es/commands/CreateVerifiedAccessEndpointCommand.js +42 -0
  162. package/dist-es/commands/CreateVerifiedAccessGroupCommand.js +42 -0
  163. package/dist-es/commands/CreateVerifiedAccessInstanceCommand.js +42 -0
  164. package/dist-es/commands/CreateVerifiedAccessTrustProviderCommand.js +42 -0
  165. package/dist-es/commands/DeleteTransitGatewayRouteCommand.js +2 -1
  166. package/dist-es/commands/DeleteTransitGatewayRouteTableAnnouncementCommand.js +1 -1
  167. package/dist-es/commands/DeleteTransitGatewayRouteTableCommand.js +1 -1
  168. package/dist-es/commands/DeleteTransitGatewayVpcAttachmentCommand.js +1 -1
  169. package/dist-es/commands/DeleteVerifiedAccessEndpointCommand.js +42 -0
  170. package/dist-es/commands/DeleteVerifiedAccessGroupCommand.js +42 -0
  171. package/dist-es/commands/DeleteVerifiedAccessInstanceCommand.js +42 -0
  172. package/dist-es/commands/DeleteVerifiedAccessTrustProviderCommand.js +42 -0
  173. package/dist-es/commands/DeleteVolumeCommand.js +1 -1
  174. package/dist-es/commands/DeleteVpcCommand.js +1 -1
  175. package/dist-es/commands/DeleteVpcEndpointConnectionNotificationsCommand.js +1 -1
  176. package/dist-es/commands/DeleteVpcEndpointServiceConfigurationsCommand.js +1 -1
  177. package/dist-es/commands/DeleteVpcEndpointsCommand.js +1 -1
  178. package/dist-es/commands/DeleteVpcPeeringConnectionCommand.js +1 -1
  179. package/dist-es/commands/DeleteVpnConnectionCommand.js +1 -1
  180. package/dist-es/commands/DeleteVpnConnectionRouteCommand.js +1 -1
  181. package/dist-es/commands/DeleteVpnGatewayCommand.js +1 -1
  182. package/dist-es/commands/DeprovisionByoipCidrCommand.js +1 -1
  183. package/dist-es/commands/DeprovisionIpamPoolCidrCommand.js +1 -1
  184. package/dist-es/commands/DeprovisionPublicIpv4PoolCidrCommand.js +1 -1
  185. package/dist-es/commands/DeregisterImageCommand.js +1 -1
  186. package/dist-es/commands/DeregisterInstanceEventNotificationAttributesCommand.js +1 -1
  187. package/dist-es/commands/DescribeAwsNetworkPerformanceMetricSubscriptionsCommand.js +42 -0
  188. package/dist-es/commands/DescribeInstanceTypesCommand.js +2 -1
  189. package/dist-es/commands/DescribeInternetGatewaysCommand.js +1 -1
  190. package/dist-es/commands/DescribeIpamPoolsCommand.js +1 -1
  191. package/dist-es/commands/DescribeIpamScopesCommand.js +1 -1
  192. package/dist-es/commands/DescribeIpamsCommand.js +1 -1
  193. package/dist-es/commands/DescribeIpv6PoolsCommand.js +1 -1
  194. package/dist-es/commands/DescribeKeyPairsCommand.js +1 -1
  195. package/dist-es/commands/DescribeVerifiedAccessEndpointsCommand.js +42 -0
  196. package/dist-es/commands/DescribeVerifiedAccessGroupsCommand.js +42 -0
  197. package/dist-es/commands/DescribeVerifiedAccessInstanceLoggingConfigurationsCommand.js +42 -0
  198. package/dist-es/commands/DescribeVerifiedAccessInstancesCommand.js +42 -0
  199. package/dist-es/commands/DescribeVerifiedAccessTrustProvidersCommand.js +42 -0
  200. package/dist-es/commands/DescribeVpcEndpointServiceConfigurationsCommand.js +2 -1
  201. package/dist-es/commands/DescribeVpcEndpointServicePermissionsCommand.js +1 -1
  202. package/dist-es/commands/DescribeVpcEndpointServicesCommand.js +1 -1
  203. package/dist-es/commands/DescribeVpcPeeringConnectionsCommand.js +1 -1
  204. package/dist-es/commands/DescribeVpcsCommand.js +1 -1
  205. package/dist-es/commands/DescribeVpnConnectionsCommand.js +1 -1
  206. package/dist-es/commands/DescribeVpnGatewaysCommand.js +1 -1
  207. package/dist-es/commands/DetachClassicLinkVpcCommand.js +1 -1
  208. package/dist-es/commands/DetachInternetGatewayCommand.js +1 -1
  209. package/dist-es/commands/DetachNetworkInterfaceCommand.js +1 -1
  210. package/dist-es/commands/DetachVerifiedAccessTrustProviderCommand.js +42 -0
  211. package/dist-es/commands/DetachVolumeCommand.js +1 -1
  212. package/dist-es/commands/DetachVpnGatewayCommand.js +1 -1
  213. package/dist-es/commands/DisableAddressTransferCommand.js +1 -1
  214. package/dist-es/commands/DisableAwsNetworkPerformanceMetricSubscriptionCommand.js +42 -0
  215. package/dist-es/commands/DisableEbsEncryptionByDefaultCommand.js +1 -1
  216. package/dist-es/commands/DisableFastLaunchCommand.js +1 -1
  217. package/dist-es/commands/DisableFastSnapshotRestoresCommand.js +1 -1
  218. package/dist-es/commands/DisableImageDeprecationCommand.js +1 -1
  219. package/dist-es/commands/DisableIpamOrganizationAdminAccountCommand.js +1 -1
  220. package/dist-es/commands/DisableSerialConsoleAccessCommand.js +1 -1
  221. package/dist-es/commands/DisableTransitGatewayRouteTablePropagationCommand.js +1 -1
  222. package/dist-es/commands/DisableVgwRoutePropagationCommand.js +1 -1
  223. package/dist-es/commands/DisableVpcClassicLinkCommand.js +1 -1
  224. package/dist-es/commands/DisableVpcClassicLinkDnsSupportCommand.js +1 -1
  225. package/dist-es/commands/DisassociateAddressCommand.js +1 -1
  226. package/dist-es/commands/DisassociateClientVpnTargetNetworkCommand.js +1 -1
  227. package/dist-es/commands/DisassociateEnclaveCertificateIamRoleCommand.js +1 -1
  228. package/dist-es/commands/DisassociateIamInstanceProfileCommand.js +1 -1
  229. package/dist-es/commands/DisassociateInstanceEventWindowCommand.js +1 -1
  230. package/dist-es/commands/DisassociateRouteTableCommand.js +1 -1
  231. package/dist-es/commands/DisassociateSubnetCidrBlockCommand.js +1 -1
  232. package/dist-es/commands/DisassociateTransitGatewayMulticastDomainCommand.js +1 -1
  233. package/dist-es/commands/DisassociateTransitGatewayPolicyTableCommand.js +1 -1
  234. package/dist-es/commands/DisassociateTransitGatewayRouteTableCommand.js +1 -2
  235. package/dist-es/commands/EnableAwsNetworkPerformanceMetricSubscriptionCommand.js +42 -0
  236. package/dist-es/commands/EnableReachabilityAnalyzerOrganizationSharingCommand.js +42 -0
  237. package/dist-es/commands/GetAwsNetworkPerformanceDataCommand.js +42 -0
  238. package/dist-es/commands/GetVerifiedAccessEndpointPolicyCommand.js +42 -0
  239. package/dist-es/commands/GetVerifiedAccessGroupPolicyCommand.js +42 -0
  240. package/dist-es/commands/ModifyInstanceCreditSpecificationCommand.js +1 -1
  241. package/dist-es/commands/ModifyInstanceEventStartTimeCommand.js +1 -1
  242. package/dist-es/commands/ModifyInstanceEventWindowCommand.js +1 -1
  243. package/dist-es/commands/ModifyInstanceMaintenanceOptionsCommand.js +1 -1
  244. package/dist-es/commands/ModifyInstanceMetadataOptionsCommand.js +1 -1
  245. package/dist-es/commands/ModifyInstancePlacementCommand.js +1 -1
  246. package/dist-es/commands/ModifyIpamCommand.js +1 -1
  247. package/dist-es/commands/ModifyIpamPoolCommand.js +1 -1
  248. package/dist-es/commands/ModifyIpamResourceCidrCommand.js +1 -1
  249. package/dist-es/commands/ModifyIpamScopeCommand.js +1 -1
  250. package/dist-es/commands/ModifyLaunchTemplateCommand.js +1 -1
  251. package/dist-es/commands/ModifyLocalGatewayRouteCommand.js +1 -1
  252. package/dist-es/commands/ModifyManagedPrefixListCommand.js +1 -1
  253. package/dist-es/commands/ModifyNetworkInterfaceAttributeCommand.js +1 -1
  254. package/dist-es/commands/ModifyPrivateDnsNameOptionsCommand.js +1 -1
  255. package/dist-es/commands/ModifyReservedInstancesCommand.js +1 -1
  256. package/dist-es/commands/ModifySecurityGroupRulesCommand.js +1 -1
  257. package/dist-es/commands/ModifySnapshotAttributeCommand.js +1 -1
  258. package/dist-es/commands/ModifySnapshotTierCommand.js +1 -1
  259. package/dist-es/commands/ModifySpotFleetRequestCommand.js +1 -1
  260. package/dist-es/commands/ModifySubnetAttributeCommand.js +1 -1
  261. package/dist-es/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.js +1 -1
  262. package/dist-es/commands/ModifyTrafficMirrorFilterRuleCommand.js +1 -1
  263. package/dist-es/commands/ModifyTrafficMirrorSessionCommand.js +1 -1
  264. package/dist-es/commands/ModifyTransitGatewayCommand.js +1 -1
  265. package/dist-es/commands/ModifyTransitGatewayPrefixListReferenceCommand.js +1 -1
  266. package/dist-es/commands/ModifyTransitGatewayVpcAttachmentCommand.js +1 -1
  267. package/dist-es/commands/ModifyVerifiedAccessEndpointCommand.js +42 -0
  268. package/dist-es/commands/ModifyVerifiedAccessEndpointPolicyCommand.js +42 -0
  269. package/dist-es/commands/ModifyVerifiedAccessGroupCommand.js +42 -0
  270. package/dist-es/commands/ModifyVerifiedAccessGroupPolicyCommand.js +42 -0
  271. package/dist-es/commands/ModifyVerifiedAccessInstanceCommand.js +42 -0
  272. package/dist-es/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.js +42 -0
  273. package/dist-es/commands/ModifyVerifiedAccessTrustProviderCommand.js +42 -0
  274. package/dist-es/commands/ModifyVolumeAttributeCommand.js +1 -1
  275. package/dist-es/commands/ModifyVolumeCommand.js +1 -1
  276. package/dist-es/commands/ModifyVpcAttributeCommand.js +1 -1
  277. package/dist-es/commands/ModifyVpcEndpointCommand.js +1 -1
  278. package/dist-es/commands/ModifyVpcEndpointConnectionNotificationCommand.js +1 -1
  279. package/dist-es/commands/ModifyVpcEndpointServiceConfigurationCommand.js +1 -1
  280. package/dist-es/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.js +1 -1
  281. package/dist-es/commands/ModifyVpcEndpointServicePermissionsCommand.js +1 -1
  282. package/dist-es/commands/index.js +29 -0
  283. package/dist-es/models/models_0.js +48 -41
  284. package/dist-es/models/models_1.js +47 -46
  285. package/dist-es/models/models_2.js +119 -114
  286. package/dist-es/models/models_3.js +164 -181
  287. package/dist-es/models/models_4.js +233 -201
  288. package/dist-es/models/models_5.js +253 -263
  289. package/dist-es/models/models_6.js +326 -0
  290. package/dist-es/pagination/DescribeAwsNetworkPerformanceMetricSubscriptionsPaginator.js +32 -0
  291. package/dist-es/pagination/DescribeVerifiedAccessEndpointsPaginator.js +32 -0
  292. package/dist-es/pagination/DescribeVerifiedAccessGroupsPaginator.js +32 -0
  293. package/dist-es/pagination/DescribeVerifiedAccessInstanceLoggingConfigurationsPaginator.js +32 -0
  294. package/dist-es/pagination/DescribeVerifiedAccessInstancesPaginator.js +32 -0
  295. package/dist-es/pagination/DescribeVerifiedAccessTrustProvidersPaginator.js +32 -0
  296. package/dist-es/pagination/GetAwsNetworkPerformanceDataPaginator.js +32 -0
  297. package/dist-es/pagination/index.js +8 -1
  298. package/dist-es/protocols/Aws_ec2.js +3319 -125
  299. package/dist-types/EC2.d.ts +132 -3
  300. package/dist-types/EC2Client.d.ts +31 -2
  301. package/dist-types/commands/AttachVerifiedAccessTrustProviderCommand.d.ts +20 -0
  302. package/dist-types/commands/CreateCoipCidrCommand.d.ts +2 -1
  303. package/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
  304. package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
  305. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +1 -2
  306. package/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +1 -1
  307. package/dist-types/commands/CreateSnapshotsCommand.d.ts +2 -1
  308. package/dist-types/commands/CreateSpotDatafeedSubscriptionCommand.d.ts +1 -1
  309. package/dist-types/commands/CreateStoreImageTaskCommand.d.ts +1 -1
  310. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -2
  311. package/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
  312. package/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +20 -0
  313. package/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +20 -0
  314. package/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +20 -0
  315. package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +20 -0
  316. package/dist-types/commands/DeleteTransitGatewayRouteCommand.d.ts +2 -1
  317. package/dist-types/commands/DeleteTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
  318. package/dist-types/commands/DeleteTransitGatewayRouteTableCommand.d.ts +1 -1
  319. package/dist-types/commands/DeleteTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  320. package/dist-types/commands/DeleteVerifiedAccessEndpointCommand.d.ts +20 -0
  321. package/dist-types/commands/DeleteVerifiedAccessGroupCommand.d.ts +20 -0
  322. package/dist-types/commands/DeleteVerifiedAccessInstanceCommand.d.ts +20 -0
  323. package/dist-types/commands/DeleteVerifiedAccessTrustProviderCommand.d.ts +20 -0
  324. package/dist-types/commands/DeleteVolumeCommand.d.ts +1 -1
  325. package/dist-types/commands/DeleteVpcCommand.d.ts +1 -1
  326. package/dist-types/commands/DeleteVpcEndpointConnectionNotificationsCommand.d.ts +1 -1
  327. package/dist-types/commands/DeleteVpcEndpointServiceConfigurationsCommand.d.ts +1 -1
  328. package/dist-types/commands/DeleteVpcEndpointsCommand.d.ts +1 -1
  329. package/dist-types/commands/DeleteVpcPeeringConnectionCommand.d.ts +1 -1
  330. package/dist-types/commands/DeleteVpnConnectionCommand.d.ts +1 -1
  331. package/dist-types/commands/DeleteVpnConnectionRouteCommand.d.ts +1 -1
  332. package/dist-types/commands/DeleteVpnGatewayCommand.d.ts +1 -1
  333. package/dist-types/commands/DeprovisionByoipCidrCommand.d.ts +1 -1
  334. package/dist-types/commands/DeprovisionIpamPoolCidrCommand.d.ts +1 -1
  335. package/dist-types/commands/DeprovisionPublicIpv4PoolCidrCommand.d.ts +1 -1
  336. package/dist-types/commands/DeregisterImageCommand.d.ts +1 -1
  337. package/dist-types/commands/DeregisterInstanceEventNotificationAttributesCommand.d.ts +1 -1
  338. package/dist-types/commands/DescribeAwsNetworkPerformanceMetricSubscriptionsCommand.d.ts +37 -0
  339. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +2 -1
  340. package/dist-types/commands/DescribeInternetGatewaysCommand.d.ts +1 -1
  341. package/dist-types/commands/DescribeIpamPoolsCommand.d.ts +1 -1
  342. package/dist-types/commands/DescribeIpamScopesCommand.d.ts +1 -1
  343. package/dist-types/commands/DescribeIpamsCommand.d.ts +1 -1
  344. package/dist-types/commands/DescribeIpv6PoolsCommand.d.ts +1 -1
  345. package/dist-types/commands/DescribeKeyPairsCommand.d.ts +1 -1
  346. package/dist-types/commands/DescribeReplaceRootVolumeTasksCommand.d.ts +1 -1
  347. package/dist-types/commands/DescribeVerifiedAccessEndpointsCommand.d.ts +20 -0
  348. package/dist-types/commands/DescribeVerifiedAccessGroupsCommand.d.ts +20 -0
  349. package/dist-types/commands/DescribeVerifiedAccessInstanceLoggingConfigurationsCommand.d.ts +20 -0
  350. package/dist-types/commands/DescribeVerifiedAccessInstancesCommand.d.ts +20 -0
  351. package/dist-types/commands/DescribeVerifiedAccessTrustProvidersCommand.d.ts +20 -0
  352. package/dist-types/commands/DescribeVpcEndpointServiceConfigurationsCommand.d.ts +2 -1
  353. package/dist-types/commands/DescribeVpcEndpointServicePermissionsCommand.d.ts +1 -1
  354. package/dist-types/commands/DescribeVpcEndpointServicesCommand.d.ts +1 -1
  355. package/dist-types/commands/DescribeVpcPeeringConnectionsCommand.d.ts +1 -1
  356. package/dist-types/commands/DescribeVpcsCommand.d.ts +1 -1
  357. package/dist-types/commands/DescribeVpnConnectionsCommand.d.ts +1 -1
  358. package/dist-types/commands/DescribeVpnGatewaysCommand.d.ts +1 -1
  359. package/dist-types/commands/DetachClassicLinkVpcCommand.d.ts +1 -1
  360. package/dist-types/commands/DetachInternetGatewayCommand.d.ts +1 -1
  361. package/dist-types/commands/DetachNetworkInterfaceCommand.d.ts +1 -1
  362. package/dist-types/commands/DetachVerifiedAccessTrustProviderCommand.d.ts +20 -0
  363. package/dist-types/commands/DetachVolumeCommand.d.ts +1 -1
  364. package/dist-types/commands/DetachVpnGatewayCommand.d.ts +1 -1
  365. package/dist-types/commands/DisableAddressTransferCommand.d.ts +1 -1
  366. package/dist-types/commands/DisableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +37 -0
  367. package/dist-types/commands/DisableEbsEncryptionByDefaultCommand.d.ts +1 -1
  368. package/dist-types/commands/DisableFastLaunchCommand.d.ts +1 -1
  369. package/dist-types/commands/DisableFastSnapshotRestoresCommand.d.ts +1 -1
  370. package/dist-types/commands/DisableImageDeprecationCommand.d.ts +1 -1
  371. package/dist-types/commands/DisableIpamOrganizationAdminAccountCommand.d.ts +1 -1
  372. package/dist-types/commands/DisableSerialConsoleAccessCommand.d.ts +1 -1
  373. package/dist-types/commands/DisableTransitGatewayRouteTablePropagationCommand.d.ts +1 -1
  374. package/dist-types/commands/DisableVgwRoutePropagationCommand.d.ts +1 -1
  375. package/dist-types/commands/DisableVpcClassicLinkCommand.d.ts +1 -1
  376. package/dist-types/commands/DisableVpcClassicLinkDnsSupportCommand.d.ts +1 -1
  377. package/dist-types/commands/DisassociateAddressCommand.d.ts +1 -1
  378. package/dist-types/commands/DisassociateClientVpnTargetNetworkCommand.d.ts +1 -1
  379. package/dist-types/commands/DisassociateEnclaveCertificateIamRoleCommand.d.ts +1 -1
  380. package/dist-types/commands/DisassociateIamInstanceProfileCommand.d.ts +1 -1
  381. package/dist-types/commands/DisassociateInstanceEventWindowCommand.d.ts +1 -1
  382. package/dist-types/commands/DisassociateRouteTableCommand.d.ts +1 -1
  383. package/dist-types/commands/DisassociateSubnetCidrBlockCommand.d.ts +1 -1
  384. package/dist-types/commands/DisassociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  385. package/dist-types/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +1 -1
  386. package/dist-types/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +1 -2
  387. package/dist-types/commands/EnableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +37 -0
  388. package/dist-types/commands/EnableReachabilityAnalyzerOrganizationSharingCommand.d.ts +20 -0
  389. package/dist-types/commands/GetAwsNetworkPerformanceDataCommand.d.ts +37 -0
  390. package/dist-types/commands/GetVerifiedAccessEndpointPolicyCommand.d.ts +20 -0
  391. package/dist-types/commands/GetVerifiedAccessGroupPolicyCommand.d.ts +20 -0
  392. package/dist-types/commands/ModifyInstanceCreditSpecificationCommand.d.ts +1 -1
  393. package/dist-types/commands/ModifyInstanceEventStartTimeCommand.d.ts +1 -1
  394. package/dist-types/commands/ModifyInstanceEventWindowCommand.d.ts +1 -1
  395. package/dist-types/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +1 -1
  396. package/dist-types/commands/ModifyInstanceMetadataOptionsCommand.d.ts +1 -1
  397. package/dist-types/commands/ModifyInstancePlacementCommand.d.ts +1 -1
  398. package/dist-types/commands/ModifyIpamCommand.d.ts +1 -1
  399. package/dist-types/commands/ModifyIpamPoolCommand.d.ts +1 -1
  400. package/dist-types/commands/ModifyIpamResourceCidrCommand.d.ts +1 -1
  401. package/dist-types/commands/ModifyIpamScopeCommand.d.ts +1 -1
  402. package/dist-types/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
  403. package/dist-types/commands/ModifyLocalGatewayRouteCommand.d.ts +1 -1
  404. package/dist-types/commands/ModifyManagedPrefixListCommand.d.ts +1 -1
  405. package/dist-types/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +1 -1
  406. package/dist-types/commands/ModifyPrivateDnsNameOptionsCommand.d.ts +1 -1
  407. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +1 -1
  408. package/dist-types/commands/ModifySecurityGroupRulesCommand.d.ts +1 -1
  409. package/dist-types/commands/ModifySnapshotAttributeCommand.d.ts +1 -1
  410. package/dist-types/commands/ModifySnapshotTierCommand.d.ts +1 -1
  411. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
  412. package/dist-types/commands/ModifySubnetAttributeCommand.d.ts +1 -1
  413. package/dist-types/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
  414. package/dist-types/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
  415. package/dist-types/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
  416. package/dist-types/commands/ModifyTransitGatewayCommand.d.ts +1 -1
  417. package/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  418. package/dist-types/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  419. package/dist-types/commands/ModifyVerifiedAccessEndpointCommand.d.ts +20 -0
  420. package/dist-types/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +20 -0
  421. package/dist-types/commands/ModifyVerifiedAccessGroupCommand.d.ts +20 -0
  422. package/dist-types/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +20 -0
  423. package/dist-types/commands/ModifyVerifiedAccessInstanceCommand.d.ts +20 -0
  424. package/dist-types/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +20 -0
  425. package/dist-types/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +20 -0
  426. package/dist-types/commands/ModifyVolumeAttributeCommand.d.ts +1 -1
  427. package/dist-types/commands/ModifyVolumeCommand.d.ts +1 -1
  428. package/dist-types/commands/ModifyVpcAttributeCommand.d.ts +1 -1
  429. package/dist-types/commands/ModifyVpcEndpointCommand.d.ts +1 -1
  430. package/dist-types/commands/ModifyVpcEndpointConnectionNotificationCommand.d.ts +1 -1
  431. package/dist-types/commands/ModifyVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  432. package/dist-types/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.d.ts +1 -1
  433. package/dist-types/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +1 -1
  434. package/dist-types/commands/UnassignPrivateIpAddressesCommand.d.ts +2 -1
  435. package/dist-types/commands/index.d.ts +29 -0
  436. package/dist-types/models/models_0.d.ts +142 -242
  437. package/dist-types/models/models_1.d.ts +334 -377
  438. package/dist-types/models/models_2.d.ts +532 -500
  439. package/dist-types/models/models_3.d.ts +5557 -5884
  440. package/dist-types/models/models_4.d.ts +5884 -6232
  441. package/dist-types/models/models_5.d.ts +3951 -4083
  442. package/dist-types/models/models_6.d.ts +4428 -2265
  443. package/dist-types/pagination/DescribeAwsNetworkPerformanceMetricSubscriptionsPaginator.d.ts +4 -0
  444. package/dist-types/pagination/DescribeVerifiedAccessEndpointsPaginator.d.ts +4 -0
  445. package/dist-types/pagination/DescribeVerifiedAccessGroupsPaginator.d.ts +4 -0
  446. package/dist-types/pagination/DescribeVerifiedAccessInstanceLoggingConfigurationsPaginator.d.ts +4 -0
  447. package/dist-types/pagination/DescribeVerifiedAccessInstancesPaginator.d.ts +4 -0
  448. package/dist-types/pagination/DescribeVerifiedAccessTrustProvidersPaginator.d.ts +4 -0
  449. package/dist-types/pagination/GetAwsNetworkPerformanceDataPaginator.d.ts +4 -0
  450. package/dist-types/pagination/index.d.ts +8 -1
  451. package/dist-types/protocols/Aws_ec2.d.ts +87 -0
  452. package/dist-types/ts3.4/EC2.d.ts +571 -0
  453. package/dist-types/ts3.4/EC2Client.d.ts +174 -0
  454. package/dist-types/ts3.4/commands/AttachVerifiedAccessTrustProviderCommand.d.ts +41 -0
  455. package/dist-types/ts3.4/commands/CreateCoipCidrCommand.d.ts +2 -4
  456. package/dist-types/ts3.4/commands/CreateCoipPoolCommand.d.ts +1 -1
  457. package/dist-types/ts3.4/commands/CreateCustomerGatewayCommand.d.ts +1 -1
  458. package/dist-types/ts3.4/commands/CreateDefaultSubnetCommand.d.ts +4 -2
  459. package/dist-types/ts3.4/commands/CreateSnapshotsCommand.d.ts +2 -4
  460. package/dist-types/ts3.4/commands/CreateSpotDatafeedSubscriptionCommand.d.ts +1 -1
  461. package/dist-types/ts3.4/commands/CreateStoreImageTaskCommand.d.ts +1 -1
  462. package/dist-types/ts3.4/commands/CreateSubnetCidrReservationCommand.d.ts +4 -2
  463. package/dist-types/ts3.4/commands/CreateSubnetCommand.d.ts +1 -1
  464. package/dist-types/ts3.4/commands/CreateVerifiedAccessEndpointCommand.d.ts +41 -0
  465. package/dist-types/ts3.4/commands/CreateVerifiedAccessGroupCommand.d.ts +41 -0
  466. package/dist-types/ts3.4/commands/CreateVerifiedAccessInstanceCommand.d.ts +41 -0
  467. package/dist-types/ts3.4/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +41 -0
  468. package/dist-types/ts3.4/commands/DeleteTransitGatewayRouteCommand.d.ts +2 -4
  469. package/dist-types/ts3.4/commands/DeleteTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
  470. package/dist-types/ts3.4/commands/DeleteTransitGatewayRouteTableCommand.d.ts +1 -1
  471. package/dist-types/ts3.4/commands/DeleteTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  472. package/dist-types/ts3.4/commands/DeleteVerifiedAccessEndpointCommand.d.ts +41 -0
  473. package/dist-types/ts3.4/commands/DeleteVerifiedAccessGroupCommand.d.ts +41 -0
  474. package/dist-types/ts3.4/commands/DeleteVerifiedAccessInstanceCommand.d.ts +41 -0
  475. package/dist-types/ts3.4/commands/DeleteVerifiedAccessTrustProviderCommand.d.ts +41 -0
  476. package/dist-types/ts3.4/commands/DeleteVolumeCommand.d.ts +1 -1
  477. package/dist-types/ts3.4/commands/DeleteVpcCommand.d.ts +1 -1
  478. package/dist-types/ts3.4/commands/DeleteVpcEndpointConnectionNotificationsCommand.d.ts +1 -1
  479. package/dist-types/ts3.4/commands/DeleteVpcEndpointServiceConfigurationsCommand.d.ts +1 -1
  480. package/dist-types/ts3.4/commands/DeleteVpcEndpointsCommand.d.ts +1 -1
  481. package/dist-types/ts3.4/commands/DeleteVpcPeeringConnectionCommand.d.ts +1 -1
  482. package/dist-types/ts3.4/commands/DeleteVpnConnectionCommand.d.ts +1 -1
  483. package/dist-types/ts3.4/commands/DeleteVpnConnectionRouteCommand.d.ts +1 -1
  484. package/dist-types/ts3.4/commands/DeleteVpnGatewayCommand.d.ts +1 -1
  485. package/dist-types/ts3.4/commands/DeprovisionByoipCidrCommand.d.ts +1 -1
  486. package/dist-types/ts3.4/commands/DeprovisionIpamPoolCidrCommand.d.ts +1 -1
  487. package/dist-types/ts3.4/commands/DeprovisionPublicIpv4PoolCidrCommand.d.ts +1 -1
  488. package/dist-types/ts3.4/commands/DeregisterImageCommand.d.ts +1 -1
  489. package/dist-types/ts3.4/commands/DeregisterInstanceEventNotificationAttributesCommand.d.ts +1 -1
  490. package/dist-types/ts3.4/commands/DescribeAwsNetworkPerformanceMetricSubscriptionsCommand.d.ts +43 -0
  491. package/dist-types/ts3.4/commands/DescribeInstanceTypesCommand.d.ts +2 -4
  492. package/dist-types/ts3.4/commands/DescribeInternetGatewaysCommand.d.ts +1 -1
  493. package/dist-types/ts3.4/commands/DescribeIpamPoolsCommand.d.ts +1 -1
  494. package/dist-types/ts3.4/commands/DescribeIpamScopesCommand.d.ts +1 -1
  495. package/dist-types/ts3.4/commands/DescribeIpamsCommand.d.ts +1 -1
  496. package/dist-types/ts3.4/commands/DescribeIpv6PoolsCommand.d.ts +1 -1
  497. package/dist-types/ts3.4/commands/DescribeKeyPairsCommand.d.ts +1 -1
  498. package/dist-types/ts3.4/commands/DescribeVerifiedAccessEndpointsCommand.d.ts +41 -0
  499. package/dist-types/ts3.4/commands/DescribeVerifiedAccessGroupsCommand.d.ts +41 -0
  500. package/dist-types/ts3.4/commands/DescribeVerifiedAccessInstanceLoggingConfigurationsCommand.d.ts +43 -0
  501. package/dist-types/ts3.4/commands/DescribeVerifiedAccessInstancesCommand.d.ts +41 -0
  502. package/dist-types/ts3.4/commands/DescribeVerifiedAccessTrustProvidersCommand.d.ts +41 -0
  503. package/dist-types/ts3.4/commands/DescribeVpcEndpointServiceConfigurationsCommand.d.ts +2 -4
  504. package/dist-types/ts3.4/commands/DescribeVpcEndpointServicePermissionsCommand.d.ts +1 -1
  505. package/dist-types/ts3.4/commands/DescribeVpcEndpointServicesCommand.d.ts +1 -1
  506. package/dist-types/ts3.4/commands/DescribeVpcPeeringConnectionsCommand.d.ts +1 -1
  507. package/dist-types/ts3.4/commands/DescribeVpcsCommand.d.ts +1 -1
  508. package/dist-types/ts3.4/commands/DescribeVpnConnectionsCommand.d.ts +1 -1
  509. package/dist-types/ts3.4/commands/DescribeVpnGatewaysCommand.d.ts +1 -1
  510. package/dist-types/ts3.4/commands/DetachClassicLinkVpcCommand.d.ts +1 -1
  511. package/dist-types/ts3.4/commands/DetachInternetGatewayCommand.d.ts +1 -1
  512. package/dist-types/ts3.4/commands/DetachNetworkInterfaceCommand.d.ts +1 -1
  513. package/dist-types/ts3.4/commands/DetachVerifiedAccessTrustProviderCommand.d.ts +41 -0
  514. package/dist-types/ts3.4/commands/DetachVolumeCommand.d.ts +1 -1
  515. package/dist-types/ts3.4/commands/DetachVpnGatewayCommand.d.ts +1 -1
  516. package/dist-types/ts3.4/commands/DisableAddressTransferCommand.d.ts +1 -1
  517. package/dist-types/ts3.4/commands/DisableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +43 -0
  518. package/dist-types/ts3.4/commands/DisableEbsEncryptionByDefaultCommand.d.ts +1 -1
  519. package/dist-types/ts3.4/commands/DisableFastLaunchCommand.d.ts +1 -1
  520. package/dist-types/ts3.4/commands/DisableFastSnapshotRestoresCommand.d.ts +1 -1
  521. package/dist-types/ts3.4/commands/DisableImageDeprecationCommand.d.ts +1 -1
  522. package/dist-types/ts3.4/commands/DisableIpamOrganizationAdminAccountCommand.d.ts +1 -1
  523. package/dist-types/ts3.4/commands/DisableSerialConsoleAccessCommand.d.ts +1 -1
  524. package/dist-types/ts3.4/commands/DisableTransitGatewayRouteTablePropagationCommand.d.ts +1 -1
  525. package/dist-types/ts3.4/commands/DisableVgwRoutePropagationCommand.d.ts +1 -1
  526. package/dist-types/ts3.4/commands/DisableVpcClassicLinkCommand.d.ts +1 -1
  527. package/dist-types/ts3.4/commands/DisableVpcClassicLinkDnsSupportCommand.d.ts +1 -1
  528. package/dist-types/ts3.4/commands/DisassociateAddressCommand.d.ts +1 -1
  529. package/dist-types/ts3.4/commands/DisassociateClientVpnTargetNetworkCommand.d.ts +1 -1
  530. package/dist-types/ts3.4/commands/DisassociateEnclaveCertificateIamRoleCommand.d.ts +1 -1
  531. package/dist-types/ts3.4/commands/DisassociateIamInstanceProfileCommand.d.ts +1 -1
  532. package/dist-types/ts3.4/commands/DisassociateInstanceEventWindowCommand.d.ts +1 -1
  533. package/dist-types/ts3.4/commands/DisassociateRouteTableCommand.d.ts +1 -1
  534. package/dist-types/ts3.4/commands/DisassociateSubnetCidrBlockCommand.d.ts +1 -1
  535. package/dist-types/ts3.4/commands/DisassociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  536. package/dist-types/ts3.4/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +1 -1
  537. package/dist-types/ts3.4/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +4 -2
  538. package/dist-types/ts3.4/commands/EnableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +41 -0
  539. package/dist-types/ts3.4/commands/EnableReachabilityAnalyzerOrganizationSharingCommand.d.ts +41 -0
  540. package/dist-types/ts3.4/commands/GetAwsNetworkPerformanceDataCommand.d.ts +41 -0
  541. package/dist-types/ts3.4/commands/GetVerifiedAccessEndpointPolicyCommand.d.ts +41 -0
  542. package/dist-types/ts3.4/commands/GetVerifiedAccessGroupPolicyCommand.d.ts +41 -0
  543. package/dist-types/ts3.4/commands/ModifyInstanceCreditSpecificationCommand.d.ts +1 -1
  544. package/dist-types/ts3.4/commands/ModifyInstanceEventStartTimeCommand.d.ts +1 -1
  545. package/dist-types/ts3.4/commands/ModifyInstanceEventWindowCommand.d.ts +1 -1
  546. package/dist-types/ts3.4/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +1 -1
  547. package/dist-types/ts3.4/commands/ModifyInstanceMetadataOptionsCommand.d.ts +1 -1
  548. package/dist-types/ts3.4/commands/ModifyInstancePlacementCommand.d.ts +1 -1
  549. package/dist-types/ts3.4/commands/ModifyIpamCommand.d.ts +1 -1
  550. package/dist-types/ts3.4/commands/ModifyIpamPoolCommand.d.ts +1 -1
  551. package/dist-types/ts3.4/commands/ModifyIpamResourceCidrCommand.d.ts +1 -1
  552. package/dist-types/ts3.4/commands/ModifyIpamScopeCommand.d.ts +1 -1
  553. package/dist-types/ts3.4/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
  554. package/dist-types/ts3.4/commands/ModifyLocalGatewayRouteCommand.d.ts +1 -1
  555. package/dist-types/ts3.4/commands/ModifyManagedPrefixListCommand.d.ts +1 -1
  556. package/dist-types/ts3.4/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +1 -1
  557. package/dist-types/ts3.4/commands/ModifyPrivateDnsNameOptionsCommand.d.ts +1 -1
  558. package/dist-types/ts3.4/commands/ModifyReservedInstancesCommand.d.ts +1 -1
  559. package/dist-types/ts3.4/commands/ModifySecurityGroupRulesCommand.d.ts +1 -1
  560. package/dist-types/ts3.4/commands/ModifySnapshotAttributeCommand.d.ts +1 -1
  561. package/dist-types/ts3.4/commands/ModifySnapshotTierCommand.d.ts +1 -1
  562. package/dist-types/ts3.4/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
  563. package/dist-types/ts3.4/commands/ModifySubnetAttributeCommand.d.ts +1 -1
  564. package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
  565. package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
  566. package/dist-types/ts3.4/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
  567. package/dist-types/ts3.4/commands/ModifyTransitGatewayCommand.d.ts +1 -1
  568. package/dist-types/ts3.4/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  569. package/dist-types/ts3.4/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  570. package/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointCommand.d.ts +41 -0
  571. package/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +41 -0
  572. package/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupCommand.d.ts +41 -0
  573. package/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +41 -0
  574. package/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceCommand.d.ts +41 -0
  575. package/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +43 -0
  576. package/dist-types/ts3.4/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +41 -0
  577. package/dist-types/ts3.4/commands/ModifyVolumeAttributeCommand.d.ts +1 -1
  578. package/dist-types/ts3.4/commands/ModifyVolumeCommand.d.ts +1 -1
  579. package/dist-types/ts3.4/commands/ModifyVpcAttributeCommand.d.ts +1 -1
  580. package/dist-types/ts3.4/commands/ModifyVpcEndpointCommand.d.ts +1 -1
  581. package/dist-types/ts3.4/commands/ModifyVpcEndpointConnectionNotificationCommand.d.ts +1 -1
  582. package/dist-types/ts3.4/commands/ModifyVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  583. package/dist-types/ts3.4/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.d.ts +1 -1
  584. package/dist-types/ts3.4/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +1 -1
  585. package/dist-types/ts3.4/commands/index.d.ts +29 -0
  586. package/dist-types/ts3.4/models/models_0.d.ts +101 -87
  587. package/dist-types/ts3.4/models/models_1.d.ts +104 -113
  588. package/dist-types/ts3.4/models/models_2.d.ts +311 -238
  589. package/dist-types/ts3.4/models/models_3.d.ts +343 -368
  590. package/dist-types/ts3.4/models/models_4.d.ts +514 -532
  591. package/dist-types/ts3.4/models/models_5.d.ts +660 -745
  592. package/dist-types/ts3.4/models/models_6.d.ts +914 -4
  593. package/dist-types/ts3.4/pagination/DescribeAwsNetworkPerformanceMetricSubscriptionsPaginator.d.ts +11 -0
  594. package/dist-types/ts3.4/pagination/DescribeVerifiedAccessEndpointsPaginator.d.ts +11 -0
  595. package/dist-types/ts3.4/pagination/DescribeVerifiedAccessGroupsPaginator.d.ts +11 -0
  596. package/dist-types/ts3.4/pagination/DescribeVerifiedAccessInstanceLoggingConfigurationsPaginator.d.ts +11 -0
  597. package/dist-types/ts3.4/pagination/DescribeVerifiedAccessInstancesPaginator.d.ts +11 -0
  598. package/dist-types/ts3.4/pagination/DescribeVerifiedAccessTrustProvidersPaginator.d.ts +11 -0
  599. package/dist-types/ts3.4/pagination/GetAwsNetworkPerformanceDataPaginator.d.ts +11 -0
  600. package/dist-types/ts3.4/pagination/index.d.ts +8 -1
  601. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +348 -0
  602. package/package.json +1 -1
@@ -363,6 +363,18 @@ export const serializeAws_ec2AttachNetworkInterfaceCommand = async (input, conte
363
363
  });
364
364
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
365
365
  };
366
+ export const serializeAws_ec2AttachVerifiedAccessTrustProviderCommand = async (input, context) => {
367
+ const headers = {
368
+ "content-type": "application/x-www-form-urlencoded",
369
+ };
370
+ let body;
371
+ body = buildFormUrlencodedString({
372
+ ...serializeAws_ec2AttachVerifiedAccessTrustProviderRequest(input, context),
373
+ Action: "AttachVerifiedAccessTrustProvider",
374
+ Version: "2016-11-15",
375
+ });
376
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
377
+ };
366
378
  export const serializeAws_ec2AttachVolumeCommand = async (input, context) => {
367
379
  const headers = {
368
380
  "content-type": "application/x-www-form-urlencoded",
@@ -1407,6 +1419,54 @@ export const serializeAws_ec2CreateTransitGatewayVpcAttachmentCommand = async (i
1407
1419
  });
1408
1420
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1409
1421
  };
1422
+ export const serializeAws_ec2CreateVerifiedAccessEndpointCommand = async (input, context) => {
1423
+ const headers = {
1424
+ "content-type": "application/x-www-form-urlencoded",
1425
+ };
1426
+ let body;
1427
+ body = buildFormUrlencodedString({
1428
+ ...serializeAws_ec2CreateVerifiedAccessEndpointRequest(input, context),
1429
+ Action: "CreateVerifiedAccessEndpoint",
1430
+ Version: "2016-11-15",
1431
+ });
1432
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1433
+ };
1434
+ export const serializeAws_ec2CreateVerifiedAccessGroupCommand = async (input, context) => {
1435
+ const headers = {
1436
+ "content-type": "application/x-www-form-urlencoded",
1437
+ };
1438
+ let body;
1439
+ body = buildFormUrlencodedString({
1440
+ ...serializeAws_ec2CreateVerifiedAccessGroupRequest(input, context),
1441
+ Action: "CreateVerifiedAccessGroup",
1442
+ Version: "2016-11-15",
1443
+ });
1444
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1445
+ };
1446
+ export const serializeAws_ec2CreateVerifiedAccessInstanceCommand = async (input, context) => {
1447
+ const headers = {
1448
+ "content-type": "application/x-www-form-urlencoded",
1449
+ };
1450
+ let body;
1451
+ body = buildFormUrlencodedString({
1452
+ ...serializeAws_ec2CreateVerifiedAccessInstanceRequest(input, context),
1453
+ Action: "CreateVerifiedAccessInstance",
1454
+ Version: "2016-11-15",
1455
+ });
1456
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1457
+ };
1458
+ export const serializeAws_ec2CreateVerifiedAccessTrustProviderCommand = async (input, context) => {
1459
+ const headers = {
1460
+ "content-type": "application/x-www-form-urlencoded",
1461
+ };
1462
+ let body;
1463
+ body = buildFormUrlencodedString({
1464
+ ...serializeAws_ec2CreateVerifiedAccessTrustProviderRequest(input, context),
1465
+ Action: "CreateVerifiedAccessTrustProvider",
1466
+ Version: "2016-11-15",
1467
+ });
1468
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1469
+ };
1410
1470
  export const serializeAws_ec2CreateVolumeCommand = async (input, context) => {
1411
1471
  const headers = {
1412
1472
  "content-type": "application/x-www-form-urlencoded",
@@ -2223,6 +2283,54 @@ export const serializeAws_ec2DeleteTransitGatewayVpcAttachmentCommand = async (i
2223
2283
  });
2224
2284
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2225
2285
  };
2286
+ export const serializeAws_ec2DeleteVerifiedAccessEndpointCommand = async (input, context) => {
2287
+ const headers = {
2288
+ "content-type": "application/x-www-form-urlencoded",
2289
+ };
2290
+ let body;
2291
+ body = buildFormUrlencodedString({
2292
+ ...serializeAws_ec2DeleteVerifiedAccessEndpointRequest(input, context),
2293
+ Action: "DeleteVerifiedAccessEndpoint",
2294
+ Version: "2016-11-15",
2295
+ });
2296
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
2297
+ };
2298
+ export const serializeAws_ec2DeleteVerifiedAccessGroupCommand = async (input, context) => {
2299
+ const headers = {
2300
+ "content-type": "application/x-www-form-urlencoded",
2301
+ };
2302
+ let body;
2303
+ body = buildFormUrlencodedString({
2304
+ ...serializeAws_ec2DeleteVerifiedAccessGroupRequest(input, context),
2305
+ Action: "DeleteVerifiedAccessGroup",
2306
+ Version: "2016-11-15",
2307
+ });
2308
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
2309
+ };
2310
+ export const serializeAws_ec2DeleteVerifiedAccessInstanceCommand = async (input, context) => {
2311
+ const headers = {
2312
+ "content-type": "application/x-www-form-urlencoded",
2313
+ };
2314
+ let body;
2315
+ body = buildFormUrlencodedString({
2316
+ ...serializeAws_ec2DeleteVerifiedAccessInstanceRequest(input, context),
2317
+ Action: "DeleteVerifiedAccessInstance",
2318
+ Version: "2016-11-15",
2319
+ });
2320
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
2321
+ };
2322
+ export const serializeAws_ec2DeleteVerifiedAccessTrustProviderCommand = async (input, context) => {
2323
+ const headers = {
2324
+ "content-type": "application/x-www-form-urlencoded",
2325
+ };
2326
+ let body;
2327
+ body = buildFormUrlencodedString({
2328
+ ...serializeAws_ec2DeleteVerifiedAccessTrustProviderRequest(input, context),
2329
+ Action: "DeleteVerifiedAccessTrustProvider",
2330
+ Version: "2016-11-15",
2331
+ });
2332
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
2333
+ };
2226
2334
  export const serializeAws_ec2DeleteVolumeCommand = async (input, context) => {
2227
2335
  const headers = {
2228
2336
  "content-type": "application/x-www-form-urlencoded",
@@ -2487,6 +2595,18 @@ export const serializeAws_ec2DescribeAvailabilityZonesCommand = async (input, co
2487
2595
  });
2488
2596
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2489
2597
  };
2598
+ export const serializeAws_ec2DescribeAwsNetworkPerformanceMetricSubscriptionsCommand = async (input, context) => {
2599
+ const headers = {
2600
+ "content-type": "application/x-www-form-urlencoded",
2601
+ };
2602
+ let body;
2603
+ body = buildFormUrlencodedString({
2604
+ ...serializeAws_ec2DescribeAwsNetworkPerformanceMetricSubscriptionsRequest(input, context),
2605
+ Action: "DescribeAwsNetworkPerformanceMetricSubscriptions",
2606
+ Version: "2016-11-15",
2607
+ });
2608
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
2609
+ };
2490
2610
  export const serializeAws_ec2DescribeBundleTasksCommand = async (input, context) => {
2491
2611
  const headers = {
2492
2612
  "content-type": "application/x-www-form-urlencoded",
@@ -3843,6 +3963,66 @@ export const serializeAws_ec2DescribeTrunkInterfaceAssociationsCommand = async (
3843
3963
  });
3844
3964
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
3845
3965
  };
3966
+ export const serializeAws_ec2DescribeVerifiedAccessEndpointsCommand = async (input, context) => {
3967
+ const headers = {
3968
+ "content-type": "application/x-www-form-urlencoded",
3969
+ };
3970
+ let body;
3971
+ body = buildFormUrlencodedString({
3972
+ ...serializeAws_ec2DescribeVerifiedAccessEndpointsRequest(input, context),
3973
+ Action: "DescribeVerifiedAccessEndpoints",
3974
+ Version: "2016-11-15",
3975
+ });
3976
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
3977
+ };
3978
+ export const serializeAws_ec2DescribeVerifiedAccessGroupsCommand = async (input, context) => {
3979
+ const headers = {
3980
+ "content-type": "application/x-www-form-urlencoded",
3981
+ };
3982
+ let body;
3983
+ body = buildFormUrlencodedString({
3984
+ ...serializeAws_ec2DescribeVerifiedAccessGroupsRequest(input, context),
3985
+ Action: "DescribeVerifiedAccessGroups",
3986
+ Version: "2016-11-15",
3987
+ });
3988
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
3989
+ };
3990
+ export const serializeAws_ec2DescribeVerifiedAccessInstanceLoggingConfigurationsCommand = async (input, context) => {
3991
+ const headers = {
3992
+ "content-type": "application/x-www-form-urlencoded",
3993
+ };
3994
+ let body;
3995
+ body = buildFormUrlencodedString({
3996
+ ...serializeAws_ec2DescribeVerifiedAccessInstanceLoggingConfigurationsRequest(input, context),
3997
+ Action: "DescribeVerifiedAccessInstanceLoggingConfigurations",
3998
+ Version: "2016-11-15",
3999
+ });
4000
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
4001
+ };
4002
+ export const serializeAws_ec2DescribeVerifiedAccessInstancesCommand = async (input, context) => {
4003
+ const headers = {
4004
+ "content-type": "application/x-www-form-urlencoded",
4005
+ };
4006
+ let body;
4007
+ body = buildFormUrlencodedString({
4008
+ ...serializeAws_ec2DescribeVerifiedAccessInstancesRequest(input, context),
4009
+ Action: "DescribeVerifiedAccessInstances",
4010
+ Version: "2016-11-15",
4011
+ });
4012
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
4013
+ };
4014
+ export const serializeAws_ec2DescribeVerifiedAccessTrustProvidersCommand = async (input, context) => {
4015
+ const headers = {
4016
+ "content-type": "application/x-www-form-urlencoded",
4017
+ };
4018
+ let body;
4019
+ body = buildFormUrlencodedString({
4020
+ ...serializeAws_ec2DescribeVerifiedAccessTrustProvidersRequest(input, context),
4021
+ Action: "DescribeVerifiedAccessTrustProviders",
4022
+ Version: "2016-11-15",
4023
+ });
4024
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
4025
+ };
3846
4026
  export const serializeAws_ec2DescribeVolumeAttributeCommand = async (input, context) => {
3847
4027
  const headers = {
3848
4028
  "content-type": "application/x-www-form-urlencoded",
@@ -4083,6 +4263,18 @@ export const serializeAws_ec2DetachNetworkInterfaceCommand = async (input, conte
4083
4263
  });
4084
4264
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
4085
4265
  };
4266
+ export const serializeAws_ec2DetachVerifiedAccessTrustProviderCommand = async (input, context) => {
4267
+ const headers = {
4268
+ "content-type": "application/x-www-form-urlencoded",
4269
+ };
4270
+ let body;
4271
+ body = buildFormUrlencodedString({
4272
+ ...serializeAws_ec2DetachVerifiedAccessTrustProviderRequest(input, context),
4273
+ Action: "DetachVerifiedAccessTrustProvider",
4274
+ Version: "2016-11-15",
4275
+ });
4276
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
4277
+ };
4086
4278
  export const serializeAws_ec2DetachVolumeCommand = async (input, context) => {
4087
4279
  const headers = {
4088
4280
  "content-type": "application/x-www-form-urlencoded",
@@ -4119,6 +4311,18 @@ export const serializeAws_ec2DisableAddressTransferCommand = async (input, conte
4119
4311
  });
4120
4312
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
4121
4313
  };
4314
+ export const serializeAws_ec2DisableAwsNetworkPerformanceMetricSubscriptionCommand = async (input, context) => {
4315
+ const headers = {
4316
+ "content-type": "application/x-www-form-urlencoded",
4317
+ };
4318
+ let body;
4319
+ body = buildFormUrlencodedString({
4320
+ ...serializeAws_ec2DisableAwsNetworkPerformanceMetricSubscriptionRequest(input, context),
4321
+ Action: "DisableAwsNetworkPerformanceMetricSubscription",
4322
+ Version: "2016-11-15",
4323
+ });
4324
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
4325
+ };
4122
4326
  export const serializeAws_ec2DisableEbsEncryptionByDefaultCommand = async (input, context) => {
4123
4327
  const headers = {
4124
4328
  "content-type": "application/x-www-form-urlencoded",
@@ -4395,6 +4599,18 @@ export const serializeAws_ec2EnableAddressTransferCommand = async (input, contex
4395
4599
  });
4396
4600
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
4397
4601
  };
4602
+ export const serializeAws_ec2EnableAwsNetworkPerformanceMetricSubscriptionCommand = async (input, context) => {
4603
+ const headers = {
4604
+ "content-type": "application/x-www-form-urlencoded",
4605
+ };
4606
+ let body;
4607
+ body = buildFormUrlencodedString({
4608
+ ...serializeAws_ec2EnableAwsNetworkPerformanceMetricSubscriptionRequest(input, context),
4609
+ Action: "EnableAwsNetworkPerformanceMetricSubscription",
4610
+ Version: "2016-11-15",
4611
+ });
4612
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
4613
+ };
4398
4614
  export const serializeAws_ec2EnableEbsEncryptionByDefaultCommand = async (input, context) => {
4399
4615
  const headers = {
4400
4616
  "content-type": "application/x-www-form-urlencoded",
@@ -4455,6 +4671,18 @@ export const serializeAws_ec2EnableIpamOrganizationAdminAccountCommand = async (
4455
4671
  });
4456
4672
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
4457
4673
  };
4674
+ export const serializeAws_ec2EnableReachabilityAnalyzerOrganizationSharingCommand = async (input, context) => {
4675
+ const headers = {
4676
+ "content-type": "application/x-www-form-urlencoded",
4677
+ };
4678
+ let body;
4679
+ body = buildFormUrlencodedString({
4680
+ ...serializeAws_ec2EnableReachabilityAnalyzerOrganizationSharingRequest(input, context),
4681
+ Action: "EnableReachabilityAnalyzerOrganizationSharing",
4682
+ Version: "2016-11-15",
4683
+ });
4684
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
4685
+ };
4458
4686
  export const serializeAws_ec2EnableSerialConsoleAccessCommand = async (input, context) => {
4459
4687
  const headers = {
4460
4688
  "content-type": "application/x-www-form-urlencoded",
@@ -4599,6 +4827,18 @@ export const serializeAws_ec2GetAssociatedIpv6PoolCidrsCommand = async (input, c
4599
4827
  });
4600
4828
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
4601
4829
  };
4830
+ export const serializeAws_ec2GetAwsNetworkPerformanceDataCommand = async (input, context) => {
4831
+ const headers = {
4832
+ "content-type": "application/x-www-form-urlencoded",
4833
+ };
4834
+ let body;
4835
+ body = buildFormUrlencodedString({
4836
+ ...serializeAws_ec2GetAwsNetworkPerformanceDataRequest(input, context),
4837
+ Action: "GetAwsNetworkPerformanceData",
4838
+ Version: "2016-11-15",
4839
+ });
4840
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
4841
+ };
4602
4842
  export const serializeAws_ec2GetCapacityReservationUsageCommand = async (input, context) => {
4603
4843
  const headers = {
4604
4844
  "content-type": "application/x-www-form-urlencoded",
@@ -4995,6 +5235,30 @@ export const serializeAws_ec2GetTransitGatewayRouteTablePropagationsCommand = as
4995
5235
  });
4996
5236
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
4997
5237
  };
5238
+ export const serializeAws_ec2GetVerifiedAccessEndpointPolicyCommand = async (input, context) => {
5239
+ const headers = {
5240
+ "content-type": "application/x-www-form-urlencoded",
5241
+ };
5242
+ let body;
5243
+ body = buildFormUrlencodedString({
5244
+ ...serializeAws_ec2GetVerifiedAccessEndpointPolicyRequest(input, context),
5245
+ Action: "GetVerifiedAccessEndpointPolicy",
5246
+ Version: "2016-11-15",
5247
+ });
5248
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
5249
+ };
5250
+ export const serializeAws_ec2GetVerifiedAccessGroupPolicyCommand = async (input, context) => {
5251
+ const headers = {
5252
+ "content-type": "application/x-www-form-urlencoded",
5253
+ };
5254
+ let body;
5255
+ body = buildFormUrlencodedString({
5256
+ ...serializeAws_ec2GetVerifiedAccessGroupPolicyRequest(input, context),
5257
+ Action: "GetVerifiedAccessGroupPolicy",
5258
+ Version: "2016-11-15",
5259
+ });
5260
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
5261
+ };
4998
5262
  export const serializeAws_ec2GetVpnConnectionDeviceSampleConfigurationCommand = async (input, context) => {
4999
5263
  const headers = {
5000
5264
  "content-type": "application/x-www-form-urlencoded",
@@ -5619,6 +5883,90 @@ export const serializeAws_ec2ModifyTransitGatewayVpcAttachmentCommand = async (i
5619
5883
  });
5620
5884
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
5621
5885
  };
5886
+ export const serializeAws_ec2ModifyVerifiedAccessEndpointCommand = async (input, context) => {
5887
+ const headers = {
5888
+ "content-type": "application/x-www-form-urlencoded",
5889
+ };
5890
+ let body;
5891
+ body = buildFormUrlencodedString({
5892
+ ...serializeAws_ec2ModifyVerifiedAccessEndpointRequest(input, context),
5893
+ Action: "ModifyVerifiedAccessEndpoint",
5894
+ Version: "2016-11-15",
5895
+ });
5896
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
5897
+ };
5898
+ export const serializeAws_ec2ModifyVerifiedAccessEndpointPolicyCommand = async (input, context) => {
5899
+ const headers = {
5900
+ "content-type": "application/x-www-form-urlencoded",
5901
+ };
5902
+ let body;
5903
+ body = buildFormUrlencodedString({
5904
+ ...serializeAws_ec2ModifyVerifiedAccessEndpointPolicyRequest(input, context),
5905
+ Action: "ModifyVerifiedAccessEndpointPolicy",
5906
+ Version: "2016-11-15",
5907
+ });
5908
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
5909
+ };
5910
+ export const serializeAws_ec2ModifyVerifiedAccessGroupCommand = async (input, context) => {
5911
+ const headers = {
5912
+ "content-type": "application/x-www-form-urlencoded",
5913
+ };
5914
+ let body;
5915
+ body = buildFormUrlencodedString({
5916
+ ...serializeAws_ec2ModifyVerifiedAccessGroupRequest(input, context),
5917
+ Action: "ModifyVerifiedAccessGroup",
5918
+ Version: "2016-11-15",
5919
+ });
5920
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
5921
+ };
5922
+ export const serializeAws_ec2ModifyVerifiedAccessGroupPolicyCommand = async (input, context) => {
5923
+ const headers = {
5924
+ "content-type": "application/x-www-form-urlencoded",
5925
+ };
5926
+ let body;
5927
+ body = buildFormUrlencodedString({
5928
+ ...serializeAws_ec2ModifyVerifiedAccessGroupPolicyRequest(input, context),
5929
+ Action: "ModifyVerifiedAccessGroupPolicy",
5930
+ Version: "2016-11-15",
5931
+ });
5932
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
5933
+ };
5934
+ export const serializeAws_ec2ModifyVerifiedAccessInstanceCommand = async (input, context) => {
5935
+ const headers = {
5936
+ "content-type": "application/x-www-form-urlencoded",
5937
+ };
5938
+ let body;
5939
+ body = buildFormUrlencodedString({
5940
+ ...serializeAws_ec2ModifyVerifiedAccessInstanceRequest(input, context),
5941
+ Action: "ModifyVerifiedAccessInstance",
5942
+ Version: "2016-11-15",
5943
+ });
5944
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
5945
+ };
5946
+ export const serializeAws_ec2ModifyVerifiedAccessInstanceLoggingConfigurationCommand = async (input, context) => {
5947
+ const headers = {
5948
+ "content-type": "application/x-www-form-urlencoded",
5949
+ };
5950
+ let body;
5951
+ body = buildFormUrlencodedString({
5952
+ ...serializeAws_ec2ModifyVerifiedAccessInstanceLoggingConfigurationRequest(input, context),
5953
+ Action: "ModifyVerifiedAccessInstanceLoggingConfiguration",
5954
+ Version: "2016-11-15",
5955
+ });
5956
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
5957
+ };
5958
+ export const serializeAws_ec2ModifyVerifiedAccessTrustProviderCommand = async (input, context) => {
5959
+ const headers = {
5960
+ "content-type": "application/x-www-form-urlencoded",
5961
+ };
5962
+ let body;
5963
+ body = buildFormUrlencodedString({
5964
+ ...serializeAws_ec2ModifyVerifiedAccessTrustProviderRequest(input, context),
5965
+ Action: "ModifyVerifiedAccessTrustProvider",
5966
+ Version: "2016-11-15",
5967
+ });
5968
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
5969
+ };
5622
5970
  export const serializeAws_ec2ModifyVolumeCommand = async (input, context) => {
5623
5971
  const headers = {
5624
5972
  "content-type": "application/x-www-form-urlencoded",
@@ -7371,6 +7719,33 @@ const deserializeAws_ec2AttachNetworkInterfaceCommandError = async (output, cont
7371
7719
  errorCode,
7372
7720
  });
7373
7721
  };
7722
+ export const deserializeAws_ec2AttachVerifiedAccessTrustProviderCommand = async (output, context) => {
7723
+ if (output.statusCode >= 300) {
7724
+ return deserializeAws_ec2AttachVerifiedAccessTrustProviderCommandError(output, context);
7725
+ }
7726
+ const data = await parseBody(output.body, context);
7727
+ let contents = {};
7728
+ contents = deserializeAws_ec2AttachVerifiedAccessTrustProviderResult(data, context);
7729
+ const response = {
7730
+ $metadata: deserializeMetadata(output),
7731
+ ...contents,
7732
+ };
7733
+ return Promise.resolve(response);
7734
+ };
7735
+ const deserializeAws_ec2AttachVerifiedAccessTrustProviderCommandError = async (output, context) => {
7736
+ const parsedOutput = {
7737
+ ...output,
7738
+ body: await parseErrorBody(output.body, context),
7739
+ };
7740
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
7741
+ const parsedBody = parsedOutput.body;
7742
+ throwDefaultError({
7743
+ output,
7744
+ parsedBody: parsedBody.Errors.Error,
7745
+ exceptionCtor: __BaseException,
7746
+ errorCode,
7747
+ });
7748
+ };
7374
7749
  export const deserializeAws_ec2AttachVolumeCommand = async (output, context) => {
7375
7750
  if (output.statusCode >= 300) {
7376
7751
  return deserializeAws_ec2AttachVolumeCommandError(output, context);
@@ -9708,6 +10083,114 @@ const deserializeAws_ec2CreateTransitGatewayVpcAttachmentCommandError = async (o
9708
10083
  errorCode,
9709
10084
  });
9710
10085
  };
10086
+ export const deserializeAws_ec2CreateVerifiedAccessEndpointCommand = async (output, context) => {
10087
+ if (output.statusCode >= 300) {
10088
+ return deserializeAws_ec2CreateVerifiedAccessEndpointCommandError(output, context);
10089
+ }
10090
+ const data = await parseBody(output.body, context);
10091
+ let contents = {};
10092
+ contents = deserializeAws_ec2CreateVerifiedAccessEndpointResult(data, context);
10093
+ const response = {
10094
+ $metadata: deserializeMetadata(output),
10095
+ ...contents,
10096
+ };
10097
+ return Promise.resolve(response);
10098
+ };
10099
+ const deserializeAws_ec2CreateVerifiedAccessEndpointCommandError = async (output, context) => {
10100
+ const parsedOutput = {
10101
+ ...output,
10102
+ body: await parseErrorBody(output.body, context),
10103
+ };
10104
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
10105
+ const parsedBody = parsedOutput.body;
10106
+ throwDefaultError({
10107
+ output,
10108
+ parsedBody: parsedBody.Errors.Error,
10109
+ exceptionCtor: __BaseException,
10110
+ errorCode,
10111
+ });
10112
+ };
10113
+ export const deserializeAws_ec2CreateVerifiedAccessGroupCommand = async (output, context) => {
10114
+ if (output.statusCode >= 300) {
10115
+ return deserializeAws_ec2CreateVerifiedAccessGroupCommandError(output, context);
10116
+ }
10117
+ const data = await parseBody(output.body, context);
10118
+ let contents = {};
10119
+ contents = deserializeAws_ec2CreateVerifiedAccessGroupResult(data, context);
10120
+ const response = {
10121
+ $metadata: deserializeMetadata(output),
10122
+ ...contents,
10123
+ };
10124
+ return Promise.resolve(response);
10125
+ };
10126
+ const deserializeAws_ec2CreateVerifiedAccessGroupCommandError = async (output, context) => {
10127
+ const parsedOutput = {
10128
+ ...output,
10129
+ body: await parseErrorBody(output.body, context),
10130
+ };
10131
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
10132
+ const parsedBody = parsedOutput.body;
10133
+ throwDefaultError({
10134
+ output,
10135
+ parsedBody: parsedBody.Errors.Error,
10136
+ exceptionCtor: __BaseException,
10137
+ errorCode,
10138
+ });
10139
+ };
10140
+ export const deserializeAws_ec2CreateVerifiedAccessInstanceCommand = async (output, context) => {
10141
+ if (output.statusCode >= 300) {
10142
+ return deserializeAws_ec2CreateVerifiedAccessInstanceCommandError(output, context);
10143
+ }
10144
+ const data = await parseBody(output.body, context);
10145
+ let contents = {};
10146
+ contents = deserializeAws_ec2CreateVerifiedAccessInstanceResult(data, context);
10147
+ const response = {
10148
+ $metadata: deserializeMetadata(output),
10149
+ ...contents,
10150
+ };
10151
+ return Promise.resolve(response);
10152
+ };
10153
+ const deserializeAws_ec2CreateVerifiedAccessInstanceCommandError = async (output, context) => {
10154
+ const parsedOutput = {
10155
+ ...output,
10156
+ body: await parseErrorBody(output.body, context),
10157
+ };
10158
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
10159
+ const parsedBody = parsedOutput.body;
10160
+ throwDefaultError({
10161
+ output,
10162
+ parsedBody: parsedBody.Errors.Error,
10163
+ exceptionCtor: __BaseException,
10164
+ errorCode,
10165
+ });
10166
+ };
10167
+ export const deserializeAws_ec2CreateVerifiedAccessTrustProviderCommand = async (output, context) => {
10168
+ if (output.statusCode >= 300) {
10169
+ return deserializeAws_ec2CreateVerifiedAccessTrustProviderCommandError(output, context);
10170
+ }
10171
+ const data = await parseBody(output.body, context);
10172
+ let contents = {};
10173
+ contents = deserializeAws_ec2CreateVerifiedAccessTrustProviderResult(data, context);
10174
+ const response = {
10175
+ $metadata: deserializeMetadata(output),
10176
+ ...contents,
10177
+ };
10178
+ return Promise.resolve(response);
10179
+ };
10180
+ const deserializeAws_ec2CreateVerifiedAccessTrustProviderCommandError = async (output, context) => {
10181
+ const parsedOutput = {
10182
+ ...output,
10183
+ body: await parseErrorBody(output.body, context),
10184
+ };
10185
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
10186
+ const parsedBody = parsedOutput.body;
10187
+ throwDefaultError({
10188
+ output,
10189
+ parsedBody: parsedBody.Errors.Error,
10190
+ exceptionCtor: __BaseException,
10191
+ errorCode,
10192
+ });
10193
+ };
9711
10194
  export const deserializeAws_ec2CreateVolumeCommand = async (output, context) => {
9712
10195
  if (output.statusCode >= 300) {
9713
10196
  return deserializeAws_ec2CreateVolumeCommandError(output, context);
@@ -11496,6 +11979,114 @@ const deserializeAws_ec2DeleteTransitGatewayVpcAttachmentCommandError = async (o
11496
11979
  errorCode,
11497
11980
  });
11498
11981
  };
11982
+ export const deserializeAws_ec2DeleteVerifiedAccessEndpointCommand = async (output, context) => {
11983
+ if (output.statusCode >= 300) {
11984
+ return deserializeAws_ec2DeleteVerifiedAccessEndpointCommandError(output, context);
11985
+ }
11986
+ const data = await parseBody(output.body, context);
11987
+ let contents = {};
11988
+ contents = deserializeAws_ec2DeleteVerifiedAccessEndpointResult(data, context);
11989
+ const response = {
11990
+ $metadata: deserializeMetadata(output),
11991
+ ...contents,
11992
+ };
11993
+ return Promise.resolve(response);
11994
+ };
11995
+ const deserializeAws_ec2DeleteVerifiedAccessEndpointCommandError = async (output, context) => {
11996
+ const parsedOutput = {
11997
+ ...output,
11998
+ body: await parseErrorBody(output.body, context),
11999
+ };
12000
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
12001
+ const parsedBody = parsedOutput.body;
12002
+ throwDefaultError({
12003
+ output,
12004
+ parsedBody: parsedBody.Errors.Error,
12005
+ exceptionCtor: __BaseException,
12006
+ errorCode,
12007
+ });
12008
+ };
12009
+ export const deserializeAws_ec2DeleteVerifiedAccessGroupCommand = async (output, context) => {
12010
+ if (output.statusCode >= 300) {
12011
+ return deserializeAws_ec2DeleteVerifiedAccessGroupCommandError(output, context);
12012
+ }
12013
+ const data = await parseBody(output.body, context);
12014
+ let contents = {};
12015
+ contents = deserializeAws_ec2DeleteVerifiedAccessGroupResult(data, context);
12016
+ const response = {
12017
+ $metadata: deserializeMetadata(output),
12018
+ ...contents,
12019
+ };
12020
+ return Promise.resolve(response);
12021
+ };
12022
+ const deserializeAws_ec2DeleteVerifiedAccessGroupCommandError = async (output, context) => {
12023
+ const parsedOutput = {
12024
+ ...output,
12025
+ body: await parseErrorBody(output.body, context),
12026
+ };
12027
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
12028
+ const parsedBody = parsedOutput.body;
12029
+ throwDefaultError({
12030
+ output,
12031
+ parsedBody: parsedBody.Errors.Error,
12032
+ exceptionCtor: __BaseException,
12033
+ errorCode,
12034
+ });
12035
+ };
12036
+ export const deserializeAws_ec2DeleteVerifiedAccessInstanceCommand = async (output, context) => {
12037
+ if (output.statusCode >= 300) {
12038
+ return deserializeAws_ec2DeleteVerifiedAccessInstanceCommandError(output, context);
12039
+ }
12040
+ const data = await parseBody(output.body, context);
12041
+ let contents = {};
12042
+ contents = deserializeAws_ec2DeleteVerifiedAccessInstanceResult(data, context);
12043
+ const response = {
12044
+ $metadata: deserializeMetadata(output),
12045
+ ...contents,
12046
+ };
12047
+ return Promise.resolve(response);
12048
+ };
12049
+ const deserializeAws_ec2DeleteVerifiedAccessInstanceCommandError = async (output, context) => {
12050
+ const parsedOutput = {
12051
+ ...output,
12052
+ body: await parseErrorBody(output.body, context),
12053
+ };
12054
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
12055
+ const parsedBody = parsedOutput.body;
12056
+ throwDefaultError({
12057
+ output,
12058
+ parsedBody: parsedBody.Errors.Error,
12059
+ exceptionCtor: __BaseException,
12060
+ errorCode,
12061
+ });
12062
+ };
12063
+ export const deserializeAws_ec2DeleteVerifiedAccessTrustProviderCommand = async (output, context) => {
12064
+ if (output.statusCode >= 300) {
12065
+ return deserializeAws_ec2DeleteVerifiedAccessTrustProviderCommandError(output, context);
12066
+ }
12067
+ const data = await parseBody(output.body, context);
12068
+ let contents = {};
12069
+ contents = deserializeAws_ec2DeleteVerifiedAccessTrustProviderResult(data, context);
12070
+ const response = {
12071
+ $metadata: deserializeMetadata(output),
12072
+ ...contents,
12073
+ };
12074
+ return Promise.resolve(response);
12075
+ };
12076
+ const deserializeAws_ec2DeleteVerifiedAccessTrustProviderCommandError = async (output, context) => {
12077
+ const parsedOutput = {
12078
+ ...output,
12079
+ body: await parseErrorBody(output.body, context),
12080
+ };
12081
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
12082
+ const parsedBody = parsedOutput.body;
12083
+ throwDefaultError({
12084
+ output,
12085
+ parsedBody: parsedBody.Errors.Error,
12086
+ exceptionCtor: __BaseException,
12087
+ errorCode,
12088
+ });
12089
+ };
11499
12090
  export const deserializeAws_ec2DeleteVolumeCommand = async (output, context) => {
11500
12091
  if (output.statusCode >= 300) {
11501
12092
  return deserializeAws_ec2DeleteVolumeCommandError(output, context);
@@ -12072,6 +12663,33 @@ const deserializeAws_ec2DescribeAvailabilityZonesCommandError = async (output, c
12072
12663
  errorCode,
12073
12664
  });
12074
12665
  };
12666
+ export const deserializeAws_ec2DescribeAwsNetworkPerformanceMetricSubscriptionsCommand = async (output, context) => {
12667
+ if (output.statusCode >= 300) {
12668
+ return deserializeAws_ec2DescribeAwsNetworkPerformanceMetricSubscriptionsCommandError(output, context);
12669
+ }
12670
+ const data = await parseBody(output.body, context);
12671
+ let contents = {};
12672
+ contents = deserializeAws_ec2DescribeAwsNetworkPerformanceMetricSubscriptionsResult(data, context);
12673
+ const response = {
12674
+ $metadata: deserializeMetadata(output),
12675
+ ...contents,
12676
+ };
12677
+ return Promise.resolve(response);
12678
+ };
12679
+ const deserializeAws_ec2DescribeAwsNetworkPerformanceMetricSubscriptionsCommandError = async (output, context) => {
12680
+ const parsedOutput = {
12681
+ ...output,
12682
+ body: await parseErrorBody(output.body, context),
12683
+ };
12684
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
12685
+ const parsedBody = parsedOutput.body;
12686
+ throwDefaultError({
12687
+ output,
12688
+ parsedBody: parsedBody.Errors.Error,
12689
+ exceptionCtor: __BaseException,
12690
+ errorCode,
12691
+ });
12692
+ };
12075
12693
  export const deserializeAws_ec2DescribeBundleTasksCommand = async (output, context) => {
12076
12694
  if (output.statusCode >= 300) {
12077
12695
  return deserializeAws_ec2DescribeBundleTasksCommandError(output, context);
@@ -15123,6 +15741,141 @@ const deserializeAws_ec2DescribeTrunkInterfaceAssociationsCommandError = async (
15123
15741
  errorCode,
15124
15742
  });
15125
15743
  };
15744
+ export const deserializeAws_ec2DescribeVerifiedAccessEndpointsCommand = async (output, context) => {
15745
+ if (output.statusCode >= 300) {
15746
+ return deserializeAws_ec2DescribeVerifiedAccessEndpointsCommandError(output, context);
15747
+ }
15748
+ const data = await parseBody(output.body, context);
15749
+ let contents = {};
15750
+ contents = deserializeAws_ec2DescribeVerifiedAccessEndpointsResult(data, context);
15751
+ const response = {
15752
+ $metadata: deserializeMetadata(output),
15753
+ ...contents,
15754
+ };
15755
+ return Promise.resolve(response);
15756
+ };
15757
+ const deserializeAws_ec2DescribeVerifiedAccessEndpointsCommandError = async (output, context) => {
15758
+ const parsedOutput = {
15759
+ ...output,
15760
+ body: await parseErrorBody(output.body, context),
15761
+ };
15762
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
15763
+ const parsedBody = parsedOutput.body;
15764
+ throwDefaultError({
15765
+ output,
15766
+ parsedBody: parsedBody.Errors.Error,
15767
+ exceptionCtor: __BaseException,
15768
+ errorCode,
15769
+ });
15770
+ };
15771
+ export const deserializeAws_ec2DescribeVerifiedAccessGroupsCommand = async (output, context) => {
15772
+ if (output.statusCode >= 300) {
15773
+ return deserializeAws_ec2DescribeVerifiedAccessGroupsCommandError(output, context);
15774
+ }
15775
+ const data = await parseBody(output.body, context);
15776
+ let contents = {};
15777
+ contents = deserializeAws_ec2DescribeVerifiedAccessGroupsResult(data, context);
15778
+ const response = {
15779
+ $metadata: deserializeMetadata(output),
15780
+ ...contents,
15781
+ };
15782
+ return Promise.resolve(response);
15783
+ };
15784
+ const deserializeAws_ec2DescribeVerifiedAccessGroupsCommandError = async (output, context) => {
15785
+ const parsedOutput = {
15786
+ ...output,
15787
+ body: await parseErrorBody(output.body, context),
15788
+ };
15789
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
15790
+ const parsedBody = parsedOutput.body;
15791
+ throwDefaultError({
15792
+ output,
15793
+ parsedBody: parsedBody.Errors.Error,
15794
+ exceptionCtor: __BaseException,
15795
+ errorCode,
15796
+ });
15797
+ };
15798
+ export const deserializeAws_ec2DescribeVerifiedAccessInstanceLoggingConfigurationsCommand = async (output, context) => {
15799
+ if (output.statusCode >= 300) {
15800
+ return deserializeAws_ec2DescribeVerifiedAccessInstanceLoggingConfigurationsCommandError(output, context);
15801
+ }
15802
+ const data = await parseBody(output.body, context);
15803
+ let contents = {};
15804
+ contents = deserializeAws_ec2DescribeVerifiedAccessInstanceLoggingConfigurationsResult(data, context);
15805
+ const response = {
15806
+ $metadata: deserializeMetadata(output),
15807
+ ...contents,
15808
+ };
15809
+ return Promise.resolve(response);
15810
+ };
15811
+ const deserializeAws_ec2DescribeVerifiedAccessInstanceLoggingConfigurationsCommandError = async (output, context) => {
15812
+ const parsedOutput = {
15813
+ ...output,
15814
+ body: await parseErrorBody(output.body, context),
15815
+ };
15816
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
15817
+ const parsedBody = parsedOutput.body;
15818
+ throwDefaultError({
15819
+ output,
15820
+ parsedBody: parsedBody.Errors.Error,
15821
+ exceptionCtor: __BaseException,
15822
+ errorCode,
15823
+ });
15824
+ };
15825
+ export const deserializeAws_ec2DescribeVerifiedAccessInstancesCommand = async (output, context) => {
15826
+ if (output.statusCode >= 300) {
15827
+ return deserializeAws_ec2DescribeVerifiedAccessInstancesCommandError(output, context);
15828
+ }
15829
+ const data = await parseBody(output.body, context);
15830
+ let contents = {};
15831
+ contents = deserializeAws_ec2DescribeVerifiedAccessInstancesResult(data, context);
15832
+ const response = {
15833
+ $metadata: deserializeMetadata(output),
15834
+ ...contents,
15835
+ };
15836
+ return Promise.resolve(response);
15837
+ };
15838
+ const deserializeAws_ec2DescribeVerifiedAccessInstancesCommandError = async (output, context) => {
15839
+ const parsedOutput = {
15840
+ ...output,
15841
+ body: await parseErrorBody(output.body, context),
15842
+ };
15843
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
15844
+ const parsedBody = parsedOutput.body;
15845
+ throwDefaultError({
15846
+ output,
15847
+ parsedBody: parsedBody.Errors.Error,
15848
+ exceptionCtor: __BaseException,
15849
+ errorCode,
15850
+ });
15851
+ };
15852
+ export const deserializeAws_ec2DescribeVerifiedAccessTrustProvidersCommand = async (output, context) => {
15853
+ if (output.statusCode >= 300) {
15854
+ return deserializeAws_ec2DescribeVerifiedAccessTrustProvidersCommandError(output, context);
15855
+ }
15856
+ const data = await parseBody(output.body, context);
15857
+ let contents = {};
15858
+ contents = deserializeAws_ec2DescribeVerifiedAccessTrustProvidersResult(data, context);
15859
+ const response = {
15860
+ $metadata: deserializeMetadata(output),
15861
+ ...contents,
15862
+ };
15863
+ return Promise.resolve(response);
15864
+ };
15865
+ const deserializeAws_ec2DescribeVerifiedAccessTrustProvidersCommandError = async (output, context) => {
15866
+ const parsedOutput = {
15867
+ ...output,
15868
+ body: await parseErrorBody(output.body, context),
15869
+ };
15870
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
15871
+ const parsedBody = parsedOutput.body;
15872
+ throwDefaultError({
15873
+ output,
15874
+ parsedBody: parsedBody.Errors.Error,
15875
+ exceptionCtor: __BaseException,
15876
+ errorCode,
15877
+ });
15878
+ };
15126
15879
  export const deserializeAws_ec2DescribeVolumeAttributeCommand = async (output, context) => {
15127
15880
  if (output.statusCode >= 300) {
15128
15881
  return deserializeAws_ec2DescribeVolumeAttributeCommandError(output, context);
@@ -15657,6 +16410,33 @@ const deserializeAws_ec2DetachNetworkInterfaceCommandError = async (output, cont
15657
16410
  errorCode,
15658
16411
  });
15659
16412
  };
16413
+ export const deserializeAws_ec2DetachVerifiedAccessTrustProviderCommand = async (output, context) => {
16414
+ if (output.statusCode >= 300) {
16415
+ return deserializeAws_ec2DetachVerifiedAccessTrustProviderCommandError(output, context);
16416
+ }
16417
+ const data = await parseBody(output.body, context);
16418
+ let contents = {};
16419
+ contents = deserializeAws_ec2DetachVerifiedAccessTrustProviderResult(data, context);
16420
+ const response = {
16421
+ $metadata: deserializeMetadata(output),
16422
+ ...contents,
16423
+ };
16424
+ return Promise.resolve(response);
16425
+ };
16426
+ const deserializeAws_ec2DetachVerifiedAccessTrustProviderCommandError = async (output, context) => {
16427
+ const parsedOutput = {
16428
+ ...output,
16429
+ body: await parseErrorBody(output.body, context),
16430
+ };
16431
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
16432
+ const parsedBody = parsedOutput.body;
16433
+ throwDefaultError({
16434
+ output,
16435
+ parsedBody: parsedBody.Errors.Error,
16436
+ exceptionCtor: __BaseException,
16437
+ errorCode,
16438
+ });
16439
+ };
15660
16440
  export const deserializeAws_ec2DetachVolumeCommand = async (output, context) => {
15661
16441
  if (output.statusCode >= 300) {
15662
16442
  return deserializeAws_ec2DetachVolumeCommandError(output, context);
@@ -15735,6 +16515,33 @@ const deserializeAws_ec2DisableAddressTransferCommandError = async (output, cont
15735
16515
  errorCode,
15736
16516
  });
15737
16517
  };
16518
+ export const deserializeAws_ec2DisableAwsNetworkPerformanceMetricSubscriptionCommand = async (output, context) => {
16519
+ if (output.statusCode >= 300) {
16520
+ return deserializeAws_ec2DisableAwsNetworkPerformanceMetricSubscriptionCommandError(output, context);
16521
+ }
16522
+ const data = await parseBody(output.body, context);
16523
+ let contents = {};
16524
+ contents = deserializeAws_ec2DisableAwsNetworkPerformanceMetricSubscriptionResult(data, context);
16525
+ const response = {
16526
+ $metadata: deserializeMetadata(output),
16527
+ ...contents,
16528
+ };
16529
+ return Promise.resolve(response);
16530
+ };
16531
+ const deserializeAws_ec2DisableAwsNetworkPerformanceMetricSubscriptionCommandError = async (output, context) => {
16532
+ const parsedOutput = {
16533
+ ...output,
16534
+ body: await parseErrorBody(output.body, context),
16535
+ };
16536
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
16537
+ const parsedBody = parsedOutput.body;
16538
+ throwDefaultError({
16539
+ output,
16540
+ parsedBody: parsedBody.Errors.Error,
16541
+ exceptionCtor: __BaseException,
16542
+ errorCode,
16543
+ });
16544
+ };
15738
16545
  export const deserializeAws_ec2DisableEbsEncryptionByDefaultCommand = async (output, context) => {
15739
16546
  if (output.statusCode >= 300) {
15740
16547
  return deserializeAws_ec2DisableEbsEncryptionByDefaultCommandError(output, context);
@@ -16347,6 +17154,33 @@ const deserializeAws_ec2EnableAddressTransferCommandError = async (output, conte
16347
17154
  errorCode,
16348
17155
  });
16349
17156
  };
17157
+ export const deserializeAws_ec2EnableAwsNetworkPerformanceMetricSubscriptionCommand = async (output, context) => {
17158
+ if (output.statusCode >= 300) {
17159
+ return deserializeAws_ec2EnableAwsNetworkPerformanceMetricSubscriptionCommandError(output, context);
17160
+ }
17161
+ const data = await parseBody(output.body, context);
17162
+ let contents = {};
17163
+ contents = deserializeAws_ec2EnableAwsNetworkPerformanceMetricSubscriptionResult(data, context);
17164
+ const response = {
17165
+ $metadata: deserializeMetadata(output),
17166
+ ...contents,
17167
+ };
17168
+ return Promise.resolve(response);
17169
+ };
17170
+ const deserializeAws_ec2EnableAwsNetworkPerformanceMetricSubscriptionCommandError = async (output, context) => {
17171
+ const parsedOutput = {
17172
+ ...output,
17173
+ body: await parseErrorBody(output.body, context),
17174
+ };
17175
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
17176
+ const parsedBody = parsedOutput.body;
17177
+ throwDefaultError({
17178
+ output,
17179
+ parsedBody: parsedBody.Errors.Error,
17180
+ exceptionCtor: __BaseException,
17181
+ errorCode,
17182
+ });
17183
+ };
16350
17184
  export const deserializeAws_ec2EnableEbsEncryptionByDefaultCommand = async (output, context) => {
16351
17185
  if (output.statusCode >= 300) {
16352
17186
  return deserializeAws_ec2EnableEbsEncryptionByDefaultCommandError(output, context);
@@ -16482,6 +17316,33 @@ const deserializeAws_ec2EnableIpamOrganizationAdminAccountCommandError = async (
16482
17316
  errorCode,
16483
17317
  });
16484
17318
  };
17319
+ export const deserializeAws_ec2EnableReachabilityAnalyzerOrganizationSharingCommand = async (output, context) => {
17320
+ if (output.statusCode >= 300) {
17321
+ return deserializeAws_ec2EnableReachabilityAnalyzerOrganizationSharingCommandError(output, context);
17322
+ }
17323
+ const data = await parseBody(output.body, context);
17324
+ let contents = {};
17325
+ contents = deserializeAws_ec2EnableReachabilityAnalyzerOrganizationSharingResult(data, context);
17326
+ const response = {
17327
+ $metadata: deserializeMetadata(output),
17328
+ ...contents,
17329
+ };
17330
+ return Promise.resolve(response);
17331
+ };
17332
+ const deserializeAws_ec2EnableReachabilityAnalyzerOrganizationSharingCommandError = async (output, context) => {
17333
+ const parsedOutput = {
17334
+ ...output,
17335
+ body: await parseErrorBody(output.body, context),
17336
+ };
17337
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
17338
+ const parsedBody = parsedOutput.body;
17339
+ throwDefaultError({
17340
+ output,
17341
+ parsedBody: parsedBody.Errors.Error,
17342
+ exceptionCtor: __BaseException,
17343
+ errorCode,
17344
+ });
17345
+ };
16485
17346
  export const deserializeAws_ec2EnableSerialConsoleAccessCommand = async (output, context) => {
16486
17347
  if (output.statusCode >= 300) {
16487
17348
  return deserializeAws_ec2EnableSerialConsoleAccessCommandError(output, context);
@@ -16800,6 +17661,33 @@ const deserializeAws_ec2GetAssociatedIpv6PoolCidrsCommandError = async (output,
16800
17661
  errorCode,
16801
17662
  });
16802
17663
  };
17664
+ export const deserializeAws_ec2GetAwsNetworkPerformanceDataCommand = async (output, context) => {
17665
+ if (output.statusCode >= 300) {
17666
+ return deserializeAws_ec2GetAwsNetworkPerformanceDataCommandError(output, context);
17667
+ }
17668
+ const data = await parseBody(output.body, context);
17669
+ let contents = {};
17670
+ contents = deserializeAws_ec2GetAwsNetworkPerformanceDataResult(data, context);
17671
+ const response = {
17672
+ $metadata: deserializeMetadata(output),
17673
+ ...contents,
17674
+ };
17675
+ return Promise.resolve(response);
17676
+ };
17677
+ const deserializeAws_ec2GetAwsNetworkPerformanceDataCommandError = async (output, context) => {
17678
+ const parsedOutput = {
17679
+ ...output,
17680
+ body: await parseErrorBody(output.body, context),
17681
+ };
17682
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
17683
+ const parsedBody = parsedOutput.body;
17684
+ throwDefaultError({
17685
+ output,
17686
+ parsedBody: parsedBody.Errors.Error,
17687
+ exceptionCtor: __BaseException,
17688
+ errorCode,
17689
+ });
17690
+ };
16803
17691
  export const deserializeAws_ec2GetCapacityReservationUsageCommand = async (output, context) => {
16804
17692
  if (output.statusCode >= 300) {
16805
17693
  return deserializeAws_ec2GetCapacityReservationUsageCommandError(output, context);
@@ -17691,6 +18579,60 @@ const deserializeAws_ec2GetTransitGatewayRouteTablePropagationsCommandError = as
17691
18579
  errorCode,
17692
18580
  });
17693
18581
  };
18582
+ export const deserializeAws_ec2GetVerifiedAccessEndpointPolicyCommand = async (output, context) => {
18583
+ if (output.statusCode >= 300) {
18584
+ return deserializeAws_ec2GetVerifiedAccessEndpointPolicyCommandError(output, context);
18585
+ }
18586
+ const data = await parseBody(output.body, context);
18587
+ let contents = {};
18588
+ contents = deserializeAws_ec2GetVerifiedAccessEndpointPolicyResult(data, context);
18589
+ const response = {
18590
+ $metadata: deserializeMetadata(output),
18591
+ ...contents,
18592
+ };
18593
+ return Promise.resolve(response);
18594
+ };
18595
+ const deserializeAws_ec2GetVerifiedAccessEndpointPolicyCommandError = async (output, context) => {
18596
+ const parsedOutput = {
18597
+ ...output,
18598
+ body: await parseErrorBody(output.body, context),
18599
+ };
18600
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
18601
+ const parsedBody = parsedOutput.body;
18602
+ throwDefaultError({
18603
+ output,
18604
+ parsedBody: parsedBody.Errors.Error,
18605
+ exceptionCtor: __BaseException,
18606
+ errorCode,
18607
+ });
18608
+ };
18609
+ export const deserializeAws_ec2GetVerifiedAccessGroupPolicyCommand = async (output, context) => {
18610
+ if (output.statusCode >= 300) {
18611
+ return deserializeAws_ec2GetVerifiedAccessGroupPolicyCommandError(output, context);
18612
+ }
18613
+ const data = await parseBody(output.body, context);
18614
+ let contents = {};
18615
+ contents = deserializeAws_ec2GetVerifiedAccessGroupPolicyResult(data, context);
18616
+ const response = {
18617
+ $metadata: deserializeMetadata(output),
18618
+ ...contents,
18619
+ };
18620
+ return Promise.resolve(response);
18621
+ };
18622
+ const deserializeAws_ec2GetVerifiedAccessGroupPolicyCommandError = async (output, context) => {
18623
+ const parsedOutput = {
18624
+ ...output,
18625
+ body: await parseErrorBody(output.body, context),
18626
+ };
18627
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
18628
+ const parsedBody = parsedOutput.body;
18629
+ throwDefaultError({
18630
+ output,
18631
+ parsedBody: parsedBody.Errors.Error,
18632
+ exceptionCtor: __BaseException,
18633
+ errorCode,
18634
+ });
18635
+ };
17694
18636
  export const deserializeAws_ec2GetVpnConnectionDeviceSampleConfigurationCommand = async (output, context) => {
17695
18637
  if (output.statusCode >= 300) {
17696
18638
  return deserializeAws_ec2GetVpnConnectionDeviceSampleConfigurationCommandError(output, context);
@@ -19074,6 +20016,195 @@ const deserializeAws_ec2ModifyTransitGatewayVpcAttachmentCommandError = async (o
19074
20016
  errorCode,
19075
20017
  });
19076
20018
  };
20019
+ export const deserializeAws_ec2ModifyVerifiedAccessEndpointCommand = async (output, context) => {
20020
+ if (output.statusCode >= 300) {
20021
+ return deserializeAws_ec2ModifyVerifiedAccessEndpointCommandError(output, context);
20022
+ }
20023
+ const data = await parseBody(output.body, context);
20024
+ let contents = {};
20025
+ contents = deserializeAws_ec2ModifyVerifiedAccessEndpointResult(data, context);
20026
+ const response = {
20027
+ $metadata: deserializeMetadata(output),
20028
+ ...contents,
20029
+ };
20030
+ return Promise.resolve(response);
20031
+ };
20032
+ const deserializeAws_ec2ModifyVerifiedAccessEndpointCommandError = async (output, context) => {
20033
+ const parsedOutput = {
20034
+ ...output,
20035
+ body: await parseErrorBody(output.body, context),
20036
+ };
20037
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
20038
+ const parsedBody = parsedOutput.body;
20039
+ throwDefaultError({
20040
+ output,
20041
+ parsedBody: parsedBody.Errors.Error,
20042
+ exceptionCtor: __BaseException,
20043
+ errorCode,
20044
+ });
20045
+ };
20046
+ export const deserializeAws_ec2ModifyVerifiedAccessEndpointPolicyCommand = async (output, context) => {
20047
+ if (output.statusCode >= 300) {
20048
+ return deserializeAws_ec2ModifyVerifiedAccessEndpointPolicyCommandError(output, context);
20049
+ }
20050
+ const data = await parseBody(output.body, context);
20051
+ let contents = {};
20052
+ contents = deserializeAws_ec2ModifyVerifiedAccessEndpointPolicyResult(data, context);
20053
+ const response = {
20054
+ $metadata: deserializeMetadata(output),
20055
+ ...contents,
20056
+ };
20057
+ return Promise.resolve(response);
20058
+ };
20059
+ const deserializeAws_ec2ModifyVerifiedAccessEndpointPolicyCommandError = async (output, context) => {
20060
+ const parsedOutput = {
20061
+ ...output,
20062
+ body: await parseErrorBody(output.body, context),
20063
+ };
20064
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
20065
+ const parsedBody = parsedOutput.body;
20066
+ throwDefaultError({
20067
+ output,
20068
+ parsedBody: parsedBody.Errors.Error,
20069
+ exceptionCtor: __BaseException,
20070
+ errorCode,
20071
+ });
20072
+ };
20073
+ export const deserializeAws_ec2ModifyVerifiedAccessGroupCommand = async (output, context) => {
20074
+ if (output.statusCode >= 300) {
20075
+ return deserializeAws_ec2ModifyVerifiedAccessGroupCommandError(output, context);
20076
+ }
20077
+ const data = await parseBody(output.body, context);
20078
+ let contents = {};
20079
+ contents = deserializeAws_ec2ModifyVerifiedAccessGroupResult(data, context);
20080
+ const response = {
20081
+ $metadata: deserializeMetadata(output),
20082
+ ...contents,
20083
+ };
20084
+ return Promise.resolve(response);
20085
+ };
20086
+ const deserializeAws_ec2ModifyVerifiedAccessGroupCommandError = async (output, context) => {
20087
+ const parsedOutput = {
20088
+ ...output,
20089
+ body: await parseErrorBody(output.body, context),
20090
+ };
20091
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
20092
+ const parsedBody = parsedOutput.body;
20093
+ throwDefaultError({
20094
+ output,
20095
+ parsedBody: parsedBody.Errors.Error,
20096
+ exceptionCtor: __BaseException,
20097
+ errorCode,
20098
+ });
20099
+ };
20100
+ export const deserializeAws_ec2ModifyVerifiedAccessGroupPolicyCommand = async (output, context) => {
20101
+ if (output.statusCode >= 300) {
20102
+ return deserializeAws_ec2ModifyVerifiedAccessGroupPolicyCommandError(output, context);
20103
+ }
20104
+ const data = await parseBody(output.body, context);
20105
+ let contents = {};
20106
+ contents = deserializeAws_ec2ModifyVerifiedAccessGroupPolicyResult(data, context);
20107
+ const response = {
20108
+ $metadata: deserializeMetadata(output),
20109
+ ...contents,
20110
+ };
20111
+ return Promise.resolve(response);
20112
+ };
20113
+ const deserializeAws_ec2ModifyVerifiedAccessGroupPolicyCommandError = async (output, context) => {
20114
+ const parsedOutput = {
20115
+ ...output,
20116
+ body: await parseErrorBody(output.body, context),
20117
+ };
20118
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
20119
+ const parsedBody = parsedOutput.body;
20120
+ throwDefaultError({
20121
+ output,
20122
+ parsedBody: parsedBody.Errors.Error,
20123
+ exceptionCtor: __BaseException,
20124
+ errorCode,
20125
+ });
20126
+ };
20127
+ export const deserializeAws_ec2ModifyVerifiedAccessInstanceCommand = async (output, context) => {
20128
+ if (output.statusCode >= 300) {
20129
+ return deserializeAws_ec2ModifyVerifiedAccessInstanceCommandError(output, context);
20130
+ }
20131
+ const data = await parseBody(output.body, context);
20132
+ let contents = {};
20133
+ contents = deserializeAws_ec2ModifyVerifiedAccessInstanceResult(data, context);
20134
+ const response = {
20135
+ $metadata: deserializeMetadata(output),
20136
+ ...contents,
20137
+ };
20138
+ return Promise.resolve(response);
20139
+ };
20140
+ const deserializeAws_ec2ModifyVerifiedAccessInstanceCommandError = async (output, context) => {
20141
+ const parsedOutput = {
20142
+ ...output,
20143
+ body: await parseErrorBody(output.body, context),
20144
+ };
20145
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
20146
+ const parsedBody = parsedOutput.body;
20147
+ throwDefaultError({
20148
+ output,
20149
+ parsedBody: parsedBody.Errors.Error,
20150
+ exceptionCtor: __BaseException,
20151
+ errorCode,
20152
+ });
20153
+ };
20154
+ export const deserializeAws_ec2ModifyVerifiedAccessInstanceLoggingConfigurationCommand = async (output, context) => {
20155
+ if (output.statusCode >= 300) {
20156
+ return deserializeAws_ec2ModifyVerifiedAccessInstanceLoggingConfigurationCommandError(output, context);
20157
+ }
20158
+ const data = await parseBody(output.body, context);
20159
+ let contents = {};
20160
+ contents = deserializeAws_ec2ModifyVerifiedAccessInstanceLoggingConfigurationResult(data, context);
20161
+ const response = {
20162
+ $metadata: deserializeMetadata(output),
20163
+ ...contents,
20164
+ };
20165
+ return Promise.resolve(response);
20166
+ };
20167
+ const deserializeAws_ec2ModifyVerifiedAccessInstanceLoggingConfigurationCommandError = async (output, context) => {
20168
+ const parsedOutput = {
20169
+ ...output,
20170
+ body: await parseErrorBody(output.body, context),
20171
+ };
20172
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
20173
+ const parsedBody = parsedOutput.body;
20174
+ throwDefaultError({
20175
+ output,
20176
+ parsedBody: parsedBody.Errors.Error,
20177
+ exceptionCtor: __BaseException,
20178
+ errorCode,
20179
+ });
20180
+ };
20181
+ export const deserializeAws_ec2ModifyVerifiedAccessTrustProviderCommand = async (output, context) => {
20182
+ if (output.statusCode >= 300) {
20183
+ return deserializeAws_ec2ModifyVerifiedAccessTrustProviderCommandError(output, context);
20184
+ }
20185
+ const data = await parseBody(output.body, context);
20186
+ let contents = {};
20187
+ contents = deserializeAws_ec2ModifyVerifiedAccessTrustProviderResult(data, context);
20188
+ const response = {
20189
+ $metadata: deserializeMetadata(output),
20190
+ ...contents,
20191
+ };
20192
+ return Promise.resolve(response);
20193
+ };
20194
+ const deserializeAws_ec2ModifyVerifiedAccessTrustProviderCommandError = async (output, context) => {
20195
+ const parsedOutput = {
20196
+ ...output,
20197
+ body: await parseErrorBody(output.body, context),
20198
+ };
20199
+ const errorCode = loadEc2ErrorCode(output, parsedOutput.body);
20200
+ const parsedBody = parsedOutput.body;
20201
+ throwDefaultError({
20202
+ output,
20203
+ parsedBody: parsedBody.Errors.Error,
20204
+ exceptionCtor: __BaseException,
20205
+ errorCode,
20206
+ });
20207
+ };
19077
20208
  export const deserializeAws_ec2ModifyVolumeCommand = async (output, context) => {
19078
20209
  if (output.statusCode >= 300) {
19079
20210
  return deserializeAws_ec2ModifyVolumeCommandError(output, context);
@@ -22067,6 +23198,32 @@ const serializeAws_ec2AttachNetworkInterfaceRequest = (input, context) => {
22067
23198
  if (input.NetworkCardIndex != null) {
22068
23199
  entries["NetworkCardIndex"] = input.NetworkCardIndex;
22069
23200
  }
23201
+ if (input.EnaSrdSpecification != null) {
23202
+ const memberEntries = serializeAws_ec2EnaSrdSpecification(input.EnaSrdSpecification, context);
23203
+ Object.entries(memberEntries).forEach(([key, value]) => {
23204
+ const loc = `EnaSrdSpecification.${key}`;
23205
+ entries[loc] = value;
23206
+ });
23207
+ }
23208
+ return entries;
23209
+ };
23210
+ const serializeAws_ec2AttachVerifiedAccessTrustProviderRequest = (input, context) => {
23211
+ const entries = {};
23212
+ if (input.VerifiedAccessInstanceId != null) {
23213
+ entries["VerifiedAccessInstanceId"] = input.VerifiedAccessInstanceId;
23214
+ }
23215
+ if (input.VerifiedAccessTrustProviderId != null) {
23216
+ entries["VerifiedAccessTrustProviderId"] = input.VerifiedAccessTrustProviderId;
23217
+ }
23218
+ if (input.ClientToken === undefined) {
23219
+ input.ClientToken = generateIdempotencyToken();
23220
+ }
23221
+ if (input.ClientToken != null) {
23222
+ entries["ClientToken"] = input.ClientToken;
23223
+ }
23224
+ if (input.DryRun != null) {
23225
+ entries["DryRun"] = input.DryRun;
23226
+ }
22070
23227
  return entries;
22071
23228
  };
22072
23229
  const serializeAws_ec2AttachVolumeRequest = (input, context) => {
@@ -25162,6 +26319,267 @@ const serializeAws_ec2CreateTransitGatewayVpcAttachmentRequestOptions = (input,
25162
26319
  }
25163
26320
  return entries;
25164
26321
  };
26322
+ const serializeAws_ec2CreateVerifiedAccessEndpointEniOptions = (input, context) => {
26323
+ const entries = {};
26324
+ if (input.NetworkInterfaceId != null) {
26325
+ entries["NetworkInterfaceId"] = input.NetworkInterfaceId;
26326
+ }
26327
+ if (input.Protocol != null) {
26328
+ entries["Protocol"] = input.Protocol;
26329
+ }
26330
+ if (input.Port != null) {
26331
+ entries["Port"] = input.Port;
26332
+ }
26333
+ return entries;
26334
+ };
26335
+ const serializeAws_ec2CreateVerifiedAccessEndpointLoadBalancerOptions = (input, context) => {
26336
+ const entries = {};
26337
+ if (input.Protocol != null) {
26338
+ entries["Protocol"] = input.Protocol;
26339
+ }
26340
+ if (input.Port != null) {
26341
+ entries["Port"] = input.Port;
26342
+ }
26343
+ if (input.LoadBalancerArn != null) {
26344
+ entries["LoadBalancerArn"] = input.LoadBalancerArn;
26345
+ }
26346
+ if (input.SubnetIds != null) {
26347
+ const memberEntries = serializeAws_ec2CreateVerifiedAccessEndpointSubnetIdList(input.SubnetIds, context);
26348
+ if (input.SubnetIds?.length === 0) {
26349
+ entries.SubnetId = [];
26350
+ }
26351
+ Object.entries(memberEntries).forEach(([key, value]) => {
26352
+ const loc = `SubnetId.${key.substring(key.indexOf(".") + 1)}`;
26353
+ entries[loc] = value;
26354
+ });
26355
+ }
26356
+ return entries;
26357
+ };
26358
+ const serializeAws_ec2CreateVerifiedAccessEndpointRequest = (input, context) => {
26359
+ const entries = {};
26360
+ if (input.VerifiedAccessGroupId != null) {
26361
+ entries["VerifiedAccessGroupId"] = input.VerifiedAccessGroupId;
26362
+ }
26363
+ if (input.EndpointType != null) {
26364
+ entries["EndpointType"] = input.EndpointType;
26365
+ }
26366
+ if (input.AttachmentType != null) {
26367
+ entries["AttachmentType"] = input.AttachmentType;
26368
+ }
26369
+ if (input.DomainCertificateArn != null) {
26370
+ entries["DomainCertificateArn"] = input.DomainCertificateArn;
26371
+ }
26372
+ if (input.ApplicationDomain != null) {
26373
+ entries["ApplicationDomain"] = input.ApplicationDomain;
26374
+ }
26375
+ if (input.EndpointDomainPrefix != null) {
26376
+ entries["EndpointDomainPrefix"] = input.EndpointDomainPrefix;
26377
+ }
26378
+ if (input.SecurityGroupIds != null) {
26379
+ const memberEntries = serializeAws_ec2SecurityGroupIdList(input.SecurityGroupIds, context);
26380
+ if (input.SecurityGroupIds?.length === 0) {
26381
+ entries.SecurityGroupId = [];
26382
+ }
26383
+ Object.entries(memberEntries).forEach(([key, value]) => {
26384
+ const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`;
26385
+ entries[loc] = value;
26386
+ });
26387
+ }
26388
+ if (input.LoadBalancerOptions != null) {
26389
+ const memberEntries = serializeAws_ec2CreateVerifiedAccessEndpointLoadBalancerOptions(input.LoadBalancerOptions, context);
26390
+ Object.entries(memberEntries).forEach(([key, value]) => {
26391
+ const loc = `LoadBalancerOptions.${key}`;
26392
+ entries[loc] = value;
26393
+ });
26394
+ }
26395
+ if (input.NetworkInterfaceOptions != null) {
26396
+ const memberEntries = serializeAws_ec2CreateVerifiedAccessEndpointEniOptions(input.NetworkInterfaceOptions, context);
26397
+ Object.entries(memberEntries).forEach(([key, value]) => {
26398
+ const loc = `NetworkInterfaceOptions.${key}`;
26399
+ entries[loc] = value;
26400
+ });
26401
+ }
26402
+ if (input.Description != null) {
26403
+ entries["Description"] = input.Description;
26404
+ }
26405
+ if (input.PolicyDocument != null) {
26406
+ entries["PolicyDocument"] = input.PolicyDocument;
26407
+ }
26408
+ if (input.TagSpecifications != null) {
26409
+ const memberEntries = serializeAws_ec2TagSpecificationList(input.TagSpecifications, context);
26410
+ if (input.TagSpecifications?.length === 0) {
26411
+ entries.TagSpecification = [];
26412
+ }
26413
+ Object.entries(memberEntries).forEach(([key, value]) => {
26414
+ const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`;
26415
+ entries[loc] = value;
26416
+ });
26417
+ }
26418
+ if (input.ClientToken === undefined) {
26419
+ input.ClientToken = generateIdempotencyToken();
26420
+ }
26421
+ if (input.ClientToken != null) {
26422
+ entries["ClientToken"] = input.ClientToken;
26423
+ }
26424
+ if (input.DryRun != null) {
26425
+ entries["DryRun"] = input.DryRun;
26426
+ }
26427
+ return entries;
26428
+ };
26429
+ const serializeAws_ec2CreateVerifiedAccessEndpointSubnetIdList = (input, context) => {
26430
+ const entries = {};
26431
+ let counter = 1;
26432
+ for (const entry of input) {
26433
+ if (entry === null) {
26434
+ continue;
26435
+ }
26436
+ entries[`Item.${counter}`] = entry;
26437
+ counter++;
26438
+ }
26439
+ return entries;
26440
+ };
26441
+ const serializeAws_ec2CreateVerifiedAccessGroupRequest = (input, context) => {
26442
+ const entries = {};
26443
+ if (input.VerifiedAccessInstanceId != null) {
26444
+ entries["VerifiedAccessInstanceId"] = input.VerifiedAccessInstanceId;
26445
+ }
26446
+ if (input.Description != null) {
26447
+ entries["Description"] = input.Description;
26448
+ }
26449
+ if (input.PolicyDocument != null) {
26450
+ entries["PolicyDocument"] = input.PolicyDocument;
26451
+ }
26452
+ if (input.TagSpecifications != null) {
26453
+ const memberEntries = serializeAws_ec2TagSpecificationList(input.TagSpecifications, context);
26454
+ if (input.TagSpecifications?.length === 0) {
26455
+ entries.TagSpecification = [];
26456
+ }
26457
+ Object.entries(memberEntries).forEach(([key, value]) => {
26458
+ const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`;
26459
+ entries[loc] = value;
26460
+ });
26461
+ }
26462
+ if (input.ClientToken === undefined) {
26463
+ input.ClientToken = generateIdempotencyToken();
26464
+ }
26465
+ if (input.ClientToken != null) {
26466
+ entries["ClientToken"] = input.ClientToken;
26467
+ }
26468
+ if (input.DryRun != null) {
26469
+ entries["DryRun"] = input.DryRun;
26470
+ }
26471
+ return entries;
26472
+ };
26473
+ const serializeAws_ec2CreateVerifiedAccessInstanceRequest = (input, context) => {
26474
+ const entries = {};
26475
+ if (input.Description != null) {
26476
+ entries["Description"] = input.Description;
26477
+ }
26478
+ if (input.TagSpecifications != null) {
26479
+ const memberEntries = serializeAws_ec2TagSpecificationList(input.TagSpecifications, context);
26480
+ if (input.TagSpecifications?.length === 0) {
26481
+ entries.TagSpecification = [];
26482
+ }
26483
+ Object.entries(memberEntries).forEach(([key, value]) => {
26484
+ const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`;
26485
+ entries[loc] = value;
26486
+ });
26487
+ }
26488
+ if (input.ClientToken === undefined) {
26489
+ input.ClientToken = generateIdempotencyToken();
26490
+ }
26491
+ if (input.ClientToken != null) {
26492
+ entries["ClientToken"] = input.ClientToken;
26493
+ }
26494
+ if (input.DryRun != null) {
26495
+ entries["DryRun"] = input.DryRun;
26496
+ }
26497
+ return entries;
26498
+ };
26499
+ const serializeAws_ec2CreateVerifiedAccessTrustProviderDeviceOptions = (input, context) => {
26500
+ const entries = {};
26501
+ if (input.TenantId != null) {
26502
+ entries["TenantId"] = input.TenantId;
26503
+ }
26504
+ return entries;
26505
+ };
26506
+ const serializeAws_ec2CreateVerifiedAccessTrustProviderOidcOptions = (input, context) => {
26507
+ const entries = {};
26508
+ if (input.Issuer != null) {
26509
+ entries["Issuer"] = input.Issuer;
26510
+ }
26511
+ if (input.AuthorizationEndpoint != null) {
26512
+ entries["AuthorizationEndpoint"] = input.AuthorizationEndpoint;
26513
+ }
26514
+ if (input.TokenEndpoint != null) {
26515
+ entries["TokenEndpoint"] = input.TokenEndpoint;
26516
+ }
26517
+ if (input.UserInfoEndpoint != null) {
26518
+ entries["UserInfoEndpoint"] = input.UserInfoEndpoint;
26519
+ }
26520
+ if (input.ClientId != null) {
26521
+ entries["ClientId"] = input.ClientId;
26522
+ }
26523
+ if (input.ClientSecret != null) {
26524
+ entries["ClientSecret"] = input.ClientSecret;
26525
+ }
26526
+ if (input.Scope != null) {
26527
+ entries["Scope"] = input.Scope;
26528
+ }
26529
+ return entries;
26530
+ };
26531
+ const serializeAws_ec2CreateVerifiedAccessTrustProviderRequest = (input, context) => {
26532
+ const entries = {};
26533
+ if (input.TrustProviderType != null) {
26534
+ entries["TrustProviderType"] = input.TrustProviderType;
26535
+ }
26536
+ if (input.UserTrustProviderType != null) {
26537
+ entries["UserTrustProviderType"] = input.UserTrustProviderType;
26538
+ }
26539
+ if (input.DeviceTrustProviderType != null) {
26540
+ entries["DeviceTrustProviderType"] = input.DeviceTrustProviderType;
26541
+ }
26542
+ if (input.OidcOptions != null) {
26543
+ const memberEntries = serializeAws_ec2CreateVerifiedAccessTrustProviderOidcOptions(input.OidcOptions, context);
26544
+ Object.entries(memberEntries).forEach(([key, value]) => {
26545
+ const loc = `OidcOptions.${key}`;
26546
+ entries[loc] = value;
26547
+ });
26548
+ }
26549
+ if (input.DeviceOptions != null) {
26550
+ const memberEntries = serializeAws_ec2CreateVerifiedAccessTrustProviderDeviceOptions(input.DeviceOptions, context);
26551
+ Object.entries(memberEntries).forEach(([key, value]) => {
26552
+ const loc = `DeviceOptions.${key}`;
26553
+ entries[loc] = value;
26554
+ });
26555
+ }
26556
+ if (input.PolicyReferenceName != null) {
26557
+ entries["PolicyReferenceName"] = input.PolicyReferenceName;
26558
+ }
26559
+ if (input.Description != null) {
26560
+ entries["Description"] = input.Description;
26561
+ }
26562
+ if (input.TagSpecifications != null) {
26563
+ const memberEntries = serializeAws_ec2TagSpecificationList(input.TagSpecifications, context);
26564
+ if (input.TagSpecifications?.length === 0) {
26565
+ entries.TagSpecification = [];
26566
+ }
26567
+ Object.entries(memberEntries).forEach(([key, value]) => {
26568
+ const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`;
26569
+ entries[loc] = value;
26570
+ });
26571
+ }
26572
+ if (input.ClientToken === undefined) {
26573
+ input.ClientToken = generateIdempotencyToken();
26574
+ }
26575
+ if (input.ClientToken != null) {
26576
+ entries["ClientToken"] = input.ClientToken;
26577
+ }
26578
+ if (input.DryRun != null) {
26579
+ entries["DryRun"] = input.DryRun;
26580
+ }
26581
+ return entries;
26582
+ };
25165
26583
  const serializeAws_ec2CreateVolumePermission = (input, context) => {
25166
26584
  const entries = {};
25167
26585
  if (input.Group != null) {
@@ -25591,6 +27009,43 @@ const serializeAws_ec2CustomerGatewayIdStringList = (input, context) => {
25591
27009
  }
25592
27010
  return entries;
25593
27011
  };
27012
+ const serializeAws_ec2DataQueries = (input, context) => {
27013
+ const entries = {};
27014
+ let counter = 1;
27015
+ for (const entry of input) {
27016
+ if (entry === null) {
27017
+ continue;
27018
+ }
27019
+ const memberEntries = serializeAws_ec2DataQuery(entry, context);
27020
+ Object.entries(memberEntries).forEach(([key, value]) => {
27021
+ entries[`Member.${counter}.${key}`] = value;
27022
+ });
27023
+ counter++;
27024
+ }
27025
+ return entries;
27026
+ };
27027
+ const serializeAws_ec2DataQuery = (input, context) => {
27028
+ const entries = {};
27029
+ if (input.Id != null) {
27030
+ entries["Id"] = input.Id;
27031
+ }
27032
+ if (input.Source != null) {
27033
+ entries["Source"] = input.Source;
27034
+ }
27035
+ if (input.Destination != null) {
27036
+ entries["Destination"] = input.Destination;
27037
+ }
27038
+ if (input.Metric != null) {
27039
+ entries["Metric"] = input.Metric;
27040
+ }
27041
+ if (input.Statistic != null) {
27042
+ entries["Statistic"] = input.Statistic;
27043
+ }
27044
+ if (input.Period != null) {
27045
+ entries["Period"] = input.Period;
27046
+ }
27047
+ return entries;
27048
+ };
25594
27049
  const serializeAws_ec2DedicatedHostIdList = (input, context) => {
25595
27050
  const entries = {};
25596
27051
  let counter = 1;
@@ -26308,6 +27763,70 @@ const serializeAws_ec2DeleteTransitGatewayVpcAttachmentRequest = (input, context
26308
27763
  }
26309
27764
  return entries;
26310
27765
  };
27766
+ const serializeAws_ec2DeleteVerifiedAccessEndpointRequest = (input, context) => {
27767
+ const entries = {};
27768
+ if (input.VerifiedAccessEndpointId != null) {
27769
+ entries["VerifiedAccessEndpointId"] = input.VerifiedAccessEndpointId;
27770
+ }
27771
+ if (input.ClientToken === undefined) {
27772
+ input.ClientToken = generateIdempotencyToken();
27773
+ }
27774
+ if (input.ClientToken != null) {
27775
+ entries["ClientToken"] = input.ClientToken;
27776
+ }
27777
+ if (input.DryRun != null) {
27778
+ entries["DryRun"] = input.DryRun;
27779
+ }
27780
+ return entries;
27781
+ };
27782
+ const serializeAws_ec2DeleteVerifiedAccessGroupRequest = (input, context) => {
27783
+ const entries = {};
27784
+ if (input.VerifiedAccessGroupId != null) {
27785
+ entries["VerifiedAccessGroupId"] = input.VerifiedAccessGroupId;
27786
+ }
27787
+ if (input.ClientToken === undefined) {
27788
+ input.ClientToken = generateIdempotencyToken();
27789
+ }
27790
+ if (input.ClientToken != null) {
27791
+ entries["ClientToken"] = input.ClientToken;
27792
+ }
27793
+ if (input.DryRun != null) {
27794
+ entries["DryRun"] = input.DryRun;
27795
+ }
27796
+ return entries;
27797
+ };
27798
+ const serializeAws_ec2DeleteVerifiedAccessInstanceRequest = (input, context) => {
27799
+ const entries = {};
27800
+ if (input.VerifiedAccessInstanceId != null) {
27801
+ entries["VerifiedAccessInstanceId"] = input.VerifiedAccessInstanceId;
27802
+ }
27803
+ if (input.DryRun != null) {
27804
+ entries["DryRun"] = input.DryRun;
27805
+ }
27806
+ if (input.ClientToken === undefined) {
27807
+ input.ClientToken = generateIdempotencyToken();
27808
+ }
27809
+ if (input.ClientToken != null) {
27810
+ entries["ClientToken"] = input.ClientToken;
27811
+ }
27812
+ return entries;
27813
+ };
27814
+ const serializeAws_ec2DeleteVerifiedAccessTrustProviderRequest = (input, context) => {
27815
+ const entries = {};
27816
+ if (input.VerifiedAccessTrustProviderId != null) {
27817
+ entries["VerifiedAccessTrustProviderId"] = input.VerifiedAccessTrustProviderId;
27818
+ }
27819
+ if (input.DryRun != null) {
27820
+ entries["DryRun"] = input.DryRun;
27821
+ }
27822
+ if (input.ClientToken === undefined) {
27823
+ input.ClientToken = generateIdempotencyToken();
27824
+ }
27825
+ if (input.ClientToken != null) {
27826
+ entries["ClientToken"] = input.ClientToken;
27827
+ }
27828
+ return entries;
27829
+ };
26311
27830
  const serializeAws_ec2DeleteVolumeRequest = (input, context) => {
26312
27831
  const entries = {};
26313
27832
  if (input.VolumeId != null) {
@@ -26692,6 +28211,29 @@ const serializeAws_ec2DescribeAvailabilityZonesRequest = (input, context) => {
26692
28211
  }
26693
28212
  return entries;
26694
28213
  };
28214
+ const serializeAws_ec2DescribeAwsNetworkPerformanceMetricSubscriptionsRequest = (input, context) => {
28215
+ const entries = {};
28216
+ if (input.MaxResults != null) {
28217
+ entries["MaxResults"] = input.MaxResults;
28218
+ }
28219
+ if (input.NextToken != null) {
28220
+ entries["NextToken"] = input.NextToken;
28221
+ }
28222
+ if (input.Filters != null) {
28223
+ const memberEntries = serializeAws_ec2FilterList(input.Filters, context);
28224
+ if (input.Filters?.length === 0) {
28225
+ entries.Filter = [];
28226
+ }
28227
+ Object.entries(memberEntries).forEach(([key, value]) => {
28228
+ const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`;
28229
+ entries[loc] = value;
28230
+ });
28231
+ }
28232
+ if (input.DryRun != null) {
28233
+ entries["DryRun"] = input.DryRun;
28234
+ }
28235
+ return entries;
28236
+ };
26695
28237
  const serializeAws_ec2DescribeBundleTasksRequest = (input, context) => {
26696
28238
  const entries = {};
26697
28239
  if (input.BundleIds != null) {
@@ -29848,7 +31390,238 @@ const serializeAws_ec2DescribeTransitGatewayConnectPeersRequest = (input, contex
29848
31390
  }
29849
31391
  return entries;
29850
31392
  };
29851
- const serializeAws_ec2DescribeTransitGatewayConnectsRequest = (input, context) => {
31393
+ const serializeAws_ec2DescribeTransitGatewayConnectsRequest = (input, context) => {
31394
+ const entries = {};
31395
+ if (input.TransitGatewayAttachmentIds != null) {
31396
+ const memberEntries = serializeAws_ec2TransitGatewayAttachmentIdStringList(input.TransitGatewayAttachmentIds, context);
31397
+ if (input.TransitGatewayAttachmentIds?.length === 0) {
31398
+ entries.TransitGatewayAttachmentIds = [];
31399
+ }
31400
+ Object.entries(memberEntries).forEach(([key, value]) => {
31401
+ const loc = `TransitGatewayAttachmentIds.${key.substring(key.indexOf(".") + 1)}`;
31402
+ entries[loc] = value;
31403
+ });
31404
+ }
31405
+ if (input.Filters != null) {
31406
+ const memberEntries = serializeAws_ec2FilterList(input.Filters, context);
31407
+ if (input.Filters?.length === 0) {
31408
+ entries.Filter = [];
31409
+ }
31410
+ Object.entries(memberEntries).forEach(([key, value]) => {
31411
+ const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`;
31412
+ entries[loc] = value;
31413
+ });
31414
+ }
31415
+ if (input.MaxResults != null) {
31416
+ entries["MaxResults"] = input.MaxResults;
31417
+ }
31418
+ if (input.NextToken != null) {
31419
+ entries["NextToken"] = input.NextToken;
31420
+ }
31421
+ if (input.DryRun != null) {
31422
+ entries["DryRun"] = input.DryRun;
31423
+ }
31424
+ return entries;
31425
+ };
31426
+ const serializeAws_ec2DescribeTransitGatewayMulticastDomainsRequest = (input, context) => {
31427
+ const entries = {};
31428
+ if (input.TransitGatewayMulticastDomainIds != null) {
31429
+ const memberEntries = serializeAws_ec2TransitGatewayMulticastDomainIdStringList(input.TransitGatewayMulticastDomainIds, context);
31430
+ if (input.TransitGatewayMulticastDomainIds?.length === 0) {
31431
+ entries.TransitGatewayMulticastDomainIds = [];
31432
+ }
31433
+ Object.entries(memberEntries).forEach(([key, value]) => {
31434
+ const loc = `TransitGatewayMulticastDomainIds.${key.substring(key.indexOf(".") + 1)}`;
31435
+ entries[loc] = value;
31436
+ });
31437
+ }
31438
+ if (input.Filters != null) {
31439
+ const memberEntries = serializeAws_ec2FilterList(input.Filters, context);
31440
+ if (input.Filters?.length === 0) {
31441
+ entries.Filter = [];
31442
+ }
31443
+ Object.entries(memberEntries).forEach(([key, value]) => {
31444
+ const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`;
31445
+ entries[loc] = value;
31446
+ });
31447
+ }
31448
+ if (input.MaxResults != null) {
31449
+ entries["MaxResults"] = input.MaxResults;
31450
+ }
31451
+ if (input.NextToken != null) {
31452
+ entries["NextToken"] = input.NextToken;
31453
+ }
31454
+ if (input.DryRun != null) {
31455
+ entries["DryRun"] = input.DryRun;
31456
+ }
31457
+ return entries;
31458
+ };
31459
+ const serializeAws_ec2DescribeTransitGatewayPeeringAttachmentsRequest = (input, context) => {
31460
+ const entries = {};
31461
+ if (input.TransitGatewayAttachmentIds != null) {
31462
+ const memberEntries = serializeAws_ec2TransitGatewayAttachmentIdStringList(input.TransitGatewayAttachmentIds, context);
31463
+ if (input.TransitGatewayAttachmentIds?.length === 0) {
31464
+ entries.TransitGatewayAttachmentIds = [];
31465
+ }
31466
+ Object.entries(memberEntries).forEach(([key, value]) => {
31467
+ const loc = `TransitGatewayAttachmentIds.${key.substring(key.indexOf(".") + 1)}`;
31468
+ entries[loc] = value;
31469
+ });
31470
+ }
31471
+ if (input.Filters != null) {
31472
+ const memberEntries = serializeAws_ec2FilterList(input.Filters, context);
31473
+ if (input.Filters?.length === 0) {
31474
+ entries.Filter = [];
31475
+ }
31476
+ Object.entries(memberEntries).forEach(([key, value]) => {
31477
+ const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`;
31478
+ entries[loc] = value;
31479
+ });
31480
+ }
31481
+ if (input.MaxResults != null) {
31482
+ entries["MaxResults"] = input.MaxResults;
31483
+ }
31484
+ if (input.NextToken != null) {
31485
+ entries["NextToken"] = input.NextToken;
31486
+ }
31487
+ if (input.DryRun != null) {
31488
+ entries["DryRun"] = input.DryRun;
31489
+ }
31490
+ return entries;
31491
+ };
31492
+ const serializeAws_ec2DescribeTransitGatewayPolicyTablesRequest = (input, context) => {
31493
+ const entries = {};
31494
+ if (input.TransitGatewayPolicyTableIds != null) {
31495
+ const memberEntries = serializeAws_ec2TransitGatewayPolicyTableIdStringList(input.TransitGatewayPolicyTableIds, context);
31496
+ if (input.TransitGatewayPolicyTableIds?.length === 0) {
31497
+ entries.TransitGatewayPolicyTableIds = [];
31498
+ }
31499
+ Object.entries(memberEntries).forEach(([key, value]) => {
31500
+ const loc = `TransitGatewayPolicyTableIds.${key.substring(key.indexOf(".") + 1)}`;
31501
+ entries[loc] = value;
31502
+ });
31503
+ }
31504
+ if (input.Filters != null) {
31505
+ const memberEntries = serializeAws_ec2FilterList(input.Filters, context);
31506
+ if (input.Filters?.length === 0) {
31507
+ entries.Filter = [];
31508
+ }
31509
+ Object.entries(memberEntries).forEach(([key, value]) => {
31510
+ const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`;
31511
+ entries[loc] = value;
31512
+ });
31513
+ }
31514
+ if (input.MaxResults != null) {
31515
+ entries["MaxResults"] = input.MaxResults;
31516
+ }
31517
+ if (input.NextToken != null) {
31518
+ entries["NextToken"] = input.NextToken;
31519
+ }
31520
+ if (input.DryRun != null) {
31521
+ entries["DryRun"] = input.DryRun;
31522
+ }
31523
+ return entries;
31524
+ };
31525
+ const serializeAws_ec2DescribeTransitGatewayRouteTableAnnouncementsRequest = (input, context) => {
31526
+ const entries = {};
31527
+ if (input.TransitGatewayRouteTableAnnouncementIds != null) {
31528
+ const memberEntries = serializeAws_ec2TransitGatewayRouteTableAnnouncementIdStringList(input.TransitGatewayRouteTableAnnouncementIds, context);
31529
+ if (input.TransitGatewayRouteTableAnnouncementIds?.length === 0) {
31530
+ entries.TransitGatewayRouteTableAnnouncementIds = [];
31531
+ }
31532
+ Object.entries(memberEntries).forEach(([key, value]) => {
31533
+ const loc = `TransitGatewayRouteTableAnnouncementIds.${key.substring(key.indexOf(".") + 1)}`;
31534
+ entries[loc] = value;
31535
+ });
31536
+ }
31537
+ if (input.Filters != null) {
31538
+ const memberEntries = serializeAws_ec2FilterList(input.Filters, context);
31539
+ if (input.Filters?.length === 0) {
31540
+ entries.Filter = [];
31541
+ }
31542
+ Object.entries(memberEntries).forEach(([key, value]) => {
31543
+ const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`;
31544
+ entries[loc] = value;
31545
+ });
31546
+ }
31547
+ if (input.MaxResults != null) {
31548
+ entries["MaxResults"] = input.MaxResults;
31549
+ }
31550
+ if (input.NextToken != null) {
31551
+ entries["NextToken"] = input.NextToken;
31552
+ }
31553
+ if (input.DryRun != null) {
31554
+ entries["DryRun"] = input.DryRun;
31555
+ }
31556
+ return entries;
31557
+ };
31558
+ const serializeAws_ec2DescribeTransitGatewayRouteTablesRequest = (input, context) => {
31559
+ const entries = {};
31560
+ if (input.TransitGatewayRouteTableIds != null) {
31561
+ const memberEntries = serializeAws_ec2TransitGatewayRouteTableIdStringList(input.TransitGatewayRouteTableIds, context);
31562
+ if (input.TransitGatewayRouteTableIds?.length === 0) {
31563
+ entries.TransitGatewayRouteTableIds = [];
31564
+ }
31565
+ Object.entries(memberEntries).forEach(([key, value]) => {
31566
+ const loc = `TransitGatewayRouteTableIds.${key.substring(key.indexOf(".") + 1)}`;
31567
+ entries[loc] = value;
31568
+ });
31569
+ }
31570
+ if (input.Filters != null) {
31571
+ const memberEntries = serializeAws_ec2FilterList(input.Filters, context);
31572
+ if (input.Filters?.length === 0) {
31573
+ entries.Filter = [];
31574
+ }
31575
+ Object.entries(memberEntries).forEach(([key, value]) => {
31576
+ const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`;
31577
+ entries[loc] = value;
31578
+ });
31579
+ }
31580
+ if (input.MaxResults != null) {
31581
+ entries["MaxResults"] = input.MaxResults;
31582
+ }
31583
+ if (input.NextToken != null) {
31584
+ entries["NextToken"] = input.NextToken;
31585
+ }
31586
+ if (input.DryRun != null) {
31587
+ entries["DryRun"] = input.DryRun;
31588
+ }
31589
+ return entries;
31590
+ };
31591
+ const serializeAws_ec2DescribeTransitGatewaysRequest = (input, context) => {
31592
+ const entries = {};
31593
+ if (input.TransitGatewayIds != null) {
31594
+ const memberEntries = serializeAws_ec2TransitGatewayIdStringList(input.TransitGatewayIds, context);
31595
+ if (input.TransitGatewayIds?.length === 0) {
31596
+ entries.TransitGatewayIds = [];
31597
+ }
31598
+ Object.entries(memberEntries).forEach(([key, value]) => {
31599
+ const loc = `TransitGatewayIds.${key.substring(key.indexOf(".") + 1)}`;
31600
+ entries[loc] = value;
31601
+ });
31602
+ }
31603
+ if (input.Filters != null) {
31604
+ const memberEntries = serializeAws_ec2FilterList(input.Filters, context);
31605
+ if (input.Filters?.length === 0) {
31606
+ entries.Filter = [];
31607
+ }
31608
+ Object.entries(memberEntries).forEach(([key, value]) => {
31609
+ const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`;
31610
+ entries[loc] = value;
31611
+ });
31612
+ }
31613
+ if (input.MaxResults != null) {
31614
+ entries["MaxResults"] = input.MaxResults;
31615
+ }
31616
+ if (input.NextToken != null) {
31617
+ entries["NextToken"] = input.NextToken;
31618
+ }
31619
+ if (input.DryRun != null) {
31620
+ entries["DryRun"] = input.DryRun;
31621
+ }
31622
+ return entries;
31623
+ };
31624
+ const serializeAws_ec2DescribeTransitGatewayVpcAttachmentsRequest = (input, context) => {
29852
31625
  const entries = {};
29853
31626
  if (input.TransitGatewayAttachmentIds != null) {
29854
31627
  const memberEntries = serializeAws_ec2TransitGatewayAttachmentIdStringList(input.TransitGatewayAttachmentIds, context);
@@ -29881,18 +31654,21 @@ const serializeAws_ec2DescribeTransitGatewayConnectsRequest = (input, context) =
29881
31654
  }
29882
31655
  return entries;
29883
31656
  };
29884
- const serializeAws_ec2DescribeTransitGatewayMulticastDomainsRequest = (input, context) => {
31657
+ const serializeAws_ec2DescribeTrunkInterfaceAssociationsRequest = (input, context) => {
29885
31658
  const entries = {};
29886
- if (input.TransitGatewayMulticastDomainIds != null) {
29887
- const memberEntries = serializeAws_ec2TransitGatewayMulticastDomainIdStringList(input.TransitGatewayMulticastDomainIds, context);
29888
- if (input.TransitGatewayMulticastDomainIds?.length === 0) {
29889
- entries.TransitGatewayMulticastDomainIds = [];
31659
+ if (input.AssociationIds != null) {
31660
+ const memberEntries = serializeAws_ec2TrunkInterfaceAssociationIdList(input.AssociationIds, context);
31661
+ if (input.AssociationIds?.length === 0) {
31662
+ entries.AssociationId = [];
29890
31663
  }
29891
31664
  Object.entries(memberEntries).forEach(([key, value]) => {
29892
- const loc = `TransitGatewayMulticastDomainIds.${key.substring(key.indexOf(".") + 1)}`;
31665
+ const loc = `AssociationId.${key.substring(key.indexOf(".") + 1)}`;
29893
31666
  entries[loc] = value;
29894
31667
  });
29895
31668
  }
31669
+ if (input.DryRun != null) {
31670
+ entries["DryRun"] = input.DryRun;
31671
+ }
29896
31672
  if (input.Filters != null) {
29897
31673
  const memberEntries = serializeAws_ec2FilterList(input.Filters, context);
29898
31674
  if (input.Filters?.length === 0) {
@@ -29903,38 +31679,31 @@ const serializeAws_ec2DescribeTransitGatewayMulticastDomainsRequest = (input, co
29903
31679
  entries[loc] = value;
29904
31680
  });
29905
31681
  }
29906
- if (input.MaxResults != null) {
29907
- entries["MaxResults"] = input.MaxResults;
29908
- }
29909
31682
  if (input.NextToken != null) {
29910
31683
  entries["NextToken"] = input.NextToken;
29911
31684
  }
29912
- if (input.DryRun != null) {
29913
- entries["DryRun"] = input.DryRun;
31685
+ if (input.MaxResults != null) {
31686
+ entries["MaxResults"] = input.MaxResults;
29914
31687
  }
29915
31688
  return entries;
29916
31689
  };
29917
- const serializeAws_ec2DescribeTransitGatewayPeeringAttachmentsRequest = (input, context) => {
31690
+ const serializeAws_ec2DescribeVerifiedAccessEndpointsRequest = (input, context) => {
29918
31691
  const entries = {};
29919
- if (input.TransitGatewayAttachmentIds != null) {
29920
- const memberEntries = serializeAws_ec2TransitGatewayAttachmentIdStringList(input.TransitGatewayAttachmentIds, context);
29921
- if (input.TransitGatewayAttachmentIds?.length === 0) {
29922
- entries.TransitGatewayAttachmentIds = [];
31692
+ if (input.VerifiedAccessEndpointIds != null) {
31693
+ const memberEntries = serializeAws_ec2VerifiedAccessEndpointIdList(input.VerifiedAccessEndpointIds, context);
31694
+ if (input.VerifiedAccessEndpointIds?.length === 0) {
31695
+ entries.VerifiedAccessEndpointId = [];
29923
31696
  }
29924
31697
  Object.entries(memberEntries).forEach(([key, value]) => {
29925
- const loc = `TransitGatewayAttachmentIds.${key.substring(key.indexOf(".") + 1)}`;
31698
+ const loc = `VerifiedAccessEndpointId.${key.substring(key.indexOf(".") + 1)}`;
29926
31699
  entries[loc] = value;
29927
31700
  });
29928
31701
  }
29929
- if (input.Filters != null) {
29930
- const memberEntries = serializeAws_ec2FilterList(input.Filters, context);
29931
- if (input.Filters?.length === 0) {
29932
- entries.Filter = [];
29933
- }
29934
- Object.entries(memberEntries).forEach(([key, value]) => {
29935
- const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`;
29936
- entries[loc] = value;
29937
- });
31702
+ if (input.VerifiedAccessInstanceId != null) {
31703
+ entries["VerifiedAccessInstanceId"] = input.VerifiedAccessInstanceId;
31704
+ }
31705
+ if (input.VerifiedAccessGroupId != null) {
31706
+ entries["VerifiedAccessGroupId"] = input.VerifiedAccessGroupId;
29938
31707
  }
29939
31708
  if (input.MaxResults != null) {
29940
31709
  entries["MaxResults"] = input.MaxResults;
@@ -29942,23 +31711,6 @@ const serializeAws_ec2DescribeTransitGatewayPeeringAttachmentsRequest = (input,
29942
31711
  if (input.NextToken != null) {
29943
31712
  entries["NextToken"] = input.NextToken;
29944
31713
  }
29945
- if (input.DryRun != null) {
29946
- entries["DryRun"] = input.DryRun;
29947
- }
29948
- return entries;
29949
- };
29950
- const serializeAws_ec2DescribeTransitGatewayPolicyTablesRequest = (input, context) => {
29951
- const entries = {};
29952
- if (input.TransitGatewayPolicyTableIds != null) {
29953
- const memberEntries = serializeAws_ec2TransitGatewayPolicyTableIdStringList(input.TransitGatewayPolicyTableIds, context);
29954
- if (input.TransitGatewayPolicyTableIds?.length === 0) {
29955
- entries.TransitGatewayPolicyTableIds = [];
29956
- }
29957
- Object.entries(memberEntries).forEach(([key, value]) => {
29958
- const loc = `TransitGatewayPolicyTableIds.${key.substring(key.indexOf(".") + 1)}`;
29959
- entries[loc] = value;
29960
- });
29961
- }
29962
31714
  if (input.Filters != null) {
29963
31715
  const memberEntries = serializeAws_ec2FilterList(input.Filters, context);
29964
31716
  if (input.Filters?.length === 0) {
@@ -29969,38 +31721,25 @@ const serializeAws_ec2DescribeTransitGatewayPolicyTablesRequest = (input, contex
29969
31721
  entries[loc] = value;
29970
31722
  });
29971
31723
  }
29972
- if (input.MaxResults != null) {
29973
- entries["MaxResults"] = input.MaxResults;
29974
- }
29975
- if (input.NextToken != null) {
29976
- entries["NextToken"] = input.NextToken;
29977
- }
29978
31724
  if (input.DryRun != null) {
29979
31725
  entries["DryRun"] = input.DryRun;
29980
31726
  }
29981
31727
  return entries;
29982
31728
  };
29983
- const serializeAws_ec2DescribeTransitGatewayRouteTableAnnouncementsRequest = (input, context) => {
31729
+ const serializeAws_ec2DescribeVerifiedAccessGroupsRequest = (input, context) => {
29984
31730
  const entries = {};
29985
- if (input.TransitGatewayRouteTableAnnouncementIds != null) {
29986
- const memberEntries = serializeAws_ec2TransitGatewayRouteTableAnnouncementIdStringList(input.TransitGatewayRouteTableAnnouncementIds, context);
29987
- if (input.TransitGatewayRouteTableAnnouncementIds?.length === 0) {
29988
- entries.TransitGatewayRouteTableAnnouncementIds = [];
31731
+ if (input.VerifiedAccessGroupIds != null) {
31732
+ const memberEntries = serializeAws_ec2VerifiedAccessGroupIdList(input.VerifiedAccessGroupIds, context);
31733
+ if (input.VerifiedAccessGroupIds?.length === 0) {
31734
+ entries.VerifiedAccessGroupId = [];
29989
31735
  }
29990
31736
  Object.entries(memberEntries).forEach(([key, value]) => {
29991
- const loc = `TransitGatewayRouteTableAnnouncementIds.${key.substring(key.indexOf(".") + 1)}`;
31737
+ const loc = `VerifiedAccessGroupId.${key.substring(key.indexOf(".") + 1)}`;
29992
31738
  entries[loc] = value;
29993
31739
  });
29994
31740
  }
29995
- if (input.Filters != null) {
29996
- const memberEntries = serializeAws_ec2FilterList(input.Filters, context);
29997
- if (input.Filters?.length === 0) {
29998
- entries.Filter = [];
29999
- }
30000
- Object.entries(memberEntries).forEach(([key, value]) => {
30001
- const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`;
30002
- entries[loc] = value;
30003
- });
31741
+ if (input.VerifiedAccessInstanceId != null) {
31742
+ entries["VerifiedAccessInstanceId"] = input.VerifiedAccessInstanceId;
30004
31743
  }
30005
31744
  if (input.MaxResults != null) {
30006
31745
  entries["MaxResults"] = input.MaxResults;
@@ -30008,23 +31747,6 @@ const serializeAws_ec2DescribeTransitGatewayRouteTableAnnouncementsRequest = (in
30008
31747
  if (input.NextToken != null) {
30009
31748
  entries["NextToken"] = input.NextToken;
30010
31749
  }
30011
- if (input.DryRun != null) {
30012
- entries["DryRun"] = input.DryRun;
30013
- }
30014
- return entries;
30015
- };
30016
- const serializeAws_ec2DescribeTransitGatewayRouteTablesRequest = (input, context) => {
30017
- const entries = {};
30018
- if (input.TransitGatewayRouteTableIds != null) {
30019
- const memberEntries = serializeAws_ec2TransitGatewayRouteTableIdStringList(input.TransitGatewayRouteTableIds, context);
30020
- if (input.TransitGatewayRouteTableIds?.length === 0) {
30021
- entries.TransitGatewayRouteTableIds = [];
30022
- }
30023
- Object.entries(memberEntries).forEach(([key, value]) => {
30024
- const loc = `TransitGatewayRouteTableIds.${key.substring(key.indexOf(".") + 1)}`;
30025
- entries[loc] = value;
30026
- });
30027
- }
30028
31750
  if (input.Filters != null) {
30029
31751
  const memberEntries = serializeAws_ec2FilterList(input.Filters, context);
30030
31752
  if (input.Filters?.length === 0) {
@@ -30035,29 +31757,29 @@ const serializeAws_ec2DescribeTransitGatewayRouteTablesRequest = (input, context
30035
31757
  entries[loc] = value;
30036
31758
  });
30037
31759
  }
30038
- if (input.MaxResults != null) {
30039
- entries["MaxResults"] = input.MaxResults;
30040
- }
30041
- if (input.NextToken != null) {
30042
- entries["NextToken"] = input.NextToken;
30043
- }
30044
31760
  if (input.DryRun != null) {
30045
31761
  entries["DryRun"] = input.DryRun;
30046
31762
  }
30047
31763
  return entries;
30048
31764
  };
30049
- const serializeAws_ec2DescribeTransitGatewaysRequest = (input, context) => {
31765
+ const serializeAws_ec2DescribeVerifiedAccessInstanceLoggingConfigurationsRequest = (input, context) => {
30050
31766
  const entries = {};
30051
- if (input.TransitGatewayIds != null) {
30052
- const memberEntries = serializeAws_ec2TransitGatewayIdStringList(input.TransitGatewayIds, context);
30053
- if (input.TransitGatewayIds?.length === 0) {
30054
- entries.TransitGatewayIds = [];
31767
+ if (input.VerifiedAccessInstanceIds != null) {
31768
+ const memberEntries = serializeAws_ec2VerifiedAccessInstanceIdList(input.VerifiedAccessInstanceIds, context);
31769
+ if (input.VerifiedAccessInstanceIds?.length === 0) {
31770
+ entries.VerifiedAccessInstanceId = [];
30055
31771
  }
30056
31772
  Object.entries(memberEntries).forEach(([key, value]) => {
30057
- const loc = `TransitGatewayIds.${key.substring(key.indexOf(".") + 1)}`;
31773
+ const loc = `VerifiedAccessInstanceId.${key.substring(key.indexOf(".") + 1)}`;
30058
31774
  entries[loc] = value;
30059
31775
  });
30060
31776
  }
31777
+ if (input.MaxResults != null) {
31778
+ entries["MaxResults"] = input.MaxResults;
31779
+ }
31780
+ if (input.NextToken != null) {
31781
+ entries["NextToken"] = input.NextToken;
31782
+ }
30061
31783
  if (input.Filters != null) {
30062
31784
  const memberEntries = serializeAws_ec2FilterList(input.Filters, context);
30063
31785
  if (input.Filters?.length === 0) {
@@ -30068,29 +31790,29 @@ const serializeAws_ec2DescribeTransitGatewaysRequest = (input, context) => {
30068
31790
  entries[loc] = value;
30069
31791
  });
30070
31792
  }
30071
- if (input.MaxResults != null) {
30072
- entries["MaxResults"] = input.MaxResults;
30073
- }
30074
- if (input.NextToken != null) {
30075
- entries["NextToken"] = input.NextToken;
30076
- }
30077
31793
  if (input.DryRun != null) {
30078
31794
  entries["DryRun"] = input.DryRun;
30079
31795
  }
30080
31796
  return entries;
30081
31797
  };
30082
- const serializeAws_ec2DescribeTransitGatewayVpcAttachmentsRequest = (input, context) => {
31798
+ const serializeAws_ec2DescribeVerifiedAccessInstancesRequest = (input, context) => {
30083
31799
  const entries = {};
30084
- if (input.TransitGatewayAttachmentIds != null) {
30085
- const memberEntries = serializeAws_ec2TransitGatewayAttachmentIdStringList(input.TransitGatewayAttachmentIds, context);
30086
- if (input.TransitGatewayAttachmentIds?.length === 0) {
30087
- entries.TransitGatewayAttachmentIds = [];
31800
+ if (input.VerifiedAccessInstanceIds != null) {
31801
+ const memberEntries = serializeAws_ec2VerifiedAccessInstanceIdList(input.VerifiedAccessInstanceIds, context);
31802
+ if (input.VerifiedAccessInstanceIds?.length === 0) {
31803
+ entries.VerifiedAccessInstanceId = [];
30088
31804
  }
30089
31805
  Object.entries(memberEntries).forEach(([key, value]) => {
30090
- const loc = `TransitGatewayAttachmentIds.${key.substring(key.indexOf(".") + 1)}`;
31806
+ const loc = `VerifiedAccessInstanceId.${key.substring(key.indexOf(".") + 1)}`;
30091
31807
  entries[loc] = value;
30092
31808
  });
30093
31809
  }
31810
+ if (input.MaxResults != null) {
31811
+ entries["MaxResults"] = input.MaxResults;
31812
+ }
31813
+ if (input.NextToken != null) {
31814
+ entries["NextToken"] = input.NextToken;
31815
+ }
30094
31816
  if (input.Filters != null) {
30095
31817
  const memberEntries = serializeAws_ec2FilterList(input.Filters, context);
30096
31818
  if (input.Filters?.length === 0) {
@@ -30101,31 +31823,28 @@ const serializeAws_ec2DescribeTransitGatewayVpcAttachmentsRequest = (input, cont
30101
31823
  entries[loc] = value;
30102
31824
  });
30103
31825
  }
30104
- if (input.MaxResults != null) {
30105
- entries["MaxResults"] = input.MaxResults;
30106
- }
30107
- if (input.NextToken != null) {
30108
- entries["NextToken"] = input.NextToken;
30109
- }
30110
31826
  if (input.DryRun != null) {
30111
31827
  entries["DryRun"] = input.DryRun;
30112
31828
  }
30113
31829
  return entries;
30114
31830
  };
30115
- const serializeAws_ec2DescribeTrunkInterfaceAssociationsRequest = (input, context) => {
31831
+ const serializeAws_ec2DescribeVerifiedAccessTrustProvidersRequest = (input, context) => {
30116
31832
  const entries = {};
30117
- if (input.AssociationIds != null) {
30118
- const memberEntries = serializeAws_ec2TrunkInterfaceAssociationIdList(input.AssociationIds, context);
30119
- if (input.AssociationIds?.length === 0) {
30120
- entries.AssociationId = [];
31833
+ if (input.VerifiedAccessTrustProviderIds != null) {
31834
+ const memberEntries = serializeAws_ec2VerifiedAccessTrustProviderIdList(input.VerifiedAccessTrustProviderIds, context);
31835
+ if (input.VerifiedAccessTrustProviderIds?.length === 0) {
31836
+ entries.VerifiedAccessTrustProviderId = [];
30121
31837
  }
30122
31838
  Object.entries(memberEntries).forEach(([key, value]) => {
30123
- const loc = `AssociationId.${key.substring(key.indexOf(".") + 1)}`;
31839
+ const loc = `VerifiedAccessTrustProviderId.${key.substring(key.indexOf(".") + 1)}`;
30124
31840
  entries[loc] = value;
30125
31841
  });
30126
31842
  }
30127
- if (input.DryRun != null) {
30128
- entries["DryRun"] = input.DryRun;
31843
+ if (input.MaxResults != null) {
31844
+ entries["MaxResults"] = input.MaxResults;
31845
+ }
31846
+ if (input.NextToken != null) {
31847
+ entries["NextToken"] = input.NextToken;
30129
31848
  }
30130
31849
  if (input.Filters != null) {
30131
31850
  const memberEntries = serializeAws_ec2FilterList(input.Filters, context);
@@ -30137,11 +31856,8 @@ const serializeAws_ec2DescribeTrunkInterfaceAssociationsRequest = (input, contex
30137
31856
  entries[loc] = value;
30138
31857
  });
30139
31858
  }
30140
- if (input.NextToken != null) {
30141
- entries["NextToken"] = input.NextToken;
30142
- }
30143
- if (input.MaxResults != null) {
30144
- entries["MaxResults"] = input.MaxResults;
31859
+ if (input.DryRun != null) {
31860
+ entries["DryRun"] = input.DryRun;
30145
31861
  }
30146
31862
  return entries;
30147
31863
  };
@@ -30663,6 +32379,25 @@ const serializeAws_ec2DetachNetworkInterfaceRequest = (input, context) => {
30663
32379
  }
30664
32380
  return entries;
30665
32381
  };
32382
+ const serializeAws_ec2DetachVerifiedAccessTrustProviderRequest = (input, context) => {
32383
+ const entries = {};
32384
+ if (input.VerifiedAccessInstanceId != null) {
32385
+ entries["VerifiedAccessInstanceId"] = input.VerifiedAccessInstanceId;
32386
+ }
32387
+ if (input.VerifiedAccessTrustProviderId != null) {
32388
+ entries["VerifiedAccessTrustProviderId"] = input.VerifiedAccessTrustProviderId;
32389
+ }
32390
+ if (input.ClientToken === undefined) {
32391
+ input.ClientToken = generateIdempotencyToken();
32392
+ }
32393
+ if (input.ClientToken != null) {
32394
+ entries["ClientToken"] = input.ClientToken;
32395
+ }
32396
+ if (input.DryRun != null) {
32397
+ entries["DryRun"] = input.DryRun;
32398
+ }
32399
+ return entries;
32400
+ };
30666
32401
  const serializeAws_ec2DetachVolumeRequest = (input, context) => {
30667
32402
  const entries = {};
30668
32403
  if (input.Device != null) {
@@ -30724,6 +32459,25 @@ const serializeAws_ec2DisableAddressTransferRequest = (input, context) => {
30724
32459
  }
30725
32460
  return entries;
30726
32461
  };
32462
+ const serializeAws_ec2DisableAwsNetworkPerformanceMetricSubscriptionRequest = (input, context) => {
32463
+ const entries = {};
32464
+ if (input.Source != null) {
32465
+ entries["Source"] = input.Source;
32466
+ }
32467
+ if (input.Destination != null) {
32468
+ entries["Destination"] = input.Destination;
32469
+ }
32470
+ if (input.Metric != null) {
32471
+ entries["Metric"] = input.Metric;
32472
+ }
32473
+ if (input.Statistic != null) {
32474
+ entries["Statistic"] = input.Statistic;
32475
+ }
32476
+ if (input.DryRun != null) {
32477
+ entries["DryRun"] = input.DryRun;
32478
+ }
32479
+ return entries;
32480
+ };
30727
32481
  const serializeAws_ec2DisableEbsEncryptionByDefaultRequest = (input, context) => {
30728
32482
  const entries = {};
30729
32483
  if (input.DryRun != null) {
@@ -31209,6 +32963,25 @@ const serializeAws_ec2EnableAddressTransferRequest = (input, context) => {
31209
32963
  }
31210
32964
  return entries;
31211
32965
  };
32966
+ const serializeAws_ec2EnableAwsNetworkPerformanceMetricSubscriptionRequest = (input, context) => {
32967
+ const entries = {};
32968
+ if (input.Source != null) {
32969
+ entries["Source"] = input.Source;
32970
+ }
32971
+ if (input.Destination != null) {
32972
+ entries["Destination"] = input.Destination;
32973
+ }
32974
+ if (input.Metric != null) {
32975
+ entries["Metric"] = input.Metric;
32976
+ }
32977
+ if (input.Statistic != null) {
32978
+ entries["Statistic"] = input.Statistic;
32979
+ }
32980
+ if (input.DryRun != null) {
32981
+ entries["DryRun"] = input.DryRun;
32982
+ }
32983
+ return entries;
32984
+ };
31212
32985
  const serializeAws_ec2EnableEbsEncryptionByDefaultRequest = (input, context) => {
31213
32986
  const entries = {};
31214
32987
  if (input.DryRun != null) {
@@ -31296,6 +33069,13 @@ const serializeAws_ec2EnableIpamOrganizationAdminAccountRequest = (input, contex
31296
33069
  }
31297
33070
  return entries;
31298
33071
  };
33072
+ const serializeAws_ec2EnableReachabilityAnalyzerOrganizationSharingRequest = (input, context) => {
33073
+ const entries = {};
33074
+ if (input.DryRun != null) {
33075
+ entries["DryRun"] = input.DryRun;
33076
+ }
33077
+ return entries;
33078
+ };
31299
33079
  const serializeAws_ec2EnableSerialConsoleAccessRequest = (input, context) => {
31300
33080
  const entries = {};
31301
33081
  if (input.DryRun != null) {
@@ -31359,6 +33139,27 @@ const serializeAws_ec2EnableVpcClassicLinkRequest = (input, context) => {
31359
33139
  }
31360
33140
  return entries;
31361
33141
  };
33142
+ const serializeAws_ec2EnaSrdSpecification = (input, context) => {
33143
+ const entries = {};
33144
+ if (input.EnaSrdEnabled != null) {
33145
+ entries["EnaSrdEnabled"] = input.EnaSrdEnabled;
33146
+ }
33147
+ if (input.EnaSrdUdpSpecification != null) {
33148
+ const memberEntries = serializeAws_ec2EnaSrdUdpSpecification(input.EnaSrdUdpSpecification, context);
33149
+ Object.entries(memberEntries).forEach(([key, value]) => {
33150
+ const loc = `EnaSrdUdpSpecification.${key}`;
33151
+ entries[loc] = value;
33152
+ });
33153
+ }
33154
+ return entries;
33155
+ };
33156
+ const serializeAws_ec2EnaSrdUdpSpecification = (input, context) => {
33157
+ const entries = {};
33158
+ if (input.EnaSrdUdpEnabled != null) {
33159
+ entries["EnaSrdUdpEnabled"] = input.EnaSrdUdpEnabled;
33160
+ }
33161
+ return entries;
33162
+ };
31362
33163
  const serializeAws_ec2EnclaveOptionsRequest = (input, context) => {
31363
33164
  const entries = {};
31364
33165
  if (input.Enabled != null) {
@@ -31810,6 +33611,35 @@ const serializeAws_ec2GetAssociatedIpv6PoolCidrsRequest = (input, context) => {
31810
33611
  }
31811
33612
  return entries;
31812
33613
  };
33614
+ const serializeAws_ec2GetAwsNetworkPerformanceDataRequest = (input, context) => {
33615
+ const entries = {};
33616
+ if (input.DataQueries != null) {
33617
+ const memberEntries = serializeAws_ec2DataQueries(input.DataQueries, context);
33618
+ if (input.DataQueries?.length === 0) {
33619
+ entries.DataQuery = [];
33620
+ }
33621
+ Object.entries(memberEntries).forEach(([key, value]) => {
33622
+ const loc = `DataQuery.${key.substring(key.indexOf(".") + 1)}`;
33623
+ entries[loc] = value;
33624
+ });
33625
+ }
33626
+ if (input.StartTime != null) {
33627
+ entries["StartTime"] = input.StartTime.toISOString().split(".")[0] + "Z";
33628
+ }
33629
+ if (input.EndTime != null) {
33630
+ entries["EndTime"] = input.EndTime.toISOString().split(".")[0] + "Z";
33631
+ }
33632
+ if (input.MaxResults != null) {
33633
+ entries["MaxResults"] = input.MaxResults;
33634
+ }
33635
+ if (input.NextToken != null) {
33636
+ entries["NextToken"] = input.NextToken;
33637
+ }
33638
+ if (input.DryRun != null) {
33639
+ entries["DryRun"] = input.DryRun;
33640
+ }
33641
+ return entries;
33642
+ };
31813
33643
  const serializeAws_ec2GetCapacityReservationUsageRequest = (input, context) => {
31814
33644
  const entries = {};
31815
33645
  if (input.CapacityReservationId != null) {
@@ -32505,6 +34335,26 @@ const serializeAws_ec2GetTransitGatewayRouteTablePropagationsRequest = (input, c
32505
34335
  }
32506
34336
  return entries;
32507
34337
  };
34338
+ const serializeAws_ec2GetVerifiedAccessEndpointPolicyRequest = (input, context) => {
34339
+ const entries = {};
34340
+ if (input.VerifiedAccessEndpointId != null) {
34341
+ entries["VerifiedAccessEndpointId"] = input.VerifiedAccessEndpointId;
34342
+ }
34343
+ if (input.DryRun != null) {
34344
+ entries["DryRun"] = input.DryRun;
34345
+ }
34346
+ return entries;
34347
+ };
34348
+ const serializeAws_ec2GetVerifiedAccessGroupPolicyRequest = (input, context) => {
34349
+ const entries = {};
34350
+ if (input.VerifiedAccessGroupId != null) {
34351
+ entries["VerifiedAccessGroupId"] = input.VerifiedAccessGroupId;
34352
+ }
34353
+ if (input.DryRun != null) {
34354
+ entries["DryRun"] = input.DryRun;
34355
+ }
34356
+ return entries;
34357
+ };
32508
34358
  const serializeAws_ec2GetVpnConnectionDeviceSampleConfigurationRequest = (input, context) => {
32509
34359
  const entries = {};
32510
34360
  if (input.VpnConnectionId != null) {
@@ -35879,6 +37729,13 @@ const serializeAws_ec2ModifyNetworkInterfaceAttributeRequest = (input, context)
35879
37729
  entries[loc] = value;
35880
37730
  });
35881
37731
  }
37732
+ if (input.EnaSrdSpecification != null) {
37733
+ const memberEntries = serializeAws_ec2EnaSrdSpecification(input.EnaSrdSpecification, context);
37734
+ Object.entries(memberEntries).forEach(([key, value]) => {
37735
+ const loc = `EnaSrdSpecification.${key}`;
37736
+ entries[loc] = value;
37737
+ });
37738
+ }
35882
37739
  return entries;
35883
37740
  };
35884
37741
  const serializeAws_ec2ModifyPrivateDnsNameOptionsRequest = (input, context) => {
@@ -36357,6 +38214,225 @@ const serializeAws_ec2ModifyTransitGatewayVpcAttachmentRequestOptions = (input,
36357
38214
  }
36358
38215
  return entries;
36359
38216
  };
38217
+ const serializeAws_ec2ModifyVerifiedAccessEndpointEniOptions = (input, context) => {
38218
+ const entries = {};
38219
+ if (input.Protocol != null) {
38220
+ entries["Protocol"] = input.Protocol;
38221
+ }
38222
+ if (input.Port != null) {
38223
+ entries["Port"] = input.Port;
38224
+ }
38225
+ return entries;
38226
+ };
38227
+ const serializeAws_ec2ModifyVerifiedAccessEndpointLoadBalancerOptions = (input, context) => {
38228
+ const entries = {};
38229
+ if (input.SubnetIds != null) {
38230
+ const memberEntries = serializeAws_ec2ModifyVerifiedAccessEndpointSubnetIdList(input.SubnetIds, context);
38231
+ if (input.SubnetIds?.length === 0) {
38232
+ entries.SubnetId = [];
38233
+ }
38234
+ Object.entries(memberEntries).forEach(([key, value]) => {
38235
+ const loc = `SubnetId.${key.substring(key.indexOf(".") + 1)}`;
38236
+ entries[loc] = value;
38237
+ });
38238
+ }
38239
+ if (input.Protocol != null) {
38240
+ entries["Protocol"] = input.Protocol;
38241
+ }
38242
+ if (input.Port != null) {
38243
+ entries["Port"] = input.Port;
38244
+ }
38245
+ return entries;
38246
+ };
38247
+ const serializeAws_ec2ModifyVerifiedAccessEndpointPolicyRequest = (input, context) => {
38248
+ const entries = {};
38249
+ if (input.VerifiedAccessEndpointId != null) {
38250
+ entries["VerifiedAccessEndpointId"] = input.VerifiedAccessEndpointId;
38251
+ }
38252
+ if (input.PolicyEnabled != null) {
38253
+ entries["PolicyEnabled"] = input.PolicyEnabled;
38254
+ }
38255
+ if (input.PolicyDocument != null) {
38256
+ entries["PolicyDocument"] = input.PolicyDocument;
38257
+ }
38258
+ if (input.ClientToken === undefined) {
38259
+ input.ClientToken = generateIdempotencyToken();
38260
+ }
38261
+ if (input.ClientToken != null) {
38262
+ entries["ClientToken"] = input.ClientToken;
38263
+ }
38264
+ if (input.DryRun != null) {
38265
+ entries["DryRun"] = input.DryRun;
38266
+ }
38267
+ return entries;
38268
+ };
38269
+ const serializeAws_ec2ModifyVerifiedAccessEndpointRequest = (input, context) => {
38270
+ const entries = {};
38271
+ if (input.VerifiedAccessEndpointId != null) {
38272
+ entries["VerifiedAccessEndpointId"] = input.VerifiedAccessEndpointId;
38273
+ }
38274
+ if (input.VerifiedAccessGroupId != null) {
38275
+ entries["VerifiedAccessGroupId"] = input.VerifiedAccessGroupId;
38276
+ }
38277
+ if (input.LoadBalancerOptions != null) {
38278
+ const memberEntries = serializeAws_ec2ModifyVerifiedAccessEndpointLoadBalancerOptions(input.LoadBalancerOptions, context);
38279
+ Object.entries(memberEntries).forEach(([key, value]) => {
38280
+ const loc = `LoadBalancerOptions.${key}`;
38281
+ entries[loc] = value;
38282
+ });
38283
+ }
38284
+ if (input.NetworkInterfaceOptions != null) {
38285
+ const memberEntries = serializeAws_ec2ModifyVerifiedAccessEndpointEniOptions(input.NetworkInterfaceOptions, context);
38286
+ Object.entries(memberEntries).forEach(([key, value]) => {
38287
+ const loc = `NetworkInterfaceOptions.${key}`;
38288
+ entries[loc] = value;
38289
+ });
38290
+ }
38291
+ if (input.Description != null) {
38292
+ entries["Description"] = input.Description;
38293
+ }
38294
+ if (input.ClientToken === undefined) {
38295
+ input.ClientToken = generateIdempotencyToken();
38296
+ }
38297
+ if (input.ClientToken != null) {
38298
+ entries["ClientToken"] = input.ClientToken;
38299
+ }
38300
+ if (input.DryRun != null) {
38301
+ entries["DryRun"] = input.DryRun;
38302
+ }
38303
+ return entries;
38304
+ };
38305
+ const serializeAws_ec2ModifyVerifiedAccessEndpointSubnetIdList = (input, context) => {
38306
+ const entries = {};
38307
+ let counter = 1;
38308
+ for (const entry of input) {
38309
+ if (entry === null) {
38310
+ continue;
38311
+ }
38312
+ entries[`Item.${counter}`] = entry;
38313
+ counter++;
38314
+ }
38315
+ return entries;
38316
+ };
38317
+ const serializeAws_ec2ModifyVerifiedAccessGroupPolicyRequest = (input, context) => {
38318
+ const entries = {};
38319
+ if (input.VerifiedAccessGroupId != null) {
38320
+ entries["VerifiedAccessGroupId"] = input.VerifiedAccessGroupId;
38321
+ }
38322
+ if (input.PolicyEnabled != null) {
38323
+ entries["PolicyEnabled"] = input.PolicyEnabled;
38324
+ }
38325
+ if (input.PolicyDocument != null) {
38326
+ entries["PolicyDocument"] = input.PolicyDocument;
38327
+ }
38328
+ if (input.ClientToken === undefined) {
38329
+ input.ClientToken = generateIdempotencyToken();
38330
+ }
38331
+ if (input.ClientToken != null) {
38332
+ entries["ClientToken"] = input.ClientToken;
38333
+ }
38334
+ if (input.DryRun != null) {
38335
+ entries["DryRun"] = input.DryRun;
38336
+ }
38337
+ return entries;
38338
+ };
38339
+ const serializeAws_ec2ModifyVerifiedAccessGroupRequest = (input, context) => {
38340
+ const entries = {};
38341
+ if (input.VerifiedAccessGroupId != null) {
38342
+ entries["VerifiedAccessGroupId"] = input.VerifiedAccessGroupId;
38343
+ }
38344
+ if (input.VerifiedAccessInstanceId != null) {
38345
+ entries["VerifiedAccessInstanceId"] = input.VerifiedAccessInstanceId;
38346
+ }
38347
+ if (input.Description != null) {
38348
+ entries["Description"] = input.Description;
38349
+ }
38350
+ if (input.ClientToken === undefined) {
38351
+ input.ClientToken = generateIdempotencyToken();
38352
+ }
38353
+ if (input.ClientToken != null) {
38354
+ entries["ClientToken"] = input.ClientToken;
38355
+ }
38356
+ if (input.DryRun != null) {
38357
+ entries["DryRun"] = input.DryRun;
38358
+ }
38359
+ return entries;
38360
+ };
38361
+ const serializeAws_ec2ModifyVerifiedAccessInstanceLoggingConfigurationRequest = (input, context) => {
38362
+ const entries = {};
38363
+ if (input.VerifiedAccessInstanceId != null) {
38364
+ entries["VerifiedAccessInstanceId"] = input.VerifiedAccessInstanceId;
38365
+ }
38366
+ if (input.AccessLogs != null) {
38367
+ const memberEntries = serializeAws_ec2VerifiedAccessLogOptions(input.AccessLogs, context);
38368
+ Object.entries(memberEntries).forEach(([key, value]) => {
38369
+ const loc = `AccessLogs.${key}`;
38370
+ entries[loc] = value;
38371
+ });
38372
+ }
38373
+ if (input.DryRun != null) {
38374
+ entries["DryRun"] = input.DryRun;
38375
+ }
38376
+ if (input.ClientToken === undefined) {
38377
+ input.ClientToken = generateIdempotencyToken();
38378
+ }
38379
+ if (input.ClientToken != null) {
38380
+ entries["ClientToken"] = input.ClientToken;
38381
+ }
38382
+ return entries;
38383
+ };
38384
+ const serializeAws_ec2ModifyVerifiedAccessInstanceRequest = (input, context) => {
38385
+ const entries = {};
38386
+ if (input.VerifiedAccessInstanceId != null) {
38387
+ entries["VerifiedAccessInstanceId"] = input.VerifiedAccessInstanceId;
38388
+ }
38389
+ if (input.Description != null) {
38390
+ entries["Description"] = input.Description;
38391
+ }
38392
+ if (input.DryRun != null) {
38393
+ entries["DryRun"] = input.DryRun;
38394
+ }
38395
+ if (input.ClientToken === undefined) {
38396
+ input.ClientToken = generateIdempotencyToken();
38397
+ }
38398
+ if (input.ClientToken != null) {
38399
+ entries["ClientToken"] = input.ClientToken;
38400
+ }
38401
+ return entries;
38402
+ };
38403
+ const serializeAws_ec2ModifyVerifiedAccessTrustProviderOidcOptions = (input, context) => {
38404
+ const entries = {};
38405
+ if (input.Scope != null) {
38406
+ entries["Scope"] = input.Scope;
38407
+ }
38408
+ return entries;
38409
+ };
38410
+ const serializeAws_ec2ModifyVerifiedAccessTrustProviderRequest = (input, context) => {
38411
+ const entries = {};
38412
+ if (input.VerifiedAccessTrustProviderId != null) {
38413
+ entries["VerifiedAccessTrustProviderId"] = input.VerifiedAccessTrustProviderId;
38414
+ }
38415
+ if (input.OidcOptions != null) {
38416
+ const memberEntries = serializeAws_ec2ModifyVerifiedAccessTrustProviderOidcOptions(input.OidcOptions, context);
38417
+ Object.entries(memberEntries).forEach(([key, value]) => {
38418
+ const loc = `OidcOptions.${key}`;
38419
+ entries[loc] = value;
38420
+ });
38421
+ }
38422
+ if (input.Description != null) {
38423
+ entries["Description"] = input.Description;
38424
+ }
38425
+ if (input.DryRun != null) {
38426
+ entries["DryRun"] = input.DryRun;
38427
+ }
38428
+ if (input.ClientToken === undefined) {
38429
+ input.ClientToken = generateIdempotencyToken();
38430
+ }
38431
+ if (input.ClientToken != null) {
38432
+ entries["ClientToken"] = input.ClientToken;
38433
+ }
38434
+ return entries;
38435
+ };
36360
38436
  const serializeAws_ec2ModifyVolumeAttributeRequest = (input, context) => {
36361
38437
  const entries = {};
36362
38438
  if (input.AutoEnableIO != null) {
@@ -40055,6 +42131,18 @@ const serializeAws_ec2SearchTransitGatewayRoutesRequest = (input, context) => {
40055
42131
  }
40056
42132
  return entries;
40057
42133
  };
42134
+ const serializeAws_ec2SecurityGroupIdList = (input, context) => {
42135
+ const entries = {};
42136
+ let counter = 1;
42137
+ for (const entry of input) {
42138
+ if (entry === null) {
42139
+ continue;
42140
+ }
42141
+ entries[`Item.${counter}`] = entry;
42142
+ counter++;
42143
+ }
42144
+ return entries;
42145
+ };
40058
42146
  const serializeAws_ec2SecurityGroupIdStringList = (input, context) => {
40059
42147
  const entries = {};
40060
42148
  let counter = 1;
@@ -40650,6 +42738,16 @@ const serializeAws_ec2StartNetworkInsightsAnalysisRequest = (input, context) =>
40650
42738
  if (input.NetworkInsightsPathId != null) {
40651
42739
  entries["NetworkInsightsPathId"] = input.NetworkInsightsPathId;
40652
42740
  }
42741
+ if (input.AdditionalAccounts != null) {
42742
+ const memberEntries = serializeAws_ec2ValueStringList(input.AdditionalAccounts, context);
42743
+ if (input.AdditionalAccounts?.length === 0) {
42744
+ entries.AdditionalAccount = [];
42745
+ }
42746
+ Object.entries(memberEntries).forEach(([key, value]) => {
42747
+ const loc = `AdditionalAccount.${key.substring(key.indexOf(".") + 1)}`;
42748
+ entries[loc] = value;
42749
+ });
42750
+ }
40653
42751
  if (input.FilterInArns != null) {
40654
42752
  const memberEntries = serializeAws_ec2ArnList(input.FilterInArns, context);
40655
42753
  if (input.FilterInArns?.length === 0) {
@@ -41469,6 +43567,115 @@ const serializeAws_ec2VCpuCountRangeRequest = (input, context) => {
41469
43567
  }
41470
43568
  return entries;
41471
43569
  };
43570
+ const serializeAws_ec2VerifiedAccessEndpointIdList = (input, context) => {
43571
+ const entries = {};
43572
+ let counter = 1;
43573
+ for (const entry of input) {
43574
+ if (entry === null) {
43575
+ continue;
43576
+ }
43577
+ entries[`Item.${counter}`] = entry;
43578
+ counter++;
43579
+ }
43580
+ return entries;
43581
+ };
43582
+ const serializeAws_ec2VerifiedAccessGroupIdList = (input, context) => {
43583
+ const entries = {};
43584
+ let counter = 1;
43585
+ for (const entry of input) {
43586
+ if (entry === null) {
43587
+ continue;
43588
+ }
43589
+ entries[`Item.${counter}`] = entry;
43590
+ counter++;
43591
+ }
43592
+ return entries;
43593
+ };
43594
+ const serializeAws_ec2VerifiedAccessInstanceIdList = (input, context) => {
43595
+ const entries = {};
43596
+ let counter = 1;
43597
+ for (const entry of input) {
43598
+ if (entry === null) {
43599
+ continue;
43600
+ }
43601
+ entries[`Item.${counter}`] = entry;
43602
+ counter++;
43603
+ }
43604
+ return entries;
43605
+ };
43606
+ const serializeAws_ec2VerifiedAccessLogCloudWatchLogsDestinationOptions = (input, context) => {
43607
+ const entries = {};
43608
+ if (input.Enabled != null) {
43609
+ entries["Enabled"] = input.Enabled;
43610
+ }
43611
+ if (input.LogGroup != null) {
43612
+ entries["LogGroup"] = input.LogGroup;
43613
+ }
43614
+ return entries;
43615
+ };
43616
+ const serializeAws_ec2VerifiedAccessLogKinesisDataFirehoseDestinationOptions = (input, context) => {
43617
+ const entries = {};
43618
+ if (input.Enabled != null) {
43619
+ entries["Enabled"] = input.Enabled;
43620
+ }
43621
+ if (input.DeliveryStream != null) {
43622
+ entries["DeliveryStream"] = input.DeliveryStream;
43623
+ }
43624
+ return entries;
43625
+ };
43626
+ const serializeAws_ec2VerifiedAccessLogOptions = (input, context) => {
43627
+ const entries = {};
43628
+ if (input.S3 != null) {
43629
+ const memberEntries = serializeAws_ec2VerifiedAccessLogS3DestinationOptions(input.S3, context);
43630
+ Object.entries(memberEntries).forEach(([key, value]) => {
43631
+ const loc = `S3.${key}`;
43632
+ entries[loc] = value;
43633
+ });
43634
+ }
43635
+ if (input.CloudWatchLogs != null) {
43636
+ const memberEntries = serializeAws_ec2VerifiedAccessLogCloudWatchLogsDestinationOptions(input.CloudWatchLogs, context);
43637
+ Object.entries(memberEntries).forEach(([key, value]) => {
43638
+ const loc = `CloudWatchLogs.${key}`;
43639
+ entries[loc] = value;
43640
+ });
43641
+ }
43642
+ if (input.KinesisDataFirehose != null) {
43643
+ const memberEntries = serializeAws_ec2VerifiedAccessLogKinesisDataFirehoseDestinationOptions(input.KinesisDataFirehose, context);
43644
+ Object.entries(memberEntries).forEach(([key, value]) => {
43645
+ const loc = `KinesisDataFirehose.${key}`;
43646
+ entries[loc] = value;
43647
+ });
43648
+ }
43649
+ return entries;
43650
+ };
43651
+ const serializeAws_ec2VerifiedAccessLogS3DestinationOptions = (input, context) => {
43652
+ const entries = {};
43653
+ if (input.Enabled != null) {
43654
+ entries["Enabled"] = input.Enabled;
43655
+ }
43656
+ if (input.BucketName != null) {
43657
+ entries["BucketName"] = input.BucketName;
43658
+ }
43659
+ if (input.Prefix != null) {
43660
+ entries["Prefix"] = input.Prefix;
43661
+ }
43662
+ if (input.BucketOwner != null) {
43663
+ entries["BucketOwner"] = input.BucketOwner;
43664
+ }
43665
+ return entries;
43666
+ };
43667
+ const serializeAws_ec2VerifiedAccessTrustProviderIdList = (input, context) => {
43668
+ const entries = {};
43669
+ let counter = 1;
43670
+ for (const entry of input) {
43671
+ if (entry === null) {
43672
+ continue;
43673
+ }
43674
+ entries[`Item.${counter}`] = entry;
43675
+ counter++;
43676
+ }
43677
+ return entries;
43678
+ };
41472
43679
  const serializeAws_ec2VersionStringList = (input, context) => {
41473
43680
  const entries = {};
41474
43681
  let counter = 1;
@@ -42899,6 +45106,28 @@ const deserializeAws_ec2AttachClassicLinkVpcResult = (output, context) => {
42899
45106
  }
42900
45107
  return contents;
42901
45108
  };
45109
+ const deserializeAws_ec2AttachmentEnaSrdSpecification = (output, context) => {
45110
+ const contents = {
45111
+ EnaSrdEnabled: undefined,
45112
+ EnaSrdUdpSpecification: undefined,
45113
+ };
45114
+ if (output["enaSrdEnabled"] !== undefined) {
45115
+ contents.EnaSrdEnabled = __parseBoolean(output["enaSrdEnabled"]);
45116
+ }
45117
+ if (output["enaSrdUdpSpecification"] !== undefined) {
45118
+ contents.EnaSrdUdpSpecification = deserializeAws_ec2AttachmentEnaSrdUdpSpecification(output["enaSrdUdpSpecification"], context);
45119
+ }
45120
+ return contents;
45121
+ };
45122
+ const deserializeAws_ec2AttachmentEnaSrdUdpSpecification = (output, context) => {
45123
+ const contents = {
45124
+ EnaSrdUdpEnabled: undefined,
45125
+ };
45126
+ if (output["enaSrdUdpEnabled"] !== undefined) {
45127
+ contents.EnaSrdUdpEnabled = __parseBoolean(output["enaSrdUdpEnabled"]);
45128
+ }
45129
+ return contents;
45130
+ };
42902
45131
  const deserializeAws_ec2AttachNetworkInterfaceResult = (output, context) => {
42903
45132
  const contents = {
42904
45133
  AttachmentId: undefined,
@@ -42912,6 +45141,19 @@ const deserializeAws_ec2AttachNetworkInterfaceResult = (output, context) => {
42912
45141
  }
42913
45142
  return contents;
42914
45143
  };
45144
+ const deserializeAws_ec2AttachVerifiedAccessTrustProviderResult = (output, context) => {
45145
+ const contents = {
45146
+ VerifiedAccessTrustProvider: undefined,
45147
+ VerifiedAccessInstance: undefined,
45148
+ };
45149
+ if (output["verifiedAccessTrustProvider"] !== undefined) {
45150
+ contents.VerifiedAccessTrustProvider = deserializeAws_ec2VerifiedAccessTrustProvider(output["verifiedAccessTrustProvider"], context);
45151
+ }
45152
+ if (output["verifiedAccessInstance"] !== undefined) {
45153
+ contents.VerifiedAccessInstance = deserializeAws_ec2VerifiedAccessInstance(output["verifiedAccessInstance"], context);
45154
+ }
45155
+ return contents;
45156
+ };
42915
45157
  const deserializeAws_ec2AttachVpnGatewayResult = (output, context) => {
42916
45158
  const contents = {
42917
45159
  VpcAttachment: undefined,
@@ -45286,6 +47528,42 @@ const deserializeAws_ec2CreateTransitGatewayVpcAttachmentResult = (output, conte
45286
47528
  }
45287
47529
  return contents;
45288
47530
  };
47531
+ const deserializeAws_ec2CreateVerifiedAccessEndpointResult = (output, context) => {
47532
+ const contents = {
47533
+ VerifiedAccessEndpoint: undefined,
47534
+ };
47535
+ if (output["verifiedAccessEndpoint"] !== undefined) {
47536
+ contents.VerifiedAccessEndpoint = deserializeAws_ec2VerifiedAccessEndpoint(output["verifiedAccessEndpoint"], context);
47537
+ }
47538
+ return contents;
47539
+ };
47540
+ const deserializeAws_ec2CreateVerifiedAccessGroupResult = (output, context) => {
47541
+ const contents = {
47542
+ VerifiedAccessGroup: undefined,
47543
+ };
47544
+ if (output["verifiedAccessGroup"] !== undefined) {
47545
+ contents.VerifiedAccessGroup = deserializeAws_ec2VerifiedAccessGroup(output["verifiedAccessGroup"], context);
47546
+ }
47547
+ return contents;
47548
+ };
47549
+ const deserializeAws_ec2CreateVerifiedAccessInstanceResult = (output, context) => {
47550
+ const contents = {
47551
+ VerifiedAccessInstance: undefined,
47552
+ };
47553
+ if (output["verifiedAccessInstance"] !== undefined) {
47554
+ contents.VerifiedAccessInstance = deserializeAws_ec2VerifiedAccessInstance(output["verifiedAccessInstance"], context);
47555
+ }
47556
+ return contents;
47557
+ };
47558
+ const deserializeAws_ec2CreateVerifiedAccessTrustProviderResult = (output, context) => {
47559
+ const contents = {
47560
+ VerifiedAccessTrustProvider: undefined,
47561
+ };
47562
+ if (output["verifiedAccessTrustProvider"] !== undefined) {
47563
+ contents.VerifiedAccessTrustProvider = deserializeAws_ec2VerifiedAccessTrustProvider(output["verifiedAccessTrustProvider"], context);
47564
+ }
47565
+ return contents;
47566
+ };
45289
47567
  const deserializeAws_ec2CreateVolumePermission = (output, context) => {
45290
47568
  const contents = {
45291
47569
  Group: undefined,
@@ -45437,6 +47715,49 @@ const deserializeAws_ec2CustomerGatewayList = (output, context) => {
45437
47715
  return deserializeAws_ec2CustomerGateway(entry, context);
45438
47716
  });
45439
47717
  };
47718
+ const deserializeAws_ec2DataResponse = (output, context) => {
47719
+ const contents = {
47720
+ Id: undefined,
47721
+ Source: undefined,
47722
+ Destination: undefined,
47723
+ Metric: undefined,
47724
+ Statistic: undefined,
47725
+ Period: undefined,
47726
+ MetricPoints: undefined,
47727
+ };
47728
+ if (output["id"] !== undefined) {
47729
+ contents.Id = __expectString(output["id"]);
47730
+ }
47731
+ if (output["source"] !== undefined) {
47732
+ contents.Source = __expectString(output["source"]);
47733
+ }
47734
+ if (output["destination"] !== undefined) {
47735
+ contents.Destination = __expectString(output["destination"]);
47736
+ }
47737
+ if (output["metric"] !== undefined) {
47738
+ contents.Metric = __expectString(output["metric"]);
47739
+ }
47740
+ if (output["statistic"] !== undefined) {
47741
+ contents.Statistic = __expectString(output["statistic"]);
47742
+ }
47743
+ if (output["period"] !== undefined) {
47744
+ contents.Period = __expectString(output["period"]);
47745
+ }
47746
+ if (output.metricPointSet === "") {
47747
+ contents.MetricPoints = [];
47748
+ }
47749
+ else if (output["metricPointSet"] !== undefined && output["metricPointSet"]["item"] !== undefined) {
47750
+ contents.MetricPoints = deserializeAws_ec2MetricPoints(__getArrayIfSingleItem(output["metricPointSet"]["item"]), context);
47751
+ }
47752
+ return contents;
47753
+ };
47754
+ const deserializeAws_ec2DataResponses = (output, context) => {
47755
+ return (output || [])
47756
+ .filter((e) => e != null)
47757
+ .map((entry) => {
47758
+ return deserializeAws_ec2DataResponse(entry, context);
47759
+ });
47760
+ };
45440
47761
  const deserializeAws_ec2DedicatedHostIdList = (output, context) => {
45441
47762
  return (output || [])
45442
47763
  .filter((e) => e != null)
@@ -46004,6 +48325,42 @@ const deserializeAws_ec2DeleteTransitGatewayVpcAttachmentResult = (output, conte
46004
48325
  }
46005
48326
  return contents;
46006
48327
  };
48328
+ const deserializeAws_ec2DeleteVerifiedAccessEndpointResult = (output, context) => {
48329
+ const contents = {
48330
+ VerifiedAccessEndpoint: undefined,
48331
+ };
48332
+ if (output["verifiedAccessEndpoint"] !== undefined) {
48333
+ contents.VerifiedAccessEndpoint = deserializeAws_ec2VerifiedAccessEndpoint(output["verifiedAccessEndpoint"], context);
48334
+ }
48335
+ return contents;
48336
+ };
48337
+ const deserializeAws_ec2DeleteVerifiedAccessGroupResult = (output, context) => {
48338
+ const contents = {
48339
+ VerifiedAccessGroup: undefined,
48340
+ };
48341
+ if (output["verifiedAccessGroup"] !== undefined) {
48342
+ contents.VerifiedAccessGroup = deserializeAws_ec2VerifiedAccessGroup(output["verifiedAccessGroup"], context);
48343
+ }
48344
+ return contents;
48345
+ };
48346
+ const deserializeAws_ec2DeleteVerifiedAccessInstanceResult = (output, context) => {
48347
+ const contents = {
48348
+ VerifiedAccessInstance: undefined,
48349
+ };
48350
+ if (output["verifiedAccessInstance"] !== undefined) {
48351
+ contents.VerifiedAccessInstance = deserializeAws_ec2VerifiedAccessInstance(output["verifiedAccessInstance"], context);
48352
+ }
48353
+ return contents;
48354
+ };
48355
+ const deserializeAws_ec2DeleteVerifiedAccessTrustProviderResult = (output, context) => {
48356
+ const contents = {
48357
+ VerifiedAccessTrustProvider: undefined,
48358
+ };
48359
+ if (output["verifiedAccessTrustProvider"] !== undefined) {
48360
+ contents.VerifiedAccessTrustProvider = deserializeAws_ec2VerifiedAccessTrustProvider(output["verifiedAccessTrustProvider"], context);
48361
+ }
48362
+ return contents;
48363
+ };
46007
48364
  const deserializeAws_ec2DeleteVpcEndpointConnectionNotificationsResult = (output, context) => {
46008
48365
  const contents = {
46009
48366
  Unsuccessful: undefined,
@@ -46202,6 +48559,22 @@ const deserializeAws_ec2DescribeAvailabilityZonesResult = (output, context) => {
46202
48559
  }
46203
48560
  return contents;
46204
48561
  };
48562
+ const deserializeAws_ec2DescribeAwsNetworkPerformanceMetricSubscriptionsResult = (output, context) => {
48563
+ const contents = {
48564
+ NextToken: undefined,
48565
+ Subscriptions: undefined,
48566
+ };
48567
+ if (output["nextToken"] !== undefined) {
48568
+ contents.NextToken = __expectString(output["nextToken"]);
48569
+ }
48570
+ if (output.subscriptionSet === "") {
48571
+ contents.Subscriptions = [];
48572
+ }
48573
+ else if (output["subscriptionSet"] !== undefined && output["subscriptionSet"]["item"] !== undefined) {
48574
+ contents.Subscriptions = deserializeAws_ec2SubscriptionList(__getArrayIfSingleItem(output["subscriptionSet"]["item"]), context);
48575
+ }
48576
+ return contents;
48577
+ };
46205
48578
  const deserializeAws_ec2DescribeBundleTasksResult = (output, context) => {
46206
48579
  const contents = {
46207
48580
  BundleTasks: undefined,
@@ -48170,6 +50543,90 @@ const deserializeAws_ec2DescribeTrunkInterfaceAssociationsResult = (output, cont
48170
50543
  }
48171
50544
  return contents;
48172
50545
  };
50546
+ const deserializeAws_ec2DescribeVerifiedAccessEndpointsResult = (output, context) => {
50547
+ const contents = {
50548
+ VerifiedAccessEndpoints: undefined,
50549
+ NextToken: undefined,
50550
+ };
50551
+ if (output.verifiedAccessEndpointSet === "") {
50552
+ contents.VerifiedAccessEndpoints = [];
50553
+ }
50554
+ else if (output["verifiedAccessEndpointSet"] !== undefined &&
50555
+ output["verifiedAccessEndpointSet"]["item"] !== undefined) {
50556
+ contents.VerifiedAccessEndpoints = deserializeAws_ec2VerifiedAccessEndpointList(__getArrayIfSingleItem(output["verifiedAccessEndpointSet"]["item"]), context);
50557
+ }
50558
+ if (output["nextToken"] !== undefined) {
50559
+ contents.NextToken = __expectString(output["nextToken"]);
50560
+ }
50561
+ return contents;
50562
+ };
50563
+ const deserializeAws_ec2DescribeVerifiedAccessGroupsResult = (output, context) => {
50564
+ const contents = {
50565
+ VerifiedAccessGroups: undefined,
50566
+ NextToken: undefined,
50567
+ };
50568
+ if (output.verifiedAccessGroupSet === "") {
50569
+ contents.VerifiedAccessGroups = [];
50570
+ }
50571
+ else if (output["verifiedAccessGroupSet"] !== undefined && output["verifiedAccessGroupSet"]["item"] !== undefined) {
50572
+ contents.VerifiedAccessGroups = deserializeAws_ec2VerifiedAccessGroupList(__getArrayIfSingleItem(output["verifiedAccessGroupSet"]["item"]), context);
50573
+ }
50574
+ if (output["nextToken"] !== undefined) {
50575
+ contents.NextToken = __expectString(output["nextToken"]);
50576
+ }
50577
+ return contents;
50578
+ };
50579
+ const deserializeAws_ec2DescribeVerifiedAccessInstanceLoggingConfigurationsResult = (output, context) => {
50580
+ const contents = {
50581
+ LoggingConfigurations: undefined,
50582
+ NextToken: undefined,
50583
+ };
50584
+ if (output.loggingConfigurationSet === "") {
50585
+ contents.LoggingConfigurations = [];
50586
+ }
50587
+ else if (output["loggingConfigurationSet"] !== undefined &&
50588
+ output["loggingConfigurationSet"]["item"] !== undefined) {
50589
+ contents.LoggingConfigurations = deserializeAws_ec2VerifiedAccessInstanceLoggingConfigurationList(__getArrayIfSingleItem(output["loggingConfigurationSet"]["item"]), context);
50590
+ }
50591
+ if (output["nextToken"] !== undefined) {
50592
+ contents.NextToken = __expectString(output["nextToken"]);
50593
+ }
50594
+ return contents;
50595
+ };
50596
+ const deserializeAws_ec2DescribeVerifiedAccessInstancesResult = (output, context) => {
50597
+ const contents = {
50598
+ VerifiedAccessInstances: undefined,
50599
+ NextToken: undefined,
50600
+ };
50601
+ if (output.verifiedAccessInstanceSet === "") {
50602
+ contents.VerifiedAccessInstances = [];
50603
+ }
50604
+ else if (output["verifiedAccessInstanceSet"] !== undefined &&
50605
+ output["verifiedAccessInstanceSet"]["item"] !== undefined) {
50606
+ contents.VerifiedAccessInstances = deserializeAws_ec2VerifiedAccessInstanceList(__getArrayIfSingleItem(output["verifiedAccessInstanceSet"]["item"]), context);
50607
+ }
50608
+ if (output["nextToken"] !== undefined) {
50609
+ contents.NextToken = __expectString(output["nextToken"]);
50610
+ }
50611
+ return contents;
50612
+ };
50613
+ const deserializeAws_ec2DescribeVerifiedAccessTrustProvidersResult = (output, context) => {
50614
+ const contents = {
50615
+ VerifiedAccessTrustProviders: undefined,
50616
+ NextToken: undefined,
50617
+ };
50618
+ if (output.verifiedAccessTrustProviderSet === "") {
50619
+ contents.VerifiedAccessTrustProviders = [];
50620
+ }
50621
+ else if (output["verifiedAccessTrustProviderSet"] !== undefined &&
50622
+ output["verifiedAccessTrustProviderSet"]["item"] !== undefined) {
50623
+ contents.VerifiedAccessTrustProviders = deserializeAws_ec2VerifiedAccessTrustProviderList(__getArrayIfSingleItem(output["verifiedAccessTrustProviderSet"]["item"]), context);
50624
+ }
50625
+ if (output["nextToken"] !== undefined) {
50626
+ contents.NextToken = __expectString(output["nextToken"]);
50627
+ }
50628
+ return contents;
50629
+ };
48173
50630
  const deserializeAws_ec2DescribeVolumeAttributeResult = (output, context) => {
48174
50631
  const contents = {
48175
50632
  AutoEnableIO: undefined,
@@ -48476,6 +50933,28 @@ const deserializeAws_ec2DetachClassicLinkVpcResult = (output, context) => {
48476
50933
  }
48477
50934
  return contents;
48478
50935
  };
50936
+ const deserializeAws_ec2DetachVerifiedAccessTrustProviderResult = (output, context) => {
50937
+ const contents = {
50938
+ VerifiedAccessTrustProvider: undefined,
50939
+ VerifiedAccessInstance: undefined,
50940
+ };
50941
+ if (output["verifiedAccessTrustProvider"] !== undefined) {
50942
+ contents.VerifiedAccessTrustProvider = deserializeAws_ec2VerifiedAccessTrustProvider(output["verifiedAccessTrustProvider"], context);
50943
+ }
50944
+ if (output["verifiedAccessInstance"] !== undefined) {
50945
+ contents.VerifiedAccessInstance = deserializeAws_ec2VerifiedAccessInstance(output["verifiedAccessInstance"], context);
50946
+ }
50947
+ return contents;
50948
+ };
50949
+ const deserializeAws_ec2DeviceOptions = (output, context) => {
50950
+ const contents = {
50951
+ TenantId: undefined,
50952
+ };
50953
+ if (output["tenantId"] !== undefined) {
50954
+ contents.TenantId = __expectString(output["tenantId"]);
50955
+ }
50956
+ return contents;
50957
+ };
48479
50958
  const deserializeAws_ec2DhcpConfiguration = (output, context) => {
48480
50959
  const contents = {
48481
50960
  Key: undefined,
@@ -48558,6 +51037,15 @@ const deserializeAws_ec2DisableAddressTransferResult = (output, context) => {
48558
51037
  }
48559
51038
  return contents;
48560
51039
  };
51040
+ const deserializeAws_ec2DisableAwsNetworkPerformanceMetricSubscriptionResult = (output, context) => {
51041
+ const contents = {
51042
+ Output: undefined,
51043
+ };
51044
+ if (output["output"] !== undefined) {
51045
+ contents.Output = __parseBoolean(output["output"]);
51046
+ }
51047
+ return contents;
51048
+ };
48561
51049
  const deserializeAws_ec2DisableEbsEncryptionByDefaultResult = (output, context) => {
48562
51050
  const contents = {
48563
51051
  EbsEncryptionByDefault: undefined,
@@ -49275,6 +51763,15 @@ const deserializeAws_ec2EnableAddressTransferResult = (output, context) => {
49275
51763
  }
49276
51764
  return contents;
49277
51765
  };
51766
+ const deserializeAws_ec2EnableAwsNetworkPerformanceMetricSubscriptionResult = (output, context) => {
51767
+ const contents = {
51768
+ Output: undefined,
51769
+ };
51770
+ if (output["output"] !== undefined) {
51771
+ contents.Output = __parseBoolean(output["output"]);
51772
+ }
51773
+ return contents;
51774
+ };
49278
51775
  const deserializeAws_ec2EnableEbsEncryptionByDefaultResult = (output, context) => {
49279
51776
  const contents = {
49280
51777
  EbsEncryptionByDefault: undefined,
@@ -49475,6 +51972,15 @@ const deserializeAws_ec2EnableIpamOrganizationAdminAccountResult = (output, cont
49475
51972
  }
49476
51973
  return contents;
49477
51974
  };
51975
+ const deserializeAws_ec2EnableReachabilityAnalyzerOrganizationSharingResult = (output, context) => {
51976
+ const contents = {
51977
+ ReturnValue: undefined,
51978
+ };
51979
+ if (output["returnValue"] !== undefined) {
51980
+ contents.ReturnValue = __parseBoolean(output["returnValue"]);
51981
+ }
51982
+ return contents;
51983
+ };
49478
51984
  const deserializeAws_ec2EnableSerialConsoleAccessResult = (output, context) => {
49479
51985
  const contents = {
49480
51986
  SerialConsoleAccessEnabled: undefined,
@@ -50634,6 +53140,22 @@ const deserializeAws_ec2GetAssociatedIpv6PoolCidrsResult = (output, context) =>
50634
53140
  }
50635
53141
  return contents;
50636
53142
  };
53143
+ const deserializeAws_ec2GetAwsNetworkPerformanceDataResult = (output, context) => {
53144
+ const contents = {
53145
+ DataResponses: undefined,
53146
+ NextToken: undefined,
53147
+ };
53148
+ if (output.dataResponseSet === "") {
53149
+ contents.DataResponses = [];
53150
+ }
53151
+ else if (output["dataResponseSet"] !== undefined && output["dataResponseSet"]["item"] !== undefined) {
53152
+ contents.DataResponses = deserializeAws_ec2DataResponses(__getArrayIfSingleItem(output["dataResponseSet"]["item"]), context);
53153
+ }
53154
+ if (output["nextToken"] !== undefined) {
53155
+ contents.NextToken = __expectString(output["nextToken"]);
53156
+ }
53157
+ return contents;
53158
+ };
50637
53159
  const deserializeAws_ec2GetCapacityReservationUsageResult = (output, context) => {
50638
53160
  const contents = {
50639
53161
  NextToken: undefined,
@@ -51194,6 +53716,32 @@ const deserializeAws_ec2GetTransitGatewayRouteTablePropagationsResult = (output,
51194
53716
  }
51195
53717
  return contents;
51196
53718
  };
53719
+ const deserializeAws_ec2GetVerifiedAccessEndpointPolicyResult = (output, context) => {
53720
+ const contents = {
53721
+ PolicyEnabled: undefined,
53722
+ PolicyDocument: undefined,
53723
+ };
53724
+ if (output["policyEnabled"] !== undefined) {
53725
+ contents.PolicyEnabled = __parseBoolean(output["policyEnabled"]);
53726
+ }
53727
+ if (output["policyDocument"] !== undefined) {
53728
+ contents.PolicyDocument = __expectString(output["policyDocument"]);
53729
+ }
53730
+ return contents;
53731
+ };
53732
+ const deserializeAws_ec2GetVerifiedAccessGroupPolicyResult = (output, context) => {
53733
+ const contents = {
53734
+ PolicyEnabled: undefined,
53735
+ PolicyDocument: undefined,
53736
+ };
53737
+ if (output["policyEnabled"] !== undefined) {
53738
+ contents.PolicyEnabled = __parseBoolean(output["policyEnabled"]);
53739
+ }
53740
+ if (output["policyDocument"] !== undefined) {
53741
+ contents.PolicyDocument = __expectString(output["policyDocument"]);
53742
+ }
53743
+ return contents;
53744
+ };
51197
53745
  const deserializeAws_ec2GetVpnConnectionDeviceSampleConfigurationResult = (output, context) => {
51198
53746
  const contents = {
51199
53747
  VpnConnectionDeviceSampleConfiguration: undefined,
@@ -55976,6 +58524,34 @@ const deserializeAws_ec2MemoryMiB = (output, context) => {
55976
58524
  }
55977
58525
  return contents;
55978
58526
  };
58527
+ const deserializeAws_ec2MetricPoint = (output, context) => {
58528
+ const contents = {
58529
+ StartDate: undefined,
58530
+ EndDate: undefined,
58531
+ Value: undefined,
58532
+ Status: undefined,
58533
+ };
58534
+ if (output["startDate"] !== undefined) {
58535
+ contents.StartDate = __expectNonNull(__parseRfc3339DateTime(output["startDate"]));
58536
+ }
58537
+ if (output["endDate"] !== undefined) {
58538
+ contents.EndDate = __expectNonNull(__parseRfc3339DateTime(output["endDate"]));
58539
+ }
58540
+ if (output["value"] !== undefined) {
58541
+ contents.Value = __strictParseFloat(output["value"]);
58542
+ }
58543
+ if (output["status"] !== undefined) {
58544
+ contents.Status = __expectString(output["status"]);
58545
+ }
58546
+ return contents;
58547
+ };
58548
+ const deserializeAws_ec2MetricPoints = (output, context) => {
58549
+ return (output || [])
58550
+ .filter((e) => e != null)
58551
+ .map((entry) => {
58552
+ return deserializeAws_ec2MetricPoint(entry, context);
58553
+ });
58554
+ };
55979
58555
  const deserializeAws_ec2ModifyAddressAttributeResult = (output, context) => {
55980
58556
  const contents = {
55981
58557
  Address: undefined,
@@ -56325,6 +58901,77 @@ const deserializeAws_ec2ModifyTransitGatewayVpcAttachmentResult = (output, conte
56325
58901
  }
56326
58902
  return contents;
56327
58903
  };
58904
+ const deserializeAws_ec2ModifyVerifiedAccessEndpointPolicyResult = (output, context) => {
58905
+ const contents = {
58906
+ PolicyEnabled: undefined,
58907
+ PolicyDocument: undefined,
58908
+ };
58909
+ if (output["policyEnabled"] !== undefined) {
58910
+ contents.PolicyEnabled = __parseBoolean(output["policyEnabled"]);
58911
+ }
58912
+ if (output["policyDocument"] !== undefined) {
58913
+ contents.PolicyDocument = __expectString(output["policyDocument"]);
58914
+ }
58915
+ return contents;
58916
+ };
58917
+ const deserializeAws_ec2ModifyVerifiedAccessEndpointResult = (output, context) => {
58918
+ const contents = {
58919
+ VerifiedAccessEndpoint: undefined,
58920
+ };
58921
+ if (output["verifiedAccessEndpoint"] !== undefined) {
58922
+ contents.VerifiedAccessEndpoint = deserializeAws_ec2VerifiedAccessEndpoint(output["verifiedAccessEndpoint"], context);
58923
+ }
58924
+ return contents;
58925
+ };
58926
+ const deserializeAws_ec2ModifyVerifiedAccessGroupPolicyResult = (output, context) => {
58927
+ const contents = {
58928
+ PolicyEnabled: undefined,
58929
+ PolicyDocument: undefined,
58930
+ };
58931
+ if (output["policyEnabled"] !== undefined) {
58932
+ contents.PolicyEnabled = __parseBoolean(output["policyEnabled"]);
58933
+ }
58934
+ if (output["policyDocument"] !== undefined) {
58935
+ contents.PolicyDocument = __expectString(output["policyDocument"]);
58936
+ }
58937
+ return contents;
58938
+ };
58939
+ const deserializeAws_ec2ModifyVerifiedAccessGroupResult = (output, context) => {
58940
+ const contents = {
58941
+ VerifiedAccessGroup: undefined,
58942
+ };
58943
+ if (output["verifiedAccessGroup"] !== undefined) {
58944
+ contents.VerifiedAccessGroup = deserializeAws_ec2VerifiedAccessGroup(output["verifiedAccessGroup"], context);
58945
+ }
58946
+ return contents;
58947
+ };
58948
+ const deserializeAws_ec2ModifyVerifiedAccessInstanceLoggingConfigurationResult = (output, context) => {
58949
+ const contents = {
58950
+ LoggingConfiguration: undefined,
58951
+ };
58952
+ if (output["loggingConfiguration"] !== undefined) {
58953
+ contents.LoggingConfiguration = deserializeAws_ec2VerifiedAccessInstanceLoggingConfiguration(output["loggingConfiguration"], context);
58954
+ }
58955
+ return contents;
58956
+ };
58957
+ const deserializeAws_ec2ModifyVerifiedAccessInstanceResult = (output, context) => {
58958
+ const contents = {
58959
+ VerifiedAccessInstance: undefined,
58960
+ };
58961
+ if (output["verifiedAccessInstance"] !== undefined) {
58962
+ contents.VerifiedAccessInstance = deserializeAws_ec2VerifiedAccessInstance(output["verifiedAccessInstance"], context);
58963
+ }
58964
+ return contents;
58965
+ };
58966
+ const deserializeAws_ec2ModifyVerifiedAccessTrustProviderResult = (output, context) => {
58967
+ const contents = {
58968
+ VerifiedAccessTrustProvider: undefined,
58969
+ };
58970
+ if (output["verifiedAccessTrustProvider"] !== undefined) {
58971
+ contents.VerifiedAccessTrustProvider = deserializeAws_ec2VerifiedAccessTrustProvider(output["verifiedAccessTrustProvider"], context);
58972
+ }
58973
+ return contents;
58974
+ };
56328
58975
  const deserializeAws_ec2ModifyVolumeResult = (output, context) => {
56329
58976
  const contents = {
56330
58977
  VolumeModification: undefined,
@@ -56769,6 +59416,7 @@ const deserializeAws_ec2NetworkInfo = (output, context) => {
56769
59416
  EfaSupported: undefined,
56770
59417
  EfaInfo: undefined,
56771
59418
  EncryptionInTransitSupported: undefined,
59419
+ EnaSrdSupported: undefined,
56772
59420
  };
56773
59421
  if (output["networkPerformance"] !== undefined) {
56774
59422
  contents.NetworkPerformance = __expectString(output["networkPerformance"]);
@@ -56809,6 +59457,9 @@ const deserializeAws_ec2NetworkInfo = (output, context) => {
56809
59457
  if (output["encryptionInTransitSupported"] !== undefined) {
56810
59458
  contents.EncryptionInTransitSupported = __parseBoolean(output["encryptionInTransitSupported"]);
56811
59459
  }
59460
+ if (output["enaSrdSupported"] !== undefined) {
59461
+ contents.EnaSrdSupported = __parseBoolean(output["enaSrdSupported"]);
59462
+ }
56812
59463
  return contents;
56813
59464
  };
56814
59465
  const deserializeAws_ec2NetworkInsightsAccessScope = (output, context) => {
@@ -56933,6 +59584,7 @@ const deserializeAws_ec2NetworkInsightsAnalysis = (output, context) => {
56933
59584
  NetworkInsightsAnalysisId: undefined,
56934
59585
  NetworkInsightsAnalysisArn: undefined,
56935
59586
  NetworkInsightsPathId: undefined,
59587
+ AdditionalAccounts: undefined,
56936
59588
  FilterInArns: undefined,
56937
59589
  StartDate: undefined,
56938
59590
  Status: undefined,
@@ -56943,6 +59595,7 @@ const deserializeAws_ec2NetworkInsightsAnalysis = (output, context) => {
56943
59595
  ReturnPathComponents: undefined,
56944
59596
  Explanations: undefined,
56945
59597
  AlternatePathHints: undefined,
59598
+ SuggestedAccounts: undefined,
56946
59599
  Tags: undefined,
56947
59600
  };
56948
59601
  if (output["networkInsightsAnalysisId"] !== undefined) {
@@ -56954,6 +59607,12 @@ const deserializeAws_ec2NetworkInsightsAnalysis = (output, context) => {
56954
59607
  if (output["networkInsightsPathId"] !== undefined) {
56955
59608
  contents.NetworkInsightsPathId = __expectString(output["networkInsightsPathId"]);
56956
59609
  }
59610
+ if (output.additionalAccountSet === "") {
59611
+ contents.AdditionalAccounts = [];
59612
+ }
59613
+ else if (output["additionalAccountSet"] !== undefined && output["additionalAccountSet"]["item"] !== undefined) {
59614
+ contents.AdditionalAccounts = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["additionalAccountSet"]["item"]), context);
59615
+ }
56957
59616
  if (output.filterInArnSet === "") {
56958
59617
  contents.FilterInArns = [];
56959
59618
  }
@@ -57000,6 +59659,12 @@ const deserializeAws_ec2NetworkInsightsAnalysis = (output, context) => {
57000
59659
  else if (output["alternatePathHintSet"] !== undefined && output["alternatePathHintSet"]["item"] !== undefined) {
57001
59660
  contents.AlternatePathHints = deserializeAws_ec2AlternatePathHintList(__getArrayIfSingleItem(output["alternatePathHintSet"]["item"]), context);
57002
59661
  }
59662
+ if (output.suggestedAccountSet === "") {
59663
+ contents.SuggestedAccounts = [];
59664
+ }
59665
+ else if (output["suggestedAccountSet"] !== undefined && output["suggestedAccountSet"]["item"] !== undefined) {
59666
+ contents.SuggestedAccounts = deserializeAws_ec2ValueStringList(__getArrayIfSingleItem(output["suggestedAccountSet"]["item"]), context);
59667
+ }
57003
59668
  if (output.tagSet === "") {
57004
59669
  contents.Tags = [];
57005
59670
  }
@@ -57022,6 +59687,8 @@ const deserializeAws_ec2NetworkInsightsPath = (output, context) => {
57022
59687
  CreatedDate: undefined,
57023
59688
  Source: undefined,
57024
59689
  Destination: undefined,
59690
+ SourceArn: undefined,
59691
+ DestinationArn: undefined,
57025
59692
  SourceIp: undefined,
57026
59693
  DestinationIp: undefined,
57027
59694
  Protocol: undefined,
@@ -57043,6 +59710,12 @@ const deserializeAws_ec2NetworkInsightsPath = (output, context) => {
57043
59710
  if (output["destination"] !== undefined) {
57044
59711
  contents.Destination = __expectString(output["destination"]);
57045
59712
  }
59713
+ if (output["sourceArn"] !== undefined) {
59714
+ contents.SourceArn = __expectString(output["sourceArn"]);
59715
+ }
59716
+ if (output["destinationArn"] !== undefined) {
59717
+ contents.DestinationArn = __expectString(output["destinationArn"]);
59718
+ }
57046
59719
  if (output["sourceIp"] !== undefined) {
57047
59720
  contents.SourceIp = __expectString(output["sourceIp"]);
57048
59721
  }
@@ -57240,6 +59913,7 @@ const deserializeAws_ec2NetworkInterfaceAttachment = (output, context) => {
57240
59913
  InstanceId: undefined,
57241
59914
  InstanceOwnerId: undefined,
57242
59915
  Status: undefined,
59916
+ EnaSrdSpecification: undefined,
57243
59917
  };
57244
59918
  if (output["attachTime"] !== undefined) {
57245
59919
  contents.AttachTime = __expectNonNull(__parseRfc3339DateTime(output["attachTime"]));
@@ -57265,6 +59939,9 @@ const deserializeAws_ec2NetworkInterfaceAttachment = (output, context) => {
57265
59939
  if (output["status"] !== undefined) {
57266
59940
  contents.Status = __expectString(output["status"]);
57267
59941
  }
59942
+ if (output["enaSrdSpecification"] !== undefined) {
59943
+ contents.EnaSrdSpecification = deserializeAws_ec2AttachmentEnaSrdSpecification(output["enaSrdSpecification"], context);
59944
+ }
57268
59945
  return contents;
57269
59946
  };
57270
59947
  const deserializeAws_ec2NetworkInterfaceCount = (output, context) => {
@@ -57387,6 +60064,39 @@ const deserializeAws_ec2OccurrenceDaySet = (output, context) => {
57387
60064
  return __strictParseInt32(entry);
57388
60065
  });
57389
60066
  };
60067
+ const deserializeAws_ec2OidcOptions = (output, context) => {
60068
+ const contents = {
60069
+ Issuer: undefined,
60070
+ AuthorizationEndpoint: undefined,
60071
+ TokenEndpoint: undefined,
60072
+ UserInfoEndpoint: undefined,
60073
+ ClientId: undefined,
60074
+ ClientSecret: undefined,
60075
+ Scope: undefined,
60076
+ };
60077
+ if (output["issuer"] !== undefined) {
60078
+ contents.Issuer = __expectString(output["issuer"]);
60079
+ }
60080
+ if (output["authorizationEndpoint"] !== undefined) {
60081
+ contents.AuthorizationEndpoint = __expectString(output["authorizationEndpoint"]);
60082
+ }
60083
+ if (output["tokenEndpoint"] !== undefined) {
60084
+ contents.TokenEndpoint = __expectString(output["tokenEndpoint"]);
60085
+ }
60086
+ if (output["userInfoEndpoint"] !== undefined) {
60087
+ contents.UserInfoEndpoint = __expectString(output["userInfoEndpoint"]);
60088
+ }
60089
+ if (output["clientId"] !== undefined) {
60090
+ contents.ClientId = __expectString(output["clientId"]);
60091
+ }
60092
+ if (output["clientSecret"] !== undefined) {
60093
+ contents.ClientSecret = __expectString(output["clientSecret"]);
60094
+ }
60095
+ if (output["scope"] !== undefined) {
60096
+ contents.Scope = __expectString(output["scope"]);
60097
+ }
60098
+ return contents;
60099
+ };
57390
60100
  const deserializeAws_ec2OnDemandOptions = (output, context) => {
57391
60101
  const contents = {
57392
60102
  AllocationStrategy: undefined,
@@ -60035,6 +62745,13 @@ const deserializeAws_ec2SecurityGroupIdentifier = (output, context) => {
60035
62745
  }
60036
62746
  return contents;
60037
62747
  };
62748
+ const deserializeAws_ec2SecurityGroupIdList = (output, context) => {
62749
+ return (output || [])
62750
+ .filter((e) => e != null)
62751
+ .map((entry) => {
62752
+ return __expectString(entry);
62753
+ });
62754
+ };
60038
62755
  const deserializeAws_ec2SecurityGroupIdStringList = (output, context) => {
60039
62756
  return (output || [])
60040
62757
  .filter((e) => e != null)
@@ -61652,6 +64369,38 @@ const deserializeAws_ec2SubnetList = (output, context) => {
61652
64369
  return deserializeAws_ec2Subnet(entry, context);
61653
64370
  });
61654
64371
  };
64372
+ const deserializeAws_ec2Subscription = (output, context) => {
64373
+ const contents = {
64374
+ Source: undefined,
64375
+ Destination: undefined,
64376
+ Metric: undefined,
64377
+ Statistic: undefined,
64378
+ Period: undefined,
64379
+ };
64380
+ if (output["source"] !== undefined) {
64381
+ contents.Source = __expectString(output["source"]);
64382
+ }
64383
+ if (output["destination"] !== undefined) {
64384
+ contents.Destination = __expectString(output["destination"]);
64385
+ }
64386
+ if (output["metric"] !== undefined) {
64387
+ contents.Metric = __expectString(output["metric"]);
64388
+ }
64389
+ if (output["statistic"] !== undefined) {
64390
+ contents.Statistic = __expectString(output["statistic"]);
64391
+ }
64392
+ if (output["period"] !== undefined) {
64393
+ contents.Period = __expectString(output["period"]);
64394
+ }
64395
+ return contents;
64396
+ };
64397
+ const deserializeAws_ec2SubscriptionList = (output, context) => {
64398
+ return (output || [])
64399
+ .filter((e) => e != null)
64400
+ .map((entry) => {
64401
+ return deserializeAws_ec2Subscription(entry, context);
64402
+ });
64403
+ };
61655
64404
  const deserializeAws_ec2SuccessfulInstanceCreditSpecificationItem = (output, context) => {
61656
64405
  const contents = {
61657
64406
  InstanceId: undefined,
@@ -63872,6 +66621,451 @@ const deserializeAws_ec2VCpuInfo = (output, context) => {
63872
66621
  }
63873
66622
  return contents;
63874
66623
  };
66624
+ const deserializeAws_ec2VerifiedAccessEndpoint = (output, context) => {
66625
+ const contents = {
66626
+ VerifiedAccessInstanceId: undefined,
66627
+ VerifiedAccessGroupId: undefined,
66628
+ VerifiedAccessEndpointId: undefined,
66629
+ ApplicationDomain: undefined,
66630
+ EndpointType: undefined,
66631
+ AttachmentType: undefined,
66632
+ DomainCertificateArn: undefined,
66633
+ EndpointDomain: undefined,
66634
+ DeviceValidationDomain: undefined,
66635
+ SecurityGroupIds: undefined,
66636
+ LoadBalancerOptions: undefined,
66637
+ NetworkInterfaceOptions: undefined,
66638
+ Status: undefined,
66639
+ Description: undefined,
66640
+ CreationTime: undefined,
66641
+ LastUpdatedTime: undefined,
66642
+ DeletionTime: undefined,
66643
+ Tags: undefined,
66644
+ };
66645
+ if (output["verifiedAccessInstanceId"] !== undefined) {
66646
+ contents.VerifiedAccessInstanceId = __expectString(output["verifiedAccessInstanceId"]);
66647
+ }
66648
+ if (output["verifiedAccessGroupId"] !== undefined) {
66649
+ contents.VerifiedAccessGroupId = __expectString(output["verifiedAccessGroupId"]);
66650
+ }
66651
+ if (output["verifiedAccessEndpointId"] !== undefined) {
66652
+ contents.VerifiedAccessEndpointId = __expectString(output["verifiedAccessEndpointId"]);
66653
+ }
66654
+ if (output["applicationDomain"] !== undefined) {
66655
+ contents.ApplicationDomain = __expectString(output["applicationDomain"]);
66656
+ }
66657
+ if (output["endpointType"] !== undefined) {
66658
+ contents.EndpointType = __expectString(output["endpointType"]);
66659
+ }
66660
+ if (output["attachmentType"] !== undefined) {
66661
+ contents.AttachmentType = __expectString(output["attachmentType"]);
66662
+ }
66663
+ if (output["domainCertificateArn"] !== undefined) {
66664
+ contents.DomainCertificateArn = __expectString(output["domainCertificateArn"]);
66665
+ }
66666
+ if (output["endpointDomain"] !== undefined) {
66667
+ contents.EndpointDomain = __expectString(output["endpointDomain"]);
66668
+ }
66669
+ if (output["deviceValidationDomain"] !== undefined) {
66670
+ contents.DeviceValidationDomain = __expectString(output["deviceValidationDomain"]);
66671
+ }
66672
+ if (output.securityGroupIdSet === "") {
66673
+ contents.SecurityGroupIds = [];
66674
+ }
66675
+ else if (output["securityGroupIdSet"] !== undefined && output["securityGroupIdSet"]["item"] !== undefined) {
66676
+ contents.SecurityGroupIds = deserializeAws_ec2SecurityGroupIdList(__getArrayIfSingleItem(output["securityGroupIdSet"]["item"]), context);
66677
+ }
66678
+ if (output["loadBalancerOptions"] !== undefined) {
66679
+ contents.LoadBalancerOptions = deserializeAws_ec2VerifiedAccessEndpointLoadBalancerOptions(output["loadBalancerOptions"], context);
66680
+ }
66681
+ if (output["networkInterfaceOptions"] !== undefined) {
66682
+ contents.NetworkInterfaceOptions = deserializeAws_ec2VerifiedAccessEndpointEniOptions(output["networkInterfaceOptions"], context);
66683
+ }
66684
+ if (output["status"] !== undefined) {
66685
+ contents.Status = deserializeAws_ec2VerifiedAccessEndpointStatus(output["status"], context);
66686
+ }
66687
+ if (output["description"] !== undefined) {
66688
+ contents.Description = __expectString(output["description"]);
66689
+ }
66690
+ if (output["creationTime"] !== undefined) {
66691
+ contents.CreationTime = __expectString(output["creationTime"]);
66692
+ }
66693
+ if (output["lastUpdatedTime"] !== undefined) {
66694
+ contents.LastUpdatedTime = __expectString(output["lastUpdatedTime"]);
66695
+ }
66696
+ if (output["deletionTime"] !== undefined) {
66697
+ contents.DeletionTime = __expectString(output["deletionTime"]);
66698
+ }
66699
+ if (output.tagSet === "") {
66700
+ contents.Tags = [];
66701
+ }
66702
+ else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
66703
+ contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
66704
+ }
66705
+ return contents;
66706
+ };
66707
+ const deserializeAws_ec2VerifiedAccessEndpointEniOptions = (output, context) => {
66708
+ const contents = {
66709
+ NetworkInterfaceId: undefined,
66710
+ Protocol: undefined,
66711
+ Port: undefined,
66712
+ };
66713
+ if (output["networkInterfaceId"] !== undefined) {
66714
+ contents.NetworkInterfaceId = __expectString(output["networkInterfaceId"]);
66715
+ }
66716
+ if (output["protocol"] !== undefined) {
66717
+ contents.Protocol = __expectString(output["protocol"]);
66718
+ }
66719
+ if (output["port"] !== undefined) {
66720
+ contents.Port = __strictParseInt32(output["port"]);
66721
+ }
66722
+ return contents;
66723
+ };
66724
+ const deserializeAws_ec2VerifiedAccessEndpointList = (output, context) => {
66725
+ return (output || [])
66726
+ .filter((e) => e != null)
66727
+ .map((entry) => {
66728
+ return deserializeAws_ec2VerifiedAccessEndpoint(entry, context);
66729
+ });
66730
+ };
66731
+ const deserializeAws_ec2VerifiedAccessEndpointLoadBalancerOptions = (output, context) => {
66732
+ const contents = {
66733
+ Protocol: undefined,
66734
+ Port: undefined,
66735
+ LoadBalancerArn: undefined,
66736
+ SubnetIds: undefined,
66737
+ };
66738
+ if (output["protocol"] !== undefined) {
66739
+ contents.Protocol = __expectString(output["protocol"]);
66740
+ }
66741
+ if (output["port"] !== undefined) {
66742
+ contents.Port = __strictParseInt32(output["port"]);
66743
+ }
66744
+ if (output["loadBalancerArn"] !== undefined) {
66745
+ contents.LoadBalancerArn = __expectString(output["loadBalancerArn"]);
66746
+ }
66747
+ if (output.subnetIdSet === "") {
66748
+ contents.SubnetIds = [];
66749
+ }
66750
+ else if (output["subnetIdSet"] !== undefined && output["subnetIdSet"]["item"] !== undefined) {
66751
+ contents.SubnetIds = deserializeAws_ec2VerifiedAccessEndpointSubnetIdList(__getArrayIfSingleItem(output["subnetIdSet"]["item"]), context);
66752
+ }
66753
+ return contents;
66754
+ };
66755
+ const deserializeAws_ec2VerifiedAccessEndpointStatus = (output, context) => {
66756
+ const contents = {
66757
+ Code: undefined,
66758
+ Message: undefined,
66759
+ };
66760
+ if (output["code"] !== undefined) {
66761
+ contents.Code = __expectString(output["code"]);
66762
+ }
66763
+ if (output["message"] !== undefined) {
66764
+ contents.Message = __expectString(output["message"]);
66765
+ }
66766
+ return contents;
66767
+ };
66768
+ const deserializeAws_ec2VerifiedAccessEndpointSubnetIdList = (output, context) => {
66769
+ return (output || [])
66770
+ .filter((e) => e != null)
66771
+ .map((entry) => {
66772
+ return __expectString(entry);
66773
+ });
66774
+ };
66775
+ const deserializeAws_ec2VerifiedAccessGroup = (output, context) => {
66776
+ const contents = {
66777
+ VerifiedAccessGroupId: undefined,
66778
+ VerifiedAccessInstanceId: undefined,
66779
+ Description: undefined,
66780
+ Owner: undefined,
66781
+ VerifiedAccessGroupArn: undefined,
66782
+ CreationTime: undefined,
66783
+ LastUpdatedTime: undefined,
66784
+ DeletionTime: undefined,
66785
+ Tags: undefined,
66786
+ };
66787
+ if (output["verifiedAccessGroupId"] !== undefined) {
66788
+ contents.VerifiedAccessGroupId = __expectString(output["verifiedAccessGroupId"]);
66789
+ }
66790
+ if (output["verifiedAccessInstanceId"] !== undefined) {
66791
+ contents.VerifiedAccessInstanceId = __expectString(output["verifiedAccessInstanceId"]);
66792
+ }
66793
+ if (output["description"] !== undefined) {
66794
+ contents.Description = __expectString(output["description"]);
66795
+ }
66796
+ if (output["owner"] !== undefined) {
66797
+ contents.Owner = __expectString(output["owner"]);
66798
+ }
66799
+ if (output["verifiedAccessGroupArn"] !== undefined) {
66800
+ contents.VerifiedAccessGroupArn = __expectString(output["verifiedAccessGroupArn"]);
66801
+ }
66802
+ if (output["creationTime"] !== undefined) {
66803
+ contents.CreationTime = __expectString(output["creationTime"]);
66804
+ }
66805
+ if (output["lastUpdatedTime"] !== undefined) {
66806
+ contents.LastUpdatedTime = __expectString(output["lastUpdatedTime"]);
66807
+ }
66808
+ if (output["deletionTime"] !== undefined) {
66809
+ contents.DeletionTime = __expectString(output["deletionTime"]);
66810
+ }
66811
+ if (output.tagSet === "") {
66812
+ contents.Tags = [];
66813
+ }
66814
+ else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
66815
+ contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
66816
+ }
66817
+ return contents;
66818
+ };
66819
+ const deserializeAws_ec2VerifiedAccessGroupList = (output, context) => {
66820
+ return (output || [])
66821
+ .filter((e) => e != null)
66822
+ .map((entry) => {
66823
+ return deserializeAws_ec2VerifiedAccessGroup(entry, context);
66824
+ });
66825
+ };
66826
+ const deserializeAws_ec2VerifiedAccessInstance = (output, context) => {
66827
+ const contents = {
66828
+ VerifiedAccessInstanceId: undefined,
66829
+ Description: undefined,
66830
+ VerifiedAccessTrustProviders: undefined,
66831
+ CreationTime: undefined,
66832
+ LastUpdatedTime: undefined,
66833
+ Tags: undefined,
66834
+ };
66835
+ if (output["verifiedAccessInstanceId"] !== undefined) {
66836
+ contents.VerifiedAccessInstanceId = __expectString(output["verifiedAccessInstanceId"]);
66837
+ }
66838
+ if (output["description"] !== undefined) {
66839
+ contents.Description = __expectString(output["description"]);
66840
+ }
66841
+ if (output.verifiedAccessTrustProviderSet === "") {
66842
+ contents.VerifiedAccessTrustProviders = [];
66843
+ }
66844
+ else if (output["verifiedAccessTrustProviderSet"] !== undefined &&
66845
+ output["verifiedAccessTrustProviderSet"]["item"] !== undefined) {
66846
+ contents.VerifiedAccessTrustProviders = deserializeAws_ec2VerifiedAccessTrustProviderCondensedList(__getArrayIfSingleItem(output["verifiedAccessTrustProviderSet"]["item"]), context);
66847
+ }
66848
+ if (output["creationTime"] !== undefined) {
66849
+ contents.CreationTime = __expectString(output["creationTime"]);
66850
+ }
66851
+ if (output["lastUpdatedTime"] !== undefined) {
66852
+ contents.LastUpdatedTime = __expectString(output["lastUpdatedTime"]);
66853
+ }
66854
+ if (output.tagSet === "") {
66855
+ contents.Tags = [];
66856
+ }
66857
+ else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
66858
+ contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
66859
+ }
66860
+ return contents;
66861
+ };
66862
+ const deserializeAws_ec2VerifiedAccessInstanceList = (output, context) => {
66863
+ return (output || [])
66864
+ .filter((e) => e != null)
66865
+ .map((entry) => {
66866
+ return deserializeAws_ec2VerifiedAccessInstance(entry, context);
66867
+ });
66868
+ };
66869
+ const deserializeAws_ec2VerifiedAccessInstanceLoggingConfiguration = (output, context) => {
66870
+ const contents = {
66871
+ VerifiedAccessInstanceId: undefined,
66872
+ AccessLogs: undefined,
66873
+ };
66874
+ if (output["verifiedAccessInstanceId"] !== undefined) {
66875
+ contents.VerifiedAccessInstanceId = __expectString(output["verifiedAccessInstanceId"]);
66876
+ }
66877
+ if (output["accessLogs"] !== undefined) {
66878
+ contents.AccessLogs = deserializeAws_ec2VerifiedAccessLogs(output["accessLogs"], context);
66879
+ }
66880
+ return contents;
66881
+ };
66882
+ const deserializeAws_ec2VerifiedAccessInstanceLoggingConfigurationList = (output, context) => {
66883
+ return (output || [])
66884
+ .filter((e) => e != null)
66885
+ .map((entry) => {
66886
+ return deserializeAws_ec2VerifiedAccessInstanceLoggingConfiguration(entry, context);
66887
+ });
66888
+ };
66889
+ const deserializeAws_ec2VerifiedAccessLogCloudWatchLogsDestination = (output, context) => {
66890
+ const contents = {
66891
+ Enabled: undefined,
66892
+ DeliveryStatus: undefined,
66893
+ LogGroup: undefined,
66894
+ };
66895
+ if (output["enabled"] !== undefined) {
66896
+ contents.Enabled = __parseBoolean(output["enabled"]);
66897
+ }
66898
+ if (output["deliveryStatus"] !== undefined) {
66899
+ contents.DeliveryStatus = deserializeAws_ec2VerifiedAccessLogDeliveryStatus(output["deliveryStatus"], context);
66900
+ }
66901
+ if (output["logGroup"] !== undefined) {
66902
+ contents.LogGroup = __expectString(output["logGroup"]);
66903
+ }
66904
+ return contents;
66905
+ };
66906
+ const deserializeAws_ec2VerifiedAccessLogDeliveryStatus = (output, context) => {
66907
+ const contents = {
66908
+ Code: undefined,
66909
+ Message: undefined,
66910
+ };
66911
+ if (output["code"] !== undefined) {
66912
+ contents.Code = __expectString(output["code"]);
66913
+ }
66914
+ if (output["message"] !== undefined) {
66915
+ contents.Message = __expectString(output["message"]);
66916
+ }
66917
+ return contents;
66918
+ };
66919
+ const deserializeAws_ec2VerifiedAccessLogKinesisDataFirehoseDestination = (output, context) => {
66920
+ const contents = {
66921
+ Enabled: undefined,
66922
+ DeliveryStatus: undefined,
66923
+ DeliveryStream: undefined,
66924
+ };
66925
+ if (output["enabled"] !== undefined) {
66926
+ contents.Enabled = __parseBoolean(output["enabled"]);
66927
+ }
66928
+ if (output["deliveryStatus"] !== undefined) {
66929
+ contents.DeliveryStatus = deserializeAws_ec2VerifiedAccessLogDeliveryStatus(output["deliveryStatus"], context);
66930
+ }
66931
+ if (output["deliveryStream"] !== undefined) {
66932
+ contents.DeliveryStream = __expectString(output["deliveryStream"]);
66933
+ }
66934
+ return contents;
66935
+ };
66936
+ const deserializeAws_ec2VerifiedAccessLogs = (output, context) => {
66937
+ const contents = {
66938
+ S3: undefined,
66939
+ CloudWatchLogs: undefined,
66940
+ KinesisDataFirehose: undefined,
66941
+ };
66942
+ if (output["s3"] !== undefined) {
66943
+ contents.S3 = deserializeAws_ec2VerifiedAccessLogS3Destination(output["s3"], context);
66944
+ }
66945
+ if (output["cloudWatchLogs"] !== undefined) {
66946
+ contents.CloudWatchLogs = deserializeAws_ec2VerifiedAccessLogCloudWatchLogsDestination(output["cloudWatchLogs"], context);
66947
+ }
66948
+ if (output["kinesisDataFirehose"] !== undefined) {
66949
+ contents.KinesisDataFirehose = deserializeAws_ec2VerifiedAccessLogKinesisDataFirehoseDestination(output["kinesisDataFirehose"], context);
66950
+ }
66951
+ return contents;
66952
+ };
66953
+ const deserializeAws_ec2VerifiedAccessLogS3Destination = (output, context) => {
66954
+ const contents = {
66955
+ Enabled: undefined,
66956
+ DeliveryStatus: undefined,
66957
+ BucketName: undefined,
66958
+ Prefix: undefined,
66959
+ BucketOwner: undefined,
66960
+ };
66961
+ if (output["enabled"] !== undefined) {
66962
+ contents.Enabled = __parseBoolean(output["enabled"]);
66963
+ }
66964
+ if (output["deliveryStatus"] !== undefined) {
66965
+ contents.DeliveryStatus = deserializeAws_ec2VerifiedAccessLogDeliveryStatus(output["deliveryStatus"], context);
66966
+ }
66967
+ if (output["bucketName"] !== undefined) {
66968
+ contents.BucketName = __expectString(output["bucketName"]);
66969
+ }
66970
+ if (output["prefix"] !== undefined) {
66971
+ contents.Prefix = __expectString(output["prefix"]);
66972
+ }
66973
+ if (output["bucketOwner"] !== undefined) {
66974
+ contents.BucketOwner = __expectString(output["bucketOwner"]);
66975
+ }
66976
+ return contents;
66977
+ };
66978
+ const deserializeAws_ec2VerifiedAccessTrustProvider = (output, context) => {
66979
+ const contents = {
66980
+ VerifiedAccessTrustProviderId: undefined,
66981
+ Description: undefined,
66982
+ TrustProviderType: undefined,
66983
+ UserTrustProviderType: undefined,
66984
+ DeviceTrustProviderType: undefined,
66985
+ OidcOptions: undefined,
66986
+ DeviceOptions: undefined,
66987
+ PolicyReferenceName: undefined,
66988
+ CreationTime: undefined,
66989
+ LastUpdatedTime: undefined,
66990
+ Tags: undefined,
66991
+ };
66992
+ if (output["verifiedAccessTrustProviderId"] !== undefined) {
66993
+ contents.VerifiedAccessTrustProviderId = __expectString(output["verifiedAccessTrustProviderId"]);
66994
+ }
66995
+ if (output["description"] !== undefined) {
66996
+ contents.Description = __expectString(output["description"]);
66997
+ }
66998
+ if (output["trustProviderType"] !== undefined) {
66999
+ contents.TrustProviderType = __expectString(output["trustProviderType"]);
67000
+ }
67001
+ if (output["userTrustProviderType"] !== undefined) {
67002
+ contents.UserTrustProviderType = __expectString(output["userTrustProviderType"]);
67003
+ }
67004
+ if (output["deviceTrustProviderType"] !== undefined) {
67005
+ contents.DeviceTrustProviderType = __expectString(output["deviceTrustProviderType"]);
67006
+ }
67007
+ if (output["oidcOptions"] !== undefined) {
67008
+ contents.OidcOptions = deserializeAws_ec2OidcOptions(output["oidcOptions"], context);
67009
+ }
67010
+ if (output["deviceOptions"] !== undefined) {
67011
+ contents.DeviceOptions = deserializeAws_ec2DeviceOptions(output["deviceOptions"], context);
67012
+ }
67013
+ if (output["policyReferenceName"] !== undefined) {
67014
+ contents.PolicyReferenceName = __expectString(output["policyReferenceName"]);
67015
+ }
67016
+ if (output["creationTime"] !== undefined) {
67017
+ contents.CreationTime = __expectString(output["creationTime"]);
67018
+ }
67019
+ if (output["lastUpdatedTime"] !== undefined) {
67020
+ contents.LastUpdatedTime = __expectString(output["lastUpdatedTime"]);
67021
+ }
67022
+ if (output.tagSet === "") {
67023
+ contents.Tags = [];
67024
+ }
67025
+ else if (output["tagSet"] !== undefined && output["tagSet"]["item"] !== undefined) {
67026
+ contents.Tags = deserializeAws_ec2TagList(__getArrayIfSingleItem(output["tagSet"]["item"]), context);
67027
+ }
67028
+ return contents;
67029
+ };
67030
+ const deserializeAws_ec2VerifiedAccessTrustProviderCondensed = (output, context) => {
67031
+ const contents = {
67032
+ VerifiedAccessTrustProviderId: undefined,
67033
+ Description: undefined,
67034
+ TrustProviderType: undefined,
67035
+ UserTrustProviderType: undefined,
67036
+ DeviceTrustProviderType: undefined,
67037
+ };
67038
+ if (output["verifiedAccessTrustProviderId"] !== undefined) {
67039
+ contents.VerifiedAccessTrustProviderId = __expectString(output["verifiedAccessTrustProviderId"]);
67040
+ }
67041
+ if (output["description"] !== undefined) {
67042
+ contents.Description = __expectString(output["description"]);
67043
+ }
67044
+ if (output["trustProviderType"] !== undefined) {
67045
+ contents.TrustProviderType = __expectString(output["trustProviderType"]);
67046
+ }
67047
+ if (output["userTrustProviderType"] !== undefined) {
67048
+ contents.UserTrustProviderType = __expectString(output["userTrustProviderType"]);
67049
+ }
67050
+ if (output["deviceTrustProviderType"] !== undefined) {
67051
+ contents.DeviceTrustProviderType = __expectString(output["deviceTrustProviderType"]);
67052
+ }
67053
+ return contents;
67054
+ };
67055
+ const deserializeAws_ec2VerifiedAccessTrustProviderCondensedList = (output, context) => {
67056
+ return (output || [])
67057
+ .filter((e) => e != null)
67058
+ .map((entry) => {
67059
+ return deserializeAws_ec2VerifiedAccessTrustProviderCondensed(entry, context);
67060
+ });
67061
+ };
67062
+ const deserializeAws_ec2VerifiedAccessTrustProviderList = (output, context) => {
67063
+ return (output || [])
67064
+ .filter((e) => e != null)
67065
+ .map((entry) => {
67066
+ return deserializeAws_ec2VerifiedAccessTrustProvider(entry, context);
67067
+ });
67068
+ };
63875
67069
  const deserializeAws_ec2VgwTelemetry = (output, context) => {
63876
67070
  const contents = {
63877
67071
  AcceptedRouteCount: undefined,