@aws-sdk/client-ec2 3.985.0 → 3.987.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 (283) hide show
  1. package/README.md +49 -0
  2. package/dist-cjs/index.js +973 -115
  3. package/dist-es/EC2.js +28 -0
  4. package/dist-es/commands/CreateSecondaryNetworkCommand.js +16 -0
  5. package/dist-es/commands/CreateSecondarySubnetCommand.js +16 -0
  6. package/dist-es/commands/DeleteSecondaryNetworkCommand.js +16 -0
  7. package/dist-es/commands/DeleteSecondarySubnetCommand.js +16 -0
  8. package/dist-es/commands/DescribeSecondaryInterfacesCommand.js +16 -0
  9. package/dist-es/commands/DescribeSecondaryNetworksCommand.js +16 -0
  10. package/dist-es/commands/DescribeSecondarySubnetsCommand.js +16 -0
  11. package/dist-es/commands/index.js +7 -0
  12. package/dist-es/models/enums.js +45 -0
  13. package/dist-es/pagination/DescribeSecondaryInterfacesPaginator.js +4 -0
  14. package/dist-es/pagination/DescribeSecondaryNetworksPaginator.js +4 -0
  15. package/dist-es/pagination/DescribeSecondarySubnetsPaginator.js +4 -0
  16. package/dist-es/pagination/index.js +3 -0
  17. package/dist-es/schemas/schemas_0.js +482 -53
  18. package/dist-es/waiters/index.js +4 -0
  19. package/dist-es/waiters/waitForSecondaryNetworkCreateComplete.js +57 -0
  20. package/dist-es/waiters/waitForSecondaryNetworkDeleteComplete.js +54 -0
  21. package/dist-es/waiters/waitForSecondarySubnetCreateComplete.js +57 -0
  22. package/dist-es/waiters/waitForSecondarySubnetDeleteComplete.js +54 -0
  23. package/dist-types/EC2.d.ts +97 -0
  24. package/dist-types/EC2Client.d.ts +9 -2
  25. package/dist-types/commands/AcceptAddressTransferCommand.d.ts +1 -1
  26. package/dist-types/commands/AllocateAddressCommand.d.ts +1 -1
  27. package/dist-types/commands/AllocateHostsCommand.d.ts +1 -1
  28. package/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
  29. package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
  30. package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
  31. package/dist-types/commands/CopyImageCommand.d.ts +1 -1
  32. package/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
  33. package/dist-types/commands/CopyVolumesCommand.d.ts +1 -1
  34. package/dist-types/commands/CreateCapacityManagerDataExportCommand.d.ts +1 -1
  35. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +1 -1
  36. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +1 -1
  37. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
  38. package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
  39. package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  40. package/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
  41. package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
  42. package/dist-types/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +1 -1
  43. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
  44. package/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +1 -1
  45. package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
  46. package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
  47. package/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
  48. package/dist-types/commands/CreateImageCommand.d.ts +1 -1
  49. package/dist-types/commands/CreateImageUsageReportCommand.d.ts +1 -1
  50. package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +1 -1
  51. package/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -1
  52. package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +1 -1
  53. package/dist-types/commands/CreateInternetGatewayCommand.d.ts +1 -1
  54. package/dist-types/commands/CreateInterruptibleCapacityReservationAllocationCommand.d.ts +1 -1
  55. package/dist-types/commands/CreateIpamCommand.d.ts +1 -1
  56. package/dist-types/commands/CreateIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
  57. package/dist-types/commands/CreateIpamPolicyCommand.d.ts +1 -1
  58. package/dist-types/commands/CreateIpamPoolCommand.d.ts +1 -1
  59. package/dist-types/commands/CreateIpamPrefixListResolverCommand.d.ts +1 -1
  60. package/dist-types/commands/CreateIpamPrefixListResolverTargetCommand.d.ts +1 -1
  61. package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
  62. package/dist-types/commands/CreateIpamScopeCommand.d.ts +1 -1
  63. package/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
  64. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +17 -2
  65. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +32 -2
  66. package/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
  67. package/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
  68. package/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  69. package/dist-types/commands/CreateLocalGatewayVirtualInterfaceCommand.d.ts +1 -1
  70. package/dist-types/commands/CreateLocalGatewayVirtualInterfaceGroupCommand.d.ts +1 -1
  71. package/dist-types/commands/CreateMacSystemIntegrityProtectionModificationTaskCommand.d.ts +1 -1
  72. package/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -1
  73. package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
  74. package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
  75. package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
  76. package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -1
  77. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -1
  78. package/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -1
  79. package/dist-types/commands/CreatePublicIpv4PoolCommand.d.ts +1 -1
  80. package/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +1 -1
  81. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
  82. package/dist-types/commands/CreateRouteServerCommand.d.ts +1 -1
  83. package/dist-types/commands/CreateRouteServerEndpointCommand.d.ts +1 -1
  84. package/dist-types/commands/CreateRouteServerPeerCommand.d.ts +1 -1
  85. package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
  86. package/dist-types/commands/CreateSecondaryNetworkCommand.d.ts +159 -0
  87. package/dist-types/commands/CreateSecondarySubnetCommand.d.ts +178 -0
  88. package/dist-types/commands/CreateSecurityGroupCommand.d.ts +2 -2
  89. package/dist-types/commands/CreateSnapshotCommand.d.ts +2 -2
  90. package/dist-types/commands/CreateSnapshotsCommand.d.ts +2 -2
  91. package/dist-types/commands/CreateSpotDatafeedSubscriptionCommand.d.ts +1 -2
  92. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -1
  93. package/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
  94. package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -1
  95. package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
  96. package/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
  97. package/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
  98. package/dist-types/commands/CreateTransitGatewayCommand.d.ts +1 -1
  99. package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
  100. package/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -1
  101. package/dist-types/commands/CreateTransitGatewayMeteringPolicyCommand.d.ts +1 -1
  102. package/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  103. package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  104. package/dist-types/commands/CreateTransitGatewayPolicyTableCommand.d.ts +1 -1
  105. package/dist-types/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
  106. package/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +1 -1
  107. package/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  108. package/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +1 -1
  109. package/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -1
  110. package/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
  111. package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +1 -1
  112. package/dist-types/commands/CreateVolumeCommand.d.ts +1 -1
  113. package/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +1 -1
  114. package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
  115. package/dist-types/commands/CreateVpcEncryptionControlCommand.d.ts +1 -1
  116. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +1 -1
  117. package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  118. package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
  119. package/dist-types/commands/CreateVpnConcentratorCommand.d.ts +1 -1
  120. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -1
  121. package/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
  122. package/dist-types/commands/DeleteSecondaryNetworkCommand.d.ts +134 -0
  123. package/dist-types/commands/DeleteSecondarySubnetCommand.d.ts +140 -0
  124. package/dist-types/commands/DeleteTrafficMirrorTargetCommand.d.ts +2 -1
  125. package/dist-types/commands/DeleteTransitGatewayCommand.d.ts +1 -1
  126. package/dist-types/commands/DeleteTransitGatewayConnectCommand.d.ts +1 -1
  127. package/dist-types/commands/DeleteTransitGatewayConnectPeerCommand.d.ts +1 -1
  128. package/dist-types/commands/DeleteTransitGatewayMeteringPolicyCommand.d.ts +1 -1
  129. package/dist-types/commands/DeleteTransitGatewayMeteringPolicyEntryCommand.d.ts +1 -1
  130. package/dist-types/commands/DeleteTransitGatewayMulticastDomainCommand.d.ts +1 -1
  131. package/dist-types/commands/DeleteTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  132. package/dist-types/commands/DeleteTransitGatewayPolicyTableCommand.d.ts +1 -2
  133. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +3 -0
  134. package/dist-types/commands/DescribeInstancesCommand.d.ts +26 -2
  135. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +16 -1
  136. package/dist-types/commands/DescribeSecondaryInterfacesCommand.d.ts +233 -0
  137. package/dist-types/commands/DescribeSecondaryNetworksCommand.d.ts +221 -0
  138. package/dist-types/commands/DescribeSecondarySubnetsCommand.d.ts +179 -0
  139. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
  140. package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
  141. package/dist-types/commands/DescribeTransitGatewayConnectPeersCommand.d.ts +1 -1
  142. package/dist-types/commands/DescribeTransitGatewayConnectsCommand.d.ts +1 -1
  143. package/dist-types/commands/DescribeTransitGatewayMeteringPoliciesCommand.d.ts +1 -1
  144. package/dist-types/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +1 -1
  145. package/dist-types/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +1 -1
  146. package/dist-types/commands/DescribeTransitGatewayPolicyTablesCommand.d.ts +1 -1
  147. package/dist-types/commands/DescribeTransitGatewayRouteTableAnnouncementsCommand.d.ts +1 -1
  148. package/dist-types/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
  149. package/dist-types/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
  150. package/dist-types/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
  151. package/dist-types/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +1 -1
  152. package/dist-types/commands/DescribeVerifiedAccessEndpointsCommand.d.ts +1 -1
  153. package/dist-types/commands/DescribeVerifiedAccessGroupsCommand.d.ts +1 -1
  154. package/dist-types/commands/DescribeVerifiedAccessInstanceLoggingConfigurationsCommand.d.ts +1 -2
  155. package/dist-types/commands/ExportImageCommand.d.ts +1 -1
  156. package/dist-types/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
  157. package/dist-types/commands/GetEnabledIpamPolicyCommand.d.ts +1 -1
  158. package/dist-types/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +1 -1
  159. package/dist-types/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
  160. package/dist-types/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -1
  161. package/dist-types/commands/GetImageAncestryCommand.d.ts +1 -1
  162. package/dist-types/commands/GetImageBlockPublicAccessStateCommand.d.ts +1 -1
  163. package/dist-types/commands/GetInstanceMetadataDefaultsCommand.d.ts +1 -1
  164. package/dist-types/commands/GetInstanceTpmEkPubCommand.d.ts +1 -1
  165. package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +1 -1
  166. package/dist-types/commands/GetInstanceUefiDataCommand.d.ts +1 -2
  167. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +16 -1
  168. package/dist-types/commands/ImportImageCommand.d.ts +1 -1
  169. package/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
  170. package/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
  171. package/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  172. package/dist-types/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  173. package/dist-types/commands/ModifyVerifiedAccessEndpointCommand.d.ts +1 -1
  174. package/dist-types/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
  175. package/dist-types/commands/ModifyVerifiedAccessGroupCommand.d.ts +1 -1
  176. package/dist-types/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +1 -1
  177. package/dist-types/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
  178. package/dist-types/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +1 -1
  179. package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +1 -1
  180. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +1 -1
  181. package/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -1
  182. package/dist-types/commands/RegisterImageCommand.d.ts +1 -1
  183. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  184. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
  185. package/dist-types/commands/RunInstancesCommand.d.ts +41 -1
  186. package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +1 -1
  187. package/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  188. package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
  189. package/dist-types/commands/index.d.ts +7 -0
  190. package/dist-types/models/enums.d.ts +101 -0
  191. package/dist-types/models/models_1.d.ts +187 -391
  192. package/dist-types/models/models_2.d.ts +655 -223
  193. package/dist-types/models/models_3.d.ts +225 -1176
  194. package/dist-types/models/models_4.d.ts +3939 -3103
  195. package/dist-types/models/models_5.d.ts +4263 -4009
  196. package/dist-types/models/models_6.d.ts +4721 -4755
  197. package/dist-types/models/models_7.d.ts +730 -9
  198. package/dist-types/pagination/DescribeSecondaryInterfacesPaginator.d.ts +7 -0
  199. package/dist-types/pagination/DescribeSecondaryNetworksPaginator.d.ts +7 -0
  200. package/dist-types/pagination/DescribeSecondarySubnetsPaginator.d.ts +7 -0
  201. package/dist-types/pagination/index.d.ts +3 -0
  202. package/dist-types/schemas/schemas_0.d.ts +37 -0
  203. package/dist-types/ts3.4/EC2.d.ts +179 -0
  204. package/dist-types/ts3.4/EC2Client.d.ts +42 -0
  205. package/dist-types/ts3.4/commands/CreateSecondaryNetworkCommand.d.ts +51 -0
  206. package/dist-types/ts3.4/commands/CreateSecondarySubnetCommand.d.ts +49 -0
  207. package/dist-types/ts3.4/commands/CreateSecurityGroupCommand.d.ts +1 -1
  208. package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +1 -1
  209. package/dist-types/ts3.4/commands/CreateSnapshotsCommand.d.ts +1 -1
  210. package/dist-types/ts3.4/commands/CreateSpotDatafeedSubscriptionCommand.d.ts +4 -2
  211. package/dist-types/ts3.4/commands/DeleteSecondaryNetworkCommand.d.ts +51 -0
  212. package/dist-types/ts3.4/commands/DeleteSecondarySubnetCommand.d.ts +51 -0
  213. package/dist-types/ts3.4/commands/DeleteTrafficMirrorTargetCommand.d.ts +2 -4
  214. package/dist-types/ts3.4/commands/DeleteTransitGatewayCommand.d.ts +1 -1
  215. package/dist-types/ts3.4/commands/DeleteTransitGatewayConnectCommand.d.ts +1 -1
  216. package/dist-types/ts3.4/commands/DeleteTransitGatewayConnectPeerCommand.d.ts +1 -1
  217. package/dist-types/ts3.4/commands/DeleteTransitGatewayMeteringPolicyCommand.d.ts +1 -1
  218. package/dist-types/ts3.4/commands/DeleteTransitGatewayMeteringPolicyEntryCommand.d.ts +1 -1
  219. package/dist-types/ts3.4/commands/DeleteTransitGatewayMulticastDomainCommand.d.ts +1 -1
  220. package/dist-types/ts3.4/commands/DeleteTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  221. package/dist-types/ts3.4/commands/DeleteTransitGatewayPolicyTableCommand.d.ts +4 -2
  222. package/dist-types/ts3.4/commands/DescribeInstancesCommand.d.ts +4 -2
  223. package/dist-types/ts3.4/commands/DescribeSecondaryInterfacesCommand.d.ts +51 -0
  224. package/dist-types/ts3.4/commands/DescribeSecondaryNetworksCommand.d.ts +51 -0
  225. package/dist-types/ts3.4/commands/DescribeSecondarySubnetsCommand.d.ts +51 -0
  226. package/dist-types/ts3.4/commands/DescribeTransitGatewayConnectPeersCommand.d.ts +1 -1
  227. package/dist-types/ts3.4/commands/DescribeTransitGatewayConnectsCommand.d.ts +1 -1
  228. package/dist-types/ts3.4/commands/DescribeTransitGatewayMeteringPoliciesCommand.d.ts +1 -1
  229. package/dist-types/ts3.4/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +1 -1
  230. package/dist-types/ts3.4/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +1 -1
  231. package/dist-types/ts3.4/commands/DescribeTransitGatewayPolicyTablesCommand.d.ts +1 -1
  232. package/dist-types/ts3.4/commands/DescribeTransitGatewayRouteTableAnnouncementsCommand.d.ts +1 -1
  233. package/dist-types/ts3.4/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
  234. package/dist-types/ts3.4/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
  235. package/dist-types/ts3.4/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
  236. package/dist-types/ts3.4/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +1 -1
  237. package/dist-types/ts3.4/commands/DescribeVerifiedAccessEndpointsCommand.d.ts +1 -1
  238. package/dist-types/ts3.4/commands/DescribeVerifiedAccessGroupsCommand.d.ts +1 -1
  239. package/dist-types/ts3.4/commands/DescribeVerifiedAccessInstanceLoggingConfigurationsCommand.d.ts +4 -2
  240. package/dist-types/ts3.4/commands/GetEbsEncryptionByDefaultCommand.d.ts +1 -1
  241. package/dist-types/ts3.4/commands/GetEnabledIpamPolicyCommand.d.ts +1 -1
  242. package/dist-types/ts3.4/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +1 -1
  243. package/dist-types/ts3.4/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
  244. package/dist-types/ts3.4/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -1
  245. package/dist-types/ts3.4/commands/GetImageAncestryCommand.d.ts +1 -1
  246. package/dist-types/ts3.4/commands/GetImageBlockPublicAccessStateCommand.d.ts +1 -1
  247. package/dist-types/ts3.4/commands/GetInstanceMetadataDefaultsCommand.d.ts +1 -1
  248. package/dist-types/ts3.4/commands/GetInstanceTpmEkPubCommand.d.ts +1 -1
  249. package/dist-types/ts3.4/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +1 -1
  250. package/dist-types/ts3.4/commands/GetInstanceUefiDataCommand.d.ts +4 -2
  251. package/dist-types/ts3.4/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  252. package/dist-types/ts3.4/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  253. package/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointCommand.d.ts +1 -1
  254. package/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
  255. package/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupCommand.d.ts +1 -1
  256. package/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +1 -1
  257. package/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
  258. package/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +1 -1
  259. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  260. package/dist-types/ts3.4/models/enums.d.ts +59 -0
  261. package/dist-types/ts3.4/models/models_1.d.ts +73 -81
  262. package/dist-types/ts3.4/models/models_2.d.ts +133 -60
  263. package/dist-types/ts3.4/models/models_3.d.ts +66 -92
  264. package/dist-types/ts3.4/models/models_4.d.ts +190 -190
  265. package/dist-types/ts3.4/models/models_5.d.ts +176 -151
  266. package/dist-types/ts3.4/models/models_6.d.ts +142 -173
  267. package/dist-types/ts3.4/models/models_7.d.ts +193 -7
  268. package/dist-types/ts3.4/pagination/DescribeSecondaryInterfacesPaginator.d.ts +11 -0
  269. package/dist-types/ts3.4/pagination/DescribeSecondaryNetworksPaginator.d.ts +11 -0
  270. package/dist-types/ts3.4/pagination/DescribeSecondarySubnetsPaginator.d.ts +11 -0
  271. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  272. package/dist-types/ts3.4/schemas/schemas_0.d.ts +37 -0
  273. package/dist-types/ts3.4/waiters/index.d.ts +4 -0
  274. package/dist-types/ts3.4/waiters/waitForSecondaryNetworkCreateComplete.d.ts +11 -0
  275. package/dist-types/ts3.4/waiters/waitForSecondaryNetworkDeleteComplete.d.ts +11 -0
  276. package/dist-types/ts3.4/waiters/waitForSecondarySubnetCreateComplete.d.ts +11 -0
  277. package/dist-types/ts3.4/waiters/waitForSecondarySubnetDeleteComplete.d.ts +11 -0
  278. package/dist-types/waiters/index.d.ts +4 -0
  279. package/dist-types/waiters/waitForSecondaryNetworkCreateComplete.d.ts +14 -0
  280. package/dist-types/waiters/waitForSecondaryNetworkDeleteComplete.d.ts +14 -0
  281. package/dist-types/waiters/waitForSecondarySubnetCreateComplete.d.ts +14 -0
  282. package/dist-types/waiters/waitForSecondarySubnetDeleteComplete.d.ts +14 -0
  283. package/package.json +2 -2
@@ -0,0 +1,233 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
+ import type { DescribeSecondaryInterfacesRequest, DescribeSecondaryInterfacesResult } from "../models/models_4";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeSecondaryInterfacesCommand}.
14
+ */
15
+ export interface DescribeSecondaryInterfacesCommandInput extends DescribeSecondaryInterfacesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeSecondaryInterfacesCommand}.
21
+ */
22
+ export interface DescribeSecondaryInterfacesCommandOutput extends DescribeSecondaryInterfacesResult, __MetadataBearer {
23
+ }
24
+ declare const DescribeSecondaryInterfacesCommand_base: {
25
+ new (input: DescribeSecondaryInterfacesCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeSecondaryInterfacesCommandInput, DescribeSecondaryInterfacesCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [DescribeSecondaryInterfacesCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeSecondaryInterfacesCommandInput, DescribeSecondaryInterfacesCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Describes one or more of your secondary interfaces.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { EC2Client, DescribeSecondaryInterfacesCommand } from "@aws-sdk/client-ec2"; // ES Modules import
35
+ * // const { EC2Client, DescribeSecondaryInterfacesCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
36
+ * // import type { EC2ClientConfig } from "@aws-sdk/client-ec2";
37
+ * const config = {}; // type is EC2ClientConfig
38
+ * const client = new EC2Client(config);
39
+ * const input = { // DescribeSecondaryInterfacesRequest
40
+ * DryRun: true || false,
41
+ * Filters: [ // FilterList
42
+ * { // Filter
43
+ * Name: "STRING_VALUE",
44
+ * Values: [ // ValueStringList
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * },
48
+ * ],
49
+ * MaxResults: Number("int"),
50
+ * NextToken: "STRING_VALUE",
51
+ * SecondaryInterfaceIds: [ // SecondaryInterfaceIdList
52
+ * "STRING_VALUE",
53
+ * ],
54
+ * };
55
+ * const command = new DescribeSecondaryInterfacesCommand(input);
56
+ * const response = await client.send(command);
57
+ * // { // DescribeSecondaryInterfacesResult
58
+ * // SecondaryInterfaces: [ // SecondaryInterfaceList
59
+ * // { // SecondaryInterface
60
+ * // AvailabilityZone: "STRING_VALUE",
61
+ * // AvailabilityZoneId: "STRING_VALUE",
62
+ * // Attachment: { // SecondaryInterfaceAttachment
63
+ * // AttachmentId: "STRING_VALUE",
64
+ * // AttachTime: new Date("TIMESTAMP"),
65
+ * // DeleteOnTermination: true || false,
66
+ * // DeviceIndex: Number("int"),
67
+ * // InstanceId: "STRING_VALUE",
68
+ * // InstanceOwnerId: "STRING_VALUE",
69
+ * // NetworkCardIndex: Number("int"),
70
+ * // Status: "attaching" || "attached" || "detaching" || "detached",
71
+ * // },
72
+ * // MacAddress: "STRING_VALUE",
73
+ * // OwnerId: "STRING_VALUE",
74
+ * // PrivateIpv4Addresses: [ // SecondaryInterfaceIpv4AddressList
75
+ * // { // SecondaryInterfaceIpv4Address
76
+ * // PrivateIpAddress: "STRING_VALUE",
77
+ * // },
78
+ * // ],
79
+ * // SecondaryInterfaceId: "STRING_VALUE",
80
+ * // SecondaryInterfaceArn: "STRING_VALUE",
81
+ * // SecondaryInterfaceType: "secondary",
82
+ * // SecondarySubnetId: "STRING_VALUE",
83
+ * // SecondaryNetworkId: "STRING_VALUE",
84
+ * // SecondaryNetworkType: "rdma",
85
+ * // SourceDestCheck: true || false,
86
+ * // Status: "available" || "in-use",
87
+ * // Tags: [ // TagList
88
+ * // { // Tag
89
+ * // Key: "STRING_VALUE",
90
+ * // Value: "STRING_VALUE",
91
+ * // },
92
+ * // ],
93
+ * // },
94
+ * // ],
95
+ * // NextToken: "STRING_VALUE",
96
+ * // };
97
+ *
98
+ * ```
99
+ *
100
+ * @param DescribeSecondaryInterfacesCommandInput - {@link DescribeSecondaryInterfacesCommandInput}
101
+ * @returns {@link DescribeSecondaryInterfacesCommandOutput}
102
+ * @see {@link DescribeSecondaryInterfacesCommandInput} for command's `input` shape.
103
+ * @see {@link DescribeSecondaryInterfacesCommandOutput} for command's `response` shape.
104
+ * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
105
+ *
106
+ * @throws {@link EC2ServiceException}
107
+ * <p>Base exception class for all service exceptions from EC2 service.</p>
108
+ *
109
+ *
110
+ * @example To describe all secondary interfaces
111
+ * ```javascript
112
+ * // This example describes all secondary interfaces in the current Region.
113
+ * const input = { /* empty *\/ };
114
+ * const command = new DescribeSecondaryInterfacesCommand(input);
115
+ * const response = await client.send(command);
116
+ * /* response is
117
+ * {
118
+ * SecondaryInterfaces: [
119
+ * {
120
+ * Attachment: {
121
+ * AttachTime: "2026-02-28T23:35:33.000Z",
122
+ * AttachmentId: "si-attach-0123456789abcdef0",
123
+ * DeleteOnTermination: true,
124
+ * DeviceIndex: 0,
125
+ * InstanceId: "i-1234567890abcdef0",
126
+ * InstanceOwnerId: "123456789012",
127
+ * NetworkCardIndex: 1,
128
+ * Status: "attached"
129
+ * },
130
+ * AvailabilityZone: "us-east-2a",
131
+ * AvailabilityZoneId: "use2-az1",
132
+ * MacAddress: "02:2f:8f:b0:cf:75",
133
+ * OwnerId: "123456789012",
134
+ * PrivateIpv4Addresses: [
135
+ * {
136
+ * PrivateIpAddress: "10.0.1.17"
137
+ * }
138
+ * ],
139
+ * SecondaryInterfaceArn: "arn:aws:ec2:us-east-2:123456789012:secondary-interface/si-0123456789abcdef0",
140
+ * SecondaryInterfaceId: "si-0123456789abcdef0",
141
+ * SecondaryInterfaceType: "secondary",
142
+ * SecondaryNetworkId: "sn-0123456789abcdef0",
143
+ * SecondaryNetworkType: "rdma",
144
+ * SecondarySubnetId: "ss-0123456789abcdef0",
145
+ * SourceDestCheck: true,
146
+ * Status: "in-use",
147
+ * Tags: [
148
+ * {
149
+ * Key: "Name",
150
+ * Value: "Prod Secondary Interface"
151
+ * }
152
+ * ]
153
+ * }
154
+ * ]
155
+ * }
156
+ * *\/
157
+ * ```
158
+ *
159
+ * @example To describe secondary interfaces using filters
160
+ * ```javascript
161
+ * // This example uses filters to describe secondary interfaces attached to a specific instance.
162
+ * const input = {
163
+ * Filters: [
164
+ * {
165
+ * Name: "attachment.instance-id",
166
+ * Values: [
167
+ * "i-1234567890abcdef0"
168
+ * ]
169
+ * }
170
+ * ],
171
+ * MaxResults: 5
172
+ * };
173
+ * const command = new DescribeSecondaryInterfacesCommand(input);
174
+ * const response = await client.send(command);
175
+ * /* response is
176
+ * {
177
+ * NextToken: "123456789MSIsInMiOjEsImMiOiIteGh3TERRTUEwanpsaVpab1dOdjZhMlBuRXZpZXJqTl==",
178
+ * SecondaryInterfaces: [
179
+ * {
180
+ * Attachment: {
181
+ * AttachTime: "2026-02-28T23:35:33.000Z",
182
+ * AttachmentId: "si-attach-0123456789abcdef0",
183
+ * DeleteOnTermination: true,
184
+ * DeviceIndex: 0,
185
+ * InstanceId: "i-1234567890abcdef0",
186
+ * InstanceOwnerId: "123456789012",
187
+ * NetworkCardIndex: 1,
188
+ * Status: "attached"
189
+ * },
190
+ * AvailabilityZone: "us-east-2a",
191
+ * AvailabilityZoneId: "use2-az1",
192
+ * MacAddress: "02:2f:8f:b0:cf:75",
193
+ * OwnerId: "123456789012",
194
+ * PrivateIpv4Addresses: [
195
+ * {
196
+ * PrivateIpAddress: "10.0.1.17"
197
+ * }
198
+ * ],
199
+ * SecondaryInterfaceArn: "arn:aws:ec2:us-east-2:123456789012:secondary-interface/si-0123456789abcdef0",
200
+ * SecondaryInterfaceId: "si-0123456789abcdef0",
201
+ * SecondaryInterfaceType: "secondary",
202
+ * SecondaryNetworkId: "sn-0123456789abcdef0",
203
+ * SecondaryNetworkType: "rdma",
204
+ * SecondarySubnetId: "ss-0123456789abcdef0",
205
+ * SourceDestCheck: true,
206
+ * Status: "in-use",
207
+ * Tags: [
208
+ * {
209
+ * Key: "Name",
210
+ * Value: "Prod Secondary Interface"
211
+ * }
212
+ * ]
213
+ * }
214
+ * ]
215
+ * }
216
+ * *\/
217
+ * ```
218
+ *
219
+ * @public
220
+ */
221
+ export declare class DescribeSecondaryInterfacesCommand extends DescribeSecondaryInterfacesCommand_base {
222
+ /** @internal type navigation helper, not in runtime. */
223
+ protected static __types: {
224
+ api: {
225
+ input: DescribeSecondaryInterfacesRequest;
226
+ output: DescribeSecondaryInterfacesResult;
227
+ };
228
+ sdk: {
229
+ input: DescribeSecondaryInterfacesCommandInput;
230
+ output: DescribeSecondaryInterfacesCommandOutput;
231
+ };
232
+ };
233
+ }
@@ -0,0 +1,221 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
+ import type { DescribeSecondaryNetworksRequest, DescribeSecondaryNetworksResult } from "../models/models_4";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeSecondaryNetworksCommand}.
14
+ */
15
+ export interface DescribeSecondaryNetworksCommandInput extends DescribeSecondaryNetworksRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeSecondaryNetworksCommand}.
21
+ */
22
+ export interface DescribeSecondaryNetworksCommandOutput extends DescribeSecondaryNetworksResult, __MetadataBearer {
23
+ }
24
+ declare const DescribeSecondaryNetworksCommand_base: {
25
+ new (input: DescribeSecondaryNetworksCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeSecondaryNetworksCommandInput, DescribeSecondaryNetworksCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [DescribeSecondaryNetworksCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeSecondaryNetworksCommandInput, DescribeSecondaryNetworksCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Describes one or more secondary networks.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { EC2Client, DescribeSecondaryNetworksCommand } from "@aws-sdk/client-ec2"; // ES Modules import
35
+ * // const { EC2Client, DescribeSecondaryNetworksCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
36
+ * // import type { EC2ClientConfig } from "@aws-sdk/client-ec2";
37
+ * const config = {}; // type is EC2ClientConfig
38
+ * const client = new EC2Client(config);
39
+ * const input = { // DescribeSecondaryNetworksRequest
40
+ * DryRun: true || false,
41
+ * Filters: [ // FilterList
42
+ * { // Filter
43
+ * Name: "STRING_VALUE",
44
+ * Values: [ // ValueStringList
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * },
48
+ * ],
49
+ * MaxResults: Number("int"),
50
+ * NextToken: "STRING_VALUE",
51
+ * SecondaryNetworkIds: [ // SecondaryNetworkIdList
52
+ * "STRING_VALUE",
53
+ * ],
54
+ * };
55
+ * const command = new DescribeSecondaryNetworksCommand(input);
56
+ * const response = await client.send(command);
57
+ * // { // DescribeSecondaryNetworksResult
58
+ * // SecondaryNetworks: [ // SecondaryNetworkList
59
+ * // { // SecondaryNetwork
60
+ * // SecondaryNetworkId: "STRING_VALUE",
61
+ * // SecondaryNetworkArn: "STRING_VALUE",
62
+ * // OwnerId: "STRING_VALUE",
63
+ * // Type: "rdma",
64
+ * // State: "create-in-progress" || "create-complete" || "create-failed" || "delete-in-progress" || "delete-complete" || "delete-failed",
65
+ * // StateReason: "STRING_VALUE",
66
+ * // Ipv4CidrBlockAssociations: [ // SecondaryNetworkIpv4CidrBlockAssociationList
67
+ * // { // SecondaryNetworkIpv4CidrBlockAssociation
68
+ * // AssociationId: "STRING_VALUE",
69
+ * // CidrBlock: "STRING_VALUE",
70
+ * // State: "associating" || "associated" || "association-failed" || "disassociating" || "disassociated" || "disassociation-failed",
71
+ * // StateReason: "STRING_VALUE",
72
+ * // },
73
+ * // ],
74
+ * // Tags: [ // TagList
75
+ * // { // Tag
76
+ * // Key: "STRING_VALUE",
77
+ * // Value: "STRING_VALUE",
78
+ * // },
79
+ * // ],
80
+ * // },
81
+ * // ],
82
+ * // NextToken: "STRING_VALUE",
83
+ * // };
84
+ *
85
+ * ```
86
+ *
87
+ * @param DescribeSecondaryNetworksCommandInput - {@link DescribeSecondaryNetworksCommandInput}
88
+ * @returns {@link DescribeSecondaryNetworksCommandOutput}
89
+ * @see {@link DescribeSecondaryNetworksCommandInput} for command's `input` shape.
90
+ * @see {@link DescribeSecondaryNetworksCommandOutput} for command's `response` shape.
91
+ * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
92
+ *
93
+ * @throws {@link EC2ServiceException}
94
+ * <p>Base exception class for all service exceptions from EC2 service.</p>
95
+ *
96
+ *
97
+ * @example To describe specified secondary networks
98
+ * ```javascript
99
+ * // This example describes the specified secondary networks.
100
+ * const input = {
101
+ * SecondaryNetworkIds: [
102
+ * "sn-0123456789abcdef0",
103
+ * "sn-0987654321fedcba0"
104
+ * ]
105
+ * };
106
+ * const command = new DescribeSecondaryNetworksCommand(input);
107
+ * const response = await client.send(command);
108
+ * /* response is
109
+ * {
110
+ * SecondaryNetworks: [
111
+ * {
112
+ * Ipv4CidrBlockAssociations: [
113
+ * {
114
+ * AssociationId: "sn-cidr-assoc-56789901234abcdef0",
115
+ * CidrBlock: "10.0.0.0/16",
116
+ * State: "associated"
117
+ * }
118
+ * ],
119
+ * OwnerId: "123456789012",
120
+ * SecondaryNetworkArn: "arn:aws:ec2:us-east-2:123456789012:secondary-network/sn-0123456789abcdef0",
121
+ * SecondaryNetworkId: "sn-0123456789abcdef0",
122
+ * State: "create-complete",
123
+ * Tags: [
124
+ * {
125
+ * Key: "Name",
126
+ * Value: "Prod Secondary Network"
127
+ * }
128
+ * ],
129
+ * Type: "rdma"
130
+ * },
131
+ * {
132
+ * Ipv4CidrBlockAssociations: [
133
+ * {
134
+ * AssociationId: "sn-cidr-assoc-09876543210fedcba0",
135
+ * CidrBlock: "10.1.0.0/16",
136
+ * State: "associated"
137
+ * }
138
+ * ],
139
+ * OwnerId: "123456789012",
140
+ * SecondaryNetworkArn: "arn:aws:ec2:us-east-2:123456789012:secondary-network/sn-0987654321fedcba0",
141
+ * SecondaryNetworkId: "sn-0987654321fedcba0",
142
+ * State: "create-complete",
143
+ * Tags: [
144
+ * {
145
+ * Key: "Name",
146
+ * Value: "Dev Secondary Network"
147
+ * }
148
+ * ],
149
+ * Type: "rdma"
150
+ * }
151
+ * ]
152
+ * }
153
+ * *\/
154
+ * ```
155
+ *
156
+ * @example To describe secondary networks using filters
157
+ * ```javascript
158
+ * // This example uses filters to describe any secondary network you own that has a tag with the key Environment and the value Production and whose state is create-complete.
159
+ * const input = {
160
+ * Filters: [
161
+ * {
162
+ * Name: "tag:Environment",
163
+ * Values: [
164
+ * "Production"
165
+ * ]
166
+ * },
167
+ * {
168
+ * Name: "state",
169
+ * Values: [
170
+ * "create-complete"
171
+ * ]
172
+ * }
173
+ * ],
174
+ * MaxResults: 5
175
+ * };
176
+ * const command = new DescribeSecondaryNetworksCommand(input);
177
+ * const response = await client.send(command);
178
+ * /* response is
179
+ * {
180
+ * NextToken: "123456789MSIsInMiOjEsImMiOiIteGh3TERRTUEwanpsaVpab1dOdjZhMlBuRXZpZXJqTl==",
181
+ * SecondaryNetworks: [
182
+ * {
183
+ * Ipv4CidrBlockAssociations: [
184
+ * {
185
+ * AssociationId: "sn-cidr-assoc-12349901234abc1234",
186
+ * CidrBlock: "10.0.0.0/16",
187
+ * State: "associated"
188
+ * }
189
+ * ],
190
+ * OwnerId: "123456789012",
191
+ * SecondaryNetworkArn: "arn:aws:ec2:us-east-2:123456789012:secondary-network/sn-9876543210abc1234",
192
+ * SecondaryNetworkId: "sn-9876543210abc1234",
193
+ * State: "create-complete",
194
+ * Tags: [
195
+ * {
196
+ * Key: "Environment",
197
+ * Value: "Production"
198
+ * }
199
+ * ],
200
+ * Type: "rdma"
201
+ * }
202
+ * ]
203
+ * }
204
+ * *\/
205
+ * ```
206
+ *
207
+ * @public
208
+ */
209
+ export declare class DescribeSecondaryNetworksCommand extends DescribeSecondaryNetworksCommand_base {
210
+ /** @internal type navigation helper, not in runtime. */
211
+ protected static __types: {
212
+ api: {
213
+ input: DescribeSecondaryNetworksRequest;
214
+ output: DescribeSecondaryNetworksResult;
215
+ };
216
+ sdk: {
217
+ input: DescribeSecondaryNetworksCommandInput;
218
+ output: DescribeSecondaryNetworksCommandOutput;
219
+ };
220
+ };
221
+ }
@@ -0,0 +1,179 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
+ import type { DescribeSecondarySubnetsRequest, DescribeSecondarySubnetsResult } from "../models/models_4";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeSecondarySubnetsCommand}.
14
+ */
15
+ export interface DescribeSecondarySubnetsCommandInput extends DescribeSecondarySubnetsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeSecondarySubnetsCommand}.
21
+ */
22
+ export interface DescribeSecondarySubnetsCommandOutput extends DescribeSecondarySubnetsResult, __MetadataBearer {
23
+ }
24
+ declare const DescribeSecondarySubnetsCommand_base: {
25
+ new (input: DescribeSecondarySubnetsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeSecondarySubnetsCommandInput, DescribeSecondarySubnetsCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [DescribeSecondarySubnetsCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeSecondarySubnetsCommandInput, DescribeSecondarySubnetsCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Describes one or more of your secondary subnets.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { EC2Client, DescribeSecondarySubnetsCommand } from "@aws-sdk/client-ec2"; // ES Modules import
35
+ * // const { EC2Client, DescribeSecondarySubnetsCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
36
+ * // import type { EC2ClientConfig } from "@aws-sdk/client-ec2";
37
+ * const config = {}; // type is EC2ClientConfig
38
+ * const client = new EC2Client(config);
39
+ * const input = { // DescribeSecondarySubnetsRequest
40
+ * DryRun: true || false,
41
+ * Filters: [ // FilterList
42
+ * { // Filter
43
+ * Name: "STRING_VALUE",
44
+ * Values: [ // ValueStringList
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * },
48
+ * ],
49
+ * MaxResults: Number("int"),
50
+ * NextToken: "STRING_VALUE",
51
+ * SecondarySubnetIds: [ // SecondarySubnetIdList
52
+ * "STRING_VALUE",
53
+ * ],
54
+ * };
55
+ * const command = new DescribeSecondarySubnetsCommand(input);
56
+ * const response = await client.send(command);
57
+ * // { // DescribeSecondarySubnetsResult
58
+ * // SecondarySubnets: [ // SecondarySubnetList
59
+ * // { // SecondarySubnet
60
+ * // SecondarySubnetId: "STRING_VALUE",
61
+ * // SecondarySubnetArn: "STRING_VALUE",
62
+ * // SecondaryNetworkId: "STRING_VALUE",
63
+ * // SecondaryNetworkType: "rdma",
64
+ * // OwnerId: "STRING_VALUE",
65
+ * // AvailabilityZoneId: "STRING_VALUE",
66
+ * // AvailabilityZone: "STRING_VALUE",
67
+ * // Ipv4CidrBlockAssociations: [ // SecondarySubnetIpv4CidrBlockAssociationList
68
+ * // { // SecondarySubnetIpv4CidrBlockAssociation
69
+ * // AssociationId: "STRING_VALUE",
70
+ * // CidrBlock: "STRING_VALUE",
71
+ * // State: "associating" || "associated" || "association-failed" || "disassociating" || "disassociated" || "disassociation-failed",
72
+ * // StateReason: "STRING_VALUE",
73
+ * // },
74
+ * // ],
75
+ * // State: "create-in-progress" || "create-complete" || "create-failed" || "delete-in-progress" || "delete-complete" || "delete-failed",
76
+ * // StateReason: "STRING_VALUE",
77
+ * // Tags: [ // TagList
78
+ * // { // Tag
79
+ * // Key: "STRING_VALUE",
80
+ * // Value: "STRING_VALUE",
81
+ * // },
82
+ * // ],
83
+ * // },
84
+ * // ],
85
+ * // NextToken: "STRING_VALUE",
86
+ * // };
87
+ *
88
+ * ```
89
+ *
90
+ * @param DescribeSecondarySubnetsCommandInput - {@link DescribeSecondarySubnetsCommandInput}
91
+ * @returns {@link DescribeSecondarySubnetsCommandOutput}
92
+ * @see {@link DescribeSecondarySubnetsCommandInput} for command's `input` shape.
93
+ * @see {@link DescribeSecondarySubnetsCommandOutput} for command's `response` shape.
94
+ * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
95
+ *
96
+ * @throws {@link EC2ServiceException}
97
+ * <p>Base exception class for all service exceptions from EC2 service.</p>
98
+ *
99
+ *
100
+ * @example To describe specified secondary subnets
101
+ * ```javascript
102
+ * // This example describes the specified secondary subnets.
103
+ * const input = {
104
+ * SecondarySubnetIds: [
105
+ * "ss-0123456789abcdef0",
106
+ * "ss-0987654321fedcba0"
107
+ * ]
108
+ * };
109
+ * const command = new DescribeSecondarySubnetsCommand(input);
110
+ * const response = await client.send(command);
111
+ * /* response is
112
+ * {
113
+ * SecondarySubnets: [
114
+ * {
115
+ * AvailabilityZone: "us-east-2a",
116
+ * AvailabilityZoneId: "use2-az1",
117
+ * Ipv4CidrBlockAssociations: [
118
+ * {
119
+ * AssociationId: "ss-cidr-assoc-56789901234abcdef0",
120
+ * CidrBlock: "10.0.0.0/24",
121
+ * State: "associated"
122
+ * }
123
+ * ],
124
+ * OwnerId: "123456789012",
125
+ * SecondaryNetworkId: "sn-0123456789abcdef0",
126
+ * SecondaryNetworkType: "rdma",
127
+ * SecondarySubnetArn: "arn:aws:ec2:us-east-2:123456789012:secondary-subnet/ss-0123456789abcdef0",
128
+ * SecondarySubnetId: "ss-0123456789abcdef0",
129
+ * State: "create-complete",
130
+ * Tags: [
131
+ * {
132
+ * Key: "Name",
133
+ * Value: "Prod Secondary Subnet"
134
+ * }
135
+ * ]
136
+ * },
137
+ * {
138
+ * AvailabilityZone: "us-east-2a",
139
+ * AvailabilityZoneId: "use2-az1",
140
+ * Ipv4CidrBlockAssociations: [
141
+ * {
142
+ * AssociationId: "ss-cidr-assoc-09876543210fedcba0",
143
+ * CidrBlock: "10.0.1.0/24",
144
+ * State: "associated"
145
+ * }
146
+ * ],
147
+ * OwnerId: "123456789012",
148
+ * SecondaryNetworkId: "sn-0123456789abcdef0",
149
+ * SecondaryNetworkType: "rdma",
150
+ * SecondarySubnetArn: "arn:aws:ec2:us-east-2:123456789012:secondary-subnet/ss-0987654321fedcba0",
151
+ * SecondarySubnetId: "ss-0987654321fedcba0",
152
+ * State: "create-complete",
153
+ * Tags: [
154
+ * {
155
+ * Key: "Name",
156
+ * Value: "Dev Secondary Subnet"
157
+ * }
158
+ * ]
159
+ * }
160
+ * ]
161
+ * }
162
+ * *\/
163
+ * ```
164
+ *
165
+ * @public
166
+ */
167
+ export declare class DescribeSecondarySubnetsCommand extends DescribeSecondarySubnetsCommand_base {
168
+ /** @internal type navigation helper, not in runtime. */
169
+ protected static __types: {
170
+ api: {
171
+ input: DescribeSecondarySubnetsRequest;
172
+ output: DescribeSecondarySubnetsResult;
173
+ };
174
+ sdk: {
175
+ input: DescribeSecondarySubnetsCommandInput;
176
+ output: DescribeSecondarySubnetsCommandOutput;
177
+ };
178
+ };
179
+ }
@@ -174,7 +174,7 @@ declare const DescribeSpotFleetRequestsCommand_base: {
174
174
  * // WeightedCapacity: Number("double"),
175
175
  * // TagSpecifications: [ // SpotFleetTagSpecificationList
176
176
  * // { // SpotFleetTagSpecification
177
- * // ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "declarative-policies-report" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "image-usage-report" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "outpost-lag" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "service-link-virtual-interface" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-metering-policy" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "vpc-encryption-control" || "route-server" || "route-server-endpoint" || "route-server-peer" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "verified-access-endpoint-target" || "ipam-external-resource-verification-token" || "capacity-block" || "mac-modification-task" || "ipam-prefix-list-resolver" || "ipam-policy" || "ipam-prefix-list-resolver-target" || "capacity-manager-data-export" || "vpn-concentrator",
177
+ * // ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "declarative-policies-report" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "image-usage-report" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "outpost-lag" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "service-link-virtual-interface" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-metering-policy" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "vpc-encryption-control" || "route-server" || "route-server-endpoint" || "route-server-peer" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "verified-access-endpoint-target" || "ipam-external-resource-verification-token" || "capacity-block" || "mac-modification-task" || "ipam-prefix-list-resolver" || "ipam-policy" || "ipam-prefix-list-resolver-target" || "secondary-interface" || "secondary-network" || "secondary-subnet" || "capacity-manager-data-export" || "vpn-concentrator",
178
178
  * // Tags: [ // TagList
179
179
  * // { // Tag
180
180
  * // Key: "STRING_VALUE",
@@ -401,7 +401,7 @@ declare const DescribeSpotFleetRequestsCommand_base: {
401
401
  * // TargetCapacityUnitType: "vcpu" || "memory-mib" || "units",
402
402
  * // TagSpecifications: [ // TagSpecificationList
403
403
  * // { // TagSpecification
404
- * // ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "declarative-policies-report" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "image-usage-report" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "outpost-lag" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "service-link-virtual-interface" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-metering-policy" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "vpc-encryption-control" || "route-server" || "route-server-endpoint" || "route-server-peer" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "verified-access-endpoint-target" || "ipam-external-resource-verification-token" || "capacity-block" || "mac-modification-task" || "ipam-prefix-list-resolver" || "ipam-policy" || "ipam-prefix-list-resolver-target" || "capacity-manager-data-export" || "vpn-concentrator",
404
+ * // ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "declarative-policies-report" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "image-usage-report" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "outpost-lag" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "service-link-virtual-interface" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-metering-policy" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "vpc-encryption-control" || "route-server" || "route-server-endpoint" || "route-server-peer" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "verified-access-endpoint-target" || "ipam-external-resource-verification-token" || "capacity-block" || "mac-modification-task" || "ipam-prefix-list-resolver" || "ipam-policy" || "ipam-prefix-list-resolver-target" || "secondary-interface" || "secondary-network" || "secondary-subnet" || "capacity-manager-data-export" || "vpn-concentrator",
405
405
  * // Tags: [
406
406
  * // {
407
407
  * // Key: "STRING_VALUE",