import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { AcceptReservedInstancesExchangeQuoteCommand , AcceptReservedInstancesExchangeQuoteCommandInput , AcceptReservedInstancesExchangeQuoteCommandOutput , } from "./commands/AcceptReservedInstancesExchangeQuoteCommand" ; import { AcceptTransitGatewayMulticastDomainAssociationsCommand , AcceptTransitGatewayMulticastDomainAssociationsCommandInput , AcceptTransitGatewayMulticastDomainAssociationsCommandOutput , } from "./commands/AcceptTransitGatewayMulticastDomainAssociationsCommand" ; import { AcceptTransitGatewayPeeringAttachmentCommand , AcceptTransitGatewayPeeringAttachmentCommandInput , AcceptTransitGatewayPeeringAttachmentCommandOutput , } from "./commands/AcceptTransitGatewayPeeringAttachmentCommand" ; import { AcceptTransitGatewayVpcAttachmentCommand , AcceptTransitGatewayVpcAttachmentCommandInput , AcceptTransitGatewayVpcAttachmentCommandOutput , } from "./commands/AcceptTransitGatewayVpcAttachmentCommand" ; import { AcceptVpcEndpointConnectionsCommand , AcceptVpcEndpointConnectionsCommandInput , AcceptVpcEndpointConnectionsCommandOutput , } from "./commands/AcceptVpcEndpointConnectionsCommand" ; import { AcceptVpcPeeringConnectionCommand , AcceptVpcPeeringConnectionCommandInput , AcceptVpcPeeringConnectionCommandOutput , } from "./commands/AcceptVpcPeeringConnectionCommand" ; import { AdvertiseByoipCidrCommand , AdvertiseByoipCidrCommandInput , AdvertiseByoipCidrCommandOutput , } from "./commands/AdvertiseByoipCidrCommand" ; import { AllocateAddressCommand , AllocateAddressCommandInput , AllocateAddressCommandOutput , } from "./commands/AllocateAddressCommand" ; import { AllocateHostsCommand , AllocateHostsCommandInput , AllocateHostsCommandOutput , } from "./commands/AllocateHostsCommand" ; import { AllocateIpamPoolCidrCommand , AllocateIpamPoolCidrCommandInput , AllocateIpamPoolCidrCommandOutput , } from "./commands/AllocateIpamPoolCidrCommand" ; import { ApplySecurityGroupsToClientVpnTargetNetworkCommand , ApplySecurityGroupsToClientVpnTargetNetworkCommandInput , ApplySecurityGroupsToClientVpnTargetNetworkCommandOutput , } from "./commands/ApplySecurityGroupsToClientVpnTargetNetworkCommand" ; import { AssignIpv6AddressesCommand , AssignIpv6AddressesCommandInput , AssignIpv6AddressesCommandOutput , } from "./commands/AssignIpv6AddressesCommand" ; import { AssignPrivateIpAddressesCommand , AssignPrivateIpAddressesCommandInput , AssignPrivateIpAddressesCommandOutput , } from "./commands/AssignPrivateIpAddressesCommand" ; import { AssociateAddressCommand , AssociateAddressCommandInput , AssociateAddressCommandOutput , } from "./commands/AssociateAddressCommand" ; import { AssociateClientVpnTargetNetworkCommand , AssociateClientVpnTargetNetworkCommandInput , AssociateClientVpnTargetNetworkCommandOutput , } from "./commands/AssociateClientVpnTargetNetworkCommand" ; import { AssociateDhcpOptionsCommand , AssociateDhcpOptionsCommandInput , AssociateDhcpOptionsCommandOutput , } from "./commands/AssociateDhcpOptionsCommand" ; import { AssociateEnclaveCertificateIamRoleCommand , AssociateEnclaveCertificateIamRoleCommandInput , AssociateEnclaveCertificateIamRoleCommandOutput , } from "./commands/AssociateEnclaveCertificateIamRoleCommand" ; import { AssociateIamInstanceProfileCommand , AssociateIamInstanceProfileCommandInput , AssociateIamInstanceProfileCommandOutput , } from "./commands/AssociateIamInstanceProfileCommand" ; import { AssociateInstanceEventWindowCommand , AssociateInstanceEventWindowCommandInput , AssociateInstanceEventWindowCommandOutput , } from "./commands/AssociateInstanceEventWindowCommand" ; import { AssociateRouteTableCommand , AssociateRouteTableCommandInput , AssociateRouteTableCommandOutput , } from "./commands/AssociateRouteTableCommand" ; import { AssociateSubnetCidrBlockCommand , AssociateSubnetCidrBlockCommandInput , AssociateSubnetCidrBlockCommandOutput , } from "./commands/AssociateSubnetCidrBlockCommand" ; import { AssociateTransitGatewayMulticastDomainCommand , AssociateTransitGatewayMulticastDomainCommandInput , AssociateTransitGatewayMulticastDomainCommandOutput , } from "./commands/AssociateTransitGatewayMulticastDomainCommand" ; import { AssociateTransitGatewayRouteTableCommand , AssociateTransitGatewayRouteTableCommandInput , AssociateTransitGatewayRouteTableCommandOutput , } from "./commands/AssociateTransitGatewayRouteTableCommand" ; import { AssociateTrunkInterfaceCommand , AssociateTrunkInterfaceCommandInput , AssociateTrunkInterfaceCommandOutput , } from "./commands/AssociateTrunkInterfaceCommand" ; import { AssociateVpcCidrBlockCommand , AssociateVpcCidrBlockCommandInput , AssociateVpcCidrBlockCommandOutput , } from "./commands/AssociateVpcCidrBlockCommand" ; import { AttachClassicLinkVpcCommand , AttachClassicLinkVpcCommandInput , AttachClassicLinkVpcCommandOutput , } from "./commands/AttachClassicLinkVpcCommand" ; import { AttachInternetGatewayCommand , AttachInternetGatewayCommandInput , AttachInternetGatewayCommandOutput , } from "./commands/AttachInternetGatewayCommand" ; import { AttachNetworkInterfaceCommand , AttachNetworkInterfaceCommandInput , AttachNetworkInterfaceCommandOutput , } from "./commands/AttachNetworkInterfaceCommand" ; import { AttachVolumeCommand , AttachVolumeCommandInput , AttachVolumeCommandOutput , } from "./commands/AttachVolumeCommand" ; import { AttachVpnGatewayCommand , AttachVpnGatewayCommandInput , AttachVpnGatewayCommandOutput , } from "./commands/AttachVpnGatewayCommand" ; import { AuthorizeClientVpnIngressCommand , AuthorizeClientVpnIngressCommandInput , AuthorizeClientVpnIngressCommandOutput , } from "./commands/AuthorizeClientVpnIngressCommand" ; import { AuthorizeSecurityGroupEgressCommand , AuthorizeSecurityGroupEgressCommandInput , AuthorizeSecurityGroupEgressCommandOutput , } from "./commands/AuthorizeSecurityGroupEgressCommand" ; import { AuthorizeSecurityGroupIngressCommand , AuthorizeSecurityGroupIngressCommandInput , AuthorizeSecurityGroupIngressCommandOutput , } from "./commands/AuthorizeSecurityGroupIngressCommand" ; import { BundleInstanceCommand , BundleInstanceCommandInput , BundleInstanceCommandOutput , } from "./commands/BundleInstanceCommand" ; import { CancelBundleTaskCommand , CancelBundleTaskCommandInput , CancelBundleTaskCommandOutput , } from "./commands/CancelBundleTaskCommand" ; import { CancelCapacityReservationCommand , CancelCapacityReservationCommandInput , CancelCapacityReservationCommandOutput , } from "./commands/CancelCapacityReservationCommand" ; import { CancelCapacityReservationFleetsCommand , CancelCapacityReservationFleetsCommandInput , CancelCapacityReservationFleetsCommandOutput , } from "./commands/CancelCapacityReservationFleetsCommand" ; import { CancelConversionTaskCommand , CancelConversionTaskCommandInput , CancelConversionTaskCommandOutput , } from "./commands/CancelConversionTaskCommand" ; import { CancelExportTaskCommand , CancelExportTaskCommandInput , CancelExportTaskCommandOutput , } from "./commands/CancelExportTaskCommand" ; import { CancelImportTaskCommand , CancelImportTaskCommandInput , CancelImportTaskCommandOutput , } from "./commands/CancelImportTaskCommand" ; import { CancelReservedInstancesListingCommand , CancelReservedInstancesListingCommandInput , CancelReservedInstancesListingCommandOutput , } from "./commands/CancelReservedInstancesListingCommand" ; import { CancelSpotFleetRequestsCommand , CancelSpotFleetRequestsCommandInput , CancelSpotFleetRequestsCommandOutput , } from "./commands/CancelSpotFleetRequestsCommand" ; import { CancelSpotInstanceRequestsCommand , CancelSpotInstanceRequestsCommandInput , CancelSpotInstanceRequestsCommandOutput , } from "./commands/CancelSpotInstanceRequestsCommand" ; import { ConfirmProductInstanceCommand , ConfirmProductInstanceCommandInput , ConfirmProductInstanceCommandOutput , } from "./commands/ConfirmProductInstanceCommand" ; import { CopyFpgaImageCommand , CopyFpgaImageCommandInput , CopyFpgaImageCommandOutput , } from "./commands/CopyFpgaImageCommand" ; import { CopyImageCommand , CopyImageCommandInput , CopyImageCommandOutput } from "./commands/CopyImageCommand" ; import { CopySnapshotCommand , CopySnapshotCommandInput , CopySnapshotCommandOutput , } from "./commands/CopySnapshotCommand" ; import { CreateCapacityReservationCommand , CreateCapacityReservationCommandInput , CreateCapacityReservationCommandOutput , } from "./commands/CreateCapacityReservationCommand" ; import { CreateCapacityReservationFleetCommand , CreateCapacityReservationFleetCommandInput , CreateCapacityReservationFleetCommandOutput , } from "./commands/CreateCapacityReservationFleetCommand" ; import { CreateCarrierGatewayCommand , CreateCarrierGatewayCommandInput , CreateCarrierGatewayCommandOutput , } from "./commands/CreateCarrierGatewayCommand" ; import { CreateClientVpnEndpointCommand , CreateClientVpnEndpointCommandInput , CreateClientVpnEndpointCommandOutput , } from "./commands/CreateClientVpnEndpointCommand" ; import { CreateClientVpnRouteCommand , CreateClientVpnRouteCommandInput , CreateClientVpnRouteCommandOutput , } from "./commands/CreateClientVpnRouteCommand" ; import { CreateCustomerGatewayCommand , CreateCustomerGatewayCommandInput , CreateCustomerGatewayCommandOutput , } from "./commands/CreateCustomerGatewayCommand" ; import { CreateDefaultSubnetCommand , CreateDefaultSubnetCommandInput , CreateDefaultSubnetCommandOutput , } from "./commands/CreateDefaultSubnetCommand" ; import { CreateDefaultVpcCommand , CreateDefaultVpcCommandInput , CreateDefaultVpcCommandOutput , } from "./commands/CreateDefaultVpcCommand" ; import { CreateDhcpOptionsCommand , CreateDhcpOptionsCommandInput , CreateDhcpOptionsCommandOutput , } from "./commands/CreateDhcpOptionsCommand" ; import { CreateEgressOnlyInternetGatewayCommand , CreateEgressOnlyInternetGatewayCommandInput , CreateEgressOnlyInternetGatewayCommandOutput , } from "./commands/CreateEgressOnlyInternetGatewayCommand" ; import { CreateFleetCommand , CreateFleetCommandInput , CreateFleetCommandOutput } from "./commands/CreateFleetCommand" ; import { CreateFlowLogsCommand , CreateFlowLogsCommandInput , CreateFlowLogsCommandOutput , } from "./commands/CreateFlowLogsCommand" ; import { CreateFpgaImageCommand , CreateFpgaImageCommandInput , CreateFpgaImageCommandOutput , } from "./commands/CreateFpgaImageCommand" ; import { CreateImageCommand , CreateImageCommandInput , CreateImageCommandOutput } from "./commands/CreateImageCommand" ; import { CreateInstanceEventWindowCommand , CreateInstanceEventWindowCommandInput , CreateInstanceEventWindowCommandOutput , } from "./commands/CreateInstanceEventWindowCommand" ; import { CreateInstanceExportTaskCommand , CreateInstanceExportTaskCommandInput , CreateInstanceExportTaskCommandOutput , } from "./commands/CreateInstanceExportTaskCommand" ; import { CreateInternetGatewayCommand , CreateInternetGatewayCommandInput , CreateInternetGatewayCommandOutput , } from "./commands/CreateInternetGatewayCommand" ; import { CreateIpamCommand , CreateIpamCommandInput , CreateIpamCommandOutput } from "./commands/CreateIpamCommand" ; import { CreateIpamPoolCommand , CreateIpamPoolCommandInput , CreateIpamPoolCommandOutput , } from "./commands/CreateIpamPoolCommand" ; import { CreateIpamScopeCommand , CreateIpamScopeCommandInput , CreateIpamScopeCommandOutput , } from "./commands/CreateIpamScopeCommand" ; import { CreateKeyPairCommand , CreateKeyPairCommandInput , CreateKeyPairCommandOutput , } from "./commands/CreateKeyPairCommand" ; import { CreateLaunchTemplateCommand , CreateLaunchTemplateCommandInput , CreateLaunchTemplateCommandOutput , } from "./commands/CreateLaunchTemplateCommand" ; import { CreateLaunchTemplateVersionCommand , CreateLaunchTemplateVersionCommandInput , CreateLaunchTemplateVersionCommandOutput , } from "./commands/CreateLaunchTemplateVersionCommand" ; import { CreateLocalGatewayRouteCommand , CreateLocalGatewayRouteCommandInput , CreateLocalGatewayRouteCommandOutput , } from "./commands/CreateLocalGatewayRouteCommand" ; import { CreateLocalGatewayRouteTableVpcAssociationCommand , CreateLocalGatewayRouteTableVpcAssociationCommandInput , CreateLocalGatewayRouteTableVpcAssociationCommandOutput , } from "./commands/CreateLocalGatewayRouteTableVpcAssociationCommand" ; import { CreateManagedPrefixListCommand , CreateManagedPrefixListCommandInput , CreateManagedPrefixListCommandOutput , } from "./commands/CreateManagedPrefixListCommand" ; import { CreateNatGatewayCommand , CreateNatGatewayCommandInput , CreateNatGatewayCommandOutput , } from "./commands/CreateNatGatewayCommand" ; import { CreateNetworkAclCommand , CreateNetworkAclCommandInput , CreateNetworkAclCommandOutput , } from "./commands/CreateNetworkAclCommand" ; import { CreateNetworkAclEntryCommand , CreateNetworkAclEntryCommandInput , CreateNetworkAclEntryCommandOutput , } from "./commands/CreateNetworkAclEntryCommand" ; import { CreateNetworkInsightsAccessScopeCommand , CreateNetworkInsightsAccessScopeCommandInput , CreateNetworkInsightsAccessScopeCommandOutput , } from "./commands/CreateNetworkInsightsAccessScopeCommand" ; import { CreateNetworkInsightsPathCommand , CreateNetworkInsightsPathCommandInput , CreateNetworkInsightsPathCommandOutput , } from "./commands/CreateNetworkInsightsPathCommand" ; import { CreateNetworkInterfaceCommand , CreateNetworkInterfaceCommandInput , CreateNetworkInterfaceCommandOutput , } from "./commands/CreateNetworkInterfaceCommand" ; import { CreateNetworkInterfacePermissionCommand , CreateNetworkInterfacePermissionCommandInput , CreateNetworkInterfacePermissionCommandOutput , } from "./commands/CreateNetworkInterfacePermissionCommand" ; import { CreatePlacementGroupCommand , CreatePlacementGroupCommandInput , CreatePlacementGroupCommandOutput , } from "./commands/CreatePlacementGroupCommand" ; import { CreatePublicIpv4PoolCommand , CreatePublicIpv4PoolCommandInput , CreatePublicIpv4PoolCommandOutput , } from "./commands/CreatePublicIpv4PoolCommand" ; import { CreateReplaceRootVolumeTaskCommand , CreateReplaceRootVolumeTaskCommandInput , CreateReplaceRootVolumeTaskCommandOutput , } from "./commands/CreateReplaceRootVolumeTaskCommand" ; import { CreateReservedInstancesListingCommand , CreateReservedInstancesListingCommandInput , CreateReservedInstancesListingCommandOutput , } from "./commands/CreateReservedInstancesListingCommand" ; import { CreateRestoreImageTaskCommand , CreateRestoreImageTaskCommandInput , CreateRestoreImageTaskCommandOutput , } from "./commands/CreateRestoreImageTaskCommand" ; import { CreateRouteCommand , CreateRouteCommandInput , CreateRouteCommandOutput } from "./commands/CreateRouteCommand" ; import { CreateRouteTableCommand , CreateRouteTableCommandInput , CreateRouteTableCommandOutput , } from "./commands/CreateRouteTableCommand" ; import { CreateSecurityGroupCommand , CreateSecurityGroupCommandInput , CreateSecurityGroupCommandOutput , } from "./commands/CreateSecurityGroupCommand" ; import { CreateSnapshotCommand , CreateSnapshotCommandInput , CreateSnapshotCommandOutput , } from "./commands/CreateSnapshotCommand" ; import { CreateSnapshotsCommand , CreateSnapshotsCommandInput , CreateSnapshotsCommandOutput , } from "./commands/CreateSnapshotsCommand" ; import { CreateSpotDatafeedSubscriptionCommand , CreateSpotDatafeedSubscriptionCommandInput , CreateSpotDatafeedSubscriptionCommandOutput , } from "./commands/CreateSpotDatafeedSubscriptionCommand" ; import { CreateStoreImageTaskCommand , CreateStoreImageTaskCommandInput , CreateStoreImageTaskCommandOutput , } from "./commands/CreateStoreImageTaskCommand" ; import { CreateSubnetCidrReservationCommand , CreateSubnetCidrReservationCommandInput , CreateSubnetCidrReservationCommandOutput , } from "./commands/CreateSubnetCidrReservationCommand" ; import { CreateSubnetCommand , CreateSubnetCommandInput , CreateSubnetCommandOutput , } from "./commands/CreateSubnetCommand" ; import { CreateTagsCommand , CreateTagsCommandInput , CreateTagsCommandOutput } from "./commands/CreateTagsCommand" ; import { CreateTrafficMirrorFilterCommand , CreateTrafficMirrorFilterCommandInput , CreateTrafficMirrorFilterCommandOutput , } from "./commands/CreateTrafficMirrorFilterCommand" ; import { CreateTrafficMirrorFilterRuleCommand , CreateTrafficMirrorFilterRuleCommandInput , CreateTrafficMirrorFilterRuleCommandOutput , } from "./commands/CreateTrafficMirrorFilterRuleCommand" ; import { CreateTrafficMirrorSessionCommand , CreateTrafficMirrorSessionCommandInput , CreateTrafficMirrorSessionCommandOutput , } from "./commands/CreateTrafficMirrorSessionCommand" ; import { CreateTrafficMirrorTargetCommand , CreateTrafficMirrorTargetCommandInput , CreateTrafficMirrorTargetCommandOutput , } from "./commands/CreateTrafficMirrorTargetCommand" ; import { CreateTransitGatewayCommand , CreateTransitGatewayCommandInput , CreateTransitGatewayCommandOutput , } from "./commands/CreateTransitGatewayCommand" ; import { CreateTransitGatewayConnectCommand , CreateTransitGatewayConnectCommandInput , CreateTransitGatewayConnectCommandOutput , } from "./commands/CreateTransitGatewayConnectCommand" ; import { CreateTransitGatewayConnectPeerCommand , CreateTransitGatewayConnectPeerCommandInput , CreateTransitGatewayConnectPeerCommandOutput , } from "./commands/CreateTransitGatewayConnectPeerCommand" ; import { CreateTransitGatewayMulticastDomainCommand , CreateTransitGatewayMulticastDomainCommandInput , CreateTransitGatewayMulticastDomainCommandOutput , } from "./commands/CreateTransitGatewayMulticastDomainCommand" ; import { CreateTransitGatewayPeeringAttachmentCommand , CreateTransitGatewayPeeringAttachmentCommandInput , CreateTransitGatewayPeeringAttachmentCommandOutput , } from "./commands/CreateTransitGatewayPeeringAttachmentCommand" ; import { CreateTransitGatewayPrefixListReferenceCommand , CreateTransitGatewayPrefixListReferenceCommandInput , CreateTransitGatewayPrefixListReferenceCommandOutput , } from "./commands/CreateTransitGatewayPrefixListReferenceCommand" ; import { CreateTransitGatewayRouteCommand , CreateTransitGatewayRouteCommandInput , CreateTransitGatewayRouteCommandOutput , } from "./commands/CreateTransitGatewayRouteCommand" ; import { CreateTransitGatewayRouteTableCommand , CreateTransitGatewayRouteTableCommandInput , CreateTransitGatewayRouteTableCommandOutput , } from "./commands/CreateTransitGatewayRouteTableCommand" ; import { CreateTransitGatewayVpcAttachmentCommand , CreateTransitGatewayVpcAttachmentCommandInput , CreateTransitGatewayVpcAttachmentCommandOutput , } from "./commands/CreateTransitGatewayVpcAttachmentCommand" ; import { CreateVolumeCommand , CreateVolumeCommandInput , CreateVolumeCommandOutput , } from "./commands/CreateVolumeCommand" ; import { CreateVpcCommand , CreateVpcCommandInput , CreateVpcCommandOutput } from "./commands/CreateVpcCommand" ; import { CreateVpcEndpointCommand , CreateVpcEndpointCommandInput , CreateVpcEndpointCommandOutput , } from "./commands/CreateVpcEndpointCommand" ; import { CreateVpcEndpointConnectionNotificationCommand , CreateVpcEndpointConnectionNotificationCommandInput , CreateVpcEndpointConnectionNotificationCommandOutput , } from "./commands/CreateVpcEndpointConnectionNotificationCommand" ; import { CreateVpcEndpointServiceConfigurationCommand , CreateVpcEndpointServiceConfigurationCommandInput , CreateVpcEndpointServiceConfigurationCommandOutput , } from "./commands/CreateVpcEndpointServiceConfigurationCommand" ; import { CreateVpcPeeringConnectionCommand , CreateVpcPeeringConnectionCommandInput , CreateVpcPeeringConnectionCommandOutput , } from "./commands/CreateVpcPeeringConnectionCommand" ; import { CreateVpnConnectionCommand , CreateVpnConnectionCommandInput , CreateVpnConnectionCommandOutput , } from "./commands/CreateVpnConnectionCommand" ; import { CreateVpnConnectionRouteCommand , CreateVpnConnectionRouteCommandInput , CreateVpnConnectionRouteCommandOutput , } from "./commands/CreateVpnConnectionRouteCommand" ; import { CreateVpnGatewayCommand , CreateVpnGatewayCommandInput , CreateVpnGatewayCommandOutput , } from "./commands/CreateVpnGatewayCommand" ; import { DeleteCarrierGatewayCommand , DeleteCarrierGatewayCommandInput , DeleteCarrierGatewayCommandOutput , } from "./commands/DeleteCarrierGatewayCommand" ; import { DeleteClientVpnEndpointCommand , DeleteClientVpnEndpointCommandInput , DeleteClientVpnEndpointCommandOutput , } from "./commands/DeleteClientVpnEndpointCommand" ; import { DeleteClientVpnRouteCommand , DeleteClientVpnRouteCommandInput , DeleteClientVpnRouteCommandOutput , } from "./commands/DeleteClientVpnRouteCommand" ; import { DeleteCustomerGatewayCommand , DeleteCustomerGatewayCommandInput , DeleteCustomerGatewayCommandOutput , } from "./commands/DeleteCustomerGatewayCommand" ; import { DeleteDhcpOptionsCommand , DeleteDhcpOptionsCommandInput , DeleteDhcpOptionsCommandOutput , } from "./commands/DeleteDhcpOptionsCommand" ; import { DeleteEgressOnlyInternetGatewayCommand , DeleteEgressOnlyInternetGatewayCommandInput , DeleteEgressOnlyInternetGatewayCommandOutput , } from "./commands/DeleteEgressOnlyInternetGatewayCommand" ; import { DeleteFleetsCommand , DeleteFleetsCommandInput , DeleteFleetsCommandOutput , } from "./commands/DeleteFleetsCommand" ; import { DeleteFlowLogsCommand , DeleteFlowLogsCommandInput , DeleteFlowLogsCommandOutput , } from "./commands/DeleteFlowLogsCommand" ; import { DeleteFpgaImageCommand , DeleteFpgaImageCommandInput , DeleteFpgaImageCommandOutput , } from "./commands/DeleteFpgaImageCommand" ; import { DeleteInstanceEventWindowCommand , DeleteInstanceEventWindowCommandInput , DeleteInstanceEventWindowCommandOutput , } from "./commands/DeleteInstanceEventWindowCommand" ; import { DeleteInternetGatewayCommand , DeleteInternetGatewayCommandInput , DeleteInternetGatewayCommandOutput , } from "./commands/DeleteInternetGatewayCommand" ; import { DeleteIpamCommand , DeleteIpamCommandInput , DeleteIpamCommandOutput } from "./commands/DeleteIpamCommand" ; import { DeleteIpamPoolCommand , DeleteIpamPoolCommandInput , DeleteIpamPoolCommandOutput , } from "./commands/DeleteIpamPoolCommand" ; import { DeleteIpamScopeCommand , DeleteIpamScopeCommandInput , DeleteIpamScopeCommandOutput , } from "./commands/DeleteIpamScopeCommand" ; import { DeleteKeyPairCommand , DeleteKeyPairCommandInput , DeleteKeyPairCommandOutput , } from "./commands/DeleteKeyPairCommand" ; import { DeleteLaunchTemplateCommand , DeleteLaunchTemplateCommandInput , DeleteLaunchTemplateCommandOutput , } from "./commands/DeleteLaunchTemplateCommand" ; import { DeleteLaunchTemplateVersionsCommand , DeleteLaunchTemplateVersionsCommandInput , DeleteLaunchTemplateVersionsCommandOutput , } from "./commands/DeleteLaunchTemplateVersionsCommand" ; import { DeleteLocalGatewayRouteCommand , DeleteLocalGatewayRouteCommandInput , DeleteLocalGatewayRouteCommandOutput , } from "./commands/DeleteLocalGatewayRouteCommand" ; import { DeleteLocalGatewayRouteTableVpcAssociationCommand , DeleteLocalGatewayRouteTableVpcAssociationCommandInput , DeleteLocalGatewayRouteTableVpcAssociationCommandOutput , } from "./commands/DeleteLocalGatewayRouteTableVpcAssociationCommand" ; import { DeleteManagedPrefixListCommand , DeleteManagedPrefixListCommandInput , DeleteManagedPrefixListCommandOutput , } from "./commands/DeleteManagedPrefixListCommand" ; import { DeleteNatGatewayCommand , DeleteNatGatewayCommandInput , DeleteNatGatewayCommandOutput , } from "./commands/DeleteNatGatewayCommand" ; import { DeleteNetworkAclCommand , DeleteNetworkAclCommandInput , DeleteNetworkAclCommandOutput , } from "./commands/DeleteNetworkAclCommand" ; import { DeleteNetworkAclEntryCommand , DeleteNetworkAclEntryCommandInput , DeleteNetworkAclEntryCommandOutput , } from "./commands/DeleteNetworkAclEntryCommand" ; import { DeleteNetworkInsightsAccessScopeAnalysisCommand , DeleteNetworkInsightsAccessScopeAnalysisCommandInput , DeleteNetworkInsightsAccessScopeAnalysisCommandOutput , } from "./commands/DeleteNetworkInsightsAccessScopeAnalysisCommand" ; import { DeleteNetworkInsightsAccessScopeCommand , DeleteNetworkInsightsAccessScopeCommandInput , DeleteNetworkInsightsAccessScopeCommandOutput , } from "./commands/DeleteNetworkInsightsAccessScopeCommand" ; import { DeleteNetworkInsightsAnalysisCommand , DeleteNetworkInsightsAnalysisCommandInput , DeleteNetworkInsightsAnalysisCommandOutput , } from "./commands/DeleteNetworkInsightsAnalysisCommand" ; import { DeleteNetworkInsightsPathCommand , DeleteNetworkInsightsPathCommandInput , DeleteNetworkInsightsPathCommandOutput , } from "./commands/DeleteNetworkInsightsPathCommand" ; import { DeleteNetworkInterfaceCommand , DeleteNetworkInterfaceCommandInput , DeleteNetworkInterfaceCommandOutput , } from "./commands/DeleteNetworkInterfaceCommand" ; import { DeleteNetworkInterfacePermissionCommand , DeleteNetworkInterfacePermissionCommandInput , DeleteNetworkInterfacePermissionCommandOutput , } from "./commands/DeleteNetworkInterfacePermissionCommand" ; import { DeletePlacementGroupCommand , DeletePlacementGroupCommandInput , DeletePlacementGroupCommandOutput , } from "./commands/DeletePlacementGroupCommand" ; import { DeletePublicIpv4PoolCommand , DeletePublicIpv4PoolCommandInput , DeletePublicIpv4PoolCommandOutput , } from "./commands/DeletePublicIpv4PoolCommand" ; import { DeleteQueuedReservedInstancesCommand , DeleteQueuedReservedInstancesCommandInput , DeleteQueuedReservedInstancesCommandOutput , } from "./commands/DeleteQueuedReservedInstancesCommand" ; import { DeleteRouteCommand , DeleteRouteCommandInput , DeleteRouteCommandOutput } from "./commands/DeleteRouteCommand" ; import { DeleteRouteTableCommand , DeleteRouteTableCommandInput , DeleteRouteTableCommandOutput , } from "./commands/DeleteRouteTableCommand" ; import { DeleteSecurityGroupCommand , DeleteSecurityGroupCommandInput , DeleteSecurityGroupCommandOutput , } from "./commands/DeleteSecurityGroupCommand" ; import { DeleteSnapshotCommand , DeleteSnapshotCommandInput , DeleteSnapshotCommandOutput , } from "./commands/DeleteSnapshotCommand" ; import { DeleteSpotDatafeedSubscriptionCommand , DeleteSpotDatafeedSubscriptionCommandInput , DeleteSpotDatafeedSubscriptionCommandOutput , } from "./commands/DeleteSpotDatafeedSubscriptionCommand" ; import { DeleteSubnetCidrReservationCommand , DeleteSubnetCidrReservationCommandInput , DeleteSubnetCidrReservationCommandOutput , } from "./commands/DeleteSubnetCidrReservationCommand" ; import { DeleteSubnetCommand , DeleteSubnetCommandInput , DeleteSubnetCommandOutput , } from "./commands/DeleteSubnetCommand" ; import { DeleteTagsCommand , DeleteTagsCommandInput , DeleteTagsCommandOutput } from "./commands/DeleteTagsCommand" ; import { DeleteTrafficMirrorFilterCommand , DeleteTrafficMirrorFilterCommandInput , DeleteTrafficMirrorFilterCommandOutput , } from "./commands/DeleteTrafficMirrorFilterCommand" ; import { DeleteTrafficMirrorFilterRuleCommand , DeleteTrafficMirrorFilterRuleCommandInput , DeleteTrafficMirrorFilterRuleCommandOutput , } from "./commands/DeleteTrafficMirrorFilterRuleCommand" ; import { DeleteTrafficMirrorSessionCommand , DeleteTrafficMirrorSessionCommandInput , DeleteTrafficMirrorSessionCommandOutput , } from "./commands/DeleteTrafficMirrorSessionCommand" ; import { DeleteTrafficMirrorTargetCommand , DeleteTrafficMirrorTargetCommandInput , DeleteTrafficMirrorTargetCommandOutput , } from "./commands/DeleteTrafficMirrorTargetCommand" ; import { DeleteTransitGatewayCommand , DeleteTransitGatewayCommandInput , DeleteTransitGatewayCommandOutput , } from "./commands/DeleteTransitGatewayCommand" ; import { DeleteTransitGatewayConnectCommand , DeleteTransitGatewayConnectCommandInput , DeleteTransitGatewayConnectCommandOutput , } from "./commands/DeleteTransitGatewayConnectCommand" ; import { DeleteTransitGatewayConnectPeerCommand , DeleteTransitGatewayConnectPeerCommandInput , DeleteTransitGatewayConnectPeerCommandOutput , } from "./commands/DeleteTransitGatewayConnectPeerCommand" ; import { DeleteTransitGatewayMulticastDomainCommand , DeleteTransitGatewayMulticastDomainCommandInput , DeleteTransitGatewayMulticastDomainCommandOutput , } from "./commands/DeleteTransitGatewayMulticastDomainCommand" ; import { DeleteTransitGatewayPeeringAttachmentCommand , DeleteTransitGatewayPeeringAttachmentCommandInput , DeleteTransitGatewayPeeringAttachmentCommandOutput , } from "./commands/DeleteTransitGatewayPeeringAttachmentCommand" ; import { DeleteTransitGatewayPrefixListReferenceCommand , DeleteTransitGatewayPrefixListReferenceCommandInput , DeleteTransitGatewayPrefixListReferenceCommandOutput , } from "./commands/DeleteTransitGatewayPrefixListReferenceCommand" ; import { DeleteTransitGatewayRouteCommand , DeleteTransitGatewayRouteCommandInput , DeleteTransitGatewayRouteCommandOutput , } from "./commands/DeleteTransitGatewayRouteCommand" ; import { DeleteTransitGatewayRouteTableCommand , DeleteTransitGatewayRouteTableCommandInput , DeleteTransitGatewayRouteTableCommandOutput , } from "./commands/DeleteTransitGatewayRouteTableCommand" ; import { DeleteTransitGatewayVpcAttachmentCommand , DeleteTransitGatewayVpcAttachmentCommandInput , DeleteTransitGatewayVpcAttachmentCommandOutput , } from "./commands/DeleteTransitGatewayVpcAttachmentCommand" ; import { DeleteVolumeCommand , DeleteVolumeCommandInput , DeleteVolumeCommandOutput , } from "./commands/DeleteVolumeCommand" ; import { DeleteVpcCommand , DeleteVpcCommandInput , DeleteVpcCommandOutput } from "./commands/DeleteVpcCommand" ; import { DeleteVpcEndpointConnectionNotificationsCommand , DeleteVpcEndpointConnectionNotificationsCommandInput , DeleteVpcEndpointConnectionNotificationsCommandOutput , } from "./commands/DeleteVpcEndpointConnectionNotificationsCommand" ; import { DeleteVpcEndpointsCommand , DeleteVpcEndpointsCommandInput , DeleteVpcEndpointsCommandOutput , } from "./commands/DeleteVpcEndpointsCommand" ; import { DeleteVpcEndpointServiceConfigurationsCommand , DeleteVpcEndpointServiceConfigurationsCommandInput , DeleteVpcEndpointServiceConfigurationsCommandOutput , } from "./commands/DeleteVpcEndpointServiceConfigurationsCommand" ; import { DeleteVpcPeeringConnectionCommand , DeleteVpcPeeringConnectionCommandInput , DeleteVpcPeeringConnectionCommandOutput , } from "./commands/DeleteVpcPeeringConnectionCommand" ; import { DeleteVpnConnectionCommand , DeleteVpnConnectionCommandInput , DeleteVpnConnectionCommandOutput , } from "./commands/DeleteVpnConnectionCommand" ; import { DeleteVpnConnectionRouteCommand , DeleteVpnConnectionRouteCommandInput , DeleteVpnConnectionRouteCommandOutput , } from "./commands/DeleteVpnConnectionRouteCommand" ; import { DeleteVpnGatewayCommand , DeleteVpnGatewayCommandInput , DeleteVpnGatewayCommandOutput , } from "./commands/DeleteVpnGatewayCommand" ; import { DeprovisionByoipCidrCommand , DeprovisionByoipCidrCommandInput , DeprovisionByoipCidrCommandOutput , } from "./commands/DeprovisionByoipCidrCommand" ; import { DeprovisionIpamPoolCidrCommand , DeprovisionIpamPoolCidrCommandInput , DeprovisionIpamPoolCidrCommandOutput , } from "./commands/DeprovisionIpamPoolCidrCommand" ; import { DeprovisionPublicIpv4PoolCidrCommand , DeprovisionPublicIpv4PoolCidrCommandInput , DeprovisionPublicIpv4PoolCidrCommandOutput , } from "./commands/DeprovisionPublicIpv4PoolCidrCommand" ; import { DeregisterImageCommand , DeregisterImageCommandInput , DeregisterImageCommandOutput , } from "./commands/DeregisterImageCommand" ; import { DeregisterInstanceEventNotificationAttributesCommand , DeregisterInstanceEventNotificationAttributesCommandInput , DeregisterInstanceEventNotificationAttributesCommandOutput , } from "./commands/DeregisterInstanceEventNotificationAttributesCommand" ; import { DeregisterTransitGatewayMulticastGroupMembersCommand , DeregisterTransitGatewayMulticastGroupMembersCommandInput , DeregisterTransitGatewayMulticastGroupMembersCommandOutput , } from "./commands/DeregisterTransitGatewayMulticastGroupMembersCommand" ; import { DeregisterTransitGatewayMulticastGroupSourcesCommand , DeregisterTransitGatewayMulticastGroupSourcesCommandInput , DeregisterTransitGatewayMulticastGroupSourcesCommandOutput , } from "./commands/DeregisterTransitGatewayMulticastGroupSourcesCommand" ; import { DescribeAccountAttributesCommand , DescribeAccountAttributesCommandInput , DescribeAccountAttributesCommandOutput , } from "./commands/DescribeAccountAttributesCommand" ; import { DescribeAddressesAttributeCommand , DescribeAddressesAttributeCommandInput , DescribeAddressesAttributeCommandOutput , } from "./commands/DescribeAddressesAttributeCommand" ; import { DescribeAddressesCommand , DescribeAddressesCommandInput , DescribeAddressesCommandOutput , } from "./commands/DescribeAddressesCommand" ; import { DescribeAggregateIdFormatCommand , DescribeAggregateIdFormatCommandInput , DescribeAggregateIdFormatCommandOutput , } from "./commands/DescribeAggregateIdFormatCommand" ; import { DescribeAvailabilityZonesCommand , DescribeAvailabilityZonesCommandInput , DescribeAvailabilityZonesCommandOutput , } from "./commands/DescribeAvailabilityZonesCommand" ; import { DescribeBundleTasksCommand , DescribeBundleTasksCommandInput , DescribeBundleTasksCommandOutput , } from "./commands/DescribeBundleTasksCommand" ; import { DescribeByoipCidrsCommand , DescribeByoipCidrsCommandInput , DescribeByoipCidrsCommandOutput , } from "./commands/DescribeByoipCidrsCommand" ; import { DescribeCapacityReservationFleetsCommand , DescribeCapacityReservationFleetsCommandInput , DescribeCapacityReservationFleetsCommandOutput , } from "./commands/DescribeCapacityReservationFleetsCommand" ; import { DescribeCapacityReservationsCommand , DescribeCapacityReservationsCommandInput , DescribeCapacityReservationsCommandOutput , } from "./commands/DescribeCapacityReservationsCommand" ; import { DescribeCarrierGatewaysCommand , DescribeCarrierGatewaysCommandInput , DescribeCarrierGatewaysCommandOutput , } from "./commands/DescribeCarrierGatewaysCommand" ; import { DescribeClassicLinkInstancesCommand , DescribeClassicLinkInstancesCommandInput , DescribeClassicLinkInstancesCommandOutput , } from "./commands/DescribeClassicLinkInstancesCommand" ; import { DescribeClientVpnAuthorizationRulesCommand , DescribeClientVpnAuthorizationRulesCommandInput , DescribeClientVpnAuthorizationRulesCommandOutput , } from "./commands/DescribeClientVpnAuthorizationRulesCommand" ; import { DescribeClientVpnConnectionsCommand , DescribeClientVpnConnectionsCommandInput , DescribeClientVpnConnectionsCommandOutput , } from "./commands/DescribeClientVpnConnectionsCommand" ; import { DescribeClientVpnEndpointsCommand , DescribeClientVpnEndpointsCommandInput , DescribeClientVpnEndpointsCommandOutput , } from "./commands/DescribeClientVpnEndpointsCommand" ; import { DescribeClientVpnRoutesCommand , DescribeClientVpnRoutesCommandInput , DescribeClientVpnRoutesCommandOutput , } from "./commands/DescribeClientVpnRoutesCommand" ; import { DescribeClientVpnTargetNetworksCommand , DescribeClientVpnTargetNetworksCommandInput , DescribeClientVpnTargetNetworksCommandOutput , } from "./commands/DescribeClientVpnTargetNetworksCommand" ; import { DescribeCoipPoolsCommand , DescribeCoipPoolsCommandInput , DescribeCoipPoolsCommandOutput , } from "./commands/DescribeCoipPoolsCommand" ; import { DescribeConversionTasksCommand , DescribeConversionTasksCommandInput , DescribeConversionTasksCommandOutput , } from "./commands/DescribeConversionTasksCommand" ; import { DescribeCustomerGatewaysCommand , DescribeCustomerGatewaysCommandInput , DescribeCustomerGatewaysCommandOutput , } from "./commands/DescribeCustomerGatewaysCommand" ; import { DescribeDhcpOptionsCommand , DescribeDhcpOptionsCommandInput , DescribeDhcpOptionsCommandOutput , } from "./commands/DescribeDhcpOptionsCommand" ; import { DescribeEgressOnlyInternetGatewaysCommand , DescribeEgressOnlyInternetGatewaysCommandInput , DescribeEgressOnlyInternetGatewaysCommandOutput , } from "./commands/DescribeEgressOnlyInternetGatewaysCommand" ; import { DescribeElasticGpusCommand , DescribeElasticGpusCommandInput , DescribeElasticGpusCommandOutput , } from "./commands/DescribeElasticGpusCommand" ; import { DescribeExportImageTasksCommand , DescribeExportImageTasksCommandInput , DescribeExportImageTasksCommandOutput , } from "./commands/DescribeExportImageTasksCommand" ; import { DescribeExportTasksCommand , DescribeExportTasksCommandInput , DescribeExportTasksCommandOutput , } from "./commands/DescribeExportTasksCommand" ; import { DescribeFastSnapshotRestoresCommand , DescribeFastSnapshotRestoresCommandInput , DescribeFastSnapshotRestoresCommandOutput , } from "./commands/DescribeFastSnapshotRestoresCommand" ; import { DescribeFleetHistoryCommand , DescribeFleetHistoryCommandInput , DescribeFleetHistoryCommandOutput , } from "./commands/DescribeFleetHistoryCommand" ; import { DescribeFleetInstancesCommand , DescribeFleetInstancesCommandInput , DescribeFleetInstancesCommandOutput , } from "./commands/DescribeFleetInstancesCommand" ; import { DescribeFleetsCommand , DescribeFleetsCommandInput , DescribeFleetsCommandOutput , } from "./commands/DescribeFleetsCommand" ; import { DescribeFlowLogsCommand , DescribeFlowLogsCommandInput , DescribeFlowLogsCommandOutput , } from "./commands/DescribeFlowLogsCommand" ; import { DescribeFpgaImageAttributeCommand , DescribeFpgaImageAttributeCommandInput , DescribeFpgaImageAttributeCommandOutput , } from "./commands/DescribeFpgaImageAttributeCommand" ; import { DescribeFpgaImagesCommand , DescribeFpgaImagesCommandInput , DescribeFpgaImagesCommandOutput , } from "./commands/DescribeFpgaImagesCommand" ; import { DescribeHostReservationOfferingsCommand , DescribeHostReservationOfferingsCommandInput , DescribeHostReservationOfferingsCommandOutput , } from "./commands/DescribeHostReservationOfferingsCommand" ; import { DescribeHostReservationsCommand , DescribeHostReservationsCommandInput , DescribeHostReservationsCommandOutput , } from "./commands/DescribeHostReservationsCommand" ; import { DescribeHostsCommand , DescribeHostsCommandInput , DescribeHostsCommandOutput , } from "./commands/DescribeHostsCommand" ; import { DescribeIamInstanceProfileAssociationsCommand , DescribeIamInstanceProfileAssociationsCommandInput , DescribeIamInstanceProfileAssociationsCommandOutput , } from "./commands/DescribeIamInstanceProfileAssociationsCommand" ; import { DescribeIdentityIdFormatCommand , DescribeIdentityIdFormatCommandInput , DescribeIdentityIdFormatCommandOutput , } from "./commands/DescribeIdentityIdFormatCommand" ; import { DescribeIdFormatCommand , DescribeIdFormatCommandInput , DescribeIdFormatCommandOutput , } from "./commands/DescribeIdFormatCommand" ; import { DescribeImageAttributeCommand , DescribeImageAttributeCommandInput , DescribeImageAttributeCommandOutput , } from "./commands/DescribeImageAttributeCommand" ; import { DescribeImagesCommand , DescribeImagesCommandInput , DescribeImagesCommandOutput , } from "./commands/DescribeImagesCommand" ; import { DescribeImportImageTasksCommand , DescribeImportImageTasksCommandInput , DescribeImportImageTasksCommandOutput , } from "./commands/DescribeImportImageTasksCommand" ; import { DescribeImportSnapshotTasksCommand , DescribeImportSnapshotTasksCommandInput , DescribeImportSnapshotTasksCommandOutput , } from "./commands/DescribeImportSnapshotTasksCommand" ; import { DescribeInstanceAttributeCommand , DescribeInstanceAttributeCommandInput , DescribeInstanceAttributeCommandOutput , } from "./commands/DescribeInstanceAttributeCommand" ; import { DescribeInstanceCreditSpecificationsCommand , DescribeInstanceCreditSpecificationsCommandInput , DescribeInstanceCreditSpecificationsCommandOutput , } from "./commands/DescribeInstanceCreditSpecificationsCommand" ; import { DescribeInstanceEventNotificationAttributesCommand , DescribeInstanceEventNotificationAttributesCommandInput , DescribeInstanceEventNotificationAttributesCommandOutput , } from "./commands/DescribeInstanceEventNotificationAttributesCommand" ; import { DescribeInstanceEventWindowsCommand , DescribeInstanceEventWindowsCommandInput , DescribeInstanceEventWindowsCommandOutput , } from "./commands/DescribeInstanceEventWindowsCommand" ; import { DescribeInstancesCommand , DescribeInstancesCommandInput , DescribeInstancesCommandOutput , } from "./commands/DescribeInstancesCommand" ; import { DescribeInstanceStatusCommand , DescribeInstanceStatusCommandInput , DescribeInstanceStatusCommandOutput , } from "./commands/DescribeInstanceStatusCommand" ; import { DescribeInstanceTypeOfferingsCommand , DescribeInstanceTypeOfferingsCommandInput , DescribeInstanceTypeOfferingsCommandOutput , } from "./commands/DescribeInstanceTypeOfferingsCommand" ; import { DescribeInstanceTypesCommand , DescribeInstanceTypesCommandInput , DescribeInstanceTypesCommandOutput , } from "./commands/DescribeInstanceTypesCommand" ; import { DescribeInternetGatewaysCommand , DescribeInternetGatewaysCommandInput , DescribeInternetGatewaysCommandOutput , } from "./commands/DescribeInternetGatewaysCommand" ; import { DescribeIpamPoolsCommand , DescribeIpamPoolsCommandInput , DescribeIpamPoolsCommandOutput , } from "./commands/DescribeIpamPoolsCommand" ; import { DescribeIpamsCommand , DescribeIpamsCommandInput , DescribeIpamsCommandOutput , } from "./commands/DescribeIpamsCommand" ; import { DescribeIpamScopesCommand , DescribeIpamScopesCommandInput , DescribeIpamScopesCommandOutput , } from "./commands/DescribeIpamScopesCommand" ; import { DescribeIpv6PoolsCommand , DescribeIpv6PoolsCommandInput , DescribeIpv6PoolsCommandOutput , } from "./commands/DescribeIpv6PoolsCommand" ; import { DescribeKeyPairsCommand , DescribeKeyPairsCommandInput , DescribeKeyPairsCommandOutput , } from "./commands/DescribeKeyPairsCommand" ; import { DescribeLaunchTemplatesCommand , DescribeLaunchTemplatesCommandInput , DescribeLaunchTemplatesCommandOutput , } from "./commands/DescribeLaunchTemplatesCommand" ; import { DescribeLaunchTemplateVersionsCommand , DescribeLaunchTemplateVersionsCommandInput , DescribeLaunchTemplateVersionsCommandOutput , } from "./commands/DescribeLaunchTemplateVersionsCommand" ; import { DescribeLocalGatewayRouteTablesCommand , DescribeLocalGatewayRouteTablesCommandInput , DescribeLocalGatewayRouteTablesCommandOutput , } from "./commands/DescribeLocalGatewayRouteTablesCommand" ; import { DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand , DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommandInput , DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommandOutput , } from "./commands/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand" ; import { DescribeLocalGatewayRouteTableVpcAssociationsCommand , DescribeLocalGatewayRouteTableVpcAssociationsCommandInput , DescribeLocalGatewayRouteTableVpcAssociationsCommandOutput , } from "./commands/DescribeLocalGatewayRouteTableVpcAssociationsCommand" ; import { DescribeLocalGatewaysCommand , DescribeLocalGatewaysCommandInput , DescribeLocalGatewaysCommandOutput , } from "./commands/DescribeLocalGatewaysCommand" ; import { DescribeLocalGatewayVirtualInterfaceGroupsCommand , DescribeLocalGatewayVirtualInterfaceGroupsCommandInput , DescribeLocalGatewayVirtualInterfaceGroupsCommandOutput , } from "./commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand" ; import { DescribeLocalGatewayVirtualInterfacesCommand , DescribeLocalGatewayVirtualInterfacesCommandInput , DescribeLocalGatewayVirtualInterfacesCommandOutput , } from "./commands/DescribeLocalGatewayVirtualInterfacesCommand" ; import { DescribeManagedPrefixListsCommand , DescribeManagedPrefixListsCommandInput , DescribeManagedPrefixListsCommandOutput , } from "./commands/DescribeManagedPrefixListsCommand" ; import { DescribeMovingAddressesCommand , DescribeMovingAddressesCommandInput , DescribeMovingAddressesCommandOutput , } from "./commands/DescribeMovingAddressesCommand" ; import { DescribeNatGatewaysCommand , DescribeNatGatewaysCommandInput , DescribeNatGatewaysCommandOutput , } from "./commands/DescribeNatGatewaysCommand" ; import { DescribeNetworkAclsCommand , DescribeNetworkAclsCommandInput , DescribeNetworkAclsCommandOutput , } from "./commands/DescribeNetworkAclsCommand" ; import { DescribeNetworkInsightsAccessScopeAnalysesCommand , DescribeNetworkInsightsAccessScopeAnalysesCommandInput , DescribeNetworkInsightsAccessScopeAnalysesCommandOutput , } from "./commands/DescribeNetworkInsightsAccessScopeAnalysesCommand" ; import { DescribeNetworkInsightsAccessScopesCommand , DescribeNetworkInsightsAccessScopesCommandInput , DescribeNetworkInsightsAccessScopesCommandOutput , } from "./commands/DescribeNetworkInsightsAccessScopesCommand" ; import { DescribeNetworkInsightsAnalysesCommand , DescribeNetworkInsightsAnalysesCommandInput , DescribeNetworkInsightsAnalysesCommandOutput , } from "./commands/DescribeNetworkInsightsAnalysesCommand" ; import { DescribeNetworkInsightsPathsCommand , DescribeNetworkInsightsPathsCommandInput , DescribeNetworkInsightsPathsCommandOutput , } from "./commands/DescribeNetworkInsightsPathsCommand" ; import { DescribeNetworkInterfaceAttributeCommand , DescribeNetworkInterfaceAttributeCommandInput , DescribeNetworkInterfaceAttributeCommandOutput , } from "./commands/DescribeNetworkInterfaceAttributeCommand" ; import { DescribeNetworkInterfacePermissionsCommand , DescribeNetworkInterfacePermissionsCommandInput , DescribeNetworkInterfacePermissionsCommandOutput , } from "./commands/DescribeNetworkInterfacePermissionsCommand" ; import { DescribeNetworkInterfacesCommand , DescribeNetworkInterfacesCommandInput , DescribeNetworkInterfacesCommandOutput , } from "./commands/DescribeNetworkInterfacesCommand" ; import { DescribePlacementGroupsCommand , DescribePlacementGroupsCommandInput , DescribePlacementGroupsCommandOutput , } from "./commands/DescribePlacementGroupsCommand" ; import { DescribePrefixListsCommand , DescribePrefixListsCommandInput , DescribePrefixListsCommandOutput , } from "./commands/DescribePrefixListsCommand" ; import { DescribePrincipalIdFormatCommand , DescribePrincipalIdFormatCommandInput , DescribePrincipalIdFormatCommandOutput , } from "./commands/DescribePrincipalIdFormatCommand" ; import { DescribePublicIpv4PoolsCommand , DescribePublicIpv4PoolsCommandInput , DescribePublicIpv4PoolsCommandOutput , } from "./commands/DescribePublicIpv4PoolsCommand" ; import { DescribeRegionsCommand , DescribeRegionsCommandInput , DescribeRegionsCommandOutput , } from "./commands/DescribeRegionsCommand" ; import { DescribeReplaceRootVolumeTasksCommand , DescribeReplaceRootVolumeTasksCommandInput , DescribeReplaceRootVolumeTasksCommandOutput , } from "./commands/DescribeReplaceRootVolumeTasksCommand" ; import { DescribeReservedInstancesCommand , DescribeReservedInstancesCommandInput , DescribeReservedInstancesCommandOutput , } from "./commands/DescribeReservedInstancesCommand" ; import { DescribeReservedInstancesListingsCommand , DescribeReservedInstancesListingsCommandInput , DescribeReservedInstancesListingsCommandOutput , } from "./commands/DescribeReservedInstancesListingsCommand" ; import { DescribeReservedInstancesModificationsCommand , DescribeReservedInstancesModificationsCommandInput , DescribeReservedInstancesModificationsCommandOutput , } from "./commands/DescribeReservedInstancesModificationsCommand" ; import { DescribeReservedInstancesOfferingsCommand , DescribeReservedInstancesOfferingsCommandInput , DescribeReservedInstancesOfferingsCommandOutput , } from "./commands/DescribeReservedInstancesOfferingsCommand" ; import { DescribeRouteTablesCommand , DescribeRouteTablesCommandInput , DescribeRouteTablesCommandOutput , } from "./commands/DescribeRouteTablesCommand" ; import { DescribeScheduledInstanceAvailabilityCommand , DescribeScheduledInstanceAvailabilityCommandInput , DescribeScheduledInstanceAvailabilityCommandOutput , } from "./commands/DescribeScheduledInstanceAvailabilityCommand" ; import { DescribeScheduledInstancesCommand , DescribeScheduledInstancesCommandInput , DescribeScheduledInstancesCommandOutput , } from "./commands/DescribeScheduledInstancesCommand" ; import { DescribeSecurityGroupReferencesCommand , DescribeSecurityGroupReferencesCommandInput , DescribeSecurityGroupReferencesCommandOutput , } from "./commands/DescribeSecurityGroupReferencesCommand" ; import { DescribeSecurityGroupRulesCommand , DescribeSecurityGroupRulesCommandInput , DescribeSecurityGroupRulesCommandOutput , } from "./commands/DescribeSecurityGroupRulesCommand" ; import { DescribeSecurityGroupsCommand , DescribeSecurityGroupsCommandInput , DescribeSecurityGroupsCommandOutput , } from "./commands/DescribeSecurityGroupsCommand" ; import { DescribeSnapshotAttributeCommand , DescribeSnapshotAttributeCommandInput , DescribeSnapshotAttributeCommandOutput , } from "./commands/DescribeSnapshotAttributeCommand" ; import { DescribeSnapshotsCommand , DescribeSnapshotsCommandInput , DescribeSnapshotsCommandOutput , } from "./commands/DescribeSnapshotsCommand" ; import { DescribeSnapshotTierStatusCommand , DescribeSnapshotTierStatusCommandInput , DescribeSnapshotTierStatusCommandOutput , } from "./commands/DescribeSnapshotTierStatusCommand" ; import { DescribeSpotDatafeedSubscriptionCommand , DescribeSpotDatafeedSubscriptionCommandInput , DescribeSpotDatafeedSubscriptionCommandOutput , } from "./commands/DescribeSpotDatafeedSubscriptionCommand" ; import { DescribeSpotFleetInstancesCommand , DescribeSpotFleetInstancesCommandInput , DescribeSpotFleetInstancesCommandOutput , } from "./commands/DescribeSpotFleetInstancesCommand" ; import { DescribeSpotFleetRequestHistoryCommand , DescribeSpotFleetRequestHistoryCommandInput , DescribeSpotFleetRequestHistoryCommandOutput , } from "./commands/DescribeSpotFleetRequestHistoryCommand" ; import { DescribeSpotFleetRequestsCommand , DescribeSpotFleetRequestsCommandInput , DescribeSpotFleetRequestsCommandOutput , } from "./commands/DescribeSpotFleetRequestsCommand" ; import { DescribeSpotInstanceRequestsCommand , DescribeSpotInstanceRequestsCommandInput , DescribeSpotInstanceRequestsCommandOutput , } from "./commands/DescribeSpotInstanceRequestsCommand" ; import { DescribeSpotPriceHistoryCommand , DescribeSpotPriceHistoryCommandInput , DescribeSpotPriceHistoryCommandOutput , } from "./commands/DescribeSpotPriceHistoryCommand" ; import { DescribeStaleSecurityGroupsCommand , DescribeStaleSecurityGroupsCommandInput , DescribeStaleSecurityGroupsCommandOutput , } from "./commands/DescribeStaleSecurityGroupsCommand" ; import { DescribeStoreImageTasksCommand , DescribeStoreImageTasksCommandInput , DescribeStoreImageTasksCommandOutput , } from "./commands/DescribeStoreImageTasksCommand" ; import { DescribeSubnetsCommand , DescribeSubnetsCommandInput , DescribeSubnetsCommandOutput , } from "./commands/DescribeSubnetsCommand" ; import { DescribeTagsCommand , DescribeTagsCommandInput , DescribeTagsCommandOutput , } from "./commands/DescribeTagsCommand" ; import { DescribeTrafficMirrorFiltersCommand , DescribeTrafficMirrorFiltersCommandInput , DescribeTrafficMirrorFiltersCommandOutput , } from "./commands/DescribeTrafficMirrorFiltersCommand" ; import { DescribeTrafficMirrorSessionsCommand , DescribeTrafficMirrorSessionsCommandInput , DescribeTrafficMirrorSessionsCommandOutput , } from "./commands/DescribeTrafficMirrorSessionsCommand" ; import { DescribeTrafficMirrorTargetsCommand , DescribeTrafficMirrorTargetsCommandInput , DescribeTrafficMirrorTargetsCommandOutput , } from "./commands/DescribeTrafficMirrorTargetsCommand" ; import { DescribeTransitGatewayAttachmentsCommand , DescribeTransitGatewayAttachmentsCommandInput , DescribeTransitGatewayAttachmentsCommandOutput , } from "./commands/DescribeTransitGatewayAttachmentsCommand" ; import { DescribeTransitGatewayConnectPeersCommand , DescribeTransitGatewayConnectPeersCommandInput , DescribeTransitGatewayConnectPeersCommandOutput , } from "./commands/DescribeTransitGatewayConnectPeersCommand" ; import { DescribeTransitGatewayConnectsCommand , DescribeTransitGatewayConnectsCommandInput , DescribeTransitGatewayConnectsCommandOutput , } from "./commands/DescribeTransitGatewayConnectsCommand" ; import { DescribeTransitGatewayMulticastDomainsCommand , DescribeTransitGatewayMulticastDomainsCommandInput , DescribeTransitGatewayMulticastDomainsCommandOutput , } from "./commands/DescribeTransitGatewayMulticastDomainsCommand" ; import { DescribeTransitGatewayPeeringAttachmentsCommand , DescribeTransitGatewayPeeringAttachmentsCommandInput , DescribeTransitGatewayPeeringAttachmentsCommandOutput , } from "./commands/DescribeTransitGatewayPeeringAttachmentsCommand" ; import { DescribeTransitGatewayRouteTablesCommand , DescribeTransitGatewayRouteTablesCommandInput , DescribeTransitGatewayRouteTablesCommandOutput , } from "./commands/DescribeTransitGatewayRouteTablesCommand" ; import { DescribeTransitGatewaysCommand , DescribeTransitGatewaysCommandInput , DescribeTransitGatewaysCommandOutput , } from "./commands/DescribeTransitGatewaysCommand" ; import { DescribeTransitGatewayVpcAttachmentsCommand , DescribeTransitGatewayVpcAttachmentsCommandInput , DescribeTransitGatewayVpcAttachmentsCommandOutput , } from "./commands/DescribeTransitGatewayVpcAttachmentsCommand" ; import { DescribeTrunkInterfaceAssociationsCommand , DescribeTrunkInterfaceAssociationsCommandInput , DescribeTrunkInterfaceAssociationsCommandOutput , } from "./commands/DescribeTrunkInterfaceAssociationsCommand" ; import { DescribeVolumeAttributeCommand , DescribeVolumeAttributeCommandInput , DescribeVolumeAttributeCommandOutput , } from "./commands/DescribeVolumeAttributeCommand" ; import { DescribeVolumesCommand , DescribeVolumesCommandInput , DescribeVolumesCommandOutput , } from "./commands/DescribeVolumesCommand" ; import { DescribeVolumesModificationsCommand , DescribeVolumesModificationsCommandInput , DescribeVolumesModificationsCommandOutput , } from "./commands/DescribeVolumesModificationsCommand" ; import { DescribeVolumeStatusCommand , DescribeVolumeStatusCommandInput , DescribeVolumeStatusCommandOutput , } from "./commands/DescribeVolumeStatusCommand" ; import { DescribeVpcAttributeCommand , DescribeVpcAttributeCommandInput , DescribeVpcAttributeCommandOutput , } from "./commands/DescribeVpcAttributeCommand" ; import { DescribeVpcClassicLinkCommand , DescribeVpcClassicLinkCommandInput , DescribeVpcClassicLinkCommandOutput , } from "./commands/DescribeVpcClassicLinkCommand" ; import { DescribeVpcClassicLinkDnsSupportCommand , DescribeVpcClassicLinkDnsSupportCommandInput , DescribeVpcClassicLinkDnsSupportCommandOutput , } from "./commands/DescribeVpcClassicLinkDnsSupportCommand" ; import { DescribeVpcEndpointConnectionNotificationsCommand , DescribeVpcEndpointConnectionNotificationsCommandInput , DescribeVpcEndpointConnectionNotificationsCommandOutput , } from "./commands/DescribeVpcEndpointConnectionNotificationsCommand" ; import { DescribeVpcEndpointConnectionsCommand , DescribeVpcEndpointConnectionsCommandInput , DescribeVpcEndpointConnectionsCommandOutput , } from "./commands/DescribeVpcEndpointConnectionsCommand" ; import { DescribeVpcEndpointsCommand , DescribeVpcEndpointsCommandInput , DescribeVpcEndpointsCommandOutput , } from "./commands/DescribeVpcEndpointsCommand" ; import { DescribeVpcEndpointServiceConfigurationsCommand , DescribeVpcEndpointServiceConfigurationsCommandInput , DescribeVpcEndpointServiceConfigurationsCommandOutput , } from "./commands/DescribeVpcEndpointServiceConfigurationsCommand" ; import { DescribeVpcEndpointServicePermissionsCommand , DescribeVpcEndpointServicePermissionsCommandInput , DescribeVpcEndpointServicePermissionsCommandOutput , } from "./commands/DescribeVpcEndpointServicePermissionsCommand" ; import { DescribeVpcEndpointServicesCommand , DescribeVpcEndpointServicesCommandInput , DescribeVpcEndpointServicesCommandOutput , } from "./commands/DescribeVpcEndpointServicesCommand" ; import { DescribeVpcPeeringConnectionsCommand , DescribeVpcPeeringConnectionsCommandInput , DescribeVpcPeeringConnectionsCommandOutput , } from "./commands/DescribeVpcPeeringConnectionsCommand" ; import { DescribeVpcsCommand , DescribeVpcsCommandInput , DescribeVpcsCommandOutput , } from "./commands/DescribeVpcsCommand" ; import { DescribeVpnConnectionsCommand , DescribeVpnConnectionsCommandInput , DescribeVpnConnectionsCommandOutput , } from "./commands/DescribeVpnConnectionsCommand" ; import { DescribeVpnGatewaysCommand , DescribeVpnGatewaysCommandInput , DescribeVpnGatewaysCommandOutput , } from "./commands/DescribeVpnGatewaysCommand" ; import { DetachClassicLinkVpcCommand , DetachClassicLinkVpcCommandInput , DetachClassicLinkVpcCommandOutput , } from "./commands/DetachClassicLinkVpcCommand" ; import { DetachInternetGatewayCommand , DetachInternetGatewayCommandInput , DetachInternetGatewayCommandOutput , } from "./commands/DetachInternetGatewayCommand" ; import { DetachNetworkInterfaceCommand , DetachNetworkInterfaceCommandInput , DetachNetworkInterfaceCommandOutput , } from "./commands/DetachNetworkInterfaceCommand" ; import { DetachVolumeCommand , DetachVolumeCommandInput , DetachVolumeCommandOutput , } from "./commands/DetachVolumeCommand" ; import { DetachVpnGatewayCommand , DetachVpnGatewayCommandInput , DetachVpnGatewayCommandOutput , } from "./commands/DetachVpnGatewayCommand" ; import { DisableEbsEncryptionByDefaultCommand , DisableEbsEncryptionByDefaultCommandInput , DisableEbsEncryptionByDefaultCommandOutput , } from "./commands/DisableEbsEncryptionByDefaultCommand" ; import { DisableFastSnapshotRestoresCommand , DisableFastSnapshotRestoresCommandInput , DisableFastSnapshotRestoresCommandOutput , } from "./commands/DisableFastSnapshotRestoresCommand" ; import { DisableImageDeprecationCommand , DisableImageDeprecationCommandInput , DisableImageDeprecationCommandOutput , } from "./commands/DisableImageDeprecationCommand" ; import { DisableIpamOrganizationAdminAccountCommand , DisableIpamOrganizationAdminAccountCommandInput , DisableIpamOrganizationAdminAccountCommandOutput , } from "./commands/DisableIpamOrganizationAdminAccountCommand" ; import { DisableSerialConsoleAccessCommand , DisableSerialConsoleAccessCommandInput , DisableSerialConsoleAccessCommandOutput , } from "./commands/DisableSerialConsoleAccessCommand" ; import { DisableTransitGatewayRouteTablePropagationCommand , DisableTransitGatewayRouteTablePropagationCommandInput , DisableTransitGatewayRouteTablePropagationCommandOutput , } from "./commands/DisableTransitGatewayRouteTablePropagationCommand" ; import { DisableVgwRoutePropagationCommand , DisableVgwRoutePropagationCommandInput , DisableVgwRoutePropagationCommandOutput , } from "./commands/DisableVgwRoutePropagationCommand" ; import { DisableVpcClassicLinkCommand , DisableVpcClassicLinkCommandInput , DisableVpcClassicLinkCommandOutput , } from "./commands/DisableVpcClassicLinkCommand" ; import { DisableVpcClassicLinkDnsSupportCommand , DisableVpcClassicLinkDnsSupportCommandInput , DisableVpcClassicLinkDnsSupportCommandOutput , } from "./commands/DisableVpcClassicLinkDnsSupportCommand" ; import { DisassociateAddressCommand , DisassociateAddressCommandInput , DisassociateAddressCommandOutput , } from "./commands/DisassociateAddressCommand" ; import { DisassociateClientVpnTargetNetworkCommand , DisassociateClientVpnTargetNetworkCommandInput , DisassociateClientVpnTargetNetworkCommandOutput , } from "./commands/DisassociateClientVpnTargetNetworkCommand" ; import { DisassociateEnclaveCertificateIamRoleCommand , DisassociateEnclaveCertificateIamRoleCommandInput , DisassociateEnclaveCertificateIamRoleCommandOutput , } from "./commands/DisassociateEnclaveCertificateIamRoleCommand" ; import { DisassociateIamInstanceProfileCommand , DisassociateIamInstanceProfileCommandInput , DisassociateIamInstanceProfileCommandOutput , } from "./commands/DisassociateIamInstanceProfileCommand" ; import { DisassociateInstanceEventWindowCommand , DisassociateInstanceEventWindowCommandInput , DisassociateInstanceEventWindowCommandOutput , } from "./commands/DisassociateInstanceEventWindowCommand" ; import { DisassociateRouteTableCommand , DisassociateRouteTableCommandInput , DisassociateRouteTableCommandOutput , } from "./commands/DisassociateRouteTableCommand" ; import { DisassociateSubnetCidrBlockCommand , DisassociateSubnetCidrBlockCommandInput , DisassociateSubnetCidrBlockCommandOutput , } from "./commands/DisassociateSubnetCidrBlockCommand" ; import { DisassociateTransitGatewayMulticastDomainCommand , DisassociateTransitGatewayMulticastDomainCommandInput , DisassociateTransitGatewayMulticastDomainCommandOutput , } from "./commands/DisassociateTransitGatewayMulticastDomainCommand" ; import { DisassociateTransitGatewayRouteTableCommand , DisassociateTransitGatewayRouteTableCommandInput , DisassociateTransitGatewayRouteTableCommandOutput , } from "./commands/DisassociateTransitGatewayRouteTableCommand" ; import { DisassociateTrunkInterfaceCommand , DisassociateTrunkInterfaceCommandInput , DisassociateTrunkInterfaceCommandOutput , } from "./commands/DisassociateTrunkInterfaceCommand" ; import { DisassociateVpcCidrBlockCommand , DisassociateVpcCidrBlockCommandInput , DisassociateVpcCidrBlockCommandOutput , } from "./commands/DisassociateVpcCidrBlockCommand" ; import { EnableEbsEncryptionByDefaultCommand , EnableEbsEncryptionByDefaultCommandInput , EnableEbsEncryptionByDefaultCommandOutput , } from "./commands/EnableEbsEncryptionByDefaultCommand" ; import { EnableFastSnapshotRestoresCommand , EnableFastSnapshotRestoresCommandInput , EnableFastSnapshotRestoresCommandOutput , } from "./commands/EnableFastSnapshotRestoresCommand" ; import { EnableImageDeprecationCommand , EnableImageDeprecationCommandInput , EnableImageDeprecationCommandOutput , } from "./commands/EnableImageDeprecationCommand" ; import { EnableIpamOrganizationAdminAccountCommand , EnableIpamOrganizationAdminAccountCommandInput , EnableIpamOrganizationAdminAccountCommandOutput , } from "./commands/EnableIpamOrganizationAdminAccountCommand" ; import { EnableSerialConsoleAccessCommand , EnableSerialConsoleAccessCommandInput , EnableSerialConsoleAccessCommandOutput , } from "./commands/EnableSerialConsoleAccessCommand" ; import { EnableTransitGatewayRouteTablePropagationCommand , EnableTransitGatewayRouteTablePropagationCommandInput , EnableTransitGatewayRouteTablePropagationCommandOutput , } from "./commands/EnableTransitGatewayRouteTablePropagationCommand" ; import { EnableVgwRoutePropagationCommand , EnableVgwRoutePropagationCommandInput , EnableVgwRoutePropagationCommandOutput , } from "./commands/EnableVgwRoutePropagationCommand" ; import { EnableVolumeIOCommand , EnableVolumeIOCommandInput , EnableVolumeIOCommandOutput , } from "./commands/EnableVolumeIOCommand" ; import { EnableVpcClassicLinkCommand , EnableVpcClassicLinkCommandInput , EnableVpcClassicLinkCommandOutput , } from "./commands/EnableVpcClassicLinkCommand" ; import { EnableVpcClassicLinkDnsSupportCommand , EnableVpcClassicLinkDnsSupportCommandInput , EnableVpcClassicLinkDnsSupportCommandOutput , } from "./commands/EnableVpcClassicLinkDnsSupportCommand" ; import { ExportClientVpnClientCertificateRevocationListCommand , ExportClientVpnClientCertificateRevocationListCommandInput , ExportClientVpnClientCertificateRevocationListCommandOutput , } from "./commands/ExportClientVpnClientCertificateRevocationListCommand" ; import { ExportClientVpnClientConfigurationCommand , ExportClientVpnClientConfigurationCommandInput , ExportClientVpnClientConfigurationCommandOutput , } from "./commands/ExportClientVpnClientConfigurationCommand" ; import { ExportImageCommand , ExportImageCommandInput , ExportImageCommandOutput } from "./commands/ExportImageCommand" ; import { ExportTransitGatewayRoutesCommand , ExportTransitGatewayRoutesCommandInput , ExportTransitGatewayRoutesCommandOutput , } from "./commands/ExportTransitGatewayRoutesCommand" ; import { GetAssociatedEnclaveCertificateIamRolesCommand , GetAssociatedEnclaveCertificateIamRolesCommandInput , GetAssociatedEnclaveCertificateIamRolesCommandOutput , } from "./commands/GetAssociatedEnclaveCertificateIamRolesCommand" ; import { GetAssociatedIpv6PoolCidrsCommand , GetAssociatedIpv6PoolCidrsCommandInput , GetAssociatedIpv6PoolCidrsCommandOutput , } from "./commands/GetAssociatedIpv6PoolCidrsCommand" ; import { GetCapacityReservationUsageCommand , GetCapacityReservationUsageCommandInput , GetCapacityReservationUsageCommandOutput , } from "./commands/GetCapacityReservationUsageCommand" ; import { GetCoipPoolUsageCommand , GetCoipPoolUsageCommandInput , GetCoipPoolUsageCommandOutput , } from "./commands/GetCoipPoolUsageCommand" ; import { GetConsoleOutputCommand , GetConsoleOutputCommandInput , GetConsoleOutputCommandOutput , } from "./commands/GetConsoleOutputCommand" ; import { GetConsoleScreenshotCommand , GetConsoleScreenshotCommandInput , GetConsoleScreenshotCommandOutput , } from "./commands/GetConsoleScreenshotCommand" ; import { GetDefaultCreditSpecificationCommand , GetDefaultCreditSpecificationCommandInput , GetDefaultCreditSpecificationCommandOutput , } from "./commands/GetDefaultCreditSpecificationCommand" ; import { GetEbsDefaultKmsKeyIdCommand , GetEbsDefaultKmsKeyIdCommandInput , GetEbsDefaultKmsKeyIdCommandOutput , } from "./commands/GetEbsDefaultKmsKeyIdCommand" ; import { GetEbsEncryptionByDefaultCommand , GetEbsEncryptionByDefaultCommandInput , GetEbsEncryptionByDefaultCommandOutput , } from "./commands/GetEbsEncryptionByDefaultCommand" ; import { GetFlowLogsIntegrationTemplateCommand , GetFlowLogsIntegrationTemplateCommandInput , GetFlowLogsIntegrationTemplateCommandOutput , } from "./commands/GetFlowLogsIntegrationTemplateCommand" ; import { GetGroupsForCapacityReservationCommand , GetGroupsForCapacityReservationCommandInput , GetGroupsForCapacityReservationCommandOutput , } from "./commands/GetGroupsForCapacityReservationCommand" ; import { GetHostReservationPurchasePreviewCommand , GetHostReservationPurchasePreviewCommandInput , GetHostReservationPurchasePreviewCommandOutput , } from "./commands/GetHostReservationPurchasePreviewCommand" ; import { GetInstanceTypesFromInstanceRequirementsCommand , GetInstanceTypesFromInstanceRequirementsCommandInput , GetInstanceTypesFromInstanceRequirementsCommandOutput , } from "./commands/GetInstanceTypesFromInstanceRequirementsCommand" ; import { GetIpamAddressHistoryCommand , GetIpamAddressHistoryCommandInput , GetIpamAddressHistoryCommandOutput , } from "./commands/GetIpamAddressHistoryCommand" ; import { GetIpamPoolAllocationsCommand , GetIpamPoolAllocationsCommandInput , GetIpamPoolAllocationsCommandOutput , } from "./commands/GetIpamPoolAllocationsCommand" ; import { GetIpamPoolCidrsCommand , GetIpamPoolCidrsCommandInput , GetIpamPoolCidrsCommandOutput , } from "./commands/GetIpamPoolCidrsCommand" ; import { GetIpamResourceCidrsCommand , GetIpamResourceCidrsCommandInput , GetIpamResourceCidrsCommandOutput , } from "./commands/GetIpamResourceCidrsCommand" ; import { GetLaunchTemplateDataCommand , GetLaunchTemplateDataCommandInput , GetLaunchTemplateDataCommandOutput , } from "./commands/GetLaunchTemplateDataCommand" ; import { GetManagedPrefixListAssociationsCommand , GetManagedPrefixListAssociationsCommandInput , GetManagedPrefixListAssociationsCommandOutput , } from "./commands/GetManagedPrefixListAssociationsCommand" ; import { GetManagedPrefixListEntriesCommand , GetManagedPrefixListEntriesCommandInput , GetManagedPrefixListEntriesCommandOutput , } from "./commands/GetManagedPrefixListEntriesCommand" ; import { GetNetworkInsightsAccessScopeAnalysisFindingsCommand , GetNetworkInsightsAccessScopeAnalysisFindingsCommandInput , GetNetworkInsightsAccessScopeAnalysisFindingsCommandOutput , } from "./commands/GetNetworkInsightsAccessScopeAnalysisFindingsCommand" ; import { GetNetworkInsightsAccessScopeContentCommand , GetNetworkInsightsAccessScopeContentCommandInput , GetNetworkInsightsAccessScopeContentCommandOutput , } from "./commands/GetNetworkInsightsAccessScopeContentCommand" ; import { GetPasswordDataCommand , GetPasswordDataCommandInput , GetPasswordDataCommandOutput , } from "./commands/GetPasswordDataCommand" ; import { GetReservedInstancesExchangeQuoteCommand , GetReservedInstancesExchangeQuoteCommandInput , GetReservedInstancesExchangeQuoteCommandOutput , } from "./commands/GetReservedInstancesExchangeQuoteCommand" ; import { GetSerialConsoleAccessStatusCommand , GetSerialConsoleAccessStatusCommandInput , GetSerialConsoleAccessStatusCommandOutput , } from "./commands/GetSerialConsoleAccessStatusCommand" ; import { GetSpotPlacementScoresCommand , GetSpotPlacementScoresCommandInput , GetSpotPlacementScoresCommandOutput , } from "./commands/GetSpotPlacementScoresCommand" ; import { GetSubnetCidrReservationsCommand , GetSubnetCidrReservationsCommandInput , GetSubnetCidrReservationsCommandOutput , } from "./commands/GetSubnetCidrReservationsCommand" ; import { GetTransitGatewayAttachmentPropagationsCommand , GetTransitGatewayAttachmentPropagationsCommandInput , GetTransitGatewayAttachmentPropagationsCommandOutput , } from "./commands/GetTransitGatewayAttachmentPropagationsCommand" ; import { GetTransitGatewayMulticastDomainAssociationsCommand , GetTransitGatewayMulticastDomainAssociationsCommandInput , GetTransitGatewayMulticastDomainAssociationsCommandOutput , } from "./commands/GetTransitGatewayMulticastDomainAssociationsCommand" ; import { GetTransitGatewayPrefixListReferencesCommand , GetTransitGatewayPrefixListReferencesCommandInput , GetTransitGatewayPrefixListReferencesCommandOutput , } from "./commands/GetTransitGatewayPrefixListReferencesCommand" ; import { GetTransitGatewayRouteTableAssociationsCommand , GetTransitGatewayRouteTableAssociationsCommandInput , GetTransitGatewayRouteTableAssociationsCommandOutput , } from "./commands/GetTransitGatewayRouteTableAssociationsCommand" ; import { GetTransitGatewayRouteTablePropagationsCommand , GetTransitGatewayRouteTablePropagationsCommandInput , GetTransitGatewayRouteTablePropagationsCommandOutput , } from "./commands/GetTransitGatewayRouteTablePropagationsCommand" ; import { GetVpnConnectionDeviceSampleConfigurationCommand , GetVpnConnectionDeviceSampleConfigurationCommandInput , GetVpnConnectionDeviceSampleConfigurationCommandOutput , } from "./commands/GetVpnConnectionDeviceSampleConfigurationCommand" ; import { GetVpnConnectionDeviceTypesCommand , GetVpnConnectionDeviceTypesCommandInput , GetVpnConnectionDeviceTypesCommandOutput , } from "./commands/GetVpnConnectionDeviceTypesCommand" ; import { ImportClientVpnClientCertificateRevocationListCommand , ImportClientVpnClientCertificateRevocationListCommandInput , ImportClientVpnClientCertificateRevocationListCommandOutput , } from "./commands/ImportClientVpnClientCertificateRevocationListCommand" ; import { ImportImageCommand , ImportImageCommandInput , ImportImageCommandOutput } from "./commands/ImportImageCommand" ; import { ImportInstanceCommand , ImportInstanceCommandInput , ImportInstanceCommandOutput , } from "./commands/ImportInstanceCommand" ; import { ImportKeyPairCommand , ImportKeyPairCommandInput , ImportKeyPairCommandOutput , } from "./commands/ImportKeyPairCommand" ; import { ImportSnapshotCommand , ImportSnapshotCommandInput , ImportSnapshotCommandOutput , } from "./commands/ImportSnapshotCommand" ; import { ImportVolumeCommand , ImportVolumeCommandInput , ImportVolumeCommandOutput , } from "./commands/ImportVolumeCommand" ; import { ListSnapshotsInRecycleBinCommand , ListSnapshotsInRecycleBinCommandInput , ListSnapshotsInRecycleBinCommandOutput , } from "./commands/ListSnapshotsInRecycleBinCommand" ; import { ModifyAddressAttributeCommand , ModifyAddressAttributeCommandInput , ModifyAddressAttributeCommandOutput , } from "./commands/ModifyAddressAttributeCommand" ; import { ModifyAvailabilityZoneGroupCommand , ModifyAvailabilityZoneGroupCommandInput , ModifyAvailabilityZoneGroupCommandOutput , } from "./commands/ModifyAvailabilityZoneGroupCommand" ; import { ModifyCapacityReservationCommand , ModifyCapacityReservationCommandInput , ModifyCapacityReservationCommandOutput , } from "./commands/ModifyCapacityReservationCommand" ; import { ModifyCapacityReservationFleetCommand , ModifyCapacityReservationFleetCommandInput , ModifyCapacityReservationFleetCommandOutput , } from "./commands/ModifyCapacityReservationFleetCommand" ; import { ModifyClientVpnEndpointCommand , ModifyClientVpnEndpointCommandInput , ModifyClientVpnEndpointCommandOutput , } from "./commands/ModifyClientVpnEndpointCommand" ; import { ModifyDefaultCreditSpecificationCommand , ModifyDefaultCreditSpecificationCommandInput , ModifyDefaultCreditSpecificationCommandOutput , } from "./commands/ModifyDefaultCreditSpecificationCommand" ; import { ModifyEbsDefaultKmsKeyIdCommand , ModifyEbsDefaultKmsKeyIdCommandInput , ModifyEbsDefaultKmsKeyIdCommandOutput , } from "./commands/ModifyEbsDefaultKmsKeyIdCommand" ; import { ModifyFleetCommand , ModifyFleetCommandInput , ModifyFleetCommandOutput } from "./commands/ModifyFleetCommand" ; import { ModifyFpgaImageAttributeCommand , ModifyFpgaImageAttributeCommandInput , ModifyFpgaImageAttributeCommandOutput , } from "./commands/ModifyFpgaImageAttributeCommand" ; import { ModifyHostsCommand , ModifyHostsCommandInput , ModifyHostsCommandOutput } from "./commands/ModifyHostsCommand" ; import { ModifyIdentityIdFormatCommand , ModifyIdentityIdFormatCommandInput , ModifyIdentityIdFormatCommandOutput , } from "./commands/ModifyIdentityIdFormatCommand" ; import { ModifyIdFormatCommand , ModifyIdFormatCommandInput , ModifyIdFormatCommandOutput , } from "./commands/ModifyIdFormatCommand" ; import { ModifyImageAttributeCommand , ModifyImageAttributeCommandInput , ModifyImageAttributeCommandOutput , } from "./commands/ModifyImageAttributeCommand" ; import { ModifyInstanceAttributeCommand , ModifyInstanceAttributeCommandInput , ModifyInstanceAttributeCommandOutput , } from "./commands/ModifyInstanceAttributeCommand" ; import { ModifyInstanceCapacityReservationAttributesCommand , ModifyInstanceCapacityReservationAttributesCommandInput , ModifyInstanceCapacityReservationAttributesCommandOutput , } from "./commands/ModifyInstanceCapacityReservationAttributesCommand" ; import { ModifyInstanceCreditSpecificationCommand , ModifyInstanceCreditSpecificationCommandInput , ModifyInstanceCreditSpecificationCommandOutput , } from "./commands/ModifyInstanceCreditSpecificationCommand" ; import { ModifyInstanceEventStartTimeCommand , ModifyInstanceEventStartTimeCommandInput , ModifyInstanceEventStartTimeCommandOutput , } from "./commands/ModifyInstanceEventStartTimeCommand" ; import { ModifyInstanceEventWindowCommand , ModifyInstanceEventWindowCommandInput , ModifyInstanceEventWindowCommandOutput , } from "./commands/ModifyInstanceEventWindowCommand" ; import { ModifyInstanceMetadataOptionsCommand , ModifyInstanceMetadataOptionsCommandInput , ModifyInstanceMetadataOptionsCommandOutput , } from "./commands/ModifyInstanceMetadataOptionsCommand" ; import { ModifyInstancePlacementCommand , ModifyInstancePlacementCommandInput , ModifyInstancePlacementCommandOutput , } from "./commands/ModifyInstancePlacementCommand" ; import { ModifyIpamCommand , ModifyIpamCommandInput , ModifyIpamCommandOutput } from "./commands/ModifyIpamCommand" ; import { ModifyIpamPoolCommand , ModifyIpamPoolCommandInput , ModifyIpamPoolCommandOutput , } from "./commands/ModifyIpamPoolCommand" ; import { ModifyIpamResourceCidrCommand , ModifyIpamResourceCidrCommandInput , ModifyIpamResourceCidrCommandOutput , } from "./commands/ModifyIpamResourceCidrCommand" ; import { ModifyIpamScopeCommand , ModifyIpamScopeCommandInput , ModifyIpamScopeCommandOutput , } from "./commands/ModifyIpamScopeCommand" ; import { ModifyLaunchTemplateCommand , ModifyLaunchTemplateCommandInput , ModifyLaunchTemplateCommandOutput , } from "./commands/ModifyLaunchTemplateCommand" ; import { ModifyManagedPrefixListCommand , ModifyManagedPrefixListCommandInput , ModifyManagedPrefixListCommandOutput , } from "./commands/ModifyManagedPrefixListCommand" ; import { ModifyNetworkInterfaceAttributeCommand , ModifyNetworkInterfaceAttributeCommandInput , ModifyNetworkInterfaceAttributeCommandOutput , } from "./commands/ModifyNetworkInterfaceAttributeCommand" ; import { ModifyPrivateDnsNameOptionsCommand , ModifyPrivateDnsNameOptionsCommandInput , ModifyPrivateDnsNameOptionsCommandOutput , } from "./commands/ModifyPrivateDnsNameOptionsCommand" ; import { ModifyReservedInstancesCommand , ModifyReservedInstancesCommandInput , ModifyReservedInstancesCommandOutput , } from "./commands/ModifyReservedInstancesCommand" ; import { ModifySecurityGroupRulesCommand , ModifySecurityGroupRulesCommandInput , ModifySecurityGroupRulesCommandOutput , } from "./commands/ModifySecurityGroupRulesCommand" ; import { ModifySnapshotAttributeCommand , ModifySnapshotAttributeCommandInput , ModifySnapshotAttributeCommandOutput , } from "./commands/ModifySnapshotAttributeCommand" ; import { ModifySnapshotTierCommand , ModifySnapshotTierCommandInput , ModifySnapshotTierCommandOutput , } from "./commands/ModifySnapshotTierCommand" ; import { ModifySpotFleetRequestCommand , ModifySpotFleetRequestCommandInput , ModifySpotFleetRequestCommandOutput , } from "./commands/ModifySpotFleetRequestCommand" ; import { ModifySubnetAttributeCommand , ModifySubnetAttributeCommandInput , ModifySubnetAttributeCommandOutput , } from "./commands/ModifySubnetAttributeCommand" ; import { ModifyTrafficMirrorFilterNetworkServicesCommand , ModifyTrafficMirrorFilterNetworkServicesCommandInput , ModifyTrafficMirrorFilterNetworkServicesCommandOutput , } from "./commands/ModifyTrafficMirrorFilterNetworkServicesCommand" ; import { ModifyTrafficMirrorFilterRuleCommand , ModifyTrafficMirrorFilterRuleCommandInput , ModifyTrafficMirrorFilterRuleCommandOutput , } from "./commands/ModifyTrafficMirrorFilterRuleCommand" ; import { ModifyTrafficMirrorSessionCommand , ModifyTrafficMirrorSessionCommandInput , ModifyTrafficMirrorSessionCommandOutput , } from "./commands/ModifyTrafficMirrorSessionCommand" ; import { ModifyTransitGatewayCommand , ModifyTransitGatewayCommandInput , ModifyTransitGatewayCommandOutput , } from "./commands/ModifyTransitGatewayCommand" ; import { ModifyTransitGatewayPrefixListReferenceCommand , ModifyTransitGatewayPrefixListReferenceCommandInput , ModifyTransitGatewayPrefixListReferenceCommandOutput , } from "./commands/ModifyTransitGatewayPrefixListReferenceCommand" ; import { ModifyTransitGatewayVpcAttachmentCommand , ModifyTransitGatewayVpcAttachmentCommandInput , ModifyTransitGatewayVpcAttachmentCommandOutput , } from "./commands/ModifyTransitGatewayVpcAttachmentCommand" ; import { ModifyVolumeAttributeCommand , ModifyVolumeAttributeCommandInput , ModifyVolumeAttributeCommandOutput , } from "./commands/ModifyVolumeAttributeCommand" ; import { ModifyVolumeCommand , ModifyVolumeCommandInput , ModifyVolumeCommandOutput , } from "./commands/ModifyVolumeCommand" ; import { ModifyVpcAttributeCommand , ModifyVpcAttributeCommandInput , ModifyVpcAttributeCommandOutput , } from "./commands/ModifyVpcAttributeCommand" ; import { ModifyVpcEndpointCommand , ModifyVpcEndpointCommandInput , ModifyVpcEndpointCommandOutput , } from "./commands/ModifyVpcEndpointCommand" ; import { ModifyVpcEndpointConnectionNotificationCommand , ModifyVpcEndpointConnectionNotificationCommandInput , ModifyVpcEndpointConnectionNotificationCommandOutput , } from "./commands/ModifyVpcEndpointConnectionNotificationCommand" ; import { ModifyVpcEndpointServiceConfigurationCommand , ModifyVpcEndpointServiceConfigurationCommandInput , ModifyVpcEndpointServiceConfigurationCommandOutput , } from "./commands/ModifyVpcEndpointServiceConfigurationCommand" ; import { ModifyVpcEndpointServicePayerResponsibilityCommand , ModifyVpcEndpointServicePayerResponsibilityCommandInput , ModifyVpcEndpointServicePayerResponsibilityCommandOutput , } from "./commands/ModifyVpcEndpointServicePayerResponsibilityCommand" ; import { ModifyVpcEndpointServicePermissionsCommand , ModifyVpcEndpointServicePermissionsCommandInput , ModifyVpcEndpointServicePermissionsCommandOutput , } from "./commands/ModifyVpcEndpointServicePermissionsCommand" ; import { ModifyVpcPeeringConnectionOptionsCommand , ModifyVpcPeeringConnectionOptionsCommandInput , ModifyVpcPeeringConnectionOptionsCommandOutput , } from "./commands/ModifyVpcPeeringConnectionOptionsCommand" ; import { ModifyVpcTenancyCommand , ModifyVpcTenancyCommandInput , ModifyVpcTenancyCommandOutput , } from "./commands/ModifyVpcTenancyCommand" ; import { ModifyVpnConnectionCommand , ModifyVpnConnectionCommandInput , ModifyVpnConnectionCommandOutput , } from "./commands/ModifyVpnConnectionCommand" ; import { ModifyVpnConnectionOptionsCommand , ModifyVpnConnectionOptionsCommandInput , ModifyVpnConnectionOptionsCommandOutput , } from "./commands/ModifyVpnConnectionOptionsCommand" ; import { ModifyVpnTunnelCertificateCommand , ModifyVpnTunnelCertificateCommandInput , ModifyVpnTunnelCertificateCommandOutput , } from "./commands/ModifyVpnTunnelCertificateCommand" ; import { ModifyVpnTunnelOptionsCommand , ModifyVpnTunnelOptionsCommandInput , ModifyVpnTunnelOptionsCommandOutput , } from "./commands/ModifyVpnTunnelOptionsCommand" ; import { MonitorInstancesCommand , MonitorInstancesCommandInput , MonitorInstancesCommandOutput , } from "./commands/MonitorInstancesCommand" ; import { MoveAddressToVpcCommand , MoveAddressToVpcCommandInput , MoveAddressToVpcCommandOutput , } from "./commands/MoveAddressToVpcCommand" ; import { MoveByoipCidrToIpamCommand , MoveByoipCidrToIpamCommandInput , MoveByoipCidrToIpamCommandOutput , } from "./commands/MoveByoipCidrToIpamCommand" ; import { ProvisionByoipCidrCommand , ProvisionByoipCidrCommandInput , ProvisionByoipCidrCommandOutput , } from "./commands/ProvisionByoipCidrCommand" ; import { ProvisionIpamPoolCidrCommand , ProvisionIpamPoolCidrCommandInput , ProvisionIpamPoolCidrCommandOutput , } from "./commands/ProvisionIpamPoolCidrCommand" ; import { ProvisionPublicIpv4PoolCidrCommand , ProvisionPublicIpv4PoolCidrCommandInput , ProvisionPublicIpv4PoolCidrCommandOutput , } from "./commands/ProvisionPublicIpv4PoolCidrCommand" ; import { PurchaseHostReservationCommand , PurchaseHostReservationCommandInput , PurchaseHostReservationCommandOutput , } from "./commands/PurchaseHostReservationCommand" ; import { PurchaseReservedInstancesOfferingCommand , PurchaseReservedInstancesOfferingCommandInput , PurchaseReservedInstancesOfferingCommandOutput , } from "./commands/PurchaseReservedInstancesOfferingCommand" ; import { PurchaseScheduledInstancesCommand , PurchaseScheduledInstancesCommandInput , PurchaseScheduledInstancesCommandOutput , } from "./commands/PurchaseScheduledInstancesCommand" ; import { RebootInstancesCommand , RebootInstancesCommandInput , RebootInstancesCommandOutput , } from "./commands/RebootInstancesCommand" ; import { RegisterImageCommand , RegisterImageCommandInput , RegisterImageCommandOutput , } from "./commands/RegisterImageCommand" ; import { RegisterInstanceEventNotificationAttributesCommand , RegisterInstanceEventNotificationAttributesCommandInput , RegisterInstanceEventNotificationAttributesCommandOutput , } from "./commands/RegisterInstanceEventNotificationAttributesCommand" ; import { RegisterTransitGatewayMulticastGroupMembersCommand , RegisterTransitGatewayMulticastGroupMembersCommandInput , RegisterTransitGatewayMulticastGroupMembersCommandOutput , } from "./commands/RegisterTransitGatewayMulticastGroupMembersCommand" ; import { RegisterTransitGatewayMulticastGroupSourcesCommand , RegisterTransitGatewayMulticastGroupSourcesCommandInput , RegisterTransitGatewayMulticastGroupSourcesCommandOutput , } from "./commands/RegisterTransitGatewayMulticastGroupSourcesCommand" ; import { RejectTransitGatewayMulticastDomainAssociationsCommand , RejectTransitGatewayMulticastDomainAssociationsCommandInput , RejectTransitGatewayMulticastDomainAssociationsCommandOutput , } from "./commands/RejectTransitGatewayMulticastDomainAssociationsCommand" ; import { RejectTransitGatewayPeeringAttachmentCommand , RejectTransitGatewayPeeringAttachmentCommandInput , RejectTransitGatewayPeeringAttachmentCommandOutput , } from "./commands/RejectTransitGatewayPeeringAttachmentCommand" ; import { RejectTransitGatewayVpcAttachmentCommand , RejectTransitGatewayVpcAttachmentCommandInput , RejectTransitGatewayVpcAttachmentCommandOutput , } from "./commands/RejectTransitGatewayVpcAttachmentCommand" ; import { RejectVpcEndpointConnectionsCommand , RejectVpcEndpointConnectionsCommandInput , RejectVpcEndpointConnectionsCommandOutput , } from "./commands/RejectVpcEndpointConnectionsCommand" ; import { RejectVpcPeeringConnectionCommand , RejectVpcPeeringConnectionCommandInput , RejectVpcPeeringConnectionCommandOutput , } from "./commands/RejectVpcPeeringConnectionCommand" ; import { ReleaseAddressCommand , ReleaseAddressCommandInput , ReleaseAddressCommandOutput , } from "./commands/ReleaseAddressCommand" ; import { ReleaseHostsCommand , ReleaseHostsCommandInput , ReleaseHostsCommandOutput , } from "./commands/ReleaseHostsCommand" ; import { ReleaseIpamPoolAllocationCommand , ReleaseIpamPoolAllocationCommandInput , ReleaseIpamPoolAllocationCommandOutput , } from "./commands/ReleaseIpamPoolAllocationCommand" ; import { ReplaceIamInstanceProfileAssociationCommand , ReplaceIamInstanceProfileAssociationCommandInput , ReplaceIamInstanceProfileAssociationCommandOutput , } from "./commands/ReplaceIamInstanceProfileAssociationCommand" ; import { ReplaceNetworkAclAssociationCommand , ReplaceNetworkAclAssociationCommandInput , ReplaceNetworkAclAssociationCommandOutput , } from "./commands/ReplaceNetworkAclAssociationCommand" ; import { ReplaceNetworkAclEntryCommand , ReplaceNetworkAclEntryCommandInput , ReplaceNetworkAclEntryCommandOutput , } from "./commands/ReplaceNetworkAclEntryCommand" ; import { ReplaceRouteCommand , ReplaceRouteCommandInput , ReplaceRouteCommandOutput , } from "./commands/ReplaceRouteCommand" ; import { ReplaceRouteTableAssociationCommand , ReplaceRouteTableAssociationCommandInput , ReplaceRouteTableAssociationCommandOutput , } from "./commands/ReplaceRouteTableAssociationCommand" ; import { ReplaceTransitGatewayRouteCommand , ReplaceTransitGatewayRouteCommandInput , ReplaceTransitGatewayRouteCommandOutput , } from "./commands/ReplaceTransitGatewayRouteCommand" ; import { ReportInstanceStatusCommand , ReportInstanceStatusCommandInput , ReportInstanceStatusCommandOutput , } from "./commands/ReportInstanceStatusCommand" ; import { RequestSpotFleetCommand , RequestSpotFleetCommandInput , RequestSpotFleetCommandOutput , } from "./commands/RequestSpotFleetCommand" ; import { RequestSpotInstancesCommand , RequestSpotInstancesCommandInput , RequestSpotInstancesCommandOutput , } from "./commands/RequestSpotInstancesCommand" ; import { ResetAddressAttributeCommand , ResetAddressAttributeCommandInput , ResetAddressAttributeCommandOutput , } from "./commands/ResetAddressAttributeCommand" ; import { ResetEbsDefaultKmsKeyIdCommand , ResetEbsDefaultKmsKeyIdCommandInput , ResetEbsDefaultKmsKeyIdCommandOutput , } from "./commands/ResetEbsDefaultKmsKeyIdCommand" ; import { ResetFpgaImageAttributeCommand , ResetFpgaImageAttributeCommandInput , ResetFpgaImageAttributeCommandOutput , } from "./commands/ResetFpgaImageAttributeCommand" ; import { ResetImageAttributeCommand , ResetImageAttributeCommandInput , ResetImageAttributeCommandOutput , } from "./commands/ResetImageAttributeCommand" ; import { ResetInstanceAttributeCommand , ResetInstanceAttributeCommandInput , ResetInstanceAttributeCommandOutput , } from "./commands/ResetInstanceAttributeCommand" ; import { ResetNetworkInterfaceAttributeCommand , ResetNetworkInterfaceAttributeCommandInput , ResetNetworkInterfaceAttributeCommandOutput , } from "./commands/ResetNetworkInterfaceAttributeCommand" ; import { ResetSnapshotAttributeCommand , ResetSnapshotAttributeCommandInput , ResetSnapshotAttributeCommandOutput , } from "./commands/ResetSnapshotAttributeCommand" ; import { RestoreAddressToClassicCommand , RestoreAddressToClassicCommandInput , RestoreAddressToClassicCommandOutput , } from "./commands/RestoreAddressToClassicCommand" ; import { RestoreManagedPrefixListVersionCommand , RestoreManagedPrefixListVersionCommandInput , RestoreManagedPrefixListVersionCommandOutput , } from "./commands/RestoreManagedPrefixListVersionCommand" ; import { RestoreSnapshotFromRecycleBinCommand , RestoreSnapshotFromRecycleBinCommandInput , RestoreSnapshotFromRecycleBinCommandOutput , } from "./commands/RestoreSnapshotFromRecycleBinCommand" ; import { RestoreSnapshotTierCommand , RestoreSnapshotTierCommandInput , RestoreSnapshotTierCommandOutput , } from "./commands/RestoreSnapshotTierCommand" ; import { RevokeClientVpnIngressCommand , RevokeClientVpnIngressCommandInput , RevokeClientVpnIngressCommandOutput , } from "./commands/RevokeClientVpnIngressCommand" ; import { RevokeSecurityGroupEgressCommand , RevokeSecurityGroupEgressCommandInput , RevokeSecurityGroupEgressCommandOutput , } from "./commands/RevokeSecurityGroupEgressCommand" ; import { RevokeSecurityGroupIngressCommand , RevokeSecurityGroupIngressCommandInput , RevokeSecurityGroupIngressCommandOutput , } from "./commands/RevokeSecurityGroupIngressCommand" ; import { RunInstancesCommand , RunInstancesCommandInput , RunInstancesCommandOutput , } from "./commands/RunInstancesCommand" ; import { RunScheduledInstancesCommand , RunScheduledInstancesCommandInput , RunScheduledInstancesCommandOutput , } from "./commands/RunScheduledInstancesCommand" ; import { SearchLocalGatewayRoutesCommand , SearchLocalGatewayRoutesCommandInput , SearchLocalGatewayRoutesCommandOutput , } from "./commands/SearchLocalGatewayRoutesCommand" ; import { SearchTransitGatewayMulticastGroupsCommand , SearchTransitGatewayMulticastGroupsCommandInput , SearchTransitGatewayMulticastGroupsCommandOutput , } from "./commands/SearchTransitGatewayMulticastGroupsCommand" ; import { SearchTransitGatewayRoutesCommand , SearchTransitGatewayRoutesCommandInput , SearchTransitGatewayRoutesCommandOutput , } from "./commands/SearchTransitGatewayRoutesCommand" ; import { SendDiagnosticInterruptCommand , SendDiagnosticInterruptCommandInput , SendDiagnosticInterruptCommandOutput , } from "./commands/SendDiagnosticInterruptCommand" ; import { StartInstancesCommand , StartInstancesCommandInput , StartInstancesCommandOutput , } from "./commands/StartInstancesCommand" ; import { StartNetworkInsightsAccessScopeAnalysisCommand , StartNetworkInsightsAccessScopeAnalysisCommandInput , StartNetworkInsightsAccessScopeAnalysisCommandOutput , } from "./commands/StartNetworkInsightsAccessScopeAnalysisCommand" ; import { StartNetworkInsightsAnalysisCommand , StartNetworkInsightsAnalysisCommandInput , StartNetworkInsightsAnalysisCommandOutput , } from "./commands/StartNetworkInsightsAnalysisCommand" ; import { StartVpcEndpointServicePrivateDnsVerificationCommand , StartVpcEndpointServicePrivateDnsVerificationCommandInput , StartVpcEndpointServicePrivateDnsVerificationCommandOutput , } from "./commands/StartVpcEndpointServicePrivateDnsVerificationCommand" ; import { StopInstancesCommand , StopInstancesCommandInput , StopInstancesCommandOutput , } from "./commands/StopInstancesCommand" ; import { TerminateClientVpnConnectionsCommand , TerminateClientVpnConnectionsCommandInput , TerminateClientVpnConnectionsCommandOutput , } from "./commands/TerminateClientVpnConnectionsCommand" ; import { TerminateInstancesCommand , TerminateInstancesCommandInput , TerminateInstancesCommandOutput , } from "./commands/TerminateInstancesCommand" ; import { UnassignIpv6AddressesCommand , UnassignIpv6AddressesCommandInput , UnassignIpv6AddressesCommandOutput , } from "./commands/UnassignIpv6AddressesCommand" ; import { UnassignPrivateIpAddressesCommand , UnassignPrivateIpAddressesCommandInput , UnassignPrivateIpAddressesCommandOutput , } from "./commands/UnassignPrivateIpAddressesCommand" ; import { UnmonitorInstancesCommand , UnmonitorInstancesCommandInput , UnmonitorInstancesCommandOutput , } from "./commands/UnmonitorInstancesCommand" ; import { UpdateSecurityGroupRuleDescriptionsEgressCommand , UpdateSecurityGroupRuleDescriptionsEgressCommandInput , UpdateSecurityGroupRuleDescriptionsEgressCommandOutput , } from "./commands/UpdateSecurityGroupRuleDescriptionsEgressCommand" ; import { UpdateSecurityGroupRuleDescriptionsIngressCommand , UpdateSecurityGroupRuleDescriptionsIngressCommandInput , UpdateSecurityGroupRuleDescriptionsIngressCommandOutput , } from "./commands/UpdateSecurityGroupRuleDescriptionsIngressCommand" ; import { WithdrawByoipCidrCommand , WithdrawByoipCidrCommandInput , WithdrawByoipCidrCommandOutput , } from "./commands/WithdrawByoipCidrCommand" ; import { EC2Client } from "./EC2Client" ; /**
 * <fullname>Amazon Elastic Compute Cloud</fullname>
 *          <p>Amazon Elastic Compute Cloud (Amazon EC2) provides secure and resizable computing capacity in the Amazon Web Services Cloud.
 *           Using Amazon EC2 eliminates the need to invest in hardware up front, so you can develop and deploy applications
 *           faster. Amazon Virtual Private Cloud (Amazon VPC) enables you to provision a logically isolated section of the
 *           Amazon Web Services Cloud where you can launch Amazon Web Services resources in a virtual network that you've defined. Amazon Elastic Block Store
 *           (Amazon EBS) provides block level storage volumes for use with EC2 instances. EBS volumes are highly available
 *           and reliable storage volumes that can be attached to any running instance and used like a hard drive.</p>
 *          <p>To learn more, see the following resources:</p>
 *          <ul>
 *             <li>
 *                <p>Amazon EC2: <a href="http://aws.amazon.com/ec2">AmazonEC2 product page</a>, <a href="http://aws.amazon.com/documentation/ec2">Amazon EC2 documentation</a>
 *                </p>
 *             </li>
 *             <li>
 *                <p>Amazon EBS: <a href="http://aws.amazon.com/ebs">Amazon EBS product page</a>, <a href="http://aws.amazon.com/documentation/ebs">Amazon EBS documentation</a>
 *                </p>
 *             </li>
 *             <li>
 *                <p>Amazon VPC: <a href="http://aws.amazon.com/vpc">Amazon VPC product page</a>, <a href="http://aws.amazon.com/documentation/vpc">Amazon VPC documentation</a>
 *                </p>
 *             </li>
 *             <li>
 *                <p>Amazon Web Services VPN: <a href="http://aws.amazon.com/vpn">Amazon Web Services VPN product page</a>, <a href="http://aws.amazon.com/documentation/vpn">Amazon Web Services VPN documentation</a>
 *                </p>
 *             </li>
 *          </ul>
 */ export class EC2 extends EC2Client { /**
     * <p>Accepts the Convertible Reserved Instance exchange quote described in the <a>GetReservedInstancesExchangeQuote</a> call.</p>
     */ public acceptReservedInstancesExchangeQuote ( args , options ? ) ; public acceptReservedInstancesExchangeQuote ( args , cb ) ; public acceptReservedInstancesExchangeQuote ( args , options , cb ) ; public acceptReservedInstancesExchangeQuote ( args , optionsOrCb ? , cb ? ) { const command = new AcceptReservedInstancesExchangeQuoteCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Accepts a request to associate subnets with a transit gateway multicast domain.</p>
     */ public acceptTransitGatewayMulticastDomainAssociations ( args , options ? ) ; public acceptTransitGatewayMulticastDomainAssociations ( args , cb ) ; public acceptTransitGatewayMulticastDomainAssociations ( args , options , cb ) ; public acceptTransitGatewayMulticastDomainAssociations ( args , optionsOrCb ? , cb ? ) { const command = new AcceptTransitGatewayMulticastDomainAssociationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Accepts a transit gateway peering attachment request. The peering attachment must be
     *             in the <code>pendingAcceptance</code> state.</p>
     */ public acceptTransitGatewayPeeringAttachment ( args , options ? ) ; public acceptTransitGatewayPeeringAttachment ( args , cb ) ; public acceptTransitGatewayPeeringAttachment ( args , options , cb ) ; public acceptTransitGatewayPeeringAttachment ( args , optionsOrCb ? , cb ? ) { const command = new AcceptTransitGatewayPeeringAttachmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Accepts a request to attach a VPC to a transit gateway.</p>
     *          <p>The VPC attachment must be in the <code>pendingAcceptance</code> state.
     *          Use <a>DescribeTransitGatewayVpcAttachments</a> to view your pending VPC attachment requests.
     *          Use <a>RejectTransitGatewayVpcAttachment</a> to reject a VPC attachment request.</p>
     */ public acceptTransitGatewayVpcAttachment ( args , options ? ) ; public acceptTransitGatewayVpcAttachment ( args , cb ) ; public acceptTransitGatewayVpcAttachment ( args , options , cb ) ; public acceptTransitGatewayVpcAttachment ( args , optionsOrCb ? , cb ? ) { const command = new AcceptTransitGatewayVpcAttachmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Accepts one or more interface VPC endpoint connection requests to your VPC endpoint
     *             service.</p>
     */ public acceptVpcEndpointConnections ( args , options ? ) ; public acceptVpcEndpointConnections ( args , cb ) ; public acceptVpcEndpointConnections ( args , options , cb ) ; public acceptVpcEndpointConnections ( args , optionsOrCb ? , cb ? ) { const command = new AcceptVpcEndpointConnectionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Accept a VPC peering connection request. To accept a request, the VPC peering connection must
     *       be in the <code>pending-acceptance</code> state, and you must be the owner of the peer VPC.
     *       Use <a>DescribeVpcPeeringConnections</a> to view your outstanding VPC
     *       peering connection requests.</p>
     *   	      <p>For an inter-Region VPC peering connection request, you must accept the VPC peering
     *       connection in the Region of the accepter VPC.</p>
     */ public acceptVpcPeeringConnection ( args , options ? ) ; public acceptVpcPeeringConnection ( args , cb ) ; public acceptVpcPeeringConnection ( args , options , cb ) ; public acceptVpcPeeringConnection ( args , optionsOrCb ? , cb ? ) { const command = new AcceptVpcPeeringConnectionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Advertises an IPv4 or IPv6 address range that is provisioned for use with your Amazon Web Services resources through
     *          bring your own IP addresses (BYOIP).</p>
     *          <p>You can perform this operation at most once every 10 seconds, even if you specify different
     *          address ranges each time.</p>
     *          <p>We recommend that you stop advertising the BYOIP CIDR from other locations when you advertise
     *           it from Amazon Web Services. To minimize down time, you can configure your Amazon Web Services resources to use an address from a
     *          BYOIP CIDR before it is advertised, and then simultaneously stop advertising it from the current
     *          location and start advertising it through Amazon Web Services.</p>
     *          <p>It can take a few minutes before traffic to the specified addresses starts routing to Amazon Web Services
     *          because of BGP propagation delays.</p>
     *          <p>To stop advertising the BYOIP CIDR, use <a>WithdrawByoipCidr</a>.</p>
     */ public advertiseByoipCidr ( args , options ? ) ; public advertiseByoipCidr ( args , cb ) ; public advertiseByoipCidr ( args , options , cb ) ; public advertiseByoipCidr ( args , optionsOrCb ? , cb ? ) { const command = new AdvertiseByoipCidrCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Allocates an Elastic IP address to your Amazon Web Services account. After you allocate the Elastic IP address you can associate
     *          it with an instance or network interface. After you release an Elastic IP address, it is released to the IP address
     *          pool and can be allocated to a different Amazon Web Services account.</p>
     *          <p>You can allocate an Elastic IP address from an address pool owned by Amazon Web Services or from an address pool created
     *        from a public IPv4 address range that you have brought to Amazon Web Services for use with your Amazon Web Services resources using bring your own
     *          IP addresses (BYOIP). For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html">Bring Your Own IP Addresses (BYOIP)</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     *          <p>[EC2-VPC] If you release an Elastic IP address, you might be able to recover it. You cannot recover an
     *        Elastic IP address that you released after it is allocated to another Amazon Web Services account. You cannot recover an Elastic IP
     *          address for EC2-Classic. To attempt to recover an Elastic IP address that you released, specify it in this operation.</p>
     *          <p>An Elastic IP address is for use either in the EC2-Classic platform or in a VPC. By default, you can allocate
     *          5 Elastic IP addresses for EC2-Classic per Region and 5 Elastic IP addresses for EC2-VPC per Region.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html">Elastic IP Addresses</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     *          <p>You can allocate a carrier IP address which is a public IP address from a telecommunication carrier, to a network interface which resides in a subnet in a Wavelength Zone (for example an EC2 instance). </p>
     */ public allocateAddress ( args , options ? ) ; public allocateAddress ( args , cb ) ; public allocateAddress ( args , options , cb ) ; public allocateAddress ( args , optionsOrCb ? , cb ? ) { const command = new AllocateAddressCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Allocates a Dedicated Host to your account. At a minimum, specify the supported instance
     *         	type or instance family, the Availability Zone in which to allocate the host, and the number of
     *         	hosts to allocate.</p>
     */ public allocateHosts ( args , options ? ) ; public allocateHosts ( args , cb ) ; public allocateHosts ( args , options , cb ) ; public allocateHosts ( args , optionsOrCb ? , cb ? ) { const command = new AllocateHostsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Allocate a CIDR from an IPAM pool. In IPAM, an allocation is a CIDR assignment from an IPAM pool to another resource or IPAM pool. For more information, see <a href="/vpc/latest/ipam/allocate-cidrs-ipam.html">Allocate CIDRs</a> in the <i>Amazon VPC IPAM User Guide</i>.
     *       </p>
     */ public allocateIpamPoolCidr ( args , options ? ) ; public allocateIpamPoolCidr ( args , cb ) ; public allocateIpamPoolCidr ( args , options , cb ) ; public allocateIpamPoolCidr ( args , optionsOrCb ? , cb ? ) { const command = new AllocateIpamPoolCidrCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Applies a security group to the association between the target network and the Client VPN endpoint. This action replaces the existing
     * 			security groups with the specified security groups.</p>
     */ public applySecurityGroupsToClientVpnTargetNetwork ( args , options ? ) ; public applySecurityGroupsToClientVpnTargetNetwork ( args , cb ) ; public applySecurityGroupsToClientVpnTargetNetwork ( args , options , cb ) ; public applySecurityGroupsToClientVpnTargetNetwork ( args , optionsOrCb ? , cb ? ) { const command = new ApplySecurityGroupsToClientVpnTargetNetworkCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Assigns one or more IPv6 addresses to the specified network interface. You can
     *             specify one or more specific IPv6 addresses, or you can specify the number of IPv6
     *             addresses to be automatically assigned from within the subnet's IPv6 CIDR block range.
     *             You can assign as many IPv6 addresses to a network interface as you can assign private
     *             IPv4 addresses, and the limit varies per instance type. For information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI">IP Addresses Per Network Interface Per Instance Type</a>
     *             in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     *         <p>You must specify either the IPv6 addresses or the IPv6 address count in the request. </p>
     *         <p>You can optionally use Prefix Delegation on the network interface. You must specify
     *             either the IPV6 Prefix Delegation prefixes, or the IPv6 Prefix Delegation count. For
     *             information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html">
     *                 Assigning prefixes to Amazon EC2 network interfaces</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public assignIpv6Addresses ( args , options ? ) ; public assignIpv6Addresses ( args , cb ) ; public assignIpv6Addresses ( args , options , cb ) ; public assignIpv6Addresses ( args , optionsOrCb ? , cb ? ) { const command = new AssignIpv6AddressesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Assigns one or more secondary private IP addresses to the specified network interface.</p>
     *         <p>You can specify one or more specific secondary IP addresses, or you can specify the number
     *             of secondary IP addresses to be automatically assigned within the subnet's CIDR block range.
     *             The number of secondary IP addresses that you can assign to an instance varies by instance type.
     *             For information about instance types, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance Types</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>. For more information about
     *             Elastic IP addresses, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html">Elastic IP Addresses</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     *         <p>When you move a secondary private IP address to another network interface, any Elastic IP address
     *             that is associated with the IP address is also moved.</p>
     *         <p>Remapping an IP address is an asynchronous operation. When you move an IP address from one network
     *             interface to another, check <code>network/interfaces/macs/mac/local-ipv4s</code> in the instance
     *             metadata to confirm that the remapping is complete.</p>
     *         <p>You must specify either the IP addresses or the IP address count in the request.</p>
     *         <p>You can optionally use Prefix Delegation on the network interface. You must specify
     *             either the IPv4 Prefix Delegation prefixes, or the IPv4 Prefix Delegation count. For
     *             information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html">
     *                 Assigning prefixes to Amazon EC2 network interfaces</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public assignPrivateIpAddresses ( args , options ? ) ; public assignPrivateIpAddresses ( args , cb ) ; public assignPrivateIpAddresses ( args , options , cb ) ; public assignPrivateIpAddresses ( args , optionsOrCb ? , cb ? ) { const command = new AssignPrivateIpAddressesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Associates an Elastic IP address, or carrier IP address (for instances that are in
     *       subnets in Wavelength Zones) with an instance or a network interface. Before you can use an
     *       Elastic IP address, you must allocate it to your account.</p>
     *          <p>An Elastic IP address is for use in either the EC2-Classic platform or in a VPC.
     * 			For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html">Elastic IP Addresses</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     *          <p>[EC2-Classic, VPC in an EC2-VPC-only account] If the Elastic IP address is already
     *       associated with a different instance, it is disassociated from that instance and associated
     *       with the specified instance. If you associate an Elastic IP address with an instance that has
     *       an existing Elastic IP address, the existing address is disassociated from the instance, but
     *       remains allocated to your account.</p>
     *          <p>[VPC in an EC2-Classic account] If you don't specify a private IP address, the Elastic
     *       IP address is associated with the primary IP address. If the Elastic IP address is already
     *       associated with a different instance or a network interface, you get an error unless you allow
     *       reassociation. You cannot associate an Elastic IP address with an instance or network
     *       interface that has an existing Elastic IP address.</p>
     *          <p>[Subnets in Wavelength Zones] You can associate an IP address from the telecommunication
     *       carrier to the instance or network interface. </p>
     *          <p>You cannot associate an Elastic IP address with an interface in a different network border group.</p>
     *          <important>
     *             <p>This is an idempotent operation. If you perform the operation more than once, Amazon EC2
     *         doesn't return an error, and you may be charged for each time the Elastic IP address is
     *         remapped to the same instance. For more information, see the <i>Elastic IP
     *           Addresses</i> section of <a href="http://aws.amazon.com/ec2/pricing/">Amazon EC2
     *           Pricing</a>.</p>
     *          </important>
     */ public associateAddress ( args , options ? ) ; public associateAddress ( args , cb ) ; public associateAddress ( args , options , cb ) ; public associateAddress ( args , optionsOrCb ? , cb ? ) { const command = new AssociateAddressCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Associates a target network with a Client VPN endpoint. A target network is a subnet in a VPC. You can associate multiple subnets from the same VPC with a Client VPN endpoint. You can associate only one subnet in each Availability Zone. We recommend that you associate at least two subnets to provide Availability Zone redundancy.</p>
     * 	        <p>If you specified a VPC when you created the Client VPN endpoint or if you have previous subnet associations, the specified subnet must be in the same VPC. To specify a subnet that's in a different VPC, you must first modify the Client VPN endpoint (<a>ModifyClientVpnEndpoint</a>) and change the VPC that's associated with it.</p>
     */ public associateClientVpnTargetNetwork ( args , options ? ) ; public associateClientVpnTargetNetwork ( args , cb ) ; public associateClientVpnTargetNetwork ( args , options , cb ) ; public associateClientVpnTargetNetwork ( args , optionsOrCb ? , cb ? ) { const command = new AssociateClientVpnTargetNetworkCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Associates a set of DHCP options (that you've previously created) with the specified VPC, or associates no DHCP options with the VPC.</p>
     *          <p>After you associate the options with the VPC, any existing instances and all new instances that you launch in that VPC use the options. You don't need to restart or relaunch the instances. They automatically pick up the changes within a few hours, depending on how frequently the instance renews its DHCP lease. You can explicitly renew the lease using the operating system on the instance.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_DHCP_Options.html">DHCP options sets</a>
     *           in the <i>Amazon Virtual Private Cloud User Guide</i>.</p>
     */ public associateDhcpOptions ( args , options ? ) ; public associateDhcpOptions ( args , cb ) ; public associateDhcpOptions ( args , options , cb ) ; public associateDhcpOptions ( args , optionsOrCb ? , cb ? ) { const command = new AssociateDhcpOptionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Associates an Identity and Access Management (IAM) role with an Certificate Manager (ACM) certificate.
     * 			This enables the certificate to be used by the ACM for Nitro Enclaves application inside an enclave. For more
     * 			information, see <a href="https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave-refapp.html">Certificate Manager for Nitro Enclaves</a> in the <i>Amazon Web Services Nitro Enclaves
     * 					User Guide</i>.</p>
     *
     * 		       <p>When the IAM role is associated with the ACM certificate, the certificate, certificate chain, and encrypted
     * 			private key are placed in an Amazon S3 bucket that only the associated IAM role can access. The private key of the certificate
     * 			is encrypted with an Amazon Web Services managed key that has an attached attestation-based key policy.</p>
     *
     * 		       <p>To enable the IAM role to access the Amazon S3 object, you must grant it permission to call <code>s3:GetObject</code>
     * 			on the Amazon S3 bucket returned by the command. To enable the IAM role to access the KMS key,
     * 			you must grant it permission to call <code>kms:Decrypt</code> on the KMS key returned by the command.
     * 			For more information, see <a href="https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave-refapp.html#add-policy">
     * 				Grant the role permission to access the certificate and encryption key</a> in the
     * 			<i>Amazon Web Services Nitro Enclaves User Guide</i>.</p>
     */ public associateEnclaveCertificateIamRole ( args , options ? ) ; public associateEnclaveCertificateIamRole ( args , cb ) ; public associateEnclaveCertificateIamRole ( args , options , cb ) ; public associateEnclaveCertificateIamRole ( args , optionsOrCb ? , cb ? ) { const command = new AssociateEnclaveCertificateIamRoleCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Associates an IAM instance profile with a running or stopped instance. You cannot
     *             associate more than one IAM instance profile with an instance.</p>
     */ public associateIamInstanceProfile ( args , options ? ) ; public associateIamInstanceProfile ( args , cb ) ; public associateIamInstanceProfile ( args , options , cb ) ; public associateIamInstanceProfile ( args , optionsOrCb ? , cb ? ) { const command = new AssociateIamInstanceProfileCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Associates one or more targets with an event window. Only one type of target (instance IDs,
     *          Dedicated Host IDs, or tags) can be specified with an event window.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/event-windows.html">Define event windows for scheduled
     *             events</a> in the <i>Amazon EC2 User Guide</i>.</p>
     */ public associateInstanceEventWindow ( args , options ? ) ; public associateInstanceEventWindow ( args , cb ) ; public associateInstanceEventWindow ( args , options , cb ) ; public associateInstanceEventWindow ( args , optionsOrCb ? , cb ? ) { const command = new AssociateInstanceEventWindowCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Associates a subnet in your VPC or an internet gateway or virtual private gateway
     *             attached to your VPC with a route table in your VPC. This association causes traffic
     *             from the subnet or gateway to be routed according to the routes in the route table. The
     *             action returns an association ID, which you need in order to disassociate the route
     *             table later. A route table can be associated with multiple subnets.</p>
     *         <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html">Route tables</a> in the
     *                 <i>Amazon Virtual Private Cloud User Guide</i>.</p>
     */ public associateRouteTable ( args , options ? ) ; public associateRouteTable ( args , cb ) ; public associateRouteTable ( args , options , cb ) ; public associateRouteTable ( args , optionsOrCb ? , cb ? ) { const command = new AssociateRouteTableCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Associates a CIDR block with your subnet. You can only associate a single IPv6 CIDR
     *             block with your subnet. An IPv6 CIDR block must have a prefix length of /64.</p>
     */ public associateSubnetCidrBlock ( args , options ? ) ; public associateSubnetCidrBlock ( args , cb ) ; public associateSubnetCidrBlock ( args , options , cb ) ; public associateSubnetCidrBlock ( args , optionsOrCb ? , cb ? ) { const command = new AssociateSubnetCidrBlockCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Associates the specified subnets and transit gateway attachments with the specified transit gateway multicast domain.</p>
     *         <p>The transit gateway attachment must be in the available state before you can add a resource. Use <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayAttachments.html">DescribeTransitGatewayAttachments</a>
     *             to see the state of the attachment.</p>
     */ public associateTransitGatewayMulticastDomain ( args , options ? ) ; public associateTransitGatewayMulticastDomain ( args , cb ) ; public associateTransitGatewayMulticastDomain ( args , options , cb ) ; public associateTransitGatewayMulticastDomain ( args , optionsOrCb ? , cb ? ) { const command = new AssociateTransitGatewayMulticastDomainCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Associates the specified attachment with the specified transit gateway route table. You can
     *         associate only one route table with an attachment.</p>
     */ public associateTransitGatewayRouteTable ( args , options ? ) ; public associateTransitGatewayRouteTable ( args , cb ) ; public associateTransitGatewayRouteTable ( args , options , cb ) ; public associateTransitGatewayRouteTable ( args , optionsOrCb ? , cb ? ) { const command = new AssociateTransitGatewayRouteTableCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <note>
     *             <p>This API action is currently in <b>limited preview only</b>.
     *                 If you are interested in using this feature, contact your account manager.</p>
     *         </note>
     *
     *         <p>Associates a branch network interface with a trunk network interface.</p>
     *         <p>Before you create the association, run the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateNetworkInterface.html">create-network-interface</a> command and set
     *             <code>--interface-type</code> to <code>trunk</code>. You must also create a network interface for each branch network interface that you want to associate with the trunk network interface.</p>
     */ public associateTrunkInterface ( args , options ? ) ; public associateTrunkInterface ( args , cb ) ; public associateTrunkInterface ( args , options , cb ) ; public associateTrunkInterface ( args , optionsOrCb ? , cb ? ) { const command = new AssociateTrunkInterfaceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Associates a CIDR block with your VPC. You can associate a secondary IPv4 CIDR block,
     *             an Amazon-provided IPv6 CIDR block, or an IPv6 CIDR block from an IPv6 address pool that
     *             you provisioned through bring your own IP addresses (<a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html">BYOIP</a>). The IPv6 CIDR block size is fixed
     *             at /56.</p>
     *         <p>You must specify one of the following in the request: an IPv4 CIDR block, an IPv6
     *             pool, or an Amazon-provided IPv6 CIDR block.</p>
     *         <p>For more information about associating CIDR blocks with your VPC and applicable
     *             restrictions, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html#VPC_Sizing">VPC and subnet sizing</a> in the
     *                 <i>Amazon Virtual Private Cloud User Guide</i>.</p>
     */ public associateVpcCidrBlock ( args , options ? ) ; public associateVpcCidrBlock ( args , cb ) ; public associateVpcCidrBlock ( args , options , cb ) ; public associateVpcCidrBlock ( args , optionsOrCb ? , cb ? ) { const command = new AssociateVpcCidrBlockCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Links an EC2-Classic instance to a ClassicLink-enabled VPC through one or more of the VPC's
     * 			security groups. You cannot link an EC2-Classic instance to more than one VPC at a time. You
     * 			can only link an instance that's in the <code>running</code> state. An instance is
     * 			automatically unlinked from a VPC when it's stopped - you can link it to the VPC again when
     * 			you restart it.</p>
     * 		       <p>After you've linked an instance, you cannot change the VPC security groups that are associated with it. To change the security groups, you must first unlink the instance, and then link it again.</p>
     * 		       <p>Linking your instance to a VPC is sometimes referred to as <i>attaching</i> your instance.</p>
     */ public attachClassicLinkVpc ( args , options ? ) ; public attachClassicLinkVpc ( args , cb ) ; public attachClassicLinkVpc ( args , options , cb ) ; public attachClassicLinkVpc ( args , optionsOrCb ? , cb ? ) { const command = new AttachClassicLinkVpcCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Attaches an internet gateway or a virtual private gateway to a VPC, enabling connectivity between the internet and
     * 			the VPC. For more information about your VPC and internet gateway, see the <a href="https://docs.aws.amazon.com/vpc/latest/userguide/">Amazon Virtual Private Cloud User Guide</a>.</p>
     */ public attachInternetGateway ( args , options ? ) ; public attachInternetGateway ( args , cb ) ; public attachInternetGateway ( args , options , cb ) ; public attachInternetGateway ( args , optionsOrCb ? , cb ? ) { const command = new AttachInternetGatewayCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Attaches a network interface to an instance.</p>
     */ public attachNetworkInterface ( args , options ? ) ; public attachNetworkInterface ( args , cb ) ; public attachNetworkInterface ( args , options , cb ) ; public attachNetworkInterface ( args , optionsOrCb ? , cb ? ) { const command = new AttachNetworkInterfaceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Attaches an EBS volume to a running or stopped instance and exposes it to the instance
     *       with the specified device name.</p>
     *          <p>Encrypted EBS volumes must be attached to instances that support Amazon EBS encryption. For
     *       more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html">Amazon EBS encryption</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     *          <p>After you attach an EBS volume, you must make it available. For more information, see
     *       <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-using-volumes.html">Make an EBS volume available for use</a>.</p>
     *          <p>If a volume has an Amazon Web Services Marketplace product code:</p>
     *          <ul>
     *             <li>
     *                <p>The volume can be attached only to a stopped instance.</p>
     *             </li>
     *             <li>
     *                <p>Amazon Web Services Marketplace product codes are copied from the volume to the instance.</p>
     *             </li>
     *             <li>
     *                <p>You must be subscribed to the product.</p>
     *             </li>
     *             <li>
     *                <p>The instance type and operating system of the instance must support the product. For
     *           example, you can't detach a volume from a Windows instance and attach it to a Linux
     *           instance.</p>
     *             </li>
     *          </ul>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-attaching-volume.html">Attach an Amazon EBS volume to an instance</a> in the
     *         <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public attachVolume ( args , options ? ) ; public attachVolume ( args , cb ) ; public attachVolume ( args , options , cb ) ; public attachVolume ( args , optionsOrCb ? , cb ? ) { const command = new AttachVolumeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Attaches a virtual private gateway to a VPC. You can attach one virtual private
     *             gateway to one VPC at a time.</p>
     *         <p>For more information, see <a href="https://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html">Amazon Web Services Site-to-Site VPN</a> in the <i>Amazon Web Services Site-to-Site VPN
     *                 User Guide</i>.</p>
     */ public attachVpnGateway ( args , options ? ) ; public attachVpnGateway ( args , cb ) ; public attachVpnGateway ( args , options , cb ) ; public attachVpnGateway ( args , optionsOrCb ? , cb ? ) { const command = new AttachVpnGatewayCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Adds an ingress authorization rule to a Client VPN endpoint. Ingress authorization rules act as
     * 			firewall rules that grant access to networks. You must configure ingress authorization rules to
     * 			enable clients to access resources in Amazon Web Services or on-premises networks.</p>
     */ public authorizeClientVpnIngress ( args , options ? ) ; public authorizeClientVpnIngress ( args , cb ) ; public authorizeClientVpnIngress ( args , options , cb ) ; public authorizeClientVpnIngress ( args , optionsOrCb ? , cb ? ) { const command = new AuthorizeClientVpnIngressCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>[VPC only] Adds the specified outbound (egress) rules to a security group for use with a VPC.</p>
     *          <p>An outbound rule permits instances to send traffic to the specified IPv4 or IPv6 CIDR address
     *       ranges, or to the instances that are associated with the specified source security groups.</p>
     *          <p>You specify a protocol for each rule (for example, TCP).
     *        For the TCP and UDP protocols, you must also specify the destination port or port range.
     *        For the ICMP protocol, you must also specify the ICMP type and code.
     *        You can use -1 for the type or code to mean all types or all codes.</p>
     *          <p>Rule changes are propagated to affected instances as quickly as possible. However, a small delay might occur.</p>
     *          <p>For information about VPC security group quotas, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html">Amazon VPC quotas</a>.</p>
     */ public authorizeSecurityGroupEgress ( args , options ? ) ; public authorizeSecurityGroupEgress ( args , cb ) ; public authorizeSecurityGroupEgress ( args , options , cb ) ; public authorizeSecurityGroupEgress ( args , optionsOrCb ? , cb ? ) { const command = new AuthorizeSecurityGroupEgressCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Adds the specified inbound (ingress) rules to a security group.</p>
     *          <p>An inbound rule permits instances to receive traffic from the specified IPv4 or IPv6 CIDR
     *        address range, or from the instances that are associated with the specified destination security
     *        groups.</p>
     *          <p>You specify a protocol for each rule (for example, TCP).
     *        For TCP and UDP, you must also specify the destination port or port range.
     *        For ICMP/ICMPv6, you must also specify the ICMP/ICMPv6 type and code.
     *        You can use -1 to mean all types or all codes.</p>
     *          <p>Rule changes are propagated to instances within the security group as quickly as possible.
     *          However, a small delay might occur.</p>
     *          <p>For more information about VPC security group quotas, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html">Amazon VPC quotas</a>.</p>
     */ public authorizeSecurityGroupIngress ( args , options ? ) ; public authorizeSecurityGroupIngress ( args , cb ) ; public authorizeSecurityGroupIngress ( args , options , cb ) ; public authorizeSecurityGroupIngress ( args , optionsOrCb ? , cb ? ) { const command = new AuthorizeSecurityGroupIngressCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Bundles an Amazon instance store-backed Windows instance.</p>
     *          <p>During bundling, only the root device volume (C:\) is bundled. Data on other instance store volumes is not preserved.</p>
     *          <note>
     *             <p>This action is not applicable for Linux/Unix instances or Windows instances that are backed by Amazon EBS.</p>
     * 			      </note>
     */ public bundleInstance ( args , options ? ) ; public bundleInstance ( args , cb ) ; public bundleInstance ( args , options , cb ) ; public bundleInstance ( args , optionsOrCb ? , cb ? ) { const command = new BundleInstanceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Cancels a bundling operation for an instance store-backed Windows instance.</p>
     */ public cancelBundleTask ( args , options ? ) ; public cancelBundleTask ( args , cb ) ; public cancelBundleTask ( args , options , cb ) ; public cancelBundleTask ( args , optionsOrCb ? , cb ? ) { const command = new CancelBundleTaskCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Cancels the specified Capacity Reservation, releases the reserved capacity, and changes the Capacity Reservation's state to
     * 			<code>cancelled</code>.</p>
     * 		       <p>Instances running in the reserved capacity continue running until you stop them. Stopped
     * 			instances that target the Capacity Reservation can no longer launch. Modify these instances to either
     * 			target a different Capacity Reservation, launch On-Demand Instance capacity, or run in any open Capacity Reservation
     * 			that has matching attributes and sufficient capacity.</p>
     */ public cancelCapacityReservation ( args , options ? ) ; public cancelCapacityReservation ( args , cb ) ; public cancelCapacityReservation ( args , options , cb ) ; public cancelCapacityReservation ( args , optionsOrCb ? , cb ? ) { const command = new CancelCapacityReservationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Cancels one or more Capacity Reservation Fleets. When you cancel a Capacity Reservation
     * 			Fleet, the following happens:</p>
     * 		       <ul>
     *             <li>
     * 				           <p>The Capacity Reservation Fleet's status changes to <code>cancelled</code>.</p>
     * 			         </li>
     *             <li>
     * 				           <p>The individual Capacity Reservations in the Fleet are cancelled. Instances running
     * 					in the Capacity Reservations at the time of cancelling the Fleet continue to run in
     * 					shared capacity.</p>
     * 			         </li>
     *             <li>
     * 				           <p>The Fleet stops creating new Capacity Reservations.</p>
     * 			         </li>
     *          </ul>
     */ public cancelCapacityReservationFleets ( args , options ? ) ; public cancelCapacityReservationFleets ( args , cb ) ; public cancelCapacityReservationFleets ( args , options , cb ) ; public cancelCapacityReservationFleets ( args , optionsOrCb ? , cb ? ) { const command = new CancelCapacityReservationFleetsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Cancels an active conversion task. The task can be the import of an instance or volume. The action removes all
     *    artifacts of the conversion, including a partially uploaded volume or instance. If the conversion is complete or is
     *    in the process of transferring the final disk image, the command fails and returns an exception.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/ec2-cli-vmimport-export.html">Importing a Virtual Machine Using the Amazon
     *     EC2 CLI</a>.</p>
     */ public cancelConversionTask ( args , options ? ) ; public cancelConversionTask ( args , cb ) ; public cancelConversionTask ( args , options , cb ) ; public cancelConversionTask ( args , optionsOrCb ? , cb ? ) { const command = new CancelConversionTaskCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Cancels an active export task. The request removes all artifacts of the export, including any partially-created
     *    Amazon S3 objects. If the export task is complete or is in the process of transferring the final disk image, the
     *    command fails and returns an error.</p>
     */ public cancelExportTask ( args , options ? ) ; public cancelExportTask ( args , cb ) ; public cancelExportTask ( args , options , cb ) ; public cancelExportTask ( args , optionsOrCb ? , cb ? ) { const command = new CancelExportTaskCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Cancels an in-process import virtual machine or import snapshot task.</p>
     */ public cancelImportTask ( args , options ? ) ; public cancelImportTask ( args , cb ) ; public cancelImportTask ( args , options , cb ) ; public cancelImportTask ( args , optionsOrCb ? , cb ? ) { const command = new CancelImportTaskCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Cancels the specified Reserved Instance listing in the Reserved Instance Marketplace.</p>
     *          <p>For more information, see
     *         <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html">Reserved Instance Marketplace</a>
     *         in the <i>Amazon EC2 User Guide</i>.</p>
     */ public cancelReservedInstancesListing ( args , options ? ) ; public cancelReservedInstancesListing ( args , cb ) ; public cancelReservedInstancesListing ( args , options , cb ) ; public cancelReservedInstancesListing ( args , optionsOrCb ? , cb ? ) { const command = new CancelReservedInstancesListingCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Cancels the specified Spot Fleet requests.</p>
     *         <p>After you cancel a Spot Fleet request, the Spot Fleet launches no new Spot Instances.
     *             You must specify whether the Spot Fleet should also terminate its Spot Instances. If you
     *             terminate the instances, the Spot Fleet request enters the
     *                 <code>cancelled_terminating</code> state. Otherwise, the Spot Fleet request enters
     *             the <code>cancelled_running</code> state and the instances continue to run until they
     *             are interrupted or you terminate them manually.</p>
     */ public cancelSpotFleetRequests ( args , options ? ) ; public cancelSpotFleetRequests ( args , cb ) ; public cancelSpotFleetRequests ( args , options , cb ) ; public cancelSpotFleetRequests ( args , optionsOrCb ? , cb ? ) { const command = new CancelSpotFleetRequestsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Cancels one or more Spot Instance requests.</p>
     *         <important>
     *             <p>Canceling a Spot Instance request does not terminate running Spot Instances
     *                 associated with the request.</p>
     *         </important>
     */ public cancelSpotInstanceRequests ( args , options ? ) ; public cancelSpotInstanceRequests ( args , cb ) ; public cancelSpotInstanceRequests ( args , options , cb ) ; public cancelSpotInstanceRequests ( args , optionsOrCb ? , cb ? ) { const command = new CancelSpotInstanceRequestsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Determines whether a product code is associated with an instance. This action can only
     *             be used by the owner of the product code. It is useful when a product code owner must
     *             verify whether another user's instance is eligible for support.</p>
     */ public confirmProductInstance ( args , options ? ) ; public confirmProductInstance ( args , cb ) ; public confirmProductInstance ( args , options , cb ) ; public confirmProductInstance ( args , optionsOrCb ? , cb ? ) { const command = new ConfirmProductInstanceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Copies the specified Amazon FPGA Image (AFI) to the current Region.</p>
     */ public copyFpgaImage ( args , options ? ) ; public copyFpgaImage ( args , cb ) ; public copyFpgaImage ( args , options , cb ) ; public copyFpgaImage ( args , optionsOrCb ? , cb ? ) { const command = new CopyFpgaImageCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Initiates the copy of an AMI. You can copy an AMI from one Region to another, or from a
     *       Region to an Outpost. You can't copy an AMI from an Outpost to a Region, from one Outpost
     *       to another, or within the same Outpost. To copy an AMI to another partition, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateStoreImageTask.html">CreateStoreImageTask</a>.</p>
     *
     *      	   <p>To copy an AMI from one Region to another, specify the source Region using the
     *      		<b>SourceRegion</b> parameter, and specify the
     *      		destination Region using its endpoint. Copies of encrypted backing snapshots for
     *      		the AMI are encrypted. Copies of unencrypted backing snapshots remain unencrypted,
     *      		unless you set <code>Encrypted</code> during the copy operation. You cannot
     *      		create an unencrypted copy of an encrypted backing snapshot.</p>
     *
     *    	     <p>To copy an AMI from a Region to an Outpost, specify the source Region using the
     *    		<b>SourceRegion</b> parameter, and specify the
     *    		ARN of the destination Outpost using <b>DestinationOutpostArn</b>.
     *    		Backing snapshots copied to an Outpost are encrypted by default using the default
     *    		encryption key for the Region, or a different key that you specify in the request using
     *    		<b>KmsKeyId</b>. Outposts do not support unencrypted
     *    		snapshots. For more information, <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#ami">
     *    			Amazon EBS local snapshots on Outposts</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     *
     *          <p>For more information about the prerequisites and limits when copying an AMI, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/CopyingAMIs.html">Copying an AMI</a>
     *         in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public copyImage ( args , options ? ) ; public copyImage ( args , cb ) ; public copyImage ( args , options , cb ) ; public copyImage ( args , optionsOrCb ? , cb ? ) { const command = new CopyImageCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Copies a point-in-time snapshot of an EBS volume and stores it in Amazon S3. You can copy a
     *       snapshot within the same Region, from one Region to another, or from a Region to an Outpost.
     *       You can't copy a snapshot from an Outpost to a Region, from one Outpost to another, or within
     *       the same Outpost.</p>
     *          <p>You can use the snapshot to create EBS volumes or Amazon Machine Images (AMIs).</p>
     *
     *
     *          <p>When copying snapshots to a Region, copies of encrypted EBS snapshots remain encrypted.
     *     	Copies of unencrypted snapshots remain unencrypted, unless you enable encryption for the
     *     	snapshot copy operation. By default, encrypted snapshot copies use the default Key Management Service (KMS)
     *     	KMS key; however, you can specify a different KMS key. To copy an encrypted
     *     	snapshot that has been shared from another account, you must have permissions for the KMS key
     *     	used to encrypt the snapshot.</p>
     *
     *   	      <p>Snapshots copied to an Outpost are encrypted by default using the default
     *   		encryption key for the Region, or a different key that you specify in the request using
     *   		<b>KmsKeyId</b>. Outposts do not support unencrypted
     *   		snapshots. For more information, <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#ami">
     *   			Amazon EBS local snapshots on Outposts</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     *          <p>Snapshots created by copying another snapshot have an arbitrary volume ID that should not
     *       be used for any purpose.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-copy-snapshot.html">Copy an Amazon EBS snapshot</a> in the
     *         <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public copySnapshot ( args , options ? ) ; public copySnapshot ( args , cb ) ; public copySnapshot ( args , options , cb ) ; public copySnapshot ( args , optionsOrCb ? , cb ? ) { const command = new CopySnapshotCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new Capacity Reservation with the specified attributes.</p>
     * 		       <p>Capacity Reservations enable you to reserve capacity for your Amazon EC2 instances in a specific Availability Zone for any duration. This
     * 			gives you the flexibility to selectively add capacity reservations and still get the Regional RI discounts for that usage.
     * 			By creating Capacity Reservations, you ensure that you always have access to Amazon EC2 capacity when you need it, for as long as you need it.
     * 			For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-capacity-reservations.html">Capacity Reservations</a> in the <i>Amazon EC2 User Guide</i>.</p>
     *
     * 		       <p>Your request to create a Capacity Reservation could fail if Amazon EC2 does not have sufficient capacity to
     * 			fulfill the request. If your request fails due to Amazon EC2 capacity constraints, either try
     * 			again at a later time, try in a different Availability Zone, or request a smaller
     * 			capacity reservation. If your application is flexible across instance types and sizes,
     * 			try to create a Capacity Reservation with different instance attributes.</p>
     *
     * 		       <p>Your request could also fail if the requested quantity exceeds your On-Demand Instance
     * 			limit for the selected instance type. If your request fails due to limit constraints,
     * 			increase your On-Demand Instance limit for the required instance type and try again. For
     * 			more information about increasing your instance limits, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html">Amazon EC2 Service
     * 				Quotas</a> in the <i>Amazon EC2 User Guide</i>.</p>
     */ public createCapacityReservation ( args , options ? ) ; public createCapacityReservation ( args , cb ) ; public createCapacityReservation ( args , options , cb ) ; public createCapacityReservation ( args , optionsOrCb ? , cb ? ) { const command = new CreateCapacityReservationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a Capacity Reservation Fleet. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-cr-fleets.html#create-crfleet">Create a Capacity
     * 			Reservation Fleet</a> in the Amazon EC2 User Guide.</p>
     */ public createCapacityReservationFleet ( args , options ? ) ; public createCapacityReservationFleet ( args , cb ) ; public createCapacityReservationFleet ( args , options , cb ) ; public createCapacityReservationFleet ( args , optionsOrCb ? , cb ? ) { const command = new CreateCapacityReservationFleetCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a carrier gateway.   For more information about carrier gateways, see <a href="https://docs.aws.amazon.com/wavelength/latest/developerguide/how-wavelengths-work.html#wavelength-carrier-gateway">Carrier gateways</a> in the <i>Amazon Web Services Wavelength Developer Guide</i>.</p>
     */ public createCarrierGateway ( args , options ? ) ; public createCarrierGateway ( args , cb ) ; public createCarrierGateway ( args , options , cb ) ; public createCarrierGateway ( args , optionsOrCb ? , cb ? ) { const command = new CreateCarrierGatewayCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a Client VPN endpoint. A Client VPN endpoint is the resource you create and configure to
     * 			enable and manage client VPN sessions. It is the destination endpoint at which all client VPN sessions
     * 			are terminated.</p>
     */ public createClientVpnEndpoint ( args , options ? ) ; public createClientVpnEndpoint ( args , cb ) ; public createClientVpnEndpoint ( args , options , cb ) ; public createClientVpnEndpoint ( args , optionsOrCb ? , cb ? ) { const command = new CreateClientVpnEndpointCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Adds a route to a network to a Client VPN endpoint. Each Client VPN endpoint has a route table that describes the
     * 			available destination network routes. Each route in the route table specifies the path for traﬃc to speciﬁc resources or networks.</p>
     */ public createClientVpnRoute ( args , options ? ) ; public createClientVpnRoute ( args , cb ) ; public createClientVpnRoute ( args , options , cb ) ; public createClientVpnRoute ( args , optionsOrCb ? , cb ? ) { const command = new CreateClientVpnRouteCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Provides information to Amazon Web Services about your VPN customer gateway device. The
     *             customer gateway is the appliance at your end of the VPN connection. (The device on the
     *                 Amazon Web Services side of the VPN connection is the virtual private gateway.) You
     *             must provide the internet-routable IP address of the customer gateway's external
     *             interface. The IP address must be static and can be behind a device performing network
     *             address translation (NAT).</p>
     *         <p>For devices that use Border Gateway Protocol (BGP), you can also provide the device's
     *             BGP Autonomous System Number (ASN). You can use an existing ASN assigned to your
     *             network. If you don't have an ASN already, you can use a private ASN (in the 64512 -
     *             65534 range).</p>
     *         <note>
     *             <p>Amazon EC2 supports all 4-byte ASN numbers in the range of 1 - 2147483647, with
     *                 the exception of the following:</p>
     *             <ul>
     *                <li>
     *                     <p>7224 - reserved in the <code>us-east-1</code> Region</p>
     *                 </li>
     *                <li>
     *                     <p>9059 - reserved in the <code>eu-west-1</code> Region</p>
     *                 </li>
     *                <li>
     *                     <p>17943 - reserved in the <code>ap-southeast-1</code> Region</p>
     *                 </li>
     *                <li>
     *                     <p>10124 - reserved in the <code>ap-northeast-1</code> Region</p>
     *                 </li>
     *             </ul>
     *         </note>
     *         <p>For more information, see <a href="https://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html">Amazon Web Services Site-to-Site VPN</a> in the <i>Amazon Web Services Site-to-Site VPN
     *                 User Guide</i>.</p>
     *         <important>
     *             <p>To create more than one customer gateway with the same VPN type, IP address, and
     *                 BGP ASN, specify a unique device name for each customer gateway. Identical requests
     *                 return information about the existing customer gateway and do not create new
     *                 customer gateways.</p>
     *         </important>
     */ public createCustomerGateway ( args , options ? ) ; public createCustomerGateway ( args , cb ) ; public createCustomerGateway ( args , options , cb ) ; public createCustomerGateway ( args , optionsOrCb ? , cb ? ) { const command = new CreateCustomerGatewayCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a default subnet with a size <code>/20</code> IPv4 CIDR block in the
     *             specified Availability Zone in your default VPC. You can have only one default subnet
     *             per Availability Zone. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/default-vpc.html#create-default-subnet">Creating a default
     *                 subnet</a> in the <i>Amazon Virtual Private Cloud User Guide</i>.</p>
     */ public createDefaultSubnet ( args , options ? ) ; public createDefaultSubnet ( args , cb ) ; public createDefaultSubnet ( args , options , cb ) ; public createDefaultSubnet ( args , optionsOrCb ? , cb ? ) { const command = new CreateDefaultSubnetCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a default VPC with a size <code>/16</code> IPv4 CIDR block and a default subnet
     * 			in each Availability Zone. For more information about the components of a default VPC,
     * 			see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/default-vpc.html">Default VPC and
     * 			default subnets</a> in the <i>Amazon Virtual Private Cloud User Guide</i>. You cannot
     * 			specify the components of the default VPC yourself.</p>
     * 		       <p>If you deleted your previous default VPC, you can create a default VPC. You cannot have
     * 			more than one default VPC per Region.</p>
     * 		       <p>If your account supports EC2-Classic, you cannot use this action to create a default VPC
     * 			in a Region that supports EC2-Classic. If you want a default VPC in a Region that
     * 			supports EC2-Classic, see "I really want a default VPC for my existing EC2 account. Is
     * 			that possible?" in the <a href="http://aws.amazon.com/vpc/faqs/#Default_VPCs">Default VPCs
     * 			FAQ</a>.</p>
     */ public createDefaultVpc ( args , options ? ) ; public createDefaultVpc ( args , cb ) ; public createDefaultVpc ( args , options , cb ) ; public createDefaultVpc ( args , optionsOrCb ? , cb ? ) { const command = new CreateDefaultVpcCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a set of DHCP options for your VPC. After creating the set, you must
     * 				associate it with the VPC, causing all existing and new instances that you launch in
     * 				the VPC to use this set of DHCP options. The following are the individual DHCP
     * 				options you can specify. For more information about the options, see <a href="http://www.ietf.org/rfc/rfc2132.txt">RFC 2132</a>.</p>
     *          <ul>
     *             <li>
     *                <p>
     *                   <code>domain-name-servers</code> - The IP addresses of up to four domain name
     *                     servers, or AmazonProvidedDNS. The default DHCP option set specifies
     *                     AmazonProvidedDNS. If specifying more than one domain name server, specify the
     *                     IP addresses in a single parameter, separated by commas. To have your instance
     *                     receive a custom DNS hostname as specified in <code>domain-name</code>, you must
     *                     set <code>domain-name-servers</code> to a custom DNS server.</p>
     *            </li>
     *             <li>
     *                <p>
     *                   <code>domain-name</code> - If you're using AmazonProvidedDNS in
     *                    <code>us-east-1</code>, specify <code>ec2.internal</code>. If you're using
     *                    AmazonProvidedDNS in another Region, specify
     *                    <code>region.compute.internal</code> (for example,
     *                    <code>ap-northeast-1.compute.internal</code>). Otherwise, specify a domain
     *                    name (for example, <code>ExampleCompany.com</code>). This value is used to complete
     *                    unqualified DNS hostnames. <b>Important</b>: Some
     *                    Linux operating systems accept multiple domain names separated by spaces.
     *                    However, Windows and other Linux operating systems treat the value as a single
     *                    domain, which results in unexpected behavior. If your DHCP options set is
     *                    associated with a VPC that has instances with multiple operating systems,
     *                    specify only one domain name.</p>
     *            </li>
     *             <li>
     *                <p>
     *                   <code>ntp-servers</code> - The IP addresses of up to four Network Time Protocol (NTP)
     *                    servers.</p>
     *            </li>
     *             <li>
     *                <p>
     *                   <code>netbios-name-servers</code> - The IP addresses of up to four NetBIOS name
     *                    servers.</p>
     *            </li>
     *             <li>
     *                <p>
     *                   <code>netbios-node-type</code> - The NetBIOS node type (1, 2, 4, or 8). We recommend that
     *                    you specify 2 (broadcast and multicast are not currently supported). For more information
     *                    about these node types, see <a href="http://www.ietf.org/rfc/rfc2132.txt">RFC 2132</a>.</p>
     *            </li>
     *          </ul>
     *
     *          <p>Your VPC automatically starts out with a set of DHCP options that includes only a DNS
     * 			server that we provide (AmazonProvidedDNS). If you create a set of options, and if your
     * 			VPC has an internet gateway, make sure to set the <code>domain-name-servers</code>
     * 			option either to <code>AmazonProvidedDNS</code> or to a domain name server of your
     * 			choice. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_DHCP_Options.html">DHCP options sets</a> in the
     * 			<i>Amazon Virtual Private Cloud User Guide</i>.</p>
     */ public createDhcpOptions ( args , options ? ) ; public createDhcpOptions ( args , cb ) ; public createDhcpOptions ( args , options , cb ) ; public createDhcpOptions ( args , optionsOrCb ? , cb ? ) { const command = new CreateDhcpOptionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>[IPv6 only] Creates an egress-only internet gateway for your VPC. An egress-only
     * 			internet gateway is used to enable outbound communication over IPv6 from instances in
     * 			your VPC to the internet, and prevents hosts outside of your VPC from initiating an IPv6
     * 			connection with your instance.</p>
     */ public createEgressOnlyInternetGateway ( args , options ? ) ; public createEgressOnlyInternetGateway ( args , cb ) ; public createEgressOnlyInternetGateway ( args , options , cb ) ; public createEgressOnlyInternetGateway ( args , optionsOrCb ? , cb ? ) { const command = new CreateEgressOnlyInternetGatewayCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Launches an EC2 Fleet.</p>
     *          <p>You can create a single EC2 Fleet that includes multiple launch specifications that vary by
     *          instance type, AMI, Availability Zone, or subnet.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet.html">Launching an EC2 Fleet</a> in the <i>Amazon EC2 User Guide</i>.</p>
     */ public createFleet ( args , options ? ) ; public createFleet ( args , cb ) ; public createFleet ( args , options , cb ) ; public createFleet ( args , optionsOrCb ? , cb ? ) { const command = new CreateFleetCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates one or more flow logs to capture information about IP traffic for a specific network interface,
     *             subnet, or VPC. </p>
     *
     *         <p>Flow log data for a monitored network interface is recorded as flow log records, which are log events
     *             consisting of fields that describe the traffic flow. For more information, see
     *             <a href="https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html#flow-log-records">Flow log records</a>
     *             in the <i>Amazon Virtual Private Cloud User Guide</i>.</p>
     *
     *         <p>When publishing to CloudWatch Logs, flow log records are published to a log group, and each network
     *             interface has a unique log stream in the log group. When publishing to Amazon S3, flow log records for all
     *             of the monitored network interfaces are published to a single log file object that is stored in the specified
     *             bucket.</p>
     *
     *         <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html">VPC Flow Logs</a> in the <i>Amazon Virtual Private Cloud User Guide</i>.</p>
     */ public createFlowLogs ( args , options ? ) ; public createFlowLogs ( args , cb ) ; public createFlowLogs ( args , options , cb ) ; public createFlowLogs ( args , optionsOrCb ? , cb ? ) { const command = new CreateFlowLogsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates an Amazon FPGA Image (AFI) from the specified design checkpoint (DCP).</p>
     *          <p>The create operation is asynchronous. To verify that the AFI is ready for use,
     *          check the output logs.</p>
     *          <p>An AFI contains the FPGA bitstream that is ready to download to an FPGA.
     *          You can securely deploy an AFI on multiple FPGA-accelerated instances.
     *          For more information, see the <a href="https://github.com/aws/aws-fpga/">Amazon Web Services FPGA Hardware Development Kit</a>.</p>
     */ public createFpgaImage ( args , options ? ) ; public createFpgaImage ( args , cb ) ; public createFpgaImage ( args , options , cb ) ; public createFpgaImage ( args , optionsOrCb ? , cb ? ) { const command = new CreateFpgaImageCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance
     *      	that is either running or stopped.</p>
     *
     *
     *
     *
     *    	     <p>If you customized your instance with instance store volumes or Amazon EBS volumes in addition to the root device volume, the
     *      	new AMI contains block device mapping information for those volumes. When you launch an instance from this new AMI,
     *      	the instance automatically launches with those additional volumes.</p>
     *    	     <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html">Creating Amazon EBS-Backed Linux AMIs</a>
     * 				in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public createImage ( args , options ? ) ; public createImage ( args , cb ) ; public createImage ( args , options , cb ) ; public createImage ( args , optionsOrCb ? , cb ? ) { const command = new CreateImageCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates an event window in which scheduled events for the associated Amazon EC2 instances can
     *          run.</p>
     *          <p>You can define either a set of time ranges or a cron expression when creating the event
     *          window, but not both. All event window times are in UTC.</p>
     *          <p>You can create up to 200 event windows per Amazon Web Services Region.</p>
     *          <p>When you create the event window, targets (instance IDs, Dedicated Host IDs, or tags)
     *          are not yet associated with it. To ensure that the event window can be used, you must
     *          associate one or more targets with it by using the <a>AssociateInstanceEventWindow</a> API.</p>
     *
     *          <important>
     *             <p>Event windows are applicable only for scheduled events that stop, reboot, or
     *             terminate instances.</p>
     *             <p>Event windows are <i>not</i> applicable for:</p>
     *             <ul>
     *                <li>
     *                   <p>Expedited scheduled events and network maintenance events. </p>
     *                </li>
     *                <li>
     *                            <p>Unscheduled maintenance such as AutoRecovery and unplanned reboots.</p>
     *                </li>
     *             </ul>
     *          </important>
     *
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/event-windows.html">Define event windows for scheduled
     *             events</a> in the <i>Amazon EC2 User Guide</i>.</p>
     */ public createInstanceEventWindow ( args , options ? ) ; public createInstanceEventWindow ( args , cb ) ; public createInstanceEventWindow ( args , options , cb ) ; public createInstanceEventWindow ( args , optionsOrCb ? , cb ? ) { const command = new CreateInstanceEventWindowCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Exports a running or stopped instance to an Amazon S3 bucket.</p>
     *          <p>For information about the supported operating systems, image formats, and known limitations
     *    for the types of instances you can export, see <a href="https://docs.aws.amazon.com/vm-import/latest/userguide/vmexport.html">Exporting an instance as a VM Using VM Import/Export</a>
     *    in the <i>VM Import/Export User Guide</i>.</p>
     */ public createInstanceExportTask ( args , options ? ) ; public createInstanceExportTask ( args , cb ) ; public createInstanceExportTask ( args , options , cb ) ; public createInstanceExportTask ( args , optionsOrCb ? , cb ? ) { const command = new CreateInstanceExportTaskCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates an internet gateway for use with a VPC. After creating the internet gateway,
     * 			you attach it to a VPC using <a>AttachInternetGateway</a>.</p>
     *          <p>For more information about your VPC and internet gateway, see the <a href="https://docs.aws.amazon.com/vpc/latest/userguide/">Amazon Virtual Private Cloud User Guide</a>.</p>
     */ public createInternetGateway ( args , options ? ) ; public createInternetGateway ( args , cb ) ; public createInternetGateway ( args , options , cb ) ; public createInternetGateway ( args , optionsOrCb ? , cb ? ) { const command = new CreateInternetGatewayCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Create an IPAM. Amazon VCP IP Address Manager (IPAM) is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across Amazon Web Services Regions and accounts throughout your Amazon Web Services Organization.</p>
     *          <p>For more information, see <a href="/vpc/latest/ipam/create-ipam.html">Create an IPAM</a> in the <i>Amazon VPC IPAM User Guide</i>.
     *       </p>
     */ public createIpam ( args , options ? ) ; public createIpam ( args , cb ) ; public createIpam ( args , options , cb ) ; public createIpam ( args , optionsOrCb ? , cb ? ) { const command = new CreateIpamCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Create an IP address pool for Amazon VPC IP Address Manager (IPAM). In IPAM, a pool is a collection of contiguous IP addresses CIDRs. Pools enable you to organize your IP addresses according to your routing and security needs. For example, if you have separate routing and security needs for development and production applications, you can create a pool for each.</p>
     *          <p>For more information, see <a href="/vpc/latest/ipam/create-top-ipam.html">Create a top-level pool</a> in the <i>Amazon VPC IPAM User Guide</i>.
     *       </p>
     */ public createIpamPool ( args , options ? ) ; public createIpamPool ( args , cb ) ; public createIpamPool ( args , options , cb ) ; public createIpamPool ( args , optionsOrCb ? , cb ? ) { const command = new CreateIpamPoolCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Create an IPAM scope. In IPAM, a scope is the highest-level container within IPAM. An IPAM contains two default scopes. Each scope represents the IP space for a single network. The private scope is intended for all private IP address space. The public scope is intended for all public IP address space. Scopes enable you to reuse IP addresses across multiple unconnected networks without causing IP address overlap or conflict.</p>
     *          <p>For more information, see <a href="/vpc/latest/ipam/add-scope-ipam.html">Add a scope</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
     */ public createIpamScope ( args , options ? ) ; public createIpamScope ( args , cb ) ; public createIpamScope ( args , options , cb ) ; public createIpamScope ( args , optionsOrCb ? , cb ? ) { const command = new CreateIpamScopeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates an ED25519 or 2048-bit RSA key pair with the specified name. Amazon EC2 stores the public
     *             key and displays the private key for you to save to a file. The private key is returned
     *             as an unencrypted PEM encoded PKCS#1 private key. If a key with the specified name
     *             already exists, Amazon EC2 returns an error.</p>
     * 		       <p>The key pair returned to you is available only in the Amazon Web Services Region in which you create it.
     *             If you prefer, you can create your own key pair using a third-party tool and upload it
     *             to any Region using <a>ImportKeyPair</a>.</p>
     *          <p>You can have up to 5,000 key pairs per Amazon Web Services Region.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html">Amazon EC2 key pairs</a> in the
     *                 <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public createKeyPair ( args , options ? ) ; public createKeyPair ( args , cb ) ; public createKeyPair ( args , options , cb ) ; public createKeyPair ( args , optionsOrCb ? , cb ? ) { const command = new CreateKeyPairCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a launch template. A launch template contains the parameters to launch an
     *             instance. When you launch an instance using <a>RunInstances</a>, you can
     *             specify a launch template instead of providing the launch parameters in the request. For
     *             more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html">Launching an instance from a
     *                 launch template</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public createLaunchTemplate ( args , options ? ) ; public createLaunchTemplate ( args , cb ) ; public createLaunchTemplate ( args , options , cb ) ; public createLaunchTemplate ( args , optionsOrCb ? , cb ? ) { const command = new CreateLaunchTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new version for a launch template. You can specify an existing version of
     *             launch template from which to base the new version.</p>
     *         <p>Launch template versions are numbered in the order in which they are created. You
     *             cannot specify, change, or replace the numbering of launch template versions.</p>
     *         <p>For
     *             more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#manage-launch-template-versions">Managing launch template versions</a>in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public createLaunchTemplateVersion ( args , options ? ) ; public createLaunchTemplateVersion ( args , cb ) ; public createLaunchTemplateVersion ( args , options , cb ) ; public createLaunchTemplateVersion ( args , optionsOrCb ? , cb ? ) { const command = new CreateLaunchTemplateVersionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a static route for the specified local gateway route table.</p>
     */ public createLocalGatewayRoute ( args , options ? ) ; public createLocalGatewayRoute ( args , cb ) ; public createLocalGatewayRoute ( args , options , cb ) ; public createLocalGatewayRoute ( args , optionsOrCb ? , cb ? ) { const command = new CreateLocalGatewayRouteCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Associates the specified VPC with the specified local gateway route table.</p>
     */ public createLocalGatewayRouteTableVpcAssociation ( args , options ? ) ; public createLocalGatewayRouteTableVpcAssociation ( args , cb ) ; public createLocalGatewayRouteTableVpcAssociation ( args , options , cb ) ; public createLocalGatewayRouteTableVpcAssociation ( args , optionsOrCb ? , cb ? ) { const command = new CreateLocalGatewayRouteTableVpcAssociationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a managed prefix list. You can specify one or more entries for the prefix list.
     *             Each entry consists of a CIDR block and an optional description.</p>
     */ public createManagedPrefixList ( args , options ? ) ; public createManagedPrefixList ( args , cb ) ; public createManagedPrefixList ( args , options , cb ) ; public createManagedPrefixList ( args , optionsOrCb ? , cb ? ) { const command = new CreateManagedPrefixListCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a NAT gateway in the specified subnet. This action creates a network interface
     *           in the specified subnet with a private IP address from the IP address range of the
     *           subnet. You can create either a public NAT gateway or a private NAT gateway.</p>
     *          <p>With a public NAT gateway, internet-bound traffic from a private subnet can be routed
     *           to the NAT gateway, so that instances in a private subnet can connect to the internet.</p>
     *          <p>With a private NAT gateway, private communication is routed across VPCs and on-premises
     *             networks through a transit gateway or virtual private gateway. Common use cases include
     *             running large workloads behind a small pool of allowlisted IPv4 addresses, preserving
     *             private IPv4 addresses, and communicating between overlapping networks.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html">NAT gateways</a> in the <i>Amazon Virtual Private Cloud User Guide</i>.</p>
     */ public createNatGateway ( args , options ? ) ; public createNatGateway ( args , cb ) ; public createNatGateway ( args , options , cb ) ; public createNatGateway ( args , optionsOrCb ? , cb ? ) { const command = new CreateNatGatewayCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a network ACL in a VPC. Network ACLs provide an optional layer of security (in addition to security groups) for the instances in your VPC.</p>
     * 		       <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_ACLs.html">Network ACLs</a> in the
     * 				<i>Amazon Virtual Private Cloud User Guide</i>.</p>
     */ public createNetworkAcl ( args , options ? ) ; public createNetworkAcl ( args , cb ) ; public createNetworkAcl ( args , options , cb ) ; public createNetworkAcl ( args , optionsOrCb ? , cb ? ) { const command = new CreateNetworkAclCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates an entry (a rule) in a network ACL with the specified rule number. Each network ACL has a set of numbered ingress rules
     * 		        and a separate set of numbered egress rules. When determining whether a packet should be allowed in or out of a subnet associated
     * 		        with the ACL, we process the entries in the ACL according to the rule numbers, in ascending order. Each network ACL has a set of
     * 		        ingress rules and a separate set of egress rules.</p>
     * 		       <p>We recommend that you leave room between the rule numbers (for example, 100, 110, 120, ...), and not number them one right after the
     * 		        other (for example, 101, 102, 103, ...). This makes it easier to add a rule between existing ones without having to renumber the rules.</p>
     * 		       <p>After you add an entry, you can't modify it; you must either replace it, or create an entry and delete the old one.</p>
     *          <p>For more information about network ACLs, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_ACLs.html">Network ACLs</a> in the <i>Amazon Virtual Private Cloud User Guide</i>.</p>
     */ public createNetworkAclEntry ( args , options ? ) ; public createNetworkAclEntry ( args , cb ) ; public createNetworkAclEntry ( args , options , cb ) ; public createNetworkAclEntry ( args , optionsOrCb ? , cb ? ) { const command = new CreateNetworkAclEntryCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a Network Access Scope.</p>
     *          <p>Amazon Web Services Network Access Analyzer enables cloud networking and cloud operations teams
     *          to verify that their networks on Amazon Web Services conform to their network security and governance
     *          objectives. For more information, see the <a href="https://docs.aws.amazon.com/vpc/latest/network-access-analyzer/">Amazon Web Services Network Access Analyzer Guide</a>.</p>
     */ public createNetworkInsightsAccessScope ( args , options ? ) ; public createNetworkInsightsAccessScope ( args , cb ) ; public createNetworkInsightsAccessScope ( args , options , cb ) ; public createNetworkInsightsAccessScope ( args , optionsOrCb ? , cb ? ) { const command = new CreateNetworkInsightsAccessScopeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a path to analyze for reachability.</p>
     *          <p>Reachability Analyzer enables you to analyze and debug network reachability between
     *           two resources in your virtual private cloud (VPC). For more information, see
     *           <a href="https://docs.aws.amazon.com/vpc/latest/reachability/">What is Reachability Analyzer</a>.</p>
     */ public createNetworkInsightsPath ( args , options ? ) ; public createNetworkInsightsPath ( args , cb ) ; public createNetworkInsightsPath ( args , options , cb ) ; public createNetworkInsightsPath ( args , optionsOrCb ? , cb ? ) { const command = new CreateNetworkInsightsPathCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a network interface in the specified subnet.</p>
     *         <p>For more information about network interfaces, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html">Elastic Network Interfaces</a>
     *             in the <i>Amazon Virtual Private Cloud User Guide</i>.</p>
     */ public createNetworkInterface ( args , options ? ) ; public createNetworkInterface ( args , cb ) ; public createNetworkInterface ( args , options , cb ) ; public createNetworkInterface ( args , optionsOrCb ? , cb ? ) { const command = new CreateNetworkInterfaceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Grants an Amazon Web Services-authorized account permission to attach the specified network interface to
     *             an instance in their account.</p>
     * 	        <p>You can grant permission to a single Amazon Web Services account only, and only one account at a time.</p>
     */ public createNetworkInterfacePermission ( args , options ? ) ; public createNetworkInterfacePermission ( args , cb ) ; public createNetworkInterfacePermission ( args , options , cb ) ; public createNetworkInterfacePermission ( args , optionsOrCb ? , cb ? ) { const command = new CreateNetworkInterfacePermissionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a placement group in which to launch instances. The strategy of the placement
     *             group determines how the instances are organized within the group. </p>
     *         <p>A <code>cluster</code> placement group is a logical grouping of instances within a
     *             single Availability Zone that benefit from low network latency, high network throughput.
     *             A <code>spread</code> placement group places instances on distinct hardware. A
     *                 <code>partition</code> placement group places groups of instances in different
     *             partitions, where instances in one partition do not share the same hardware with
     *             instances in another partition.</p>
     *         <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html">Placement groups</a> in the
     *                 <i>Amazon EC2 User Guide</i>.</p>
     */ public createPlacementGroup ( args , options ? ) ; public createPlacementGroup ( args , cb ) ; public createPlacementGroup ( args , options , cb ) ; public createPlacementGroup ( args , optionsOrCb ? , cb ? ) { const command = new CreatePlacementGroupCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a public IPv4 address pool. A public IPv4 pool is an EC2 IP address pool required for the public IPv4 CIDRs that you own and bring to Amazon Web Services to manage with IPAM. IPv6 addresses you bring to Amazon Web Services, however, use IPAM pools only. To monitor the status of pool creation, use <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribePublicIpv4Pools.html">DescribePublicIpv4Pools</a>.</p>
     */ public createPublicIpv4Pool ( args , options ? ) ; public createPublicIpv4Pool ( args , cb ) ; public createPublicIpv4Pool ( args , options , cb ) ; public createPublicIpv4Pool ( args , optionsOrCb ? , cb ? ) { const command = new CreatePublicIpv4PoolCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a root volume replacement task for an Amazon EC2 instance. The root volume
     *       can either be restored to its initial launch state, or it can be restored using a
     *       specific snapshot.</p>
     *
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-restoring-volume.html#replace-root">Replace a root volume</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public createReplaceRootVolumeTask ( args , options ? ) ; public createReplaceRootVolumeTask ( args , cb ) ; public createReplaceRootVolumeTask ( args , options , cb ) ; public createReplaceRootVolumeTask ( args , optionsOrCb ? , cb ? ) { const command = new CreateReplaceRootVolumeTaskCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a listing for Amazon EC2 Standard Reserved Instances to be sold in the Reserved Instance
     * 			Marketplace. You can submit one Standard Reserved Instance listing at a time. To get a list of your
     * 			Standard Reserved Instances, you can use the <a>DescribeReservedInstances</a> operation.</p>
     *          <note>
     *             <p>Only Standard Reserved Instances can be sold in the Reserved Instance Marketplace.
     *        Convertible Reserved Instances cannot be sold.</p>
     *          </note>
     * 		       <p>The Reserved Instance Marketplace matches sellers who want to resell Standard Reserved Instance capacity that they no longer need with buyers who want to purchase additional capacity. Reserved Instances bought and sold through the Reserved Instance Marketplace work like any other Reserved Instances.</p>
     * 		       <p>To sell your Standard Reserved Instances, you must first register as a seller in the Reserved Instance
     *       Marketplace. After completing the registration process, you can create a Reserved Instance
     *       Marketplace listing of some or all of your Standard Reserved Instances, and specify the upfront price
     *       to receive for them. Your Standard Reserved Instance listings then become available for purchase. To
     *       view the details of your Standard Reserved Instance listing, you can use the
     *         <a>DescribeReservedInstancesListings</a> operation.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html">Reserved Instance Marketplace</a> in the
     * 				<i>Amazon EC2 User Guide</i>.</p>
     */ public createReservedInstancesListing ( args , options ? ) ; public createReservedInstancesListing ( args , cb ) ; public createReservedInstancesListing ( args , options , cb ) ; public createReservedInstancesListing ( args , optionsOrCb ? , cb ? ) { const command = new CreateReservedInstancesListingCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Starts a task that restores an AMI from an Amazon S3 object that was previously created by using
     *       <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateStoreImageTask.html">CreateStoreImageTask</a>.</p>
     *          <p>To use this API, you must have the required permissions. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html#ami-s3-permissions">Permissions for storing and restoring AMIs using Amazon S3</a> in the
     *         <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html">Store and restore an AMI using
     *     	Amazon S3</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public createRestoreImageTask ( args , options ? ) ; public createRestoreImageTask ( args , cb ) ; public createRestoreImageTask ( args , options , cb ) ; public createRestoreImageTask ( args , optionsOrCb ? , cb ? ) { const command = new CreateRestoreImageTaskCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a route in a route table within a VPC.</p>
     *          <p>You must specify one of the following targets: internet gateway or virtual private
     * 			gateway, NAT instance, NAT gateway, VPC peering connection, network interface, egress-only internet gateway, or transit gateway.</p>
     *          <p>When determining how to route traffic, we use the route with the most specific match.
     *             For example, traffic is destined for the IPv4 address <code>192.0.2.3</code>, and the
     *             route table includes the following two IPv4 routes:</p>
     * 			      <ul>
     *             <li>
     * 					          <p>
     *                   <code>192.0.2.0/24</code> (goes to some target A)</p>
     * 				        </li>
     *             <li>
     * 					          <p>
     *                   <code>192.0.2.0/28</code> (goes to some target B)</p>
     * 				        </li>
     *          </ul>
     * 		       <p>Both routes apply to the traffic destined for <code>192.0.2.3</code>. However, the second route
     * 				in the list covers a smaller number of IP addresses and is therefore more specific,
     * 				so we use that route to determine where to target the traffic.</p>
     *          <p>For more information about route tables, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html">Route tables</a> in the
     *          <i>Amazon Virtual Private Cloud User Guide</i>.</p>
     */ public createRoute ( args , options ? ) ; public createRoute ( args , cb ) ; public createRoute ( args , options , cb ) ; public createRoute ( args , optionsOrCb ? , cb ? ) { const command = new CreateRouteCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a route table for the specified VPC. After you create a route table, you can add routes and associate the table with a subnet.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html">Route tables</a> in the
     * 				<i>Amazon Virtual Private Cloud User Guide</i>.</p>
     */ public createRouteTable ( args , options ? ) ; public createRouteTable ( args , cb ) ; public createRouteTable ( args , options , cb ) ; public createRouteTable ( args , optionsOrCb ? , cb ? ) { const command = new CreateRouteTableCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a security group.</p>
     *          <p>A security group acts as a virtual firewall for your instance to control inbound and outbound traffic.
     *          For more information, see
     * 				<a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html">Amazon EC2 security groups</a> in
     * 				the <i>Amazon Elastic Compute Cloud User Guide</i> and
     * 				<a href="https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html">Security groups for your VPC</a> in the
     * 				<i>Amazon Virtual Private Cloud User Guide</i>.</p>
     *          <p>When you create a security group, you specify a friendly name of your choice. You can have a security group for use in EC2-Classic with the same name as a security group for use in a VPC. However, you can't have two security groups for use in EC2-Classic with the same name or two security groups for use in a VPC with the same name.</p>
     *          <p>You have a default security group for use in EC2-Classic and a default security group for use in your VPC. If you don't specify a security group when you launch an instance, the instance is launched into the appropriate default security group. A default security group includes a default rule that grants instances unrestricted network access to each other.</p>
     *          <p>You can add or remove rules from your security groups using
     * 					<a>AuthorizeSecurityGroupIngress</a>,
     * 					<a>AuthorizeSecurityGroupEgress</a>,
     * 					<a>RevokeSecurityGroupIngress</a>, and
     * 					<a>RevokeSecurityGroupEgress</a>.</p>
     *          <p>For more information about VPC security group limits, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html">Amazon VPC Limits</a>.</p>
     */ public createSecurityGroup ( args , options ? ) ; public createSecurityGroup ( args , cb ) ; public createSecurityGroup ( args , options , cb ) ; public createSecurityGroup ( args , optionsOrCb ? , cb ? ) { const command = new CreateSecurityGroupCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a snapshot of an EBS volume and stores it in Amazon S3. You can use snapshots for
     *   	backups, to make copies of EBS volumes, and to save data before shutting down an
     *   	instance.</p>
     *
     *
     *          <p>You can create snapshots of volumes in a Region and volumes on an Outpost. If you
     *     	create a snapshot of a volume in a Region, the snapshot must be stored in the same
     *     	Region as the volume. If you create a snapshot of a volume on an Outpost, the snapshot
     *     	can be stored on the same Outpost as the volume, or in the Region for that Outpost.</p>
     *
     *          <p>When a snapshot is created, any Amazon Web Services Marketplace product codes that are associated with the
     *       source volume are propagated to the snapshot.</p>
     *          <p>You can take a snapshot of an attached volume that is in use. However, snapshots only
     *       capture data that has been written to your Amazon EBS volume at the time the snapshot command is
     *       issued; this might exclude any data that has been cached by any applications or the operating
     *       system. If you can pause any file systems on the volume long enough to take a snapshot, your
     *       snapshot should be complete. However, if you cannot pause all file writes to the volume, you
     *       should unmount the volume from within the instance, issue the snapshot command, and then
     *       remount the volume to ensure a consistent and complete snapshot. You may remount and use your
     *       volume while the snapshot status is <code>pending</code>.</p>
     *          <p>To create a snapshot for Amazon EBS volumes that serve as root devices, you should stop the
     *       instance before taking the snapshot.</p>
     *          <p>Snapshots that are taken from encrypted volumes are automatically encrypted. Volumes that
     *       are created from encrypted snapshots are also automatically encrypted. Your encrypted volumes
     *       and any associated snapshots always remain protected.</p>
     *          <p>You can tag your snapshots during creation. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html">Tag your Amazon EC2
     *         resources</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AmazonEBS.html">Amazon Elastic Block Store</a> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html">Amazon EBS encryption</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public createSnapshot ( args , options ? ) ; public createSnapshot ( args , cb ) ; public createSnapshot ( args , options , cb ) ; public createSnapshot ( args , optionsOrCb ? , cb ? ) { const command = new CreateSnapshotCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates crash-consistent snapshots of multiple EBS volumes and stores the data in S3.
     *     Volumes are chosen by specifying an instance. Any attached volumes will produce one snapshot
     *     each that is crash-consistent across the instance. Boot volumes can be excluded by changing the
     *     parameters. </p>
     *
     *          <p>You can create multi-volume snapshots of instances in a Region and instances on an
     *   	Outpost. If you create snapshots from an instance in a Region, the snapshots must be stored
     *   	in the same Region as the instance. If you create snapshots from an instance on an Outpost,
     *   	the snapshots can be stored on the same Outpost as the instance, or in the Region for that
     *   	Outpost.</p>
     */ public createSnapshots ( args , options ? ) ; public createSnapshots ( args , cb ) ; public createSnapshots ( args , options , cb ) ; public createSnapshots ( args , optionsOrCb ? , cb ? ) { const command = new CreateSnapshotsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a data feed for Spot Instances, enabling you to view Spot Instance usage logs.
     * 				You can create one data feed per Amazon Web Services account. For more information, see
     *         <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-data-feeds.html">Spot Instance data feed</a>
     *         in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
     */ public createSpotDatafeedSubscription ( args , options ? ) ; public createSpotDatafeedSubscription ( args , cb ) ; public createSpotDatafeedSubscription ( args , options , cb ) ; public createSpotDatafeedSubscription ( args , optionsOrCb ? , cb ? ) { const command = new CreateSpotDatafeedSubscriptionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Stores an AMI as a single object in an Amazon S3 bucket.</p>
     *          <p>To use this API, you must have the required permissions. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html#ami-s3-permissions">Permissions for storing and restoring AMIs using Amazon S3</a> in the
     *         <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html">Store and restore an AMI using
     *     	Amazon S3</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public createStoreImageTask ( args , options ? ) ; public createStoreImageTask ( args , cb ) ; public createStoreImageTask ( args , options , cb ) ; public createStoreImageTask ( args , optionsOrCb ? , cb ? ) { const command = new CreateStoreImageTaskCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a subnet in a specified VPC.</p>
     *         <p>You must specify an IPv4 CIDR block for the subnet. After you create a subnet, you
     *             can't change its CIDR block. The allowed block size is between a /16 netmask (65,536 IP
     *             addresses) and /28 netmask (16 IP addresses). The CIDR block must not overlap with the
     *             CIDR block of an existing subnet in the VPC.</p>
     *         <p>If you've associated an IPv6 CIDR block with your VPC, you can create a subnet with an
     *             IPv6 CIDR block that uses a /64 prefix length. </p>
     *         <important>
     *             <p>Amazon Web Services reserves both the first four and the last IPv4 address in each subnet's CIDR
     *                 block. They're not available for use.</p>
     *         </important>
     *         <p>If you add more than one subnet to a VPC, they're set up in a star topology with a
     *             logical router in the middle.</p>
     *         <p>When you stop an instance in a subnet, it retains its private IPv4 address. It's
     *             therefore possible to have a subnet with no running instances (they're all stopped), but
     *             no remaining IP addresses available.</p>
     *         <p>For more information about subnets, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html">Your VPC and subnets</a> in the
     *                 <i>Amazon Virtual Private Cloud User Guide</i>.</p>
     */ public createSubnet ( args , options ? ) ; public createSubnet ( args , cb ) ; public createSubnet ( args , options , cb ) ; public createSubnet ( args , optionsOrCb ? , cb ? ) { const command = new CreateSubnetCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a subnet CIDR reservation. For information about subnet CIDR reservations, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/subnet-cidr-reservation.html">Subnet CIDR reservations</a> in the <i>Amazon Virtual Private Cloud User Guide</i>.</p>
     */ public createSubnetCidrReservation ( args , options ? ) ; public createSubnetCidrReservation ( args , cb ) ; public createSubnetCidrReservation ( args , options , cb ) ; public createSubnetCidrReservation ( args , optionsOrCb ? , cb ? ) { const command = new CreateSubnetCidrReservationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Adds or overwrites only the specified tags for the specified Amazon EC2 resource or
     *          resources. When you specify an existing tag key, the value is overwritten with
     *          the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and
     *          optional value. Tag keys must be unique per resource.</p>
     *
     *          <p>For more information about tags, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html">Tagging Your Resources</a> in the
     *             <i>Amazon Elastic Compute Cloud User Guide</i>. For more information about
     *          creating IAM policies that control users' access to resources based on tags, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-iam-actions-resources.html">Supported
     *             Resource-Level Permissions for Amazon EC2 API Actions</a> in the <i>Amazon
     *             Elastic Compute Cloud User Guide</i>.</p>
     */ public createTags ( args , options ? ) ; public createTags ( args , cb ) ; public createTags ( args , options , cb ) ; public createTags ( args , optionsOrCb ? , cb ? ) { const command = new CreateTagsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a Traffic Mirror filter.</p>
     *          <p>A Traffic Mirror filter is a set of rules that defines the traffic to mirror.</p>
     *          <p>By default, no traffic is mirrored. To mirror traffic, use <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTrafficMirrorFilterRule.htm">CreateTrafficMirrorFilterRule</a> to add Traffic Mirror rules to the filter. The rules you
     *          add define what traffic gets mirrored. You can also use <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyTrafficMirrorFilterNetworkServices.html">ModifyTrafficMirrorFilterNetworkServices</a> to mirror supported network services.</p>
     */ public createTrafficMirrorFilter ( args , options ? ) ; public createTrafficMirrorFilter ( args , cb ) ; public createTrafficMirrorFilter ( args , options , cb ) ; public createTrafficMirrorFilter ( args , optionsOrCb ? , cb ? ) { const command = new CreateTrafficMirrorFilterCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a Traffic Mirror filter rule.</p>
     *          <p>A Traffic Mirror rule defines the Traffic Mirror source traffic to mirror.</p>
     *          <p>You need the Traffic Mirror filter ID when you create the rule.</p>
     */ public createTrafficMirrorFilterRule ( args , options ? ) ; public createTrafficMirrorFilterRule ( args , cb ) ; public createTrafficMirrorFilterRule ( args , options , cb ) ; public createTrafficMirrorFilterRule ( args , optionsOrCb ? , cb ? ) { const command = new CreateTrafficMirrorFilterRuleCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a Traffic Mirror session.</p>
     *          <p>A Traffic Mirror session actively copies packets from a Traffic Mirror source to a Traffic Mirror target. Create a filter, and then assign it
     *          to the session to define a subset of the traffic to mirror, for example all TCP
     *          traffic.</p>
     *          <p>The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in a different VPC connected via VPC peering or a transit gateway. </p>
     *          <p>By default, no traffic is mirrored. Use <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTrafficMirrorFilter.htm">CreateTrafficMirrorFilter</a> to
     *          create filter rules that specify the traffic to mirror.</p>
     */ public createTrafficMirrorSession ( args , options ? ) ; public createTrafficMirrorSession ( args , cb ) ; public createTrafficMirrorSession ( args , options , cb ) ; public createTrafficMirrorSession ( args , optionsOrCb ? , cb ? ) { const command = new CreateTrafficMirrorSessionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a target for your Traffic Mirror session.</p>
     *          <p>A Traffic Mirror target is the destination for mirrored traffic. The Traffic Mirror source and
     *          the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in
     *          different VPCs connected via VPC peering or a transit gateway.</p>
     *          <p>A Traffic Mirror target can be a network interface, or a Network Load Balancer.</p>
     *          <p>To use the target in a Traffic Mirror session, use  <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTrafficMirrorSession.htm">CreateTrafficMirrorSession</a>.</p>
     */ public createTrafficMirrorTarget ( args , options ? ) ; public createTrafficMirrorTarget ( args , cb ) ; public createTrafficMirrorTarget ( args , options , cb ) ; public createTrafficMirrorTarget ( args , optionsOrCb ? , cb ? ) { const command = new CreateTrafficMirrorTargetCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a transit gateway.</p>
     *          <p>You can use a transit gateway to interconnect your virtual private clouds (VPC) and on-premises networks.
     *           After the transit gateway enters the <code>available</code> state, you can attach your VPCs and VPN
     *           connections to the transit gateway.</p>
     *          <p>To attach your VPCs, use <a>CreateTransitGatewayVpcAttachment</a>.</p>
     *          <p>To attach a VPN connection, use <a>CreateCustomerGateway</a> to create a customer
     *          gateway and specify the ID of the customer gateway and the ID of the transit gateway in a call to
     *          <a>CreateVpnConnection</a>.</p>
     *          <p>When you create a transit gateway, we create a default transit gateway route table and use it as the default association route table
     *          and the default propagation route table. You can use <a>CreateTransitGatewayRouteTable</a> to create
     *          additional transit gateway route tables. If you disable automatic route propagation, we do not create a default transit gateway route table.
     *          You can use <a>EnableTransitGatewayRouteTablePropagation</a> to propagate routes from a resource
     *          attachment to a transit gateway route table. If you disable automatic associations, you can use <a>AssociateTransitGatewayRouteTable</a> to associate a resource attachment with a transit gateway route table.</p>
     */ public createTransitGateway ( args , options ? ) ; public createTransitGateway ( args , cb ) ; public createTransitGateway ( args , options , cb ) ; public createTransitGateway ( args , optionsOrCb ? , cb ? ) { const command = new CreateTransitGatewayCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a Connect attachment from a specified transit gateway attachment. A Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a transit gateway and an appliance.</p>
     *         <p>A Connect attachment uses an existing VPC or Amazon Web Services Direct Connect attachment as the underlying transport mechanism.</p>
     */ public createTransitGatewayConnect ( args , options ? ) ; public createTransitGatewayConnect ( args , cb ) ; public createTransitGatewayConnect ( args , options , cb ) ; public createTransitGatewayConnect ( args , optionsOrCb ? , cb ? ) { const command = new CreateTransitGatewayConnectCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a Connect peer for a specified transit gateway Connect attachment between a
     *             transit gateway and an appliance.</p>
     *         <p>The peer address and transit gateway address must be the same IP address family (IPv4 or IPv6).</p>
     *         <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/tgw/tgw-connect.html#tgw-connect-peer">Connect peers</a> in the <i>Transit Gateways Guide</i>.</p>
     */ public createTransitGatewayConnectPeer ( args , options ? ) ; public createTransitGatewayConnectPeer ( args , cb ) ; public createTransitGatewayConnectPeer ( args , options , cb ) ; public createTransitGatewayConnectPeer ( args , optionsOrCb ? , cb ? ) { const command = new CreateTransitGatewayConnectPeerCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a multicast domain using the specified transit gateway.</p>
     *         <p>The transit gateway  must be in the available state before you create a domain. Use <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGateways.html">DescribeTransitGateways</a> to see the state of transit gateway.</p>
     */ public createTransitGatewayMulticastDomain ( args , options ? ) ; public createTransitGatewayMulticastDomain ( args , cb ) ; public createTransitGatewayMulticastDomain ( args , options , cb ) ; public createTransitGatewayMulticastDomain ( args , optionsOrCb ? , cb ? ) { const command = new CreateTransitGatewayMulticastDomainCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Requests a transit gateway peering attachment between the specified transit gateway
     *             (requester) and a peer transit gateway (accepter). The transit gateways must be in
     *             different Regions. The peer transit gateway can be in your account or a different
     *             Amazon Web Services account.</p>
     *         <p>After you create the peering attachment, the owner of the accepter transit gateway
     *             must accept the attachment request.</p>
     */ public createTransitGatewayPeeringAttachment ( args , options ? ) ; public createTransitGatewayPeeringAttachment ( args , cb ) ; public createTransitGatewayPeeringAttachment ( args , options , cb ) ; public createTransitGatewayPeeringAttachment ( args , optionsOrCb ? , cb ? ) { const command = new CreateTransitGatewayPeeringAttachmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a reference (route) to a prefix list in a specified transit gateway route table.</p>
     */ public createTransitGatewayPrefixListReference ( args , options ? ) ; public createTransitGatewayPrefixListReference ( args , cb ) ; public createTransitGatewayPrefixListReference ( args , options , cb ) ; public createTransitGatewayPrefixListReference ( args , optionsOrCb ? , cb ? ) { const command = new CreateTransitGatewayPrefixListReferenceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a static route for the specified transit gateway route table.</p>
     */ public createTransitGatewayRoute ( args , options ? ) ; public createTransitGatewayRoute ( args , cb ) ; public createTransitGatewayRoute ( args , options , cb ) ; public createTransitGatewayRoute ( args , optionsOrCb ? , cb ? ) { const command = new CreateTransitGatewayRouteCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a route table for the specified transit gateway.</p>
     */ public createTransitGatewayRouteTable ( args , options ? ) ; public createTransitGatewayRouteTable ( args , cb ) ; public createTransitGatewayRouteTable ( args , options , cb ) ; public createTransitGatewayRouteTable ( args , optionsOrCb ? , cb ? ) { const command = new CreateTransitGatewayRouteTableCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Attaches the specified VPC to the specified transit gateway.</p>
     *          <p>If you attach a VPC with a CIDR range that overlaps the CIDR range of a VPC that is already attached,
     *          the new VPC CIDR range is not propagated to the default propagation route table.</p>
     *          <p>To send VPC traffic to an attached transit gateway, add a route to the VPC route table using <a>CreateRoute</a>.</p>
     */ public createTransitGatewayVpcAttachment ( args , options ? ) ; public createTransitGatewayVpcAttachment ( args , cb ) ; public createTransitGatewayVpcAttachment ( args , options , cb ) ; public createTransitGatewayVpcAttachment ( args , optionsOrCb ? , cb ? ) { const command = new CreateTransitGatewayVpcAttachmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates an EBS volume that can be attached to an instance in the same Availability Zone.</p>
     *          <p>You can create a new empty volume or restore a volume from an EBS snapshot.
     *       Any Amazon Web Services Marketplace product codes from the snapshot are propagated to the volume.</p>
     *          <p>You can create encrypted volumes. Encrypted volumes must be attached to instances that
     *       support Amazon EBS encryption. Volumes that are created from encrypted snapshots are also automatically
     *       encrypted. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html">Amazon EBS encryption</a>
     *       in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     *          <p>You can tag your volumes during creation. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html">Tag your Amazon EC2
     *         resources</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-creating-volume.html">Create an Amazon EBS volume</a> in the
     *         <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public createVolume ( args , options ? ) ; public createVolume ( args , cb ) ; public createVolume ( args , options , cb ) ; public createVolume ( args , optionsOrCb ? , cb ? ) { const command = new CreateVolumeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a VPC with the specified IPv4 CIDR block. The smallest VPC you can create
     * 			uses a /28 netmask (16 IPv4 addresses), and the largest uses a /16 netmask (65,536 IPv4
     * 			addresses). For more information about how large to make your VPC, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html">Your VPC and
     * 				subnets</a> in the <i>Amazon Virtual Private Cloud User Guide</i>.</p>
     *          <p>You can optionally request an IPv6 CIDR block for the VPC. You can request an Amazon-provided
     *            IPv6 CIDR block from Amazon's pool of IPv6 addresses, or an IPv6 CIDR block from an IPv6 address
     *            pool that you provisioned through bring your own IP addresses (<a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html">BYOIP</a>).</p>
     * 	        <p>By default, each instance you launch in the VPC has the default DHCP options, which
     * 			include only a default DNS server that we provide (AmazonProvidedDNS). For more
     * 			information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_DHCP_Options.html">DHCP options sets</a> in the <i>Amazon Virtual Private Cloud User Guide</i>.</p>
     *          <p>You can specify the instance tenancy value for the VPC when you create it. You can't change
     *           this value for the VPC after you create it. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-instance.html">Dedicated Instances</a> in the
     *           <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public createVpc ( args , options ? ) ; public createVpc ( args , cb ) ; public createVpc ( args , options , cb ) ; public createVpc ( args , optionsOrCb ? , cb ? ) { const command = new CreateVpcCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a VPC endpoint for a specified service. An endpoint enables you to create a
     *             private connection between your VPC and the service. The service may be provided by Amazon Web Services,
     *             an Amazon Web Services Marketplace Partner, or another Amazon Web Services account. For more information,
     *             see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-endpoints.html">VPC Endpoints</a> in the
     *             <i>Amazon Virtual Private Cloud User Guide</i>.</p>
     *         <p>A <code>gateway</code> endpoint serves as a target for a route in your route table for
     *             traffic destined for the Amazon Web Service. You can specify an endpoint policy to attach
     *             to the endpoint, which will control access to the service from your VPC. You can also
     *             specify the VPC route tables that use the endpoint.</p>
     *         <p>An <code>interface</code> endpoint is a network interface in your subnet that
     *             serves as an endpoint for communicating with the specified service. You can specify the
     *             subnets in which to create an endpoint, and the security groups to associate with the
     *             endpoint network interface.</p>
     *         <p>A <code>GatewayLoadBalancer</code> endpoint is a network interface in your subnet that serves an endpoint for communicating with a Gateway Load Balancer that you've configured as a VPC endpoint service.</p>
     *         <p>Use <a>DescribeVpcEndpointServices</a> to get a list of supported
     *             services.</p>
     */ public createVpcEndpoint ( args , options ? ) ; public createVpcEndpoint ( args , cb ) ; public createVpcEndpoint ( args , options , cb ) ; public createVpcEndpoint ( args , optionsOrCb ? , cb ? ) { const command = new CreateVpcEndpointCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a connection notification for a specified VPC endpoint or VPC endpoint
     *             service. A connection notification notifies you of specific endpoint events. You must
     *             create an SNS topic to receive notifications. For more information, see <a href="https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html">Create a Topic</a> in
     *             the <i>Amazon Simple Notification Service Developer Guide</i>.</p>
     *         <p>You can create a connection notification for interface endpoints only.</p>
     */ public createVpcEndpointConnectionNotification ( args , options ? ) ; public createVpcEndpointConnectionNotification ( args , cb ) ; public createVpcEndpointConnectionNotification ( args , options , cb ) ; public createVpcEndpointConnectionNotification ( args , optionsOrCb ? , cb ? ) { const command = new CreateVpcEndpointConnectionNotificationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a VPC endpoint service configuration to which service consumers (Amazon Web Services accounts,
     *             IAM users, and IAM roles) can connect.</p>
     *         <p>To create an endpoint service configuration, you must first create one of the
     *             following for your service:</p>
     *         <ul>
     *             <li>
     *                 <p>A <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/introduction.html">Network Load Balancer</a>. Service consumers connect to your service using an
     *                     interface endpoint.</p>
     *             </li>
     *             <li>
     *                 <p>A <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/introduction.html">Gateway Load Balancer</a>. Service consumers connect to your service using a
     *                     Gateway Load Balancer endpoint.</p>
     *             </li>
     *          </ul>
     *         <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/endpoint-service.html">VPC Endpoint Services</a> in the
     *                 <i>Amazon Virtual Private Cloud User Guide</i>. </p>
     *         <p>If you set the private DNS name, you must prove that you own the private DNS domain
     *             name. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/endpoint-services-dns-validation.html">VPC Endpoint Service
     *                 Private DNS Name Verification</a> in the
     *             <i>Amazon Virtual Private Cloud User Guide</i>.</p>
     */ public createVpcEndpointServiceConfiguration ( args , options ? ) ; public createVpcEndpointServiceConfiguration ( args , cb ) ; public createVpcEndpointServiceConfiguration ( args , options , cb ) ; public createVpcEndpointServiceConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new CreateVpcEndpointServiceConfigurationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Requests a VPC peering connection between two VPCs: a requester VPC that you own and
     * 		  an accepter VPC with which to create the connection. The accepter VPC can belong to
     * 		  another Amazon Web Services account and can be in a different Region to the requester VPC.
     *           The requester VPC and accepter VPC cannot have overlapping CIDR blocks.</p>
     *          <note>
     *             <p>Limitations and rules apply to a VPC peering connection. For more information, see
     *           the <a href="https://docs.aws.amazon.com/vpc/latest/peering/vpc-peering-basics.html#vpc-peering-limitations">limitations</a> section in the <i>VPC Peering Guide</i>.</p>
     *          </note>
     *          <p>The owner of the accepter VPC must accept the peering request to activate the peering
     *             connection. The VPC peering connection request expires after 7 days, after which it
     *             cannot be accepted or rejected.</p>
     *          <p>If you create a VPC peering connection request between VPCs with overlapping CIDR
     *             blocks, the VPC peering connection has a status of <code>failed</code>.</p>
     */ public createVpcPeeringConnection ( args , options ? ) ; public createVpcPeeringConnection ( args , cb ) ; public createVpcPeeringConnection ( args , options , cb ) ; public createVpcPeeringConnection ( args , optionsOrCb ? , cb ? ) { const command = new CreateVpcPeeringConnectionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a VPN connection between an existing virtual private gateway or transit
     *             gateway and a customer gateway. The supported connection type is
     *             <code>ipsec.1</code>.</p>
     *         <p>The response includes information that you need to give to your network administrator
     *             to configure your customer gateway.</p>
     *         <important>
     *             <p>We strongly recommend that you use HTTPS when calling this operation because the
     *                 response contains sensitive cryptographic information for configuring your customer
     *                 gateway device.</p>
     *         </important>
     *         <p>If you decide to shut down your VPN connection for any reason and later create a new
     *             VPN connection, you must reconfigure your customer gateway with the new information
     *             returned from this call.</p>
     *         <p>This is an idempotent operation. If you perform the operation more than once, Amazon
     *             EC2 doesn't return an error.</p>
     *         <p>For more information, see <a href="https://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html">Amazon Web Services Site-to-Site VPN</a> in the <i>Amazon Web Services Site-to-Site VPN
     *                 User Guide</i>.</p>
     */ public createVpnConnection ( args , options ? ) ; public createVpnConnection ( args , cb ) ; public createVpnConnection ( args , options , cb ) ; public createVpnConnection ( args , optionsOrCb ? , cb ? ) { const command = new CreateVpnConnectionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a static route associated with a VPN connection between an existing virtual
     *             private gateway and a VPN customer gateway. The static route allows traffic to be routed
     *             from the virtual private gateway to the VPN customer gateway.</p>
     *         <p>For more information, see <a href="https://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html">Amazon Web Services Site-to-Site VPN</a> in the <i>Amazon Web Services Site-to-Site VPN
     *                 User Guide</i>.</p>
     */ public createVpnConnectionRoute ( args , options ? ) ; public createVpnConnectionRoute ( args , cb ) ; public createVpnConnectionRoute ( args , options , cb ) ; public createVpnConnectionRoute ( args , optionsOrCb ? , cb ? ) { const command = new CreateVpnConnectionRouteCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a virtual private gateway. A virtual private gateway is the endpoint on the
     *             VPC side of your VPN connection. You can create a virtual private gateway before
     *             creating the VPC itself.</p>
     *         <p>For more information, see <a href="https://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html">Amazon Web Services Site-to-Site VPN</a> in the <i>Amazon Web Services Site-to-Site VPN
     *                 User Guide</i>.</p>
     */ public createVpnGateway ( args , options ? ) ; public createVpnGateway ( args , cb ) ; public createVpnGateway ( args , options , cb ) ; public createVpnGateway ( args , optionsOrCb ? , cb ? ) { const command = new CreateVpnGatewayCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a carrier gateway.</p>
     *         <important>
     *             <p>If you do not delete the route that contains the carrier gateway as the
     *                 Target, the route is a blackhole route. For information about how to delete a route, see
     *                 <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DeleteRoute.html">DeleteRoute</a>.</p>
     *         </important>
     */ public deleteCarrierGateway ( args , options ? ) ; public deleteCarrierGateway ( args , cb ) ; public deleteCarrierGateway ( args , options , cb ) ; public deleteCarrierGateway ( args , optionsOrCb ? , cb ? ) { const command = new DeleteCarrierGatewayCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified Client VPN endpoint. You must disassociate all target networks before you
     * 			can delete a Client VPN endpoint.</p>
     */ public deleteClientVpnEndpoint ( args , options ? ) ; public deleteClientVpnEndpoint ( args , cb ) ; public deleteClientVpnEndpoint ( args , options , cb ) ; public deleteClientVpnEndpoint ( args , optionsOrCb ? , cb ? ) { const command = new DeleteClientVpnEndpointCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a route from a Client VPN endpoint. You can only delete routes that you manually added using
     * 			the <b>CreateClientVpnRoute</b> action. You cannot delete routes that were
     * 			automatically added when associating a subnet. To remove routes that have been automatically added,
     * 			disassociate the target subnet from the Client VPN endpoint.</p>
     */ public deleteClientVpnRoute ( args , options ? ) ; public deleteClientVpnRoute ( args , cb ) ; public deleteClientVpnRoute ( args , options , cb ) ; public deleteClientVpnRoute ( args , optionsOrCb ? , cb ? ) { const command = new DeleteClientVpnRouteCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified customer gateway. You must delete the VPN connection before you
     *             can delete the customer gateway.</p>
     */ public deleteCustomerGateway ( args , options ? ) ; public deleteCustomerGateway ( args , cb ) ; public deleteCustomerGateway ( args , options , cb ) ; public deleteCustomerGateway ( args , optionsOrCb ? , cb ? ) { const command = new DeleteCustomerGatewayCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified set of DHCP options. You must disassociate the set of DHCP options before you can delete it. You can disassociate the set of DHCP options by associating either a new set of options or the default set of options with the VPC.</p>
     */ public deleteDhcpOptions ( args , options ? ) ; public deleteDhcpOptions ( args , cb ) ; public deleteDhcpOptions ( args , options , cb ) ; public deleteDhcpOptions ( args , optionsOrCb ? , cb ? ) { const command = new DeleteDhcpOptionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes an egress-only internet gateway.</p>
     */ public deleteEgressOnlyInternetGateway ( args , options ? ) ; public deleteEgressOnlyInternetGateway ( args , cb ) ; public deleteEgressOnlyInternetGateway ( args , options , cb ) ; public deleteEgressOnlyInternetGateway ( args , optionsOrCb ? , cb ? ) { const command = new DeleteEgressOnlyInternetGatewayCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified EC2 Fleet.</p>
     *          <p>After you delete an EC2 Fleet, it launches no new instances.</p>
     *          <p>You must specify whether a deleted EC2 Fleet should also terminate its instances. If you
     *          choose to terminate the instances, the EC2 Fleet enters the <code>deleted_terminating</code>
     *          state. Otherwise, the EC2 Fleet enters the <code>deleted_running</code> state, and the instances
     *          continue to run until they are interrupted or you terminate them manually.</p>
     *          <p>For <code>instant</code> fleets, EC2 Fleet must terminate the instances when the fleet is
     *          deleted. A deleted <code>instant</code> fleet with running instances is not
     *          supported.</p>
     *          <p class="title">
     *             <b>Restrictions</b>
     *          </p>
     *          <ul>
     *             <li>
     *                <p>You can delete up to 25 <code>instant</code> fleets in a single request. If you exceed this
     *                number, no <code>instant</code> fleets are deleted and an error is returned. There is no
     *                restriction on the number of fleets of type <code>maintain</code> or <code>request</code> that can be deleted
     *                in a single request.</p>
     *             </li>
     *             <li>
     *                <p>Up to 1000 instances can be terminated in a single request to delete
     *                <code>instant</code> fleets.</p>
     *             </li>
     *          </ul>
     *
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#delete-fleet">Deleting an EC2
     *          Fleet</a> in the <i>Amazon EC2 User Guide</i>.</p>
     */ public deleteFleets ( args , options ? ) ; public deleteFleets ( args , cb ) ; public deleteFleets ( args , options , cb ) ; public deleteFleets ( args , optionsOrCb ? , cb ? ) { const command = new DeleteFleetsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes one or more flow logs.</p>
     */ public deleteFlowLogs ( args , options ? ) ; public deleteFlowLogs ( args , cb ) ; public deleteFlowLogs ( args , options , cb ) ; public deleteFlowLogs ( args , optionsOrCb ? , cb ? ) { const command = new DeleteFlowLogsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified Amazon FPGA Image (AFI).</p>
     */ public deleteFpgaImage ( args , options ? ) ; public deleteFpgaImage ( args , cb ) ; public deleteFpgaImage ( args , options , cb ) ; public deleteFpgaImage ( args , optionsOrCb ? , cb ? ) { const command = new DeleteFpgaImageCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified event window.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/event-windows.html">Define event windows for scheduled
     *             events</a> in the <i>Amazon EC2 User Guide</i>.</p>
     */ public deleteInstanceEventWindow ( args , options ? ) ; public deleteInstanceEventWindow ( args , cb ) ; public deleteInstanceEventWindow ( args , options , cb ) ; public deleteInstanceEventWindow ( args , optionsOrCb ? , cb ? ) { const command = new DeleteInstanceEventWindowCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified internet gateway. You must detach the internet gateway from the
     * 			VPC before you can delete it.</p>
     */ public deleteInternetGateway ( args , options ? ) ; public deleteInternetGateway ( args , cb ) ; public deleteInternetGateway ( args , options , cb ) ; public deleteInternetGateway ( args , optionsOrCb ? , cb ? ) { const command = new DeleteInternetGatewayCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Delete an IPAM. Deleting an IPAM removes all monitored data associated with the IPAM including the historical data for CIDRs.</p>
     *          <note>
     *             <p>You cannot delete an IPAM if there are CIDRs provisioned to pools or if there are allocations in the pools within the IPAM. To deprovision pool
     *                CIDRs, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DeprovisionIpamPoolCidr.html">DeprovisionIpamPoolCidr</a>. To release allocations, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ReleaseIpamPoolAllocation.html">ReleaseIpamPoolAllocation</a>.
     *             </p>
     *          </note>
     *          <p>For more information, see <a href="/vpc/latest/ipam/delete-ipam.html">Delete an IPAM</a> in the <i>Amazon VPC IPAM User Guide</i>.
     *       </p>
     */ public deleteIpam ( args , options ? ) ; public deleteIpam ( args , cb ) ; public deleteIpam ( args , options , cb ) ; public deleteIpam ( args , optionsOrCb ? , cb ? ) { const command = new DeleteIpamCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Delete an IPAM pool.</p>
     *          <note>
     *             <p>You cannot delete an IPAM pool if there are allocations in it or CIDRs provisioned to it. To release
     *          allocations, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ReleaseIpamPoolAllocation.html">ReleaseIpamPoolAllocation</a>. To deprovision pool
     *          CIDRs, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DeprovisionIpamPoolCidr.html">DeprovisionIpamPoolCidr</a>.</p>
     *          </note>
     *          <p>For more information, see <a href="/vpc/latest/ipam/delete-pool-ipam.html">Delete a pool</a> in the <i>Amazon VPC IPAM User Guide</i>.
     *       </p>
     */ public deleteIpamPool ( args , options ? ) ; public deleteIpamPool ( args , cb ) ; public deleteIpamPool ( args , options , cb ) ; public deleteIpamPool ( args , optionsOrCb ? , cb ? ) { const command = new DeleteIpamPoolCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Delete the scope for an IPAM. You cannot delete the default scopes.</p>
     *          <p>For more information, see <a href="/vpc/latest/ipam/delete-scope-ipam.html">Delete a scope</a> in the <i>Amazon VPC IPAM User Guide</i>.
     *       </p>
     */ public deleteIpamScope ( args , options ? ) ; public deleteIpamScope ( args , cb ) ; public deleteIpamScope ( args , options , cb ) ; public deleteIpamScope ( args , optionsOrCb ? , cb ? ) { const command = new DeleteIpamScopeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified key pair, by removing the public key from Amazon EC2.</p>
     */ public deleteKeyPair ( args , options ? ) ; public deleteKeyPair ( args , cb ) ; public deleteKeyPair ( args , options , cb ) ; public deleteKeyPair ( args , optionsOrCb ? , cb ? ) { const command = new DeleteKeyPairCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a launch template. Deleting a launch template deletes all of its versions.</p>
     */ public deleteLaunchTemplate ( args , options ? ) ; public deleteLaunchTemplate ( args , cb ) ; public deleteLaunchTemplate ( args , options , cb ) ; public deleteLaunchTemplate ( args , optionsOrCb ? , cb ? ) { const command = new DeleteLaunchTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes one or more versions of a launch template. You cannot delete the default
     *             version of a launch template; you must first assign a different version as the default.
     *             If the default version is the only version for the launch template, you must delete the
     *             entire launch template using <a>DeleteLaunchTemplate</a>.</p>
     */ public deleteLaunchTemplateVersions ( args , options ? ) ; public deleteLaunchTemplateVersions ( args , cb ) ; public deleteLaunchTemplateVersions ( args , options , cb ) ; public deleteLaunchTemplateVersions ( args , optionsOrCb ? , cb ? ) { const command = new DeleteLaunchTemplateVersionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified route from the specified local gateway route table.</p>
     */ public deleteLocalGatewayRoute ( args , options ? ) ; public deleteLocalGatewayRoute ( args , cb ) ; public deleteLocalGatewayRoute ( args , options , cb ) ; public deleteLocalGatewayRoute ( args , optionsOrCb ? , cb ? ) { const command = new DeleteLocalGatewayRouteCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified association between a VPC and local gateway route table.</p>
     */ public deleteLocalGatewayRouteTableVpcAssociation ( args , options ? ) ; public deleteLocalGatewayRouteTableVpcAssociation ( args , cb ) ; public deleteLocalGatewayRouteTableVpcAssociation ( args , options , cb ) ; public deleteLocalGatewayRouteTableVpcAssociation ( args , optionsOrCb ? , cb ? ) { const command = new DeleteLocalGatewayRouteTableVpcAssociationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified managed prefix list. You must first remove all references to the prefix list in your resources.</p>
     */ public deleteManagedPrefixList ( args , options ? ) ; public deleteManagedPrefixList ( args , cb ) ; public deleteManagedPrefixList ( args , options , cb ) ; public deleteManagedPrefixList ( args , optionsOrCb ? , cb ? ) { const command = new DeleteManagedPrefixListCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified NAT gateway. Deleting a public NAT gateway disassociates its Elastic IP address,
     *           but does not release the address from your account. Deleting a NAT gateway does not delete any NAT gateway
     *           routes in your route tables.</p>
     */ public deleteNatGateway ( args , options ? ) ; public deleteNatGateway ( args , cb ) ; public deleteNatGateway ( args , options , cb ) ; public deleteNatGateway ( args , optionsOrCb ? , cb ? ) { const command = new DeleteNatGatewayCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified network ACL. You can't delete the ACL if it's associated with any subnets. You can't delete the default network ACL.</p>
     */ public deleteNetworkAcl ( args , options ? ) ; public deleteNetworkAcl ( args , cb ) ; public deleteNetworkAcl ( args , options , cb ) ; public deleteNetworkAcl ( args , optionsOrCb ? , cb ? ) { const command = new DeleteNetworkAclCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified ingress or egress entry (rule) from the specified network ACL.</p>
     */ public deleteNetworkAclEntry ( args , options ? ) ; public deleteNetworkAclEntry ( args , cb ) ; public deleteNetworkAclEntry ( args , options , cb ) ; public deleteNetworkAclEntry ( args , optionsOrCb ? , cb ? ) { const command = new DeleteNetworkAclEntryCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified Network Access Scope.</p>
     */ public deleteNetworkInsightsAccessScope ( args , options ? ) ; public deleteNetworkInsightsAccessScope ( args , cb ) ; public deleteNetworkInsightsAccessScope ( args , options , cb ) ; public deleteNetworkInsightsAccessScope ( args , optionsOrCb ? , cb ? ) { const command = new DeleteNetworkInsightsAccessScopeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified Network Access Scope analysis.</p>
     */ public deleteNetworkInsightsAccessScopeAnalysis ( args , options ? ) ; public deleteNetworkInsightsAccessScopeAnalysis ( args , cb ) ; public deleteNetworkInsightsAccessScopeAnalysis ( args , options , cb ) ; public deleteNetworkInsightsAccessScopeAnalysis ( args , optionsOrCb ? , cb ? ) { const command = new DeleteNetworkInsightsAccessScopeAnalysisCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified network insights analysis.</p>
     */ public deleteNetworkInsightsAnalysis ( args , options ? ) ; public deleteNetworkInsightsAnalysis ( args , cb ) ; public deleteNetworkInsightsAnalysis ( args , options , cb ) ; public deleteNetworkInsightsAnalysis ( args , optionsOrCb ? , cb ? ) { const command = new DeleteNetworkInsightsAnalysisCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified path.</p>
     */ public deleteNetworkInsightsPath ( args , options ? ) ; public deleteNetworkInsightsPath ( args , cb ) ; public deleteNetworkInsightsPath ( args , options , cb ) ; public deleteNetworkInsightsPath ( args , optionsOrCb ? , cb ? ) { const command = new DeleteNetworkInsightsPathCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified network interface. You must detach the network interface before you can delete it.</p>
     */ public deleteNetworkInterface ( args , options ? ) ; public deleteNetworkInterface ( args , cb ) ; public deleteNetworkInterface ( args , options , cb ) ; public deleteNetworkInterface ( args , optionsOrCb ? , cb ? ) { const command = new DeleteNetworkInterfaceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a permission for a network interface. By default, you cannot delete the
     * 			permission if the account for which you're removing the permission has attached the
     * 			network interface to an instance. However, you can force delete the permission,
     * 			regardless of any attachment.</p>
     */ public deleteNetworkInterfacePermission ( args , options ? ) ; public deleteNetworkInterfacePermission ( args , cb ) ; public deleteNetworkInterfacePermission ( args , options , cb ) ; public deleteNetworkInterfacePermission ( args , optionsOrCb ? , cb ? ) { const command = new DeleteNetworkInterfacePermissionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified placement group. You must terminate all instances in the
     *             placement group before you can delete the placement group. For more information, see
     *                 <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html">Placement groups</a> in the <i>Amazon EC2 User Guide</i>.</p>
     */ public deletePlacementGroup ( args , options ? ) ; public deletePlacementGroup ( args , cb ) ; public deletePlacementGroup ( args , options , cb ) ; public deletePlacementGroup ( args , optionsOrCb ? , cb ? ) { const command = new DeletePlacementGroupCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Delete a public IPv4 pool. A public IPv4 pool is an EC2 IP address pool required for the public IPv4 CIDRs that you own and bring to Amazon Web Services to manage with IPAM. IPv6 addresses you bring to Amazon Web Services, however, use IPAM pools only.</p>
     */ public deletePublicIpv4Pool ( args , options ? ) ; public deletePublicIpv4Pool ( args , cb ) ; public deletePublicIpv4Pool ( args , options , cb ) ; public deletePublicIpv4Pool ( args , optionsOrCb ? , cb ? ) { const command = new DeletePublicIpv4PoolCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the queued purchases for the specified Reserved Instances.</p>
     */ public deleteQueuedReservedInstances ( args , options ? ) ; public deleteQueuedReservedInstances ( args , cb ) ; public deleteQueuedReservedInstances ( args , options , cb ) ; public deleteQueuedReservedInstances ( args , optionsOrCb ? , cb ? ) { const command = new DeleteQueuedReservedInstancesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified route from the specified route table.</p>
     */ public deleteRoute ( args , options ? ) ; public deleteRoute ( args , cb ) ; public deleteRoute ( args , options , cb ) ; public deleteRoute ( args , optionsOrCb ? , cb ? ) { const command = new DeleteRouteCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified route table. You must disassociate the route table from any subnets before you can delete it. You can't delete the main route table.</p>
     */ public deleteRouteTable ( args , options ? ) ; public deleteRouteTable ( args , cb ) ; public deleteRouteTable ( args , options , cb ) ; public deleteRouteTable ( args , optionsOrCb ? , cb ? ) { const command = new DeleteRouteTableCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a security group.</p>
     *          <p>If you attempt to delete a security group that is associated with an instance, or is
     * 			  referenced by another security group, the operation fails with
     * 				<code>InvalidGroup.InUse</code> in EC2-Classic or
     * 				<code>DependencyViolation</code> in EC2-VPC.</p>
     */ public deleteSecurityGroup ( args , options ? ) ; public deleteSecurityGroup ( args , cb ) ; public deleteSecurityGroup ( args , options , cb ) ; public deleteSecurityGroup ( args , optionsOrCb ? , cb ? ) { const command = new DeleteSecurityGroupCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified snapshot.</p>
     *          <p>When you make periodic snapshots of a volume, the snapshots are incremental, and only the
     *       blocks on the device that have changed since your last snapshot are saved in the new snapshot.
     *       When you delete a snapshot, only the data not needed for any other snapshot is removed. So
     *       regardless of which prior snapshots have been deleted, all active snapshots will have access
     *       to all the information needed to restore the volume.</p>
     *          <p>You cannot delete a snapshot of the root device of an EBS volume used by a registered AMI.
     *       You must first de-register the AMI before you can delete the snapshot.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-deleting-snapshot.html">Delete an Amazon EBS snapshot</a> in the
     *         <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public deleteSnapshot ( args , options ? ) ; public deleteSnapshot ( args , cb ) ; public deleteSnapshot ( args , options , cb ) ; public deleteSnapshot ( args , optionsOrCb ? , cb ? ) { const command = new DeleteSnapshotCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the data feed for Spot Instances.</p>
     */ public deleteSpotDatafeedSubscription ( args , options ? ) ; public deleteSpotDatafeedSubscription ( args , cb ) ; public deleteSpotDatafeedSubscription ( args , options , cb ) ; public deleteSpotDatafeedSubscription ( args , optionsOrCb ? , cb ? ) { const command = new DeleteSpotDatafeedSubscriptionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified subnet. You must terminate all running instances in the subnet before you can delete the subnet.</p>
     */ public deleteSubnet ( args , options ? ) ; public deleteSubnet ( args , cb ) ; public deleteSubnet ( args , options , cb ) ; public deleteSubnet ( args , optionsOrCb ? , cb ? ) { const command = new DeleteSubnetCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a subnet CIDR reservation.</p>
     */ public deleteSubnetCidrReservation ( args , options ? ) ; public deleteSubnetCidrReservation ( args , cb ) ; public deleteSubnetCidrReservation ( args , options , cb ) ; public deleteSubnetCidrReservation ( args , optionsOrCb ? , cb ? ) { const command = new DeleteSubnetCidrReservationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified set of tags from the specified set of resources.</p>
     *          <p>To list the current tags, use <a>DescribeTags</a>. For more information about tags, see
     *          <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html">Tagging Your Resources</a>
     *          in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public deleteTags ( args , options ? ) ; public deleteTags ( args , cb ) ; public deleteTags ( args , options , cb ) ; public deleteTags ( args , optionsOrCb ? , cb ? ) { const command = new DeleteTagsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified Traffic Mirror filter.</p>
     *          <p>You cannot delete a Traffic Mirror filter that is in use by a Traffic Mirror session.</p>
     */ public deleteTrafficMirrorFilter ( args , options ? ) ; public deleteTrafficMirrorFilter ( args , cb ) ; public deleteTrafficMirrorFilter ( args , options , cb ) ; public deleteTrafficMirrorFilter ( args , optionsOrCb ? , cb ? ) { const command = new DeleteTrafficMirrorFilterCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified Traffic Mirror rule.</p>
     */ public deleteTrafficMirrorFilterRule ( args , options ? ) ; public deleteTrafficMirrorFilterRule ( args , cb ) ; public deleteTrafficMirrorFilterRule ( args , options , cb ) ; public deleteTrafficMirrorFilterRule ( args , optionsOrCb ? , cb ? ) { const command = new DeleteTrafficMirrorFilterRuleCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified Traffic Mirror session.</p>
     */ public deleteTrafficMirrorSession ( args , options ? ) ; public deleteTrafficMirrorSession ( args , cb ) ; public deleteTrafficMirrorSession ( args , options , cb ) ; public deleteTrafficMirrorSession ( args , optionsOrCb ? , cb ? ) { const command = new DeleteTrafficMirrorSessionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified Traffic Mirror target.</p>
     *          <p>You cannot delete a Traffic Mirror target that is in use by a Traffic Mirror session.</p>
     */ public deleteTrafficMirrorTarget ( args , options ? ) ; public deleteTrafficMirrorTarget ( args , cb ) ; public deleteTrafficMirrorTarget ( args , options , cb ) ; public deleteTrafficMirrorTarget ( args , optionsOrCb ? , cb ? ) { const command = new DeleteTrafficMirrorTargetCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified transit gateway.</p>
     */ public deleteTransitGateway ( args , options ? ) ; public deleteTransitGateway ( args , cb ) ; public deleteTransitGateway ( args , options , cb ) ; public deleteTransitGateway ( args , optionsOrCb ? , cb ? ) { const command = new DeleteTransitGatewayCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified Connect attachment. You must first delete any Connect peers for
     *             the attachment.</p>
     */ public deleteTransitGatewayConnect ( args , options ? ) ; public deleteTransitGatewayConnect ( args , cb ) ; public deleteTransitGatewayConnect ( args , options , cb ) ; public deleteTransitGatewayConnect ( args , optionsOrCb ? , cb ? ) { const command = new DeleteTransitGatewayConnectCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified Connect peer.</p>
     */ public deleteTransitGatewayConnectPeer ( args , options ? ) ; public deleteTransitGatewayConnectPeer ( args , cb ) ; public deleteTransitGatewayConnectPeer ( args , options , cb ) ; public deleteTransitGatewayConnectPeer ( args , optionsOrCb ? , cb ? ) { const command = new DeleteTransitGatewayConnectPeerCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified transit gateway multicast domain.</p>
     */ public deleteTransitGatewayMulticastDomain ( args , options ? ) ; public deleteTransitGatewayMulticastDomain ( args , cb ) ; public deleteTransitGatewayMulticastDomain ( args , options , cb ) ; public deleteTransitGatewayMulticastDomain ( args , optionsOrCb ? , cb ? ) { const command = new DeleteTransitGatewayMulticastDomainCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a transit gateway peering attachment.</p>
     */ public deleteTransitGatewayPeeringAttachment ( args , options ? ) ; public deleteTransitGatewayPeeringAttachment ( args , cb ) ; public deleteTransitGatewayPeeringAttachment ( args , options , cb ) ; public deleteTransitGatewayPeeringAttachment ( args , optionsOrCb ? , cb ? ) { const command = new DeleteTransitGatewayPeeringAttachmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a reference (route) to a prefix list in a specified transit gateway route table.</p>
     */ public deleteTransitGatewayPrefixListReference ( args , options ? ) ; public deleteTransitGatewayPrefixListReference ( args , cb ) ; public deleteTransitGatewayPrefixListReference ( args , options , cb ) ; public deleteTransitGatewayPrefixListReference ( args , optionsOrCb ? , cb ? ) { const command = new DeleteTransitGatewayPrefixListReferenceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified route from the specified transit gateway route table.</p>
     */ public deleteTransitGatewayRoute ( args , options ? ) ; public deleteTransitGatewayRoute ( args , cb ) ; public deleteTransitGatewayRoute ( args , options , cb ) ; public deleteTransitGatewayRoute ( args , optionsOrCb ? , cb ? ) { const command = new DeleteTransitGatewayRouteCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified transit gateway route table. You must disassociate the route table from any
     *           transit gateway route tables before you can delete it.</p>
     */ public deleteTransitGatewayRouteTable ( args , options ? ) ; public deleteTransitGatewayRouteTable ( args , cb ) ; public deleteTransitGatewayRouteTable ( args , options , cb ) ; public deleteTransitGatewayRouteTable ( args , optionsOrCb ? , cb ? ) { const command = new DeleteTransitGatewayRouteTableCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified VPC attachment.</p>
     */ public deleteTransitGatewayVpcAttachment ( args , options ? ) ; public deleteTransitGatewayVpcAttachment ( args , cb ) ; public deleteTransitGatewayVpcAttachment ( args , options , cb ) ; public deleteTransitGatewayVpcAttachment ( args , optionsOrCb ? , cb ? ) { const command = new DeleteTransitGatewayVpcAttachmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified EBS volume. The volume must be in the <code>available</code> state
     *       (not attached to an instance).</p>
     *          <p>The volume can remain in the <code>deleting</code> state for several minutes.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-deleting-volume.html">Delete an Amazon EBS volume</a> in the
     *         <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public deleteVolume ( args , options ? ) ; public deleteVolume ( args , cb ) ; public deleteVolume ( args , options , cb ) ; public deleteVolume ( args , optionsOrCb ? , cb ? ) { const command = new DeleteVolumeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified VPC. You must detach or delete all gateways and resources that are associated with the VPC before you can delete it. For example, you must terminate all instances running in the VPC, delete all security groups associated with the VPC (except the default one), delete all route tables associated with the VPC (except the default one), and so on.</p>
     */ public deleteVpc ( args , options ? ) ; public deleteVpc ( args , cb ) ; public deleteVpc ( args , options , cb ) ; public deleteVpc ( args , optionsOrCb ? , cb ? ) { const command = new DeleteVpcCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes one or more VPC endpoint connection notifications.</p>
     */ public deleteVpcEndpointConnectionNotifications ( args , options ? ) ; public deleteVpcEndpointConnectionNotifications ( args , cb ) ; public deleteVpcEndpointConnectionNotifications ( args , options , cb ) ; public deleteVpcEndpointConnectionNotifications ( args , optionsOrCb ? , cb ? ) { const command = new DeleteVpcEndpointConnectionNotificationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes one or more specified VPC endpoints. You can delete any of the following types of VPC endpoints.  </p>
     *         <ul>
     *             <li>
     *                <p>Gateway endpoint,</p>
     *             </li>
     *             <li>
     *                <p>Gateway Load Balancer endpoint,</p>
     *             </li>
     *             <li>
     *                <p>Interface endpoint</p>
     *             </li>
     *          </ul>
     *         <p>The following rules apply when you delete a VPC endpoint:</p>
     *         <ul>
     *             <li>
     *                 <p>When you delete a gateway endpoint, we delete the endpoint routes in the route tables that are associated with the endpoint.</p>
     *             </li>
     *             <li>
     *                 <p>When you delete a Gateway Load Balancer endpoint, we delete the endpoint network interfaces. </p>
     *                 <p>You can only delete Gateway Load Balancer endpoints when the routes that are associated with the endpoint are deleted.</p>
     *             </li>
     *             <li>
     *                 <p>When you delete an interface endpoint, we delete the  endpoint network interfaces.</p>
     *             </li>
     *          </ul>
     */ public deleteVpcEndpoints ( args , options ? ) ; public deleteVpcEndpoints ( args , cb ) ; public deleteVpcEndpoints ( args , options , cb ) ; public deleteVpcEndpoints ( args , optionsOrCb ? , cb ? ) { const command = new DeleteVpcEndpointsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes one or more VPC endpoint service configurations in your account. Before you
     *             delete the endpoint service configuration, you must reject any <code>Available</code> or
     *                 <code>PendingAcceptance</code> interface endpoint connections that are attached to
     *             the service.</p>
     */ public deleteVpcEndpointServiceConfigurations ( args , options ? ) ; public deleteVpcEndpointServiceConfigurations ( args , cb ) ; public deleteVpcEndpointServiceConfigurations ( args , options , cb ) ; public deleteVpcEndpointServiceConfigurations ( args , optionsOrCb ? , cb ? ) { const command = new DeleteVpcEndpointServiceConfigurationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a VPC peering connection. Either the owner of the requester VPC or the owner
     *             of the accepter VPC can delete the VPC peering connection if it's in the
     *                 <code>active</code> state. The owner of the requester VPC can delete a VPC peering
     *             connection in the <code>pending-acceptance</code> state. You cannot delete a VPC peering
     *             connection that's in the <code>failed</code> state.</p>
     */ public deleteVpcPeeringConnection ( args , options ? ) ; public deleteVpcPeeringConnection ( args , cb ) ; public deleteVpcPeeringConnection ( args , options , cb ) ; public deleteVpcPeeringConnection ( args , optionsOrCb ? , cb ? ) { const command = new DeleteVpcPeeringConnectionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified VPN connection.</p>
     *         <p>If you're deleting the VPC and its associated components, we recommend that you detach
     *             the virtual private gateway from the VPC and delete the VPC before deleting the VPN
     *             connection. If you believe that the tunnel credentials for your VPN connection have been
     *             compromised, you can delete the VPN connection and create a new one that has new keys,
     *             without needing to delete the VPC or virtual private gateway. If you create a new VPN
     *             connection, you must reconfigure the customer gateway device using the new configuration
     *             information returned with the new VPN connection ID.</p>
     *         <p>For certificate-based authentication, delete all Certificate Manager (ACM) private
     *             certificates used for the Amazon Web Services-side tunnel endpoints for the VPN
     *             connection before deleting the VPN connection.</p>
     */ public deleteVpnConnection ( args , options ? ) ; public deleteVpnConnection ( args , cb ) ; public deleteVpnConnection ( args , options , cb ) ; public deleteVpnConnection ( args , optionsOrCb ? , cb ? ) { const command = new DeleteVpnConnectionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified static route associated with a VPN connection between an
     *             existing virtual private gateway and a VPN customer gateway. The static route allows
     *             traffic to be routed from the virtual private gateway to the VPN customer
     *             gateway.</p>
     */ public deleteVpnConnectionRoute ( args , options ? ) ; public deleteVpnConnectionRoute ( args , cb ) ; public deleteVpnConnectionRoute ( args , options , cb ) ; public deleteVpnConnectionRoute ( args , optionsOrCb ? , cb ? ) { const command = new DeleteVpnConnectionRouteCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified virtual private gateway. You must first detach the virtual
     *             private gateway from the VPC. Note that you don't need to delete the virtual private
     *             gateway if you plan to delete and recreate the VPN connection between your VPC and your
     *             network.</p>
     */ public deleteVpnGateway ( args , options ? ) ; public deleteVpnGateway ( args , cb ) ; public deleteVpnGateway ( args , options , cb ) ; public deleteVpnGateway ( args , optionsOrCb ? , cb ? ) { const command = new DeleteVpnGatewayCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Releases the specified address range that you provisioned for use with your Amazon Web Services resources
     *          through bring your own IP addresses (BYOIP) and deletes the corresponding address pool.</p>
     *          <p>Before you can release an address range, you must stop advertising it using <a>WithdrawByoipCidr</a> and you must not have any IP addresses allocated from its
     *          address range.</p>
     */ public deprovisionByoipCidr ( args , options ? ) ; public deprovisionByoipCidr ( args , cb ) ; public deprovisionByoipCidr ( args , options , cb ) ; public deprovisionByoipCidr ( args , optionsOrCb ? , cb ? ) { const command = new DeprovisionByoipCidrCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deprovision a CIDR provisioned from an IPAM pool. If you deprovision a CIDR from a pool that has a source pool, the CIDR is recycled back into the source pool. For more information, see <a href="/vpc/latest/ipam/depro-pool-cidr-ipam.html">Deprovision pool CIDRs</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
     */ public deprovisionIpamPoolCidr ( args , options ? ) ; public deprovisionIpamPoolCidr ( args , cb ) ; public deprovisionIpamPoolCidr ( args , options , cb ) ; public deprovisionIpamPoolCidr ( args , optionsOrCb ? , cb ? ) { const command = new DeprovisionIpamPoolCidrCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deprovision a CIDR from a public IPv4 pool.</p>
     */ public deprovisionPublicIpv4PoolCidr ( args , options ? ) ; public deprovisionPublicIpv4PoolCidr ( args , cb ) ; public deprovisionPublicIpv4PoolCidr ( args , options , cb ) ; public deprovisionPublicIpv4PoolCidr ( args , optionsOrCb ? , cb ? ) { const command = new DeprovisionPublicIpv4PoolCidrCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deregisters the specified AMI. After you deregister an AMI, it can't be used to launch
     * 			new instances; however, it doesn't affect any instances that you've already launched
     * 			from the AMI. You'll continue to incur usage costs for those instances until you
     * 			terminate them.</p>
     *    	     <p>When you deregister an Amazon EBS-backed AMI, it doesn't affect the snapshot that was
     * 			created for the root volume of the instance during the AMI creation process. When you
     * 			deregister an instance store-backed AMI, it doesn't affect the files that you uploaded
     * 			to Amazon S3 when you created the AMI.</p>
     */ public deregisterImage ( args , options ? ) ; public deregisterImage ( args , cb ) ; public deregisterImage ( args , options , cb ) ; public deregisterImage ( args , optionsOrCb ? , cb ? ) { const command = new DeregisterImageCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>c</p>
     *    	     <p>Deregisters tag keys to prevent tags that have the specified tag keys from being included
     * 			in scheduled event notifications for resources in the Region.</p>
     */ public deregisterInstanceEventNotificationAttributes ( args , options ? ) ; public deregisterInstanceEventNotificationAttributes ( args , cb ) ; public deregisterInstanceEventNotificationAttributes ( args , options , cb ) ; public deregisterInstanceEventNotificationAttributes ( args , optionsOrCb ? , cb ? ) { const command = new DeregisterInstanceEventNotificationAttributesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deregisters the specified members (network interfaces) from the  transit gateway multicast group.</p>
     */ public deregisterTransitGatewayMulticastGroupMembers ( args , options ? ) ; public deregisterTransitGatewayMulticastGroupMembers ( args , cb ) ; public deregisterTransitGatewayMulticastGroupMembers ( args , options , cb ) ; public deregisterTransitGatewayMulticastGroupMembers ( args , optionsOrCb ? , cb ? ) { const command = new DeregisterTransitGatewayMulticastGroupMembersCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deregisters the specified sources (network interfaces) from the  transit gateway multicast group.</p>
     */ public deregisterTransitGatewayMulticastGroupSources ( args , options ? ) ; public deregisterTransitGatewayMulticastGroupSources ( args , cb ) ; public deregisterTransitGatewayMulticastGroupSources ( args , options , cb ) ; public deregisterTransitGatewayMulticastGroupSources ( args , optionsOrCb ? , cb ? ) { const command = new DeregisterTransitGatewayMulticastGroupSourcesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes attributes of your Amazon Web Services account. The following are the supported account attributes:</p>
     *          <ul>
     *             <li>
     *                <p>
     *                   <code>supported-platforms</code>: Indicates whether your account can launch instances
     *           into EC2-Classic and EC2-VPC, or only into EC2-VPC.</p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>default-vpc</code>: The ID of the default VPC for your account, or
     *             <code>none</code>.</p>
     *             </li>
     *             <li>
     *                <p>
     *                     <code>max-instances</code>: This attribute is no longer supported. The returned
     *                     value does not reflect your actual vCPU limit for running On-Demand Instances.
     *                     For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-on-demand-instances.html#ec2-on-demand-instances-limits">On-Demand Instance Limits</a> in the
     *                         <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>vpc-max-security-groups-per-interface</code>: The maximum number of security groups
     *           that you can assign to a network interface.</p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>max-elastic-ips</code>: The maximum number of Elastic IP addresses that you can
     *           allocate for use with EC2-Classic. </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>vpc-max-elastic-ips</code>: The maximum number of Elastic IP addresses that you can
     *           allocate for use with EC2-VPC.</p>
     *             </li>
     *          </ul>
     */ public describeAccountAttributes ( args , options ? ) ; public describeAccountAttributes ( args , cb ) ; public describeAccountAttributes ( args , options , cb ) ; public describeAccountAttributes ( args , optionsOrCb ? , cb ? ) { const command = new DescribeAccountAttributesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the specified Elastic IP addresses or all of your Elastic IP addresses.</p>
     *          <p>An Elastic IP address is for use in either the EC2-Classic platform or in a VPC.
     * 				For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html">Elastic IP Addresses</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public describeAddresses ( args , options ? ) ; public describeAddresses ( args , cb ) ; public describeAddresses ( args , options , cb ) ; public describeAddresses ( args , optionsOrCb ? , cb ? ) { const command = new DescribeAddressesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the attributes of the specified Elastic IP addresses. For requirements, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html#Using_Elastic_Addressing_Reverse_DNS">Using reverse DNS for email applications</a>.</p>
     */ public describeAddressesAttribute ( args , options ? ) ; public describeAddressesAttribute ( args , cb ) ; public describeAddressesAttribute ( args , options , cb ) ; public describeAddressesAttribute ( args , optionsOrCb ? , cb ? ) { const command = new DescribeAddressesAttributeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the longer ID format settings for all resource types in a specific
     *          Region. This request is useful for performing a quick audit to determine whether a
     *          specific Region is fully opted in for longer IDs (17-character IDs).</p>
     *
     *          <p>This request only returns information about resource types that support longer IDs.</p>
     *          <p>The following resource types support longer IDs: <code>bundle</code> |
     *         <code>conversion-task</code> | <code>customer-gateway</code> | <code>dhcp-options</code> |
     *         <code>elastic-ip-allocation</code> | <code>elastic-ip-association</code> |
     *         <code>export-task</code> | <code>flow-log</code> | <code>image</code> |
     *         <code>import-task</code> | <code>instance</code> | <code>internet-gateway</code> |
     *         <code>network-acl</code> | <code>network-acl-association</code> |
     *         <code>network-interface</code> | <code>network-interface-attachment</code> |
     *         <code>prefix-list</code> | <code>reservation</code> | <code>route-table</code> |
     *         <code>route-table-association</code> | <code>security-group</code> |
     *         <code>snapshot</code> | <code>subnet</code> |
     *         <code>subnet-cidr-block-association</code> | <code>volume</code> | <code>vpc</code> |
     *         <code>vpc-cidr-block-association</code> | <code>vpc-endpoint</code> |
     *         <code>vpc-peering-connection</code> | <code>vpn-connection</code> | <code>vpn-gateway</code>.</p>
     */ public describeAggregateIdFormat ( args , options ? ) ; public describeAggregateIdFormat ( args , cb ) ; public describeAggregateIdFormat ( args , options , cb ) ; public describeAggregateIdFormat ( args , optionsOrCb ? , cb ? ) { const command = new DescribeAggregateIdFormatCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the Availability Zones, Local Zones, and Wavelength Zones that are available to
     *       you. If there is an event impacting a zone, you can use this request to view the state and any
     *       provided messages for that zone.</p>
     *          <p>For more information about Availability Zones, Local Zones, and Wavelength Zones, see
     *         <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html">Regions and zones</a>
     *       in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public describeAvailabilityZones ( args , options ? ) ; public describeAvailabilityZones ( args , cb ) ; public describeAvailabilityZones ( args , options , cb ) ; public describeAvailabilityZones ( args , optionsOrCb ? , cb ? ) { const command = new DescribeAvailabilityZonesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the specified bundle tasks or all of your bundle tasks.</p>
     *          <note>
     *             <p>Completed bundle tasks are listed for only a limited time. If your bundle task is no longer in the list, you can still register an AMI from it. Just use <code>RegisterImage</code> with the Amazon S3 bucket name and image manifest name you provided to the bundle task.</p>
     *          </note>
     */ public describeBundleTasks ( args , options ? ) ; public describeBundleTasks ( args , cb ) ; public describeBundleTasks ( args , options , cb ) ; public describeBundleTasks ( args , optionsOrCb ? , cb ? ) { const command = new DescribeBundleTasksCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the IP address ranges that were specified in calls to <a>ProvisionByoipCidr</a>.</p>
     *          <p>To describe the address pools that were created when you provisioned the address
     *           ranges, use <a>DescribePublicIpv4Pools</a> or <a>DescribeIpv6Pools</a>.</p>
     */ public describeByoipCidrs ( args , options ? ) ; public describeByoipCidrs ( args , cb ) ; public describeByoipCidrs ( args , options , cb ) ; public describeByoipCidrs ( args , optionsOrCb ? , cb ? ) { const command = new DescribeByoipCidrsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more Capacity Reservation Fleets.</p>
     */ public describeCapacityReservationFleets ( args , options ? ) ; public describeCapacityReservationFleets ( args , cb ) ; public describeCapacityReservationFleets ( args , options , cb ) ; public describeCapacityReservationFleets ( args , optionsOrCb ? , cb ? ) { const command = new DescribeCapacityReservationFleetsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more of your Capacity Reservations. The results describe only the Capacity Reservations in the
     * 		    	Amazon Web Services Region that you're currently using.</p>
     */ public describeCapacityReservations ( args , options ? ) ; public describeCapacityReservations ( args , cb ) ; public describeCapacityReservations ( args , options , cb ) ; public describeCapacityReservations ( args , optionsOrCb ? , cb ? ) { const command = new DescribeCapacityReservationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more of your carrier gateways.</p>
     */ public describeCarrierGateways ( args , options ? ) ; public describeCarrierGateways ( args , cb ) ; public describeCarrierGateways ( args , options , cb ) ; public describeCarrierGateways ( args , optionsOrCb ? , cb ? ) { const command = new DescribeCarrierGatewaysCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more of your linked EC2-Classic instances. This request only returns
     * 			information about EC2-Classic instances linked to a VPC through ClassicLink. You cannot
     * 			use this request to return information about other instances.</p>
     */ public describeClassicLinkInstances ( args , options ? ) ; public describeClassicLinkInstances ( args , cb ) ; public describeClassicLinkInstances ( args , options , cb ) ; public describeClassicLinkInstances ( args , optionsOrCb ? , cb ? ) { const command = new DescribeClassicLinkInstancesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the authorization rules for a specified Client VPN endpoint.</p>
     */ public describeClientVpnAuthorizationRules ( args , options ? ) ; public describeClientVpnAuthorizationRules ( args , cb ) ; public describeClientVpnAuthorizationRules ( args , options , cb ) ; public describeClientVpnAuthorizationRules ( args , optionsOrCb ? , cb ? ) { const command = new DescribeClientVpnAuthorizationRulesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes active client connections and connections that have been terminated within the last 60
     * 			minutes for the specified Client VPN endpoint.</p>
     */ public describeClientVpnConnections ( args , options ? ) ; public describeClientVpnConnections ( args , cb ) ; public describeClientVpnConnections ( args , options , cb ) ; public describeClientVpnConnections ( args , optionsOrCb ? , cb ? ) { const command = new DescribeClientVpnConnectionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more Client VPN endpoints in the account.</p>
     */ public describeClientVpnEndpoints ( args , options ? ) ; public describeClientVpnEndpoints ( args , cb ) ; public describeClientVpnEndpoints ( args , options , cb ) ; public describeClientVpnEndpoints ( args , optionsOrCb ? , cb ? ) { const command = new DescribeClientVpnEndpointsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the routes for the specified Client VPN endpoint.</p>
     */ public describeClientVpnRoutes ( args , options ? ) ; public describeClientVpnRoutes ( args , cb ) ; public describeClientVpnRoutes ( args , options , cb ) ; public describeClientVpnRoutes ( args , optionsOrCb ? , cb ? ) { const command = new DescribeClientVpnRoutesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the target networks associated with the specified Client VPN endpoint.</p>
     */ public describeClientVpnTargetNetworks ( args , options ? ) ; public describeClientVpnTargetNetworks ( args , cb ) ; public describeClientVpnTargetNetworks ( args , options , cb ) ; public describeClientVpnTargetNetworks ( args , optionsOrCb ? , cb ? ) { const command = new DescribeClientVpnTargetNetworksCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the specified customer-owned address pools or all of your customer-owned address pools.</p>
     */ public describeCoipPools ( args , options ? ) ; public describeCoipPools ( args , cb ) ; public describeCoipPools ( args , options , cb ) ; public describeCoipPools ( args , optionsOrCb ? , cb ? ) { const command = new DescribeCoipPoolsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the specified conversion tasks or all your conversion tasks. For more information, see the
     *    <a href="https://docs.aws.amazon.com/vm-import/latest/userguide/">VM Import/Export User Guide</a>.</p>
     *          <p>For information about the import manifest referenced by this API action, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html">VM Import Manifest</a>.</p>
     */ public describeConversionTasks ( args , options ? ) ; public describeConversionTasks ( args , cb ) ; public describeConversionTasks ( args , options , cb ) ; public describeConversionTasks ( args , optionsOrCb ? , cb ? ) { const command = new DescribeConversionTasksCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more of your VPN customer gateways.</p>
     *         <p>For more information, see <a href="https://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html">Amazon Web Services Site-to-Site VPN</a> in the <i>Amazon Web Services Site-to-Site VPN
     *                 User Guide</i>.</p>
     */ public describeCustomerGateways ( args , options ? ) ; public describeCustomerGateways ( args , cb ) ; public describeCustomerGateways ( args , options , cb ) ; public describeCustomerGateways ( args , optionsOrCb ? , cb ? ) { const command = new DescribeCustomerGatewaysCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more of your DHCP options sets.</p>
     * 		       <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_DHCP_Options.html">DHCP options sets</a> in the
     * 				<i>Amazon Virtual Private Cloud User Guide</i>.</p>
     */ public describeDhcpOptions ( args , options ? ) ; public describeDhcpOptions ( args , cb ) ; public describeDhcpOptions ( args , options , cb ) ; public describeDhcpOptions ( args , optionsOrCb ? , cb ? ) { const command = new DescribeDhcpOptionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more of your egress-only internet gateways.</p>
     */ public describeEgressOnlyInternetGateways ( args , options ? ) ; public describeEgressOnlyInternetGateways ( args , cb ) ; public describeEgressOnlyInternetGateways ( args , options , cb ) ; public describeEgressOnlyInternetGateways ( args , optionsOrCb ? , cb ? ) { const command = new DescribeEgressOnlyInternetGatewaysCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the Elastic Graphics accelerator associated with your instances. For more information
     *             about Elastic Graphics, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/elastic-graphics.html">Amazon Elastic Graphics</a>.</p>
     */ public describeElasticGpus ( args , options ? ) ; public describeElasticGpus ( args , cb ) ; public describeElasticGpus ( args , options , cb ) ; public describeElasticGpus ( args , optionsOrCb ? , cb ? ) { const command = new DescribeElasticGpusCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the specified export image tasks or all of your export image tasks.</p>
     */ public describeExportImageTasks ( args , options ? ) ; public describeExportImageTasks ( args , cb ) ; public describeExportImageTasks ( args , options , cb ) ; public describeExportImageTasks ( args , optionsOrCb ? , cb ? ) { const command = new DescribeExportImageTasksCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the specified export instance tasks or all of your export instance tasks.</p>
     */ public describeExportTasks ( args , options ? ) ; public describeExportTasks ( args , cb ) ; public describeExportTasks ( args , options , cb ) ; public describeExportTasks ( args , optionsOrCb ? , cb ? ) { const command = new DescribeExportTasksCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the state of fast snapshot restores for your snapshots.</p>
     */ public describeFastSnapshotRestores ( args , options ? ) ; public describeFastSnapshotRestores ( args , cb ) ; public describeFastSnapshotRestores ( args , options , cb ) ; public describeFastSnapshotRestores ( args , optionsOrCb ? , cb ? ) { const command = new DescribeFastSnapshotRestoresCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the events for the specified EC2 Fleet during the specified time.</p>
     *          <p>EC2 Fleet events are delayed by up to 30 seconds before they can be described. This ensures
     *          that you can query by the last evaluated time and not miss a recorded event. EC2 Fleet events
     *          are available for 48 hours.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/fleet-monitor.html">Monitor fleet events using Amazon EventBridge</a> in the
     *             <i>Amazon EC2 User Guide</i>.</p>
     */ public describeFleetHistory ( args , options ? ) ; public describeFleetHistory ( args , cb ) ; public describeFleetHistory ( args , options , cb ) ; public describeFleetHistory ( args , optionsOrCb ? , cb ? ) { const command = new DescribeFleetHistoryCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the running instances for the specified EC2 Fleet.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet.html#monitor-ec2-fleet">Monitoring your EC2 Fleet</a> in the <i>Amazon EC2 User Guide</i>.</p>
     */ public describeFleetInstances ( args , options ? ) ; public describeFleetInstances ( args , cb ) ; public describeFleetInstances ( args , options , cb ) ; public describeFleetInstances ( args , optionsOrCb ? , cb ? ) { const command = new DescribeFleetInstancesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the specified EC2 Fleets or all of your EC2 Fleets.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet.html#monitor-ec2-fleet">Monitoring your EC2 Fleet</a> in the <i>Amazon EC2 User Guide</i>.</p>
     */ public describeFleets ( args , options ? ) ; public describeFleets ( args , cb ) ; public describeFleets ( args , options , cb ) ; public describeFleets ( args , optionsOrCb ? , cb ? ) { const command = new DescribeFleetsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more flow logs. To view the information in your flow logs (the log
     *             streams for the network interfaces), you must use the CloudWatch Logs console or the CloudWatch Logs
     *             API.</p>
     */ public describeFlowLogs ( args , options ? ) ; public describeFlowLogs ( args , cb ) ; public describeFlowLogs ( args , options , cb ) ; public describeFlowLogs ( args , optionsOrCb ? , cb ? ) { const command = new DescribeFlowLogsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the specified attribute of the specified Amazon FPGA Image (AFI).</p>
     */ public describeFpgaImageAttribute ( args , options ? ) ; public describeFpgaImageAttribute ( args , cb ) ; public describeFpgaImageAttribute ( args , options , cb ) ; public describeFpgaImageAttribute ( args , optionsOrCb ? , cb ? ) { const command = new DescribeFpgaImageAttributeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the Amazon FPGA Images (AFIs) available to you. These include public AFIs,
     * 			private AFIs that you own, and AFIs owned by other Amazon Web Services accounts for which you have load
     * 			permissions.</p>
     */ public describeFpgaImages ( args , options ? ) ; public describeFpgaImages ( args , cb ) ; public describeFpgaImages ( args , options , cb ) ; public describeFpgaImages ( args , optionsOrCb ? , cb ? ) { const command = new DescribeFpgaImagesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the Dedicated Host reservations that are available to purchase.</p>
     *         <p>The results describe all of the Dedicated Host reservation offerings, including
     * 			offerings that might not match the instance family and Region of your Dedicated Hosts.
     * 			When purchasing an offering, ensure that the instance family and Region of the offering
     * 			matches that of the Dedicated Hosts with which it is to be associated. For more
     * 			information about supported instance types, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-overview.html">Dedicated Hosts</a>
     *             in the <i>Amazon EC2 User Guide</i>. </p>
     */ public describeHostReservationOfferings ( args , options ? ) ; public describeHostReservationOfferings ( args , cb ) ; public describeHostReservationOfferings ( args , options , cb ) ; public describeHostReservationOfferings ( args , optionsOrCb ? , cb ? ) { const command = new DescribeHostReservationOfferingsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes reservations that are associated with Dedicated Hosts in your
     *             account.</p>
     */ public describeHostReservations ( args , options ? ) ; public describeHostReservations ( args , cb ) ; public describeHostReservations ( args , options , cb ) ; public describeHostReservations ( args , optionsOrCb ? , cb ? ) { const command = new DescribeHostReservationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the specified Dedicated Hosts or all your Dedicated Hosts.</p>
     *         <p>The results describe only the Dedicated Hosts in the Region you're currently using.
     *             All listed instances consume capacity on your Dedicated Host. Dedicated Hosts that have
     *             recently been released are listed with the state <code>released</code>.</p>
     */ public describeHosts ( args , options ? ) ; public describeHosts ( args , cb ) ; public describeHosts ( args , options , cb ) ; public describeHosts ( args , optionsOrCb ? , cb ? ) { const command = new DescribeHostsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes your IAM instance profile associations.</p>
     */ public describeIamInstanceProfileAssociations ( args , options ? ) ; public describeIamInstanceProfileAssociations ( args , cb ) ; public describeIamInstanceProfileAssociations ( args , options , cb ) ; public describeIamInstanceProfileAssociations ( args , optionsOrCb ? , cb ? ) { const command = new DescribeIamInstanceProfileAssociationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the ID format settings for resources for the specified IAM user, IAM role, or root
     *       user. For example, you can view the resource types that are enabled for longer IDs. This request only
     *       returns information about resource types whose ID formats can be modified; it does not return
     *       information about other resource types. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/resource-ids.html">Resource IDs</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>. </p>
     *          <p>The following resource types support longer IDs: <code>bundle</code> |
     *           <code>conversion-task</code> | <code>customer-gateway</code> | <code>dhcp-options</code> |
     *           <code>elastic-ip-allocation</code> | <code>elastic-ip-association</code> |
     *           <code>export-task</code> | <code>flow-log</code> | <code>image</code> |
     *           <code>import-task</code> | <code>instance</code> | <code>internet-gateway</code> |
     *           <code>network-acl</code> | <code>network-acl-association</code> |
     *           <code>network-interface</code> | <code>network-interface-attachment</code> |
     *           <code>prefix-list</code> | <code>reservation</code> | <code>route-table</code> |
     *           <code>route-table-association</code> | <code>security-group</code> |
     *           <code>snapshot</code> | <code>subnet</code> |
     *           <code>subnet-cidr-block-association</code> | <code>volume</code> | <code>vpc</code>
     *           | <code>vpc-cidr-block-association</code> | <code>vpc-endpoint</code> |
     *           <code>vpc-peering-connection</code> | <code>vpn-connection</code> | <code>vpn-gateway</code>. </p>
     *          <p>These settings apply to the principal specified in the request. They do not apply to the
     *       principal that makes the request.</p>
     */ public describeIdentityIdFormat ( args , options ? ) ; public describeIdentityIdFormat ( args , cb ) ; public describeIdentityIdFormat ( args , options , cb ) ; public describeIdentityIdFormat ( args , optionsOrCb ? , cb ? ) { const command = new DescribeIdentityIdFormatCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the ID format settings for your resources on a per-Region basis, for example, to view which resource types are enabled for longer IDs. This request only returns information about resource types whose ID formats can be modified; it does not return information about other resource types.</p>
     *          <p>The following resource types support longer IDs: <code>bundle</code> |
     *            <code>conversion-task</code> | <code>customer-gateway</code> | <code>dhcp-options</code> |
     *            <code>elastic-ip-allocation</code> | <code>elastic-ip-association</code> |
     *            <code>export-task</code> | <code>flow-log</code> | <code>image</code> |
     *            <code>import-task</code> | <code>instance</code> | <code>internet-gateway</code> |
     *            <code>network-acl</code> | <code>network-acl-association</code> |
     *            <code>network-interface</code> | <code>network-interface-attachment</code> |
     *            <code>prefix-list</code> | <code>reservation</code> | <code>route-table</code> |
     *            <code>route-table-association</code> | <code>security-group</code> |
     *            <code>snapshot</code> | <code>subnet</code> |
     *            <code>subnet-cidr-block-association</code> | <code>volume</code> | <code>vpc</code>
     *            | <code>vpc-cidr-block-association</code> | <code>vpc-endpoint</code> |
     *            <code>vpc-peering-connection</code> | <code>vpn-connection</code> | <code>vpn-gateway</code>. </p>
     *          <p>These settings apply to the IAM user who makes the request; they do not apply to the entire
     *       Amazon Web Services account. By default, an IAM user defaults to the same settings as the root user, unless
     *       they explicitly override the settings by running the <a>ModifyIdFormat</a> command. Resources
     *       created with longer IDs are visible to all IAM users, regardless of these settings and
     *       provided that they have permission to use the relevant <code>Describe</code> command for the
     *       resource type.</p>
     */ public describeIdFormat ( args , options ? ) ; public describeIdFormat ( args , cb ) ; public describeIdFormat ( args , options , cb ) ; public describeIdFormat ( args , optionsOrCb ? , cb ? ) { const command = new DescribeIdFormatCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the specified attribute of the specified AMI. You can specify only one attribute at a time.</p>
     */ public describeImageAttribute ( args , options ? ) ; public describeImageAttribute ( args , cb ) ; public describeImageAttribute ( args , options , cb ) ; public describeImageAttribute ( args , optionsOrCb ? , cb ? ) { const command = new DescribeImageAttributeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the specified images (AMIs, AKIs, and ARIs) available to you or all of the images available to you.</p>
     *          <p>The images available to you include public images, private images that you own, and private images owned by other
     *        Amazon Web Services accounts for which you have explicit launch permissions.</p>
     *          <p>Recently deregistered images appear in the returned results for a short interval and then
     *       return empty results. After all instances that reference a deregistered AMI are terminated,
     *       specifying the ID of the image will eventually return an error indicating that the AMI ID
     *       cannot be found.</p>
     */ public describeImages ( args , options ? ) ; public describeImages ( args , cb ) ; public describeImages ( args , options , cb ) ; public describeImages ( args , optionsOrCb ? , cb ? ) { const command = new DescribeImagesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Displays details about an import virtual machine or import snapshot tasks that are already created.</p>
     */ public describeImportImageTasks ( args , options ? ) ; public describeImportImageTasks ( args , cb ) ; public describeImportImageTasks ( args , options , cb ) ; public describeImportImageTasks ( args , optionsOrCb ? , cb ? ) { const command = new DescribeImportImageTasksCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes your import snapshot tasks.</p>
     */ public describeImportSnapshotTasks ( args , options ? ) ; public describeImportSnapshotTasks ( args , cb ) ; public describeImportSnapshotTasks ( args , options , cb ) ; public describeImportSnapshotTasks ( args , optionsOrCb ? , cb ? ) { const command = new DescribeImportSnapshotTasksCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the specified attribute of the specified instance. You can specify only one
     *             attribute at a time. Valid attribute values are: <code>instanceType</code> |
     *                 <code>kernel</code> | <code>ramdisk</code> | <code>userData</code> |
     *                 <code>disableApiTermination</code> | <code>instanceInitiatedShutdownBehavior</code>
     *             | <code>rootDeviceName</code> | <code>blockDeviceMapping</code> |
     *                 <code>productCodes</code> | <code>sourceDestCheck</code> | <code>groupSet</code> |
     *                 <code>ebsOptimized</code> | <code>sriovNetSupport</code>
     *         </p>
     */ public describeInstanceAttribute ( args , options ? ) ; public describeInstanceAttribute ( args , cb ) ; public describeInstanceAttribute ( args , options , cb ) ; public describeInstanceAttribute ( args , optionsOrCb ? , cb ? ) { const command = new DescribeInstanceAttributeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the credit option for CPU usage of the specified burstable performance
     *             instances. The credit options are <code>standard</code> and
     *             <code>unlimited</code>.</p>
     *         <p>If you do not specify an instance ID, Amazon EC2 returns burstable performance
     *             instances with the <code>unlimited</code> credit option, as well as instances that were
     *             previously configured as T2, T3, and T3a with the <code>unlimited</code> credit option.
     *             For example, if you resize a T2 instance, while it is configured as
     *                 <code>unlimited</code>, to an M4 instance, Amazon EC2 returns the M4
     *             instance.</p>
     *         <p>If you specify one or more instance IDs, Amazon EC2 returns the credit option
     *                 (<code>standard</code> or <code>unlimited</code>) of those instances. If you specify
     *             an instance ID that is not valid, such as an instance that is not a burstable
     *             performance instance, an error is returned.</p>
     *         <p>Recently terminated instances might appear in the returned results. This interval is
     *             usually less than one hour.</p>
     *         <p>If an Availability Zone is experiencing a service disruption and you specify instance
     *             IDs in the affected zone, or do not specify any instance IDs at all, the call fails. If
     *             you specify only instance IDs in an unaffected zone, the call works normally.</p>
     *         <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html">Burstable
     *                 performance instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
     */ public describeInstanceCreditSpecifications ( args , options ? ) ; public describeInstanceCreditSpecifications ( args , cb ) ; public describeInstanceCreditSpecifications ( args , options , cb ) ; public describeInstanceCreditSpecifications ( args , optionsOrCb ? , cb ? ) { const command = new DescribeInstanceCreditSpecificationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the tag keys that are registered to appear in scheduled event notifications for
     *       	resources in the current Region.</p>
     */ public describeInstanceEventNotificationAttributes ( args , options ? ) ; public describeInstanceEventNotificationAttributes ( args , cb ) ; public describeInstanceEventNotificationAttributes ( args , options , cb ) ; public describeInstanceEventNotificationAttributes ( args , optionsOrCb ? , cb ? ) { const command = new DescribeInstanceEventNotificationAttributesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the specified event windows or all event windows.</p>
     *          <p>If you specify event window IDs, the output includes information for only the specified
     *          event windows. If you specify filters, the output includes information for only those event
     *          windows that meet the filter criteria. If you do not specify event windows IDs or filters,
     *          the output includes information for all event windows, which can affect performance. We
     *          recommend that you use pagination to ensure that the operation returns quickly and
     *          successfully. </p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/event-windows.html">Define event windows for scheduled
     *             events</a> in the <i>Amazon EC2 User Guide</i>.</p>
     */ public describeInstanceEventWindows ( args , options ? ) ; public describeInstanceEventWindows ( args , cb ) ; public describeInstanceEventWindows ( args , options , cb ) ; public describeInstanceEventWindows ( args , optionsOrCb ? , cb ? ) { const command = new DescribeInstanceEventWindowsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the specified instances or all instances.</p>
     *         <p>If you specify instance IDs, the output includes information for only the specified instances.
     *             If you specify filters, the output includes information for only those instances that meet the filter criteria.
     *             If you do not specify instance IDs or filters, the output includes information for all instances,
     *             which can affect performance. We recommend that you use pagination to ensure that the operation
     *             returns quickly and successfully.</p>
     *         <p>If you specify an instance ID that is not valid, an error is returned. If you
     *             specify an instance that you do not own, it is not included in the output.</p>
     *         <p>Recently terminated instances might appear in the returned results. This interval is
     *             usually less than one hour.</p>
     *         <p>If you describe instances in the rare case where an Availability Zone is experiencing
     *             a service disruption and you specify instance IDs that are in the affected zone, or do
     *             not specify any instance IDs at all, the call fails. If you describe instances and
     *             specify only instance IDs that are in an unaffected zone, the call works
     *             normally.</p>
     */ public describeInstances ( args , options ? ) ; public describeInstances ( args , cb ) ; public describeInstances ( args , options , cb ) ; public describeInstances ( args , optionsOrCb ? , cb ? ) { const command = new DescribeInstancesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the status of the specified instances or all of your instances. By default,
     *             only running instances are described, unless you specifically indicate to return the
     *             status of all instances.</p>
     *         <p>Instance status includes the following components:</p>
     *         <ul>
     *             <li>
     *                 <p>
     *                     <b>Status checks</b> - Amazon EC2 performs status
     *                     checks on running EC2 instances to identify hardware and software issues. For
     *                     more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-system-instance-status-check.html">Status checks for your instances</a> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstances.html">Troubleshoot
     *                         instances with failed status checks</a> in the <i>Amazon EC2 User
     *                         Guide</i>.</p>
     *             </li>
     *             <li>
     *                 <p>
     *                     <b>Scheduled events</b> - Amazon EC2 can schedule
     *                     events (such as reboot, stop, or terminate) for your instances related to
     *                     hardware issues, software updates, or system maintenance. For more information,
     *                     see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-instances-status-check_sched.html">Scheduled events for your instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
     *             </li>
     *             <li>
     *                 <p>
     *                     <b>Instance state</b> - You can manage your instances
     *                     from the moment you launch them through their termination. For more information,
     *                     see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html">Instance
     *                         lifecycle</a> in the <i>Amazon EC2 User Guide</i>.</p>
     *             </li>
     *          </ul>
     */ public describeInstanceStatus ( args , options ? ) ; public describeInstanceStatus ( args , cb ) ; public describeInstanceStatus ( args , options , cb ) ; public describeInstanceStatus ( args , optionsOrCb ? , cb ? ) { const command = new DescribeInstanceStatusCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns a list of all instance types offered. The results can be filtered by location (Region or Availability
     *    Zone). If no location is specified, the instance types offered in the current Region are returned.</p>
     */ public describeInstanceTypeOfferings ( args , options ? ) ; public describeInstanceTypeOfferings ( args , cb ) ; public describeInstanceTypeOfferings ( args , options , cb ) ; public describeInstanceTypeOfferings ( args , optionsOrCb ? , cb ? ) { const command = new DescribeInstanceTypeOfferingsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the details of the instance types that are offered in a location. The results can be filtered by the
     *    attributes of the instance types.</p>
     */ public describeInstanceTypes ( args , options ? ) ; public describeInstanceTypes ( args , cb ) ; public describeInstanceTypes ( args , options , cb ) ; public describeInstanceTypes ( args , optionsOrCb ? , cb ? ) { const command = new DescribeInstanceTypesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more of your internet gateways.</p>
     */ public describeInternetGateways ( args , options ? ) ; public describeInternetGateways ( args , cb ) ; public describeInternetGateways ( args , options , cb ) ; public describeInternetGateways ( args , optionsOrCb ? , cb ? ) { const command = new DescribeInternetGatewaysCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Get information about your IPAM pools.</p>
     */ public describeIpamPools ( args , options ? ) ; public describeIpamPools ( args , cb ) ; public describeIpamPools ( args , options , cb ) ; public describeIpamPools ( args , optionsOrCb ? , cb ? ) { const command = new DescribeIpamPoolsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Get information about your IPAM pools.</p>
     *          <p>For more information, see <a href="/vpc/latest/ipam/what-is-it-ipam.html">What is IPAM?</a> in the <i>Amazon VPC IPAM User Guide</i>.
     *       </p>
     */ public describeIpams ( args , options ? ) ; public describeIpams ( args , cb ) ; public describeIpams ( args , options , cb ) ; public describeIpams ( args , optionsOrCb ? , cb ? ) { const command = new DescribeIpamsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Get information about your IPAM scopes.</p>
     */ public describeIpamScopes ( args , options ? ) ; public describeIpamScopes ( args , cb ) ; public describeIpamScopes ( args , options , cb ) ; public describeIpamScopes ( args , optionsOrCb ? , cb ? ) { const command = new DescribeIpamScopesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes your IPv6 address pools.</p>
     */ public describeIpv6Pools ( args , options ? ) ; public describeIpv6Pools ( args , cb ) ; public describeIpv6Pools ( args , options , cb ) ; public describeIpv6Pools ( args , optionsOrCb ? , cb ? ) { const command = new DescribeIpv6PoolsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the specified key pairs or all of your key pairs.</p>
     *          <p>For more information about key pairs, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html">Amazon EC2 key pairs</a>
     * 				in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public describeKeyPairs ( args , options ? ) ; public describeKeyPairs ( args , cb ) ; public describeKeyPairs ( args , options , cb ) ; public describeKeyPairs ( args , optionsOrCb ? , cb ? ) { const command = new DescribeKeyPairsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more launch templates.</p>
     */ public describeLaunchTemplates ( args , options ? ) ; public describeLaunchTemplates ( args , cb ) ; public describeLaunchTemplates ( args , options , cb ) ; public describeLaunchTemplates ( args , optionsOrCb ? , cb ? ) { const command = new DescribeLaunchTemplatesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more versions of a specified launch template. You can describe all
     *             versions, individual versions, or a range of versions. You can also describe all the
     *             latest versions or all the default versions of all the launch templates in your
     *             account.</p>
     */ public describeLaunchTemplateVersions ( args , options ? ) ; public describeLaunchTemplateVersions ( args , cb ) ; public describeLaunchTemplateVersions ( args , options , cb ) ; public describeLaunchTemplateVersions ( args , optionsOrCb ? , cb ? ) { const command = new DescribeLaunchTemplateVersionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more local gateway route tables. By default, all local gateway route tables are described.
     *          Alternatively, you can filter the results.</p>
     */ public describeLocalGatewayRouteTables ( args , options ? ) ; public describeLocalGatewayRouteTables ( args , cb ) ; public describeLocalGatewayRouteTables ( args , options , cb ) ; public describeLocalGatewayRouteTables ( args , optionsOrCb ? , cb ? ) { const command = new DescribeLocalGatewayRouteTablesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the associations between virtual interface groups and local gateway route tables.</p>
     */ public describeLocalGatewayRouteTableVirtualInterfaceGroupAssociations ( args , options ? ) ; public describeLocalGatewayRouteTableVirtualInterfaceGroupAssociations ( args , cb ) ; public describeLocalGatewayRouteTableVirtualInterfaceGroupAssociations ( args , options , cb ) ; public describeLocalGatewayRouteTableVirtualInterfaceGroupAssociations ( args , optionsOrCb ? , cb ? ) { const command = new DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the specified associations between VPCs and local gateway route tables.</p>
     */ public describeLocalGatewayRouteTableVpcAssociations ( args , options ? ) ; public describeLocalGatewayRouteTableVpcAssociations ( args , cb ) ; public describeLocalGatewayRouteTableVpcAssociations ( args , options , cb ) ; public describeLocalGatewayRouteTableVpcAssociations ( args , optionsOrCb ? , cb ? ) { const command = new DescribeLocalGatewayRouteTableVpcAssociationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more local gateways. By default, all local gateways are described.
     *         Alternatively, you can filter the results.</p>
     */ public describeLocalGateways ( args , options ? ) ; public describeLocalGateways ( args , cb ) ; public describeLocalGateways ( args , options , cb ) ; public describeLocalGateways ( args , optionsOrCb ? , cb ? ) { const command = new DescribeLocalGatewaysCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the specified local gateway virtual interface groups.</p>
     */ public describeLocalGatewayVirtualInterfaceGroups ( args , options ? ) ; public describeLocalGatewayVirtualInterfaceGroups ( args , cb ) ; public describeLocalGatewayVirtualInterfaceGroups ( args , options , cb ) ; public describeLocalGatewayVirtualInterfaceGroups ( args , optionsOrCb ? , cb ? ) { const command = new DescribeLocalGatewayVirtualInterfaceGroupsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the specified local gateway virtual interfaces.</p>
     */ public describeLocalGatewayVirtualInterfaces ( args , options ? ) ; public describeLocalGatewayVirtualInterfaces ( args , cb ) ; public describeLocalGatewayVirtualInterfaces ( args , options , cb ) ; public describeLocalGatewayVirtualInterfaces ( args , optionsOrCb ? , cb ? ) { const command = new DescribeLocalGatewayVirtualInterfacesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes your managed prefix lists and any Amazon Web Services-managed prefix lists.</p>
     *         <p>To view the entries for your prefix list, use <a>GetManagedPrefixListEntries</a>.</p>
     */ public describeManagedPrefixLists ( args , options ? ) ; public describeManagedPrefixLists ( args , cb ) ; public describeManagedPrefixLists ( args , options , cb ) ; public describeManagedPrefixLists ( args , optionsOrCb ? , cb ? ) { const command = new DescribeManagedPrefixListsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes your Elastic IP addresses that are being moved to the EC2-VPC platform, or that are being restored to the EC2-Classic platform. This request does not return information about any other Elastic IP addresses in your account.</p>
     */ public describeMovingAddresses ( args , options ? ) ; public describeMovingAddresses ( args , cb ) ; public describeMovingAddresses ( args , options , cb ) ; public describeMovingAddresses ( args , optionsOrCb ? , cb ? ) { const command = new DescribeMovingAddressesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more of your NAT gateways.</p>
     */ public describeNatGateways ( args , options ? ) ; public describeNatGateways ( args , cb ) ; public describeNatGateways ( args , options , cb ) ; public describeNatGateways ( args , optionsOrCb ? , cb ? ) { const command = new DescribeNatGatewaysCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more of your network ACLs.</p>
     * 		       <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_ACLs.html">Network ACLs</a> in the
     * 				<i>Amazon Virtual Private Cloud User Guide</i>.</p>
     */ public describeNetworkAcls ( args , options ? ) ; public describeNetworkAcls ( args , cb ) ; public describeNetworkAcls ( args , options , cb ) ; public describeNetworkAcls ( args , optionsOrCb ? , cb ? ) { const command = new DescribeNetworkAclsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the specified Network Access Scope analyses.</p>
     */ public describeNetworkInsightsAccessScopeAnalyses ( args , options ? ) ; public describeNetworkInsightsAccessScopeAnalyses ( args , cb ) ; public describeNetworkInsightsAccessScopeAnalyses ( args , options , cb ) ; public describeNetworkInsightsAccessScopeAnalyses ( args , optionsOrCb ? , cb ? ) { const command = new DescribeNetworkInsightsAccessScopeAnalysesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the specified Network Access Scopes.</p>
     */ public describeNetworkInsightsAccessScopes ( args , options ? ) ; public describeNetworkInsightsAccessScopes ( args , cb ) ; public describeNetworkInsightsAccessScopes ( args , options , cb ) ; public describeNetworkInsightsAccessScopes ( args , optionsOrCb ? , cb ? ) { const command = new DescribeNetworkInsightsAccessScopesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more of your network insights analyses.</p>
     */ public describeNetworkInsightsAnalyses ( args , options ? ) ; public describeNetworkInsightsAnalyses ( args , cb ) ; public describeNetworkInsightsAnalyses ( args , options , cb ) ; public describeNetworkInsightsAnalyses ( args , optionsOrCb ? , cb ? ) { const command = new DescribeNetworkInsightsAnalysesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more of your paths.</p>
     */ public describeNetworkInsightsPaths ( args , options ? ) ; public describeNetworkInsightsPaths ( args , cb ) ; public describeNetworkInsightsPaths ( args , options , cb ) ; public describeNetworkInsightsPaths ( args , optionsOrCb ? , cb ? ) { const command = new DescribeNetworkInsightsPathsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes a network interface attribute. You can specify only one attribute at a time.</p>
     */ public describeNetworkInterfaceAttribute ( args , options ? ) ; public describeNetworkInterfaceAttribute ( args , cb ) ; public describeNetworkInterfaceAttribute ( args , options , cb ) ; public describeNetworkInterfaceAttribute ( args , optionsOrCb ? , cb ? ) { const command = new DescribeNetworkInterfaceAttributeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the permissions for your network interfaces. </p>
     */ public describeNetworkInterfacePermissions ( args , options ? ) ; public describeNetworkInterfacePermissions ( args , cb ) ; public describeNetworkInterfacePermissions ( args , options , cb ) ; public describeNetworkInterfacePermissions ( args , optionsOrCb ? , cb ? ) { const command = new DescribeNetworkInterfacePermissionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more of your network interfaces.</p>
     */ public describeNetworkInterfaces ( args , options ? ) ; public describeNetworkInterfaces ( args , cb ) ; public describeNetworkInterfaces ( args , options , cb ) ; public describeNetworkInterfaces ( args , optionsOrCb ? , cb ? ) { const command = new DescribeNetworkInterfacesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the specified placement groups or all of your placement groups. For more
     *             information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html">Placement groups</a> in the
     *                 <i>Amazon EC2 User Guide</i>.</p>
     */ public describePlacementGroups ( args , options ? ) ; public describePlacementGroups ( args , cb ) ; public describePlacementGroups ( args , options , cb ) ; public describePlacementGroups ( args , optionsOrCb ? , cb ? ) { const command = new DescribePlacementGroupsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes available Amazon Web Services services in a prefix list format, which includes the prefix list
     *             name and prefix list ID of the service and the IP address range for the service.</p>
     *         <p>We recommend that you use <a>DescribeManagedPrefixLists</a> instead.</p>
     */ public describePrefixLists ( args , options ? ) ; public describePrefixLists ( args , cb ) ; public describePrefixLists ( args , options , cb ) ; public describePrefixLists ( args , optionsOrCb ? , cb ? ) { const command = new DescribePrefixListsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the ID format settings for the root user and all IAM roles and IAM users
     *             that have explicitly specified a longer ID (17-character ID) preference. </p>
     *          <p>By default, all IAM roles and IAM users default to the same ID settings as the root user, unless they
     *             explicitly override the settings. This request is useful for identifying those IAM users and IAM roles
     *             that have overridden the default ID settings.</p>
     *          <p>The following resource types support longer IDs: <code>bundle</code> |
     *           <code>conversion-task</code> | <code>customer-gateway</code> | <code>dhcp-options</code> |
     *           <code>elastic-ip-allocation</code> | <code>elastic-ip-association</code> |
     *           <code>export-task</code> | <code>flow-log</code> | <code>image</code> |
     *           <code>import-task</code> | <code>instance</code> | <code>internet-gateway</code> |
     *           <code>network-acl</code> | <code>network-acl-association</code> |
     *           <code>network-interface</code> | <code>network-interface-attachment</code> |
     *           <code>prefix-list</code> | <code>reservation</code> | <code>route-table</code> |
     *           <code>route-table-association</code> | <code>security-group</code> |
     *           <code>snapshot</code> | <code>subnet</code> |
     *           <code>subnet-cidr-block-association</code> | <code>volume</code> | <code>vpc</code>
     *           | <code>vpc-cidr-block-association</code> | <code>vpc-endpoint</code> |
     *           <code>vpc-peering-connection</code> | <code>vpn-connection</code> | <code>vpn-gateway</code>. </p>
     */ public describePrincipalIdFormat ( args , options ? ) ; public describePrincipalIdFormat ( args , cb ) ; public describePrincipalIdFormat ( args , options , cb ) ; public describePrincipalIdFormat ( args , optionsOrCb ? , cb ? ) { const command = new DescribePrincipalIdFormatCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the specified IPv4 address pools.</p>
     */ public describePublicIpv4Pools ( args , options ? ) ; public describePublicIpv4Pools ( args , cb ) ; public describePublicIpv4Pools ( args , options , cb ) ; public describePublicIpv4Pools ( args , optionsOrCb ? , cb ? ) { const command = new DescribePublicIpv4PoolsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the Regions that are enabled for your account, or all Regions.</p>
     *          <p>For a list of the Regions supported by Amazon EC2, see <a href="https://docs.aws.amazon.com/general/latest/gr/ec2-service.html">
     *        Amazon Elastic Compute Cloud endpoints and quotas</a>.</p>
     *          <p>For information about enabling and disabling Regions for your account, see <a href="https://docs.aws.amazon.com/general/latest/gr/rande-manage.html">Managing Amazon Web Services Regions</a> in the <i>Amazon Web Services General Reference</i>.</p>
     */ public describeRegions ( args , options ? ) ; public describeRegions ( args , cb ) ; public describeRegions ( args , options , cb ) ; public describeRegions ( args , optionsOrCb ? , cb ? ) { const command = new DescribeRegionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes a root volume replacement task. For more information, see
     *       <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-restoring-volume.html#replace-root">Replace a root volume</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public describeReplaceRootVolumeTasks ( args , options ? ) ; public describeReplaceRootVolumeTasks ( args , cb ) ; public describeReplaceRootVolumeTasks ( args , options , cb ) ; public describeReplaceRootVolumeTasks ( args , optionsOrCb ? , cb ? ) { const command = new DescribeReplaceRootVolumeTasksCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more of the Reserved Instances that you purchased.</p>
     *          <p>For more information about Reserved Instances, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts-on-demand-reserved-instances.html">Reserved
     * 				Instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
     */ public describeReservedInstances ( args , options ? ) ; public describeReservedInstances ( args , cb ) ; public describeReservedInstances ( args , options , cb ) ; public describeReservedInstances ( args , optionsOrCb ? , cb ? ) { const command = new DescribeReservedInstancesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes your account's Reserved Instance listings in the Reserved Instance Marketplace.</p>
     * 		       <p>The Reserved Instance Marketplace matches sellers who want to resell Reserved Instance capacity that they no longer need with buyers who want to purchase additional capacity. Reserved Instances bought and sold through the Reserved Instance Marketplace work like any other Reserved Instances.</p>
     * 		       <p>As a seller, you choose to list some or all of your Reserved Instances, and you specify the upfront price to receive for them. Your Reserved Instances are then listed in the Reserved Instance Marketplace and are available for purchase.</p>
     * 		       <p>As a buyer, you specify the configuration of the Reserved Instance to purchase, and the Marketplace matches what you're searching for with what's available. The Marketplace first sells the lowest priced Reserved Instances to you, and continues to sell available Reserved Instance listings to you until your demand is met. You are charged based on the total price of all of the listings that you purchase.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html">Reserved Instance Marketplace</a>
     *         in the <i>Amazon EC2 User Guide</i>.</p>
     */ public describeReservedInstancesListings ( args , options ? ) ; public describeReservedInstancesListings ( args , cb ) ; public describeReservedInstancesListings ( args , options , cb ) ; public describeReservedInstancesListings ( args , optionsOrCb ? , cb ? ) { const command = new DescribeReservedInstancesListingsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the modifications made to your Reserved Instances. If no parameter is specified, information about all your Reserved Instances modification requests is returned. If a modification ID is specified, only information about the specific modification is returned.</p>
     *    	     <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-modifying.html">Modifying Reserved Instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
     */ public describeReservedInstancesModifications ( args , options ? ) ; public describeReservedInstancesModifications ( args , cb ) ; public describeReservedInstancesModifications ( args , options , cb ) ; public describeReservedInstancesModifications ( args , optionsOrCb ? , cb ? ) { const command = new DescribeReservedInstancesModificationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes Reserved Instance offerings that are available for purchase. With Reserved Instances, you purchase the right to launch instances for a period of time. During that time period, you do not receive insufficient capacity errors, and you pay a lower usage rate than the rate charged for On-Demand instances for the actual time used.</p>
     *          <p>If you have listed your own Reserved Instances for sale in the Reserved Instance Marketplace, they will be excluded from these results. This is to ensure that you do not purchase your own Reserved Instances.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html">Reserved Instance Marketplace</a>
     * 				in the <i>Amazon EC2 User Guide</i>.</p>
     */ public describeReservedInstancesOfferings ( args , options ? ) ; public describeReservedInstancesOfferings ( args , cb ) ; public describeReservedInstancesOfferings ( args , options , cb ) ; public describeReservedInstancesOfferings ( args , optionsOrCb ? , cb ? ) { const command = new DescribeReservedInstancesOfferingsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more of your route tables.</p>
     *          <p>Each subnet in your VPC must be associated with a route table. If a subnet is not explicitly associated with any route table, it is implicitly associated with the main route table. This command does not return the subnet ID for implicit associations.</p>
     * 		       <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html">Route tables</a> in the
     * 				<i>Amazon Virtual Private Cloud User Guide</i>.</p>
     */ public describeRouteTables ( args , options ? ) ; public describeRouteTables ( args , cb ) ; public describeRouteTables ( args , options , cb ) ; public describeRouteTables ( args , optionsOrCb ? , cb ? ) { const command = new DescribeRouteTablesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Finds available schedules that meet the specified criteria.</p>
     *          <p>You can search for an available schedule no more than 3 months in advance. You must meet the minimum required duration of 1,200 hours per year. For example, the minimum daily schedule is 4 hours, the minimum weekly schedule is 24 hours, and the minimum monthly schedule is 100 hours.</p>
     *          <p>After you find a schedule that meets your needs, call <a>PurchaseScheduledInstances</a>
     *          to purchase Scheduled Instances with that schedule.</p>
     */ public describeScheduledInstanceAvailability ( args , options ? ) ; public describeScheduledInstanceAvailability ( args , cb ) ; public describeScheduledInstanceAvailability ( args , options , cb ) ; public describeScheduledInstanceAvailability ( args , optionsOrCb ? , cb ? ) { const command = new DescribeScheduledInstanceAvailabilityCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the specified Scheduled Instances or all your Scheduled Instances.</p>
     */ public describeScheduledInstances ( args , options ? ) ; public describeScheduledInstances ( args , cb ) ; public describeScheduledInstances ( args , options , cb ) ; public describeScheduledInstances ( args , optionsOrCb ? , cb ? ) { const command = new DescribeScheduledInstancesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>[VPC only] Describes the VPCs on the other side of a VPC peering connection that are referencing the security groups you've specified in this request.</p>
     */ public describeSecurityGroupReferences ( args , options ? ) ; public describeSecurityGroupReferences ( args , cb ) ; public describeSecurityGroupReferences ( args , options , cb ) ; public describeSecurityGroupReferences ( args , optionsOrCb ? , cb ? ) { const command = new DescribeSecurityGroupReferencesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more of your security group rules.</p>
     */ public describeSecurityGroupRules ( args , options ? ) ; public describeSecurityGroupRules ( args , cb ) ; public describeSecurityGroupRules ( args , options , cb ) ; public describeSecurityGroupRules ( args , optionsOrCb ? , cb ? ) { const command = new DescribeSecurityGroupRulesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the specified security groups or all of your security groups.</p>
     *          <p>A security group is for use with instances either in the EC2-Classic platform
     * 				or in a specific VPC. For more information, see
     * 				<a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html">Amazon EC2 security groups</a> in
     * 				the <i>Amazon Elastic Compute Cloud User Guide</i> and
     * 				<a href="https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html">Security groups for your VPC</a> in the
     * 				<i>Amazon Virtual Private Cloud User Guide</i>.</p>
     */ public describeSecurityGroups ( args , options ? ) ; public describeSecurityGroups ( args , cb ) ; public describeSecurityGroups ( args , options , cb ) ; public describeSecurityGroups ( args , optionsOrCb ? , cb ? ) { const command = new DescribeSecurityGroupsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the specified attribute of the specified snapshot. You can specify only one
     *       attribute at a time.</p>
     *          <p>For more information about EBS snapshots, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSSnapshots.html">Amazon EBS snapshots</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public describeSnapshotAttribute ( args , options ? ) ; public describeSnapshotAttribute ( args , cb ) ; public describeSnapshotAttribute ( args , options , cb ) ; public describeSnapshotAttribute ( args , optionsOrCb ? , cb ? ) { const command = new DescribeSnapshotAttributeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the specified EBS snapshots available to you or all of the EBS snapshots
     *       available to you.</p>
     *          <p>The snapshots available to you include public snapshots, private snapshots that you own,
     *       and private snapshots owned by other Amazon Web Services accounts for which you have explicit create volume
     *       permissions.</p>
     *          <p>The create volume permissions fall into the following categories:</p>
     *          <ul>
     *             <li>
     *                <p>
     *                   <i>public</i>: The owner of the snapshot granted create volume
     *           permissions for the snapshot to the <code>all</code> group. All Amazon Web Services accounts have create
     *           volume permissions for these snapshots.</p>
     *             </li>
     *             <li>
     *                <p>
     *                   <i>explicit</i>: The owner of the snapshot granted create volume
     *           permissions to a specific Amazon Web Services account.</p>
     *             </li>
     *             <li>
     *                <p>
     *                   <i>implicit</i>: An Amazon Web Services account has implicit create volume permissions
     *           for all snapshots it owns.</p>
     *             </li>
     *          </ul>
     *          <p>The list of snapshots returned can be filtered by specifying snapshot IDs, snapshot
     *       owners, or Amazon Web Services accounts with create volume permissions. If no options are specified,
     *       Amazon EC2 returns all snapshots for which you have create volume permissions.</p>
     *          <p>If you specify one or more snapshot IDs, only snapshots that have the specified IDs are
     *       returned. If you specify an invalid snapshot ID, an error is returned. If you specify a
     *       snapshot ID for which you do not have access, it is not included in the returned
     *       results.</p>
     *          <p>If you specify one or more snapshot owners using the <code>OwnerIds</code> option, only
     *       snapshots from the specified owners and for which you have access are returned. The results
     *       can include the Amazon Web Services account IDs of the specified owners, <code>amazon</code> for snapshots
     *       owned by Amazon, or <code>self</code> for snapshots that you own.</p>
     *          <p>If you specify a list of restorable users, only snapshots with create snapshot permissions
     *       for those users are returned. You can specify Amazon Web Services account IDs (if you own the snapshots),
     *         <code>self</code> for snapshots for which you own or have explicit permissions, or
     *         <code>all</code> for public snapshots.</p>
     *          <p>If you are describing a long list of snapshots, we recommend that you paginate the output to make the
     *       list more manageable. The <code>MaxResults</code> parameter sets the maximum number of results
     *       returned in a single page. If the list of results exceeds your <code>MaxResults</code> value,
     *       then that number of results is returned along with a <code>NextToken</code> value that can be
     *       passed to a subsequent <code>DescribeSnapshots</code> request to retrieve the remaining
     *       results.</p>
     *          <p>To get the state of fast snapshot restores for a snapshot, use <a>DescribeFastSnapshotRestores</a>.</p>
     *          <p>For more information about EBS snapshots, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSSnapshots.html">Amazon EBS snapshots</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public describeSnapshots ( args , options ? ) ; public describeSnapshots ( args , cb ) ; public describeSnapshots ( args , options , cb ) ; public describeSnapshots ( args , optionsOrCb ? , cb ? ) { const command = new DescribeSnapshotsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the storage tier status of one or more Amazon EBS snapshots.</p>
     */ public describeSnapshotTierStatus ( args , options ? ) ; public describeSnapshotTierStatus ( args , cb ) ; public describeSnapshotTierStatus ( args , options , cb ) ; public describeSnapshotTierStatus ( args , optionsOrCb ? , cb ? ) { const command = new DescribeSnapshotTierStatusCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the data feed for Spot Instances. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-data-feeds.html">Spot
     *                 Instance data feed</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
     */ public describeSpotDatafeedSubscription ( args , options ? ) ; public describeSpotDatafeedSubscription ( args , cb ) ; public describeSpotDatafeedSubscription ( args , options , cb ) ; public describeSpotDatafeedSubscription ( args , optionsOrCb ? , cb ? ) { const command = new DescribeSpotDatafeedSubscriptionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the running instances for the specified Spot Fleet.</p>
     */ public describeSpotFleetInstances ( args , options ? ) ; public describeSpotFleetInstances ( args , cb ) ; public describeSpotFleetInstances ( args , options , cb ) ; public describeSpotFleetInstances ( args , optionsOrCb ? , cb ? ) { const command = new DescribeSpotFleetInstancesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the events for the specified Spot Fleet request during the specified
     *             time.</p>
     *         <p>Spot Fleet events are delayed by up to 30 seconds before they can be described. This
     *             ensures that you can query by the last evaluated time and not miss a recorded event.
     *             Spot Fleet events are available for 48 hours.</p>
     *         <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/fleet-monitor.html">Monitor fleet events using Amazon
     *                 EventBridge</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
     */ public describeSpotFleetRequestHistory ( args , options ? ) ; public describeSpotFleetRequestHistory ( args , cb ) ; public describeSpotFleetRequestHistory ( args , options , cb ) ; public describeSpotFleetRequestHistory ( args , optionsOrCb ? , cb ? ) { const command = new DescribeSpotFleetRequestHistoryCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes your Spot Fleet requests.</p>
     *         <p>Spot Fleet requests are deleted 48 hours after they are canceled and their instances
     *             are terminated.</p>
     */ public describeSpotFleetRequests ( args , options ? ) ; public describeSpotFleetRequests ( args , cb ) ; public describeSpotFleetRequests ( args , options , cb ) ; public describeSpotFleetRequests ( args , optionsOrCb ? , cb ? ) { const command = new DescribeSpotFleetRequestsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the specified Spot Instance requests.</p>
     *         <p>You can use <code>DescribeSpotInstanceRequests</code> to find a running Spot Instance by
     *             examining the response. If the status of the Spot Instance is <code>fulfilled</code>, the
     *             instance ID appears in the response and contains the identifier of the instance.
     *             Alternatively, you can use <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances">DescribeInstances</a>
     *             with a filter to look for instances where the instance lifecycle is
     *             <code>spot</code>.</p>
     *         <p>We recommend that you set <code>MaxResults</code> to a value between 5 and 1000 to
     *             limit the number of results returned. This paginates the output, which makes the list
     *             more manageable and returns the results faster. If the list of results exceeds your
     *                 <code>MaxResults</code> value, then that number of results is returned along with a
     *                 <code>NextToken</code> value that can be passed to a subsequent
     *                 <code>DescribeSpotInstanceRequests</code> request to retrieve the remaining
     *             results.</p>
     *         <p>Spot Instance requests are deleted four hours after they are canceled and their instances are
     *             terminated.</p>
     */ public describeSpotInstanceRequests ( args , options ? ) ; public describeSpotInstanceRequests ( args , cb ) ; public describeSpotInstanceRequests ( args , options , cb ) ; public describeSpotInstanceRequests ( args , optionsOrCb ? , cb ? ) { const command = new DescribeSpotInstanceRequestsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the Spot price history. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-spot-instances-history.html">Spot Instance pricing history</a> in the
     *             <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
     *         <p>When you specify a start and end time, the operation returns the prices of the
     *             instance types within that time range. It also returns the last price change before the
     *             start time, which is the effective price as of the start time.</p>
     */ public describeSpotPriceHistory ( args , options ? ) ; public describeSpotPriceHistory ( args , cb ) ; public describeSpotPriceHistory ( args , options , cb ) ; public describeSpotPriceHistory ( args , optionsOrCb ? , cb ? ) { const command = new DescribeSpotPriceHistoryCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>[VPC only] Describes the stale security group rules for security groups in a specified VPC.
     *           Rules are stale when they reference a deleted security group in the same VPC or in a peer VPC,
     *           or if they reference a security group in a peer VPC for which the VPC peering connection has
     *           been deleted.</p>
     */ public describeStaleSecurityGroups ( args , options ? ) ; public describeStaleSecurityGroups ( args , cb ) ; public describeStaleSecurityGroups ( args , options , cb ) ; public describeStaleSecurityGroups ( args , optionsOrCb ? , cb ? ) { const command = new DescribeStaleSecurityGroupsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the progress of the AMI store tasks. You can describe the store tasks for
     *       specified AMIs. If you don't specify the AMIs, you get a paginated list of store tasks from
     *       the last 31 days.</p>
     *          <p>For each AMI task, the response indicates if the task is <code>InProgress</code>,
     *         <code>Completed</code>, or <code>Failed</code>. For tasks <code>InProgress</code>, the
     *       response shows the estimated progress as a percentage.</p>
     *          <p>Tasks are listed in reverse chronological order. Currently, only tasks from the past 31
     *       days can be viewed.</p>
     *          <p>To use this API, you must have the required permissions. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html#ami-s3-permissions">Permissions for storing and restoring AMIs using Amazon S3</a> in the
     *         <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-store-restore.html">Store and restore an AMI using
     *     	Amazon S3</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public describeStoreImageTasks ( args , options ? ) ; public describeStoreImageTasks ( args , cb ) ; public describeStoreImageTasks ( args , options , cb ) ; public describeStoreImageTasks ( args , optionsOrCb ? , cb ? ) { const command = new DescribeStoreImageTasksCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more of your subnets.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html">Your VPC and subnets</a> in the
     * 				<i>Amazon Virtual Private Cloud User Guide</i>.</p>
     */ public describeSubnets ( args , options ? ) ; public describeSubnets ( args , cb ) ; public describeSubnets ( args , options , cb ) ; public describeSubnets ( args , optionsOrCb ? , cb ? ) { const command = new DescribeSubnetsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the specified tags for your EC2 resources.</p>
     *          <p>For more information about tags, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html">Tagging Your Resources</a> in the
     *      <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public describeTags ( args , options ? ) ; public describeTags ( args , cb ) ; public describeTags ( args , options , cb ) ; public describeTags ( args , optionsOrCb ? , cb ? ) { const command = new DescribeTagsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more Traffic Mirror filters.</p>
     */ public describeTrafficMirrorFilters ( args , options ? ) ; public describeTrafficMirrorFilters ( args , cb ) ; public describeTrafficMirrorFilters ( args , options , cb ) ; public describeTrafficMirrorFilters ( args , optionsOrCb ? , cb ? ) { const command = new DescribeTrafficMirrorFiltersCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more Traffic Mirror sessions. By default, all Traffic Mirror sessions are described. Alternatively, you can filter the results.</p>
     */ public describeTrafficMirrorSessions ( args , options ? ) ; public describeTrafficMirrorSessions ( args , cb ) ; public describeTrafficMirrorSessions ( args , options , cb ) ; public describeTrafficMirrorSessions ( args , optionsOrCb ? , cb ? ) { const command = new DescribeTrafficMirrorSessionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Information about one or more Traffic Mirror targets.</p>
     */ public describeTrafficMirrorTargets ( args , options ? ) ; public describeTrafficMirrorTargets ( args , cb ) ; public describeTrafficMirrorTargets ( args , options , cb ) ; public describeTrafficMirrorTargets ( args , optionsOrCb ? , cb ? ) { const command = new DescribeTrafficMirrorTargetsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more attachments between resources and transit gateways. By default, all attachments are described.
     *          Alternatively, you can filter the results by attachment ID, attachment state, resource ID, or resource owner.</p>
     */ public describeTransitGatewayAttachments ( args , options ? ) ; public describeTransitGatewayAttachments ( args , cb ) ; public describeTransitGatewayAttachments ( args , options , cb ) ; public describeTransitGatewayAttachments ( args , optionsOrCb ? , cb ? ) { const command = new DescribeTransitGatewayAttachmentsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more Connect peers.</p>
     */ public describeTransitGatewayConnectPeers ( args , options ? ) ; public describeTransitGatewayConnectPeers ( args , cb ) ; public describeTransitGatewayConnectPeers ( args , options , cb ) ; public describeTransitGatewayConnectPeers ( args , optionsOrCb ? , cb ? ) { const command = new DescribeTransitGatewayConnectPeersCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more Connect attachments.</p>
     */ public describeTransitGatewayConnects ( args , options ? ) ; public describeTransitGatewayConnects ( args , cb ) ; public describeTransitGatewayConnects ( args , options , cb ) ; public describeTransitGatewayConnects ( args , optionsOrCb ? , cb ? ) { const command = new DescribeTransitGatewayConnectsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more transit gateway multicast domains.</p>
     */ public describeTransitGatewayMulticastDomains ( args , options ? ) ; public describeTransitGatewayMulticastDomains ( args , cb ) ; public describeTransitGatewayMulticastDomains ( args , options , cb ) ; public describeTransitGatewayMulticastDomains ( args , optionsOrCb ? , cb ? ) { const command = new DescribeTransitGatewayMulticastDomainsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes your transit gateway peering attachments.</p>
     */ public describeTransitGatewayPeeringAttachments ( args , options ? ) ; public describeTransitGatewayPeeringAttachments ( args , cb ) ; public describeTransitGatewayPeeringAttachments ( args , options , cb ) ; public describeTransitGatewayPeeringAttachments ( args , optionsOrCb ? , cb ? ) { const command = new DescribeTransitGatewayPeeringAttachmentsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more transit gateway route tables. By default, all transit gateway route tables are described.
     *          Alternatively, you can filter the results.</p>
     */ public describeTransitGatewayRouteTables ( args , options ? ) ; public describeTransitGatewayRouteTables ( args , cb ) ; public describeTransitGatewayRouteTables ( args , options , cb ) ; public describeTransitGatewayRouteTables ( args , optionsOrCb ? , cb ? ) { const command = new DescribeTransitGatewayRouteTablesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more transit gateways. By default, all transit gateways are described. Alternatively, you can
     *          filter the results.</p>
     */ public describeTransitGateways ( args , options ? ) ; public describeTransitGateways ( args , cb ) ; public describeTransitGateways ( args , options , cb ) ; public describeTransitGateways ( args , optionsOrCb ? , cb ? ) { const command = new DescribeTransitGatewaysCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more VPC attachments. By default, all VPC attachments are described.
     *          Alternatively, you can filter the results.</p>
     */ public describeTransitGatewayVpcAttachments ( args , options ? ) ; public describeTransitGatewayVpcAttachments ( args , cb ) ; public describeTransitGatewayVpcAttachments ( args , options , cb ) ; public describeTransitGatewayVpcAttachments ( args , optionsOrCb ? , cb ? ) { const command = new DescribeTransitGatewayVpcAttachmentsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <note>
     *             <p>This API action is currently in <b>limited preview only</b>.
     *                 If you are interested in using this feature, contact your account manager.</p>
     *         </note>
     *         <p>Describes one or more network interface trunk associations.</p>
     */ public describeTrunkInterfaceAssociations ( args , options ? ) ; public describeTrunkInterfaceAssociations ( args , cb ) ; public describeTrunkInterfaceAssociations ( args , options , cb ) ; public describeTrunkInterfaceAssociations ( args , optionsOrCb ? , cb ? ) { const command = new DescribeTrunkInterfaceAssociationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the specified attribute of the specified volume. You can specify only one
     *       attribute at a time.</p>
     *          <p>For more information about EBS volumes, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumes.html">Amazon EBS volumes</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public describeVolumeAttribute ( args , options ? ) ; public describeVolumeAttribute ( args , cb ) ; public describeVolumeAttribute ( args , options , cb ) ; public describeVolumeAttribute ( args , optionsOrCb ? , cb ? ) { const command = new DescribeVolumeAttributeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the specified EBS volumes or all of your EBS volumes.</p>
     *          <p>If you are describing a long list of volumes, we recommend that you paginate the output to make the list
     *       more manageable. The <code>MaxResults</code> parameter sets the maximum number of results
     *       returned in a single page. If the list of results exceeds your <code>MaxResults</code> value,
     *       then that number of results is returned along with a <code>NextToken</code> value that can be
     *       passed to a subsequent <code>DescribeVolumes</code> request to retrieve the remaining
     *       results.</p>
     *          <p>For more information about EBS volumes, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumes.html">Amazon EBS volumes</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public describeVolumes ( args , options ? ) ; public describeVolumes ( args , cb ) ; public describeVolumes ( args , options , cb ) ; public describeVolumes ( args , optionsOrCb ? , cb ? ) { const command = new DescribeVolumesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the most recent volume modification request for the specified EBS volumes.</p>
     *          <p>If a volume has never been modified, some information in the output will be null.
     *       If a volume has been modified more than once, the output includes only the most
     *       recent modification request.</p>
     *          <p>You can also use CloudWatch Events to check the status of a modification to an EBS
     *       volume. For information about CloudWatch Events, see the <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/">Amazon CloudWatch Events User Guide</a>. For more information, see
     *         <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-volume-modifications.html">Monitor the progress of volume modifications</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public describeVolumesModifications ( args , options ? ) ; public describeVolumesModifications ( args , cb ) ; public describeVolumesModifications ( args , options , cb ) ; public describeVolumesModifications ( args , optionsOrCb ? , cb ? ) { const command = new DescribeVolumesModificationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the status of the specified volumes. Volume status provides the result of the
     *       checks performed on your volumes to determine events that can impair the performance of your
     *       volumes. The performance of a volume can be affected if an issue occurs on the volume's
     *       underlying host. If the volume's underlying host experiences a power outage or system issue,
     *       after the system is restored, there could be data inconsistencies on the volume. Volume events
     *       notify you if this occurs. Volume actions notify you if any action needs to be taken in
     *       response to the event.</p>
     *          <p>The <code>DescribeVolumeStatus</code> operation provides the following information about
     *       the specified volumes:</p>
     *          <p>
     *             <i>Status</i>: Reflects the current status of the volume. The possible
     *       values are <code>ok</code>, <code>impaired</code> , <code>warning</code>, or
     *         <code>insufficient-data</code>. If all checks pass, the overall status of the volume is
     *         <code>ok</code>. If the check fails, the overall status is <code>impaired</code>. If the
     *       status is <code>insufficient-data</code>, then the checks might still be taking place on your
     *       volume at the time. We recommend that you retry the request. For more information about volume
     *       status, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-volume-status.html">Monitor the status of your volumes</a> in the
     *       <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     *          <p>
     *             <i>Events</i>: Reflect the cause of a volume status and might require you to
     *       take action. For example, if your volume returns an <code>impaired</code> status, then the
     *       volume event might be <code>potential-data-inconsistency</code>. This means that your volume
     *       has been affected by an issue with the underlying host, has all I/O operations disabled, and
     *       might have inconsistent data.</p>
     *          <p>
     *             <i>Actions</i>: Reflect the actions you might have to take in response to an
     *       event. For example, if the status of the volume is <code>impaired</code> and the volume event
     *       shows <code>potential-data-inconsistency</code>, then the action shows
     *         <code>enable-volume-io</code>. This means that you may want to enable the I/O operations for
     *       the volume by calling the <a>EnableVolumeIO</a> action and then check the volume
     *       for data consistency.</p>
     *          <p>Volume status is based on the volume status checks, and does not reflect the volume state.
     *       Therefore, volume status does not indicate volumes in the <code>error</code> state (for
     *       example, when a volume is incapable of accepting I/O.)</p>
     */ public describeVolumeStatus ( args , options ? ) ; public describeVolumeStatus ( args , cb ) ; public describeVolumeStatus ( args , options , cb ) ; public describeVolumeStatus ( args , optionsOrCb ? , cb ? ) { const command = new DescribeVolumeStatusCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the specified attribute of the specified VPC. You can specify only one attribute at a time.</p>
     */ public describeVpcAttribute ( args , options ? ) ; public describeVpcAttribute ( args , cb ) ; public describeVpcAttribute ( args , options , cb ) ; public describeVpcAttribute ( args , optionsOrCb ? , cb ? ) { const command = new DescribeVpcAttributeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the ClassicLink status of one or more VPCs.</p>
     */ public describeVpcClassicLink ( args , options ? ) ; public describeVpcClassicLink ( args , cb ) ; public describeVpcClassicLink ( args , options , cb ) ; public describeVpcClassicLink ( args , optionsOrCb ? , cb ? ) { const command = new DescribeVpcClassicLinkCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the ClassicLink DNS support status of one or more VPCs. If enabled, the DNS
     *             hostname of a linked EC2-Classic instance resolves to its private IP address when
     *             addressed from an instance in the VPC to which it's linked. Similarly, the DNS hostname
     *             of an instance in a VPC resolves to its private IP address when addressed from a linked
     *             EC2-Classic instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html">ClassicLink</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public describeVpcClassicLinkDnsSupport ( args , options ? ) ; public describeVpcClassicLinkDnsSupport ( args , cb ) ; public describeVpcClassicLinkDnsSupport ( args , options , cb ) ; public describeVpcClassicLinkDnsSupport ( args , optionsOrCb ? , cb ? ) { const command = new DescribeVpcClassicLinkDnsSupportCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the connection notifications for VPC endpoints and VPC endpoint
     *             services.</p>
     */ public describeVpcEndpointConnectionNotifications ( args , options ? ) ; public describeVpcEndpointConnectionNotifications ( args , cb ) ; public describeVpcEndpointConnectionNotifications ( args , options , cb ) ; public describeVpcEndpointConnectionNotifications ( args , optionsOrCb ? , cb ? ) { const command = new DescribeVpcEndpointConnectionNotificationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the VPC endpoint connections to your VPC endpoint services, including any
     *             endpoints that are pending your acceptance.</p>
     */ public describeVpcEndpointConnections ( args , options ? ) ; public describeVpcEndpointConnections ( args , cb ) ; public describeVpcEndpointConnections ( args , options , cb ) ; public describeVpcEndpointConnections ( args , optionsOrCb ? , cb ? ) { const command = new DescribeVpcEndpointConnectionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more of your VPC endpoints.</p>
     */ public describeVpcEndpoints ( args , options ? ) ; public describeVpcEndpoints ( args , cb ) ; public describeVpcEndpoints ( args , options , cb ) ; public describeVpcEndpoints ( args , optionsOrCb ? , cb ? ) { const command = new DescribeVpcEndpointsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the VPC endpoint service configurations in your account (your services).</p>
     */ public describeVpcEndpointServiceConfigurations ( args , options ? ) ; public describeVpcEndpointServiceConfigurations ( args , cb ) ; public describeVpcEndpointServiceConfigurations ( args , options , cb ) ; public describeVpcEndpointServiceConfigurations ( args , optionsOrCb ? , cb ? ) { const command = new DescribeVpcEndpointServiceConfigurationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the principals (service consumers) that are permitted to discover your VPC
     *             endpoint service.</p>
     */ public describeVpcEndpointServicePermissions ( args , options ? ) ; public describeVpcEndpointServicePermissions ( args , cb ) ; public describeVpcEndpointServicePermissions ( args , options , cb ) ; public describeVpcEndpointServicePermissions ( args , optionsOrCb ? , cb ? ) { const command = new DescribeVpcEndpointServicePermissionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes available services to which you can create a VPC endpoint.</p>
     *         <p>When the service provider and the consumer have different accounts in multiple
     *             Availability Zones, and the consumer views the VPC endpoint service information, the
     *             response only includes the common Availability Zones. For example, when the service
     *             provider account uses <code>us-east-1a</code> and <code>us-east-1c</code> and the
     *             consumer uses <code>us-east-1a</code> and <code>us-east-1b</code>, the response includes
     *             the VPC endpoint services in the common Availability Zone,
     *             <code>us-east-1a</code>.</p>
     */ public describeVpcEndpointServices ( args , options ? ) ; public describeVpcEndpointServices ( args , cb ) ; public describeVpcEndpointServices ( args , options , cb ) ; public describeVpcEndpointServices ( args , optionsOrCb ? , cb ? ) { const command = new DescribeVpcEndpointServicesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more of your VPC peering connections.</p>
     */ public describeVpcPeeringConnections ( args , options ? ) ; public describeVpcPeeringConnections ( args , cb ) ; public describeVpcPeeringConnections ( args , options , cb ) ; public describeVpcPeeringConnections ( args , optionsOrCb ? , cb ? ) { const command = new DescribeVpcPeeringConnectionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more of your VPCs.</p>
     */ public describeVpcs ( args , options ? ) ; public describeVpcs ( args , cb ) ; public describeVpcs ( args , options , cb ) ; public describeVpcs ( args , optionsOrCb ? , cb ? ) { const command = new DescribeVpcsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more of your VPN connections.</p>
     *         <p>For more information, see <a href="https://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html">Amazon Web Services Site-to-Site VPN</a> in the <i>Amazon Web Services Site-to-Site VPN
     *                 User Guide</i>.</p>
     */ public describeVpnConnections ( args , options ? ) ; public describeVpnConnections ( args , cb ) ; public describeVpnConnections ( args , options , cb ) ; public describeVpnConnections ( args , optionsOrCb ? , cb ? ) { const command = new DescribeVpnConnectionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more of your virtual private gateways.</p>
     *         <p>For more information, see <a href="https://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html">Amazon Web Services Site-to-Site VPN</a> in the <i>Amazon Web Services Site-to-Site VPN
     *                 User Guide</i>.</p>
     */ public describeVpnGateways ( args , options ? ) ; public describeVpnGateways ( args , cb ) ; public describeVpnGateways ( args , options , cb ) ; public describeVpnGateways ( args , optionsOrCb ? , cb ? ) { const command = new DescribeVpnGatewaysCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Unlinks (detaches) a linked EC2-Classic instance from a VPC. After the instance has been unlinked, the VPC security groups are no longer associated with it. An instance is automatically unlinked from a VPC when it's stopped.</p>
     */ public detachClassicLinkVpc ( args , options ? ) ; public detachClassicLinkVpc ( args , cb ) ; public detachClassicLinkVpc ( args , options , cb ) ; public detachClassicLinkVpc ( args , optionsOrCb ? , cb ? ) { const command = new DetachClassicLinkVpcCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Detaches an internet gateway from a VPC, disabling connectivity between the internet
     * 			and the VPC. The VPC must not contain any running instances with Elastic IP addresses or
     * 			public IPv4 addresses.</p>
     */ public detachInternetGateway ( args , options ? ) ; public detachInternetGateway ( args , cb ) ; public detachInternetGateway ( args , options , cb ) ; public detachInternetGateway ( args , optionsOrCb ? , cb ? ) { const command = new DetachInternetGatewayCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Detaches a network interface from an instance.</p>
     */ public detachNetworkInterface ( args , options ? ) ; public detachNetworkInterface ( args , cb ) ; public detachNetworkInterface ( args , options , cb ) ; public detachNetworkInterface ( args , optionsOrCb ? , cb ? ) { const command = new DetachNetworkInterfaceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Detaches an EBS volume from an instance. Make sure to unmount any file systems on the
     *       device within your operating system before detaching the volume. Failure to do so can result
     *       in the volume becoming stuck in the <code>busy</code> state while detaching. If this happens,
     *       detachment can be delayed indefinitely until you unmount the volume, force detachment, reboot
     *       the instance, or all three. If an EBS volume is the root device of an instance, it can't be
     *       detached while the instance is running. To detach the root volume, stop the instance
     *       first.</p>
     *          <p>When a volume with an Amazon Web Services Marketplace product code is detached from an instance, the
     *       product code is no longer associated with the instance.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-detaching-volume.html">Detach an Amazon EBS volume</a> in the
     *         <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public detachVolume ( args , options ? ) ; public detachVolume ( args , cb ) ; public detachVolume ( args , options , cb ) ; public detachVolume ( args , optionsOrCb ? , cb ? ) { const command = new DetachVolumeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Detaches a virtual private gateway from a VPC. You do this if you're planning to turn
     *             off the VPC and not use it anymore. You can confirm a virtual private gateway has been
     *             completely detached from a VPC by describing the virtual private gateway (any
     *             attachments to the virtual private gateway are also described).</p>
     *         <p>You must wait for the attachment's state to switch to <code>detached</code> before you
     *             can delete the VPC or attach a different VPC to the virtual private gateway.</p>
     */ public detachVpnGateway ( args , options ? ) ; public detachVpnGateway ( args , cb ) ; public detachVpnGateway ( args , options , cb ) ; public detachVpnGateway ( args , optionsOrCb ? , cb ? ) { const command = new DetachVpnGatewayCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disables EBS encryption by default for your account in the current Region.</p>
     *          <p>After you disable encryption by default, you can still create encrypted volumes by
     *       enabling encryption when you create each volume.</p>
     *          <p>Disabling encryption by default does not change the encryption status of your
     *       existing volumes.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html">Amazon EBS encryption</a> in the
     *       <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public disableEbsEncryptionByDefault ( args , options ? ) ; public disableEbsEncryptionByDefault ( args , cb ) ; public disableEbsEncryptionByDefault ( args , options , cb ) ; public disableEbsEncryptionByDefault ( args , optionsOrCb ? , cb ? ) { const command = new DisableEbsEncryptionByDefaultCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disables fast snapshot restores for the specified snapshots in the specified Availability Zones.</p>
     */ public disableFastSnapshotRestores ( args , options ? ) ; public disableFastSnapshotRestores ( args , cb ) ; public disableFastSnapshotRestores ( args , options , cb ) ; public disableFastSnapshotRestores ( args , optionsOrCb ? , cb ? ) { const command = new DisableFastSnapshotRestoresCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Cancels the deprecation of the specified AMI.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-deprecate.html">Deprecate an AMI</a> in the
     *         <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public disableImageDeprecation ( args , options ? ) ; public disableImageDeprecation ( args , cb ) ; public disableImageDeprecation ( args , options , cb ) ; public disableImageDeprecation ( args , optionsOrCb ? , cb ? ) { const command = new DisableImageDeprecationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disable the IPAM account. For more information, see <a href="/vpc/latest/ipam/enable-integ-ipam.html">Enable integration with Organizations</a> in the <i>Amazon VPC IPAM User Guide</i>.
     *       </p>
     */ public disableIpamOrganizationAdminAccount ( args , options ? ) ; public disableIpamOrganizationAdminAccount ( args , cb ) ; public disableIpamOrganizationAdminAccount ( args , options , cb ) ; public disableIpamOrganizationAdminAccount ( args , optionsOrCb ? , cb ? ) { const command = new DisableIpamOrganizationAdminAccountCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disables access to the EC2 serial console of all instances for your account. By default,
     * 			access to the EC2 serial console is disabled for your account. For more information, see
     * 				<a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configure-access-to-serial-console.html#serial-console-account-access">Manage account access to the EC2 serial console</a> in the <i>Amazon EC2
     * 				User Guide</i>.</p>
     */ public disableSerialConsoleAccess ( args , options ? ) ; public disableSerialConsoleAccess ( args , cb ) ; public disableSerialConsoleAccess ( args , options , cb ) ; public disableSerialConsoleAccess ( args , optionsOrCb ? , cb ? ) { const command = new DisableSerialConsoleAccessCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disables the specified resource attachment from propagating routes to the specified
     *          propagation route table.</p>
     */ public disableTransitGatewayRouteTablePropagation ( args , options ? ) ; public disableTransitGatewayRouteTablePropagation ( args , cb ) ; public disableTransitGatewayRouteTablePropagation ( args , options , cb ) ; public disableTransitGatewayRouteTablePropagation ( args , optionsOrCb ? , cb ? ) { const command = new DisableTransitGatewayRouteTablePropagationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disables a virtual private gateway (VGW) from propagating routes to a specified route
     *             table of a VPC.</p>
     */ public disableVgwRoutePropagation ( args , options ? ) ; public disableVgwRoutePropagation ( args , cb ) ; public disableVgwRoutePropagation ( args , options , cb ) ; public disableVgwRoutePropagation ( args , optionsOrCb ? , cb ? ) { const command = new DisableVgwRoutePropagationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disables ClassicLink for a VPC. You cannot disable ClassicLink for a VPC that has EC2-Classic instances linked to it.</p>
     */ public disableVpcClassicLink ( args , options ? ) ; public disableVpcClassicLink ( args , cb ) ; public disableVpcClassicLink ( args , options , cb ) ; public disableVpcClassicLink ( args , optionsOrCb ? , cb ? ) { const command = new DisableVpcClassicLinkCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disables ClassicLink DNS support for a VPC. If disabled, DNS hostnames resolve to
     * 			public IP addresses when addressed between a linked EC2-Classic instance and instances
     * 			in the VPC to which it's linked. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html">ClassicLink</a> in the
     * 				<i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     *          <p>You must specify a VPC ID in the request.</p>
     */ public disableVpcClassicLinkDnsSupport ( args , options ? ) ; public disableVpcClassicLinkDnsSupport ( args , cb ) ; public disableVpcClassicLinkDnsSupport ( args , options , cb ) ; public disableVpcClassicLinkDnsSupport ( args , optionsOrCb ? , cb ? ) { const command = new DisableVpcClassicLinkDnsSupportCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disassociates an Elastic IP address from the instance or network interface it's associated with.</p>
     * 			      <p>An Elastic IP address is for use in either the EC2-Classic platform or in a VPC. For more
     * 			information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html">Elastic IP
     * 				Addresses</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     *          <p>This is an idempotent operation. If you perform the operation more than once, Amazon EC2 doesn't return an error.</p>
     */ public disassociateAddress ( args , options ? ) ; public disassociateAddress ( args , cb ) ; public disassociateAddress ( args , options , cb ) ; public disassociateAddress ( args , optionsOrCb ? , cb ? ) { const command = new DisassociateAddressCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disassociates a target network from the specified Client VPN endpoint. When you disassociate the
     * 			last target network from a Client VPN, the following happens:</p>
     * 		       <ul>
     *             <li>
     * 				           <p>The route that was automatically added for the VPC is deleted</p>
     * 			         </li>
     *             <li>
     * 				           <p>All active client connections are terminated</p>
     * 			         </li>
     *             <li>
     * 				           <p>New client connections are disallowed</p>
     * 			         </li>
     *             <li>
     * 				           <p>The Client VPN endpoint's status changes to <code>pending-associate</code>
     *                </p>
     * 			         </li>
     *          </ul>
     */ public disassociateClientVpnTargetNetwork ( args , options ? ) ; public disassociateClientVpnTargetNetwork ( args , cb ) ; public disassociateClientVpnTargetNetwork ( args , options , cb ) ; public disassociateClientVpnTargetNetwork ( args , optionsOrCb ? , cb ? ) { const command = new DisassociateClientVpnTargetNetworkCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disassociates an IAM role from an Certificate Manager (ACM) certificate. Disassociating an IAM role
     * 			from an ACM certificate removes the Amazon S3 object that contains the certificate, certificate chain, and
     * 			encrypted private key from the Amazon S3 bucket. It also revokes the IAM role's permission to use the
     * 			KMS key used to encrypt the private key. This effectively revokes the role's permission
     * 			to use the certificate.</p>
     */ public disassociateEnclaveCertificateIamRole ( args , options ? ) ; public disassociateEnclaveCertificateIamRole ( args , cb ) ; public disassociateEnclaveCertificateIamRole ( args , options , cb ) ; public disassociateEnclaveCertificateIamRole ( args , optionsOrCb ? , cb ? ) { const command = new DisassociateEnclaveCertificateIamRoleCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disassociates an IAM instance profile from a running or stopped instance.</p>
     *         <p>Use <a>DescribeIamInstanceProfileAssociations</a> to get the association
     *             ID.</p>
     */ public disassociateIamInstanceProfile ( args , options ? ) ; public disassociateIamInstanceProfile ( args , cb ) ; public disassociateIamInstanceProfile ( args , options , cb ) ; public disassociateIamInstanceProfile ( args , optionsOrCb ? , cb ? ) { const command = new DisassociateIamInstanceProfileCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disassociates one or more targets from an event window.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/event-windows.html">Define event windows for scheduled
     *             events</a> in the <i>Amazon EC2 User Guide</i>.</p>
     */ public disassociateInstanceEventWindow ( args , options ? ) ; public disassociateInstanceEventWindow ( args , cb ) ; public disassociateInstanceEventWindow ( args , options , cb ) ; public disassociateInstanceEventWindow ( args , optionsOrCb ? , cb ? ) { const command = new DisassociateInstanceEventWindowCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disassociates a subnet or gateway from a route table.</p>
     * 		       <p>After you perform this action, the subnet no longer uses the routes in the route table.
     * 				Instead, it uses the routes in the VPC's main route table. For more information
     * 				about route tables, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html">Route
     * 				tables</a> in the <i>Amazon Virtual Private Cloud User Guide</i>.</p>
     */ public disassociateRouteTable ( args , options ? ) ; public disassociateRouteTable ( args , cb ) ; public disassociateRouteTable ( args , options , cb ) ; public disassociateRouteTable ( args , optionsOrCb ? , cb ? ) { const command = new DisassociateRouteTableCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disassociates a CIDR block from a subnet. Currently, you can disassociate an IPv6 CIDR block only. You must detach or delete all gateways and resources that are associated with the CIDR block before you can disassociate it. </p>
     */ public disassociateSubnetCidrBlock ( args , options ? ) ; public disassociateSubnetCidrBlock ( args , cb ) ; public disassociateSubnetCidrBlock ( args , options , cb ) ; public disassociateSubnetCidrBlock ( args , optionsOrCb ? , cb ? ) { const command = new DisassociateSubnetCidrBlockCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disassociates the specified subnets from the transit gateway multicast domain. </p>
     */ public disassociateTransitGatewayMulticastDomain ( args , options ? ) ; public disassociateTransitGatewayMulticastDomain ( args , cb ) ; public disassociateTransitGatewayMulticastDomain ( args , options , cb ) ; public disassociateTransitGatewayMulticastDomain ( args , optionsOrCb ? , cb ? ) { const command = new DisassociateTransitGatewayMulticastDomainCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disassociates a resource attachment from a transit gateway route table.</p>
     */ public disassociateTransitGatewayRouteTable ( args , options ? ) ; public disassociateTransitGatewayRouteTable ( args , cb ) ; public disassociateTransitGatewayRouteTable ( args , options , cb ) ; public disassociateTransitGatewayRouteTable ( args , optionsOrCb ? , cb ? ) { const command = new DisassociateTransitGatewayRouteTableCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <note>
     *             <p>This API action is currently in <b>limited preview only</b>.
     *                 If you are interested in using this feature, contact your account manager.</p>
     *         </note>
     *         <p>Removes an association between a branch network interface with a trunk network interface.</p>
     */ public disassociateTrunkInterface ( args , options ? ) ; public disassociateTrunkInterface ( args , cb ) ; public disassociateTrunkInterface ( args , options , cb ) ; public disassociateTrunkInterface ( args , optionsOrCb ? , cb ? ) { const command = new DisassociateTrunkInterfaceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disassociates a CIDR block from a VPC. To disassociate the CIDR block, you must
     *             specify its association ID. You can get the association ID by using
     *                 <a>DescribeVpcs</a>. You must detach or delete all gateways and resources that
     *             are associated with the CIDR block before you can disassociate it. </p>
     * 		       <p>You cannot disassociate the CIDR block with which you originally created the VPC (the
     * 			primary CIDR block).</p>
     */ public disassociateVpcCidrBlock ( args , options ? ) ; public disassociateVpcCidrBlock ( args , cb ) ; public disassociateVpcCidrBlock ( args , options , cb ) ; public disassociateVpcCidrBlock ( args , optionsOrCb ? , cb ? ) { const command = new DisassociateVpcCidrBlockCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Enables EBS encryption by default for your account in the current Region.</p>
     *          <p>After you enable encryption by default, the EBS volumes that you create are
     *     	always encrypted, either using the default KMS key or the KMS key that you specified
     *       when you created each volume. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html">Amazon EBS encryption</a> in the
     *       <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     *   	      <p>You can specify the default KMS key for encryption by default using <a>ModifyEbsDefaultKmsKeyId</a>
     *       or <a>ResetEbsDefaultKmsKeyId</a>.</p>
     *          <p>Enabling encryption by default has no effect on the encryption status of your
     *       existing volumes.</p>
     *          <p>After you enable encryption by default, you can no longer launch instances
     *       using instance types that do not support encryption. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances">Supported
     *         instance types</a>.</p>
     */ public enableEbsEncryptionByDefault ( args , options ? ) ; public enableEbsEncryptionByDefault ( args , cb ) ; public enableEbsEncryptionByDefault ( args , options , cb ) ; public enableEbsEncryptionByDefault ( args , optionsOrCb ? , cb ? ) { const command = new EnableEbsEncryptionByDefaultCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Enables fast snapshot restores for the specified snapshots in the specified Availability Zones.</p>
     *          <p>You get the full benefit of fast snapshot restores after they enter the <code>enabled</code> state.
     *       To get the current state of fast snapshot restores, use <a>DescribeFastSnapshotRestores</a>.
     *       To disable fast snapshot restores, use <a>DisableFastSnapshotRestores</a>.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-fast-snapshot-restore.html">Amazon EBS fast snapshot
     *       restore</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public enableFastSnapshotRestores ( args , options ? ) ; public enableFastSnapshotRestores ( args , cb ) ; public enableFastSnapshotRestores ( args , options , cb ) ; public enableFastSnapshotRestores ( args , optionsOrCb ? , cb ? ) { const command = new EnableFastSnapshotRestoresCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Enables deprecation of the specified AMI at the specified date and time.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-deprecate.html">Deprecate an AMI</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public enableImageDeprecation ( args , options ? ) ; public enableImageDeprecation ( args , cb ) ; public enableImageDeprecation ( args , options , cb ) ; public enableImageDeprecation ( args , optionsOrCb ? , cb ? ) { const command = new EnableImageDeprecationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Enable an Organizations member account as the IPAM admin account. You cannot select the Organizations management account as the IPAM admin account. For more information, see <a href="/vpc/latest/ipam/enable-integ-ipam.html">Enable integration with Organizations</a> in the <i>Amazon VPC IPAM User Guide</i>.
     *       </p>
     */ public enableIpamOrganizationAdminAccount ( args , options ? ) ; public enableIpamOrganizationAdminAccount ( args , cb ) ; public enableIpamOrganizationAdminAccount ( args , options , cb ) ; public enableIpamOrganizationAdminAccount ( args , optionsOrCb ? , cb ? ) { const command = new EnableIpamOrganizationAdminAccountCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Enables access to the EC2 serial console of all instances for your account. By default,
     * 			access to the EC2 serial console is disabled for your account. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configure-access-to-serial-console.html#serial-console-account-access">Manage account access to the EC2 serial console</a>
     * 			in the <i>Amazon EC2 User Guide</i>.</p>
     */ public enableSerialConsoleAccess ( args , options ? ) ; public enableSerialConsoleAccess ( args , cb ) ; public enableSerialConsoleAccess ( args , options , cb ) ; public enableSerialConsoleAccess ( args , optionsOrCb ? , cb ? ) { const command = new EnableSerialConsoleAccessCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Enables the specified attachment to propagate routes to the specified
     *          propagation route table.</p>
     */ public enableTransitGatewayRouteTablePropagation ( args , options ? ) ; public enableTransitGatewayRouteTablePropagation ( args , cb ) ; public enableTransitGatewayRouteTablePropagation ( args , options , cb ) ; public enableTransitGatewayRouteTablePropagation ( args , optionsOrCb ? , cb ? ) { const command = new EnableTransitGatewayRouteTablePropagationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Enables a virtual private gateway (VGW) to propagate routes to the specified route
     *             table of a VPC.</p>
     */ public enableVgwRoutePropagation ( args , options ? ) ; public enableVgwRoutePropagation ( args , cb ) ; public enableVgwRoutePropagation ( args , options , cb ) ; public enableVgwRoutePropagation ( args , optionsOrCb ? , cb ? ) { const command = new EnableVgwRoutePropagationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Enables I/O operations for a volume that had I/O operations disabled because the data on
     *       the volume was potentially inconsistent.</p>
     */ public enableVolumeIO ( args , options ? ) ; public enableVolumeIO ( args , cb ) ; public enableVolumeIO ( args , options , cb ) ; public enableVolumeIO ( args , optionsOrCb ? , cb ? ) { const command = new EnableVolumeIOCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Enables a VPC for ClassicLink. You can then link EC2-Classic instances to your
     * 			ClassicLink-enabled VPC to allow communication over private IP addresses. You cannot
     * 			enable your VPC for ClassicLink if any of your VPC route tables have existing routes for
     * 			address ranges within the <code>10.0.0.0/8</code> IP address range, excluding local
     * 			routes for VPCs in the <code>10.0.0.0/16</code> and <code>10.1.0.0/16</code> IP address
     * 			ranges. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html">ClassicLink</a> in the
     * 				<i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public enableVpcClassicLink ( args , options ? ) ; public enableVpcClassicLink ( args , cb ) ; public enableVpcClassicLink ( args , options , cb ) ; public enableVpcClassicLink ( args , optionsOrCb ? , cb ? ) { const command = new EnableVpcClassicLinkCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Enables a VPC to support DNS hostname resolution for ClassicLink. If enabled, the DNS
     * 			hostname of a linked EC2-Classic instance resolves to its private IP address when
     * 			addressed from an instance in the VPC to which it's linked. Similarly, the DNS hostname
     * 			of an instance in a VPC resolves to its private IP address when addressed from a linked
     * 			EC2-Classic instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html">ClassicLink</a> in the
     * 				<i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     *          <p>You must specify a VPC ID in the request.</p>
     */ public enableVpcClassicLinkDnsSupport ( args , options ? ) ; public enableVpcClassicLinkDnsSupport ( args , cb ) ; public enableVpcClassicLinkDnsSupport ( args , options , cb ) ; public enableVpcClassicLinkDnsSupport ( args , optionsOrCb ? , cb ? ) { const command = new EnableVpcClassicLinkDnsSupportCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Downloads the client certificate revocation list for the specified Client VPN endpoint.</p>
     */ public exportClientVpnClientCertificateRevocationList ( args , options ? ) ; public exportClientVpnClientCertificateRevocationList ( args , cb ) ; public exportClientVpnClientCertificateRevocationList ( args , options , cb ) ; public exportClientVpnClientCertificateRevocationList ( args , optionsOrCb ? , cb ? ) { const command = new ExportClientVpnClientCertificateRevocationListCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Downloads the contents of the Client VPN endpoint configuration file for the specified Client VPN endpoint. The Client VPN endpoint configuration
     * 			file includes the Client VPN endpoint and certificate information clients need to establish a connection
     * 			with the Client VPN endpoint.</p>
     */ public exportClientVpnClientConfiguration ( args , options ? ) ; public exportClientVpnClientConfiguration ( args , cb ) ; public exportClientVpnClientConfiguration ( args , options , cb ) ; public exportClientVpnClientConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new ExportClientVpnClientConfigurationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Exports an Amazon Machine Image (AMI) to a VM file. For more information, see <a href="https://docs.aws.amazon.com/vm-import/latest/userguide/vmexport_image.html">Exporting a VM
     *     directly from an Amazon Machine Image (AMI)</a> in the
     *     <i>VM Import/Export User Guide</i>.</p>
     */ public exportImage ( args , options ? ) ; public exportImage ( args , cb ) ; public exportImage ( args , options , cb ) ; public exportImage ( args , optionsOrCb ? , cb ? ) { const command = new ExportImageCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Exports routes from the specified transit gateway route table to the specified S3 bucket.
     *          By default, all routes are exported. Alternatively, you can filter by CIDR range.</p>
     *          <p>The routes are saved to the specified bucket in a JSON file. For more information, see
     *                 <a href="https://docs.aws.amazon.com/vpc/latest/tgw/tgw-route-tables.html#tgw-export-route-tables">Export Route Tables
     *                 to Amazon S3</a> in <i>Transit Gateways</i>.</p>
     */ public exportTransitGatewayRoutes ( args , options ? ) ; public exportTransitGatewayRoutes ( args , cb ) ; public exportTransitGatewayRoutes ( args , options , cb ) ; public exportTransitGatewayRoutes ( args , optionsOrCb ? , cb ? ) { const command = new ExportTransitGatewayRoutesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns the IAM roles that are associated with the specified ACM (ACM) certificate.
     * 			It also returns the name of the Amazon S3 bucket and the Amazon S3 object key where the certificate,
     * 			certificate chain, and encrypted private key bundle are stored, and the ARN of the KMS key
     * 			that's used to encrypt the private key.</p>
     */ public getAssociatedEnclaveCertificateIamRoles ( args , options ? ) ; public getAssociatedEnclaveCertificateIamRoles ( args , cb ) ; public getAssociatedEnclaveCertificateIamRoles ( args , options , cb ) ; public getAssociatedEnclaveCertificateIamRoles ( args , optionsOrCb ? , cb ? ) { const command = new GetAssociatedEnclaveCertificateIamRolesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets information about the IPv6 CIDR block associations for a specified IPv6 address pool.</p>
     */ public getAssociatedIpv6PoolCidrs ( args , options ? ) ; public getAssociatedIpv6PoolCidrs ( args , cb ) ; public getAssociatedIpv6PoolCidrs ( args , options , cb ) ; public getAssociatedIpv6PoolCidrs ( args , optionsOrCb ? , cb ? ) { const command = new GetAssociatedIpv6PoolCidrsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets usage information about a Capacity Reservation. If the Capacity Reservation is shared, it shows usage information for the Capacity Reservation owner
     * 			and each Amazon Web Services account that is currently using the shared capacity. If the Capacity Reservation is not shared, it shows only
     * 			the Capacity Reservation owner's usage.</p>
     */ public getCapacityReservationUsage ( args , options ? ) ; public getCapacityReservationUsage ( args , cb ) ; public getCapacityReservationUsage ( args , options , cb ) ; public getCapacityReservationUsage ( args , optionsOrCb ? , cb ? ) { const command = new GetCapacityReservationUsageCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the allocations from the specified customer-owned address pool.</p>
     */ public getCoipPoolUsage ( args , options ? ) ; public getCoipPoolUsage ( args , cb ) ; public getCoipPoolUsage ( args , options , cb ) ; public getCoipPoolUsage ( args , optionsOrCb ? , cb ? ) { const command = new GetCoipPoolUsageCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets the console output for the specified instance. For Linux instances, the instance
     *             console output displays the exact console output that would normally be displayed on a
     *             physical monitor attached to a computer. For Windows instances, the instance console
     *             output includes the last three system event log errors.</p>
     *         <p>By default, the console output returns buffered information that was posted shortly
     *             after an instance transition state (start, stop, reboot, or terminate). This information
     *             is available for at least one hour after the most recent post. Only the most recent 64
     *             KB of console output is available.</p>
     *         <p>You can optionally retrieve the latest serial console output at any time during the
     *             instance lifecycle. This option is supported on instance types that use the Nitro
     *             hypervisor.</p>
     *         <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-console.html#instance-console-console-output">Instance
     *                 console output</a> in the <i>Amazon EC2 User Guide</i>.</p>
     */ public getConsoleOutput ( args , options ? ) ; public getConsoleOutput ( args , cb ) ; public getConsoleOutput ( args , options , cb ) ; public getConsoleOutput ( args , optionsOrCb ? , cb ? ) { const command = new GetConsoleOutputCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieve a JPG-format screenshot of a running instance to help with
     *             troubleshooting.</p>
     *         <p>The returned content is Base64-encoded.</p>
     */ public getConsoleScreenshot ( args , options ? ) ; public getConsoleScreenshot ( args , cb ) ; public getConsoleScreenshot ( args , options , cb ) ; public getConsoleScreenshot ( args , optionsOrCb ? , cb ? ) { const command = new GetConsoleScreenshotCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the default credit option for CPU usage of a burstable performance instance family.</p>
     *         <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html">Burstable
     *             performance instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
     */ public getDefaultCreditSpecification ( args , options ? ) ; public getDefaultCreditSpecification ( args , cb ) ; public getDefaultCreditSpecification ( args , options , cb ) ; public getDefaultCreditSpecification ( args , optionsOrCb ? , cb ? ) { const command = new GetDefaultCreditSpecificationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the default KMS key for EBS encryption by default for your account in this Region.
     *   		You can change the default KMS key for encryption by default using <a>ModifyEbsDefaultKmsKeyId</a> or
     *       <a>ResetEbsDefaultKmsKeyId</a>.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html">Amazon EBS encryption</a>
     *       in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public getEbsDefaultKmsKeyId ( args , options ? ) ; public getEbsDefaultKmsKeyId ( args , cb ) ; public getEbsDefaultKmsKeyId ( args , options , cb ) ; public getEbsDefaultKmsKeyId ( args , optionsOrCb ? , cb ? ) { const command = new GetEbsDefaultKmsKeyIdCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes whether EBS encryption by default is enabled for your account in the current
     *       Region.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html">Amazon EBS encryption</a>
     *       in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public getEbsEncryptionByDefault ( args , options ? ) ; public getEbsEncryptionByDefault ( args , cb ) ; public getEbsEncryptionByDefault ( args , options , cb ) ; public getEbsEncryptionByDefault ( args , optionsOrCb ? , cb ? ) { const command = new GetEbsEncryptionByDefaultCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Generates a CloudFormation template that streamlines and automates the integration of VPC flow logs
     *             with Amazon Athena. This make it easier for you to query and gain insights from VPC flow logs data.
     *             Based on the information that you provide, we configure resources in the template to do the following:</p>
     *         <ul>
     *             <li>
     *                 <p>Create a table in Athena that maps fields to a custom log format</p>
     *             </li>
     *             <li>
     *                 <p>Create a Lambda function that updates the table with new partitions on a daily, weekly, or
     *                     monthly basis</p>
     *             </li>
     *             <li>
     *                 <p>Create a table partitioned between two timestamps in the past</p>
     *             </li>
     *             <li>
     *                 <p>Create a set of named queries in Athena that you can use to get started quickly</p>
     *             </li>
     *          </ul>
     */ public getFlowLogsIntegrationTemplate ( args , options ? ) ; public getFlowLogsIntegrationTemplate ( args , cb ) ; public getFlowLogsIntegrationTemplate ( args , options , cb ) ; public getFlowLogsIntegrationTemplate ( args , optionsOrCb ? , cb ? ) { const command = new GetFlowLogsIntegrationTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the resource groups to which a Capacity Reservation has been added.</p>
     */ public getGroupsForCapacityReservation ( args , options ? ) ; public getGroupsForCapacityReservation ( args , cb ) ; public getGroupsForCapacityReservation ( args , options , cb ) ; public getGroupsForCapacityReservation ( args , optionsOrCb ? , cb ? ) { const command = new GetGroupsForCapacityReservationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Preview a reservation purchase with configurations that match those of your
     *             Dedicated Host. You must have active Dedicated Hosts in your account before you purchase
     *             a reservation.</p>
     *         <p>This is a preview of the <a>PurchaseHostReservation</a> action and does
     *             not result in the offering being purchased.</p>
     */ public getHostReservationPurchasePreview ( args , options ? ) ; public getHostReservationPurchasePreview ( args , cb ) ; public getHostReservationPurchasePreview ( args , options , cb ) ; public getHostReservationPurchasePreview ( args , optionsOrCb ? , cb ? ) { const command = new GetHostReservationPurchasePreviewCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns a list of instance types with the specified instance attributes. You can
     *          use the response to preview the instance types without launching instances. Note
     *          that the response does not consider capacity.</p>
     *          <p>When you specify multiple parameters, you get instance types that satisfy all of the
     *          specified parameters. If you specify multiple values for a parameter, you get instance
     *          types that satisfy any of the specified values.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html#spotfleet-get-instance-types-from-instance-requirements">Preview instance types with specified attributes</a>, <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html">Attribute-based instance type selection for EC2 Fleet</a>, <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html">Attribute-based instance type selection for Spot Fleet</a>, and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html">Spot
     *             placement score</a> in the <i>Amazon EC2 User Guide</i>, and <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html">Creating an
     *             Auto Scaling group using attribute-based instance type selection</a> in the
     *             <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
     */ public getInstanceTypesFromInstanceRequirements ( args , options ? ) ; public getInstanceTypesFromInstanceRequirements ( args , cb ) ; public getInstanceTypesFromInstanceRequirements ( args , options , cb ) ; public getInstanceTypesFromInstanceRequirements ( args , optionsOrCb ? , cb ? ) { const command = new GetInstanceTypesFromInstanceRequirementsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieve historical information about a CIDR within an IPAM scope. For more information, see <a href="/vpc/latest/ipam/view-history-cidr-ipam.html">View the history of IP addresses</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
     */ public getIpamAddressHistory ( args , options ? ) ; public getIpamAddressHistory ( args , cb ) ; public getIpamAddressHistory ( args , options , cb ) ; public getIpamAddressHistory ( args , optionsOrCb ? , cb ? ) { const command = new GetIpamAddressHistoryCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Get a list of all the CIDR allocations in an IPAM pool.</p>
     */ public getIpamPoolAllocations ( args , options ? ) ; public getIpamPoolAllocations ( args , cb ) ; public getIpamPoolAllocations ( args , options , cb ) ; public getIpamPoolAllocations ( args , optionsOrCb ? , cb ? ) { const command = new GetIpamPoolAllocationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Get the CIDRs provisioned to an IPAM pool.</p>
     */ public getIpamPoolCidrs ( args , options ? ) ; public getIpamPoolCidrs ( args , cb ) ; public getIpamPoolCidrs ( args , options , cb ) ; public getIpamPoolCidrs ( args , optionsOrCb ? , cb ? ) { const command = new GetIpamPoolCidrsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Get information about the resources in a scope.</p>
     */ public getIpamResourceCidrs ( args , options ? ) ; public getIpamResourceCidrs ( args , cb ) ; public getIpamResourceCidrs ( args , options , cb ) ; public getIpamResourceCidrs ( args , optionsOrCb ? , cb ? ) { const command = new GetIpamResourceCidrsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves the configuration data of the specified instance. You can use this data
     *             to create a launch template. </p>
     *         <p>This action calls on other describe actions to get instance information. Depending on your instance configuration, you may need to allow the following
     *             actions in your IAM policy: DescribeSpotInstanceRequests, DescribeInstanceCreditSpecifications, DescribeVolumes, DescribeInstanceAttribute, and DescribeElasticGpus. Or, you can allow
     *         <code>describe*</code> depending on your instance requirements.</p>
     */ public getLaunchTemplateData ( args , options ? ) ; public getLaunchTemplateData ( args , cb ) ; public getLaunchTemplateData ( args , options , cb ) ; public getLaunchTemplateData ( args , optionsOrCb ? , cb ? ) { const command = new GetLaunchTemplateDataCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets information about the resources that are associated with the specified managed prefix list.</p>
     */ public getManagedPrefixListAssociations ( args , options ? ) ; public getManagedPrefixListAssociations ( args , cb ) ; public getManagedPrefixListAssociations ( args , options , cb ) ; public getManagedPrefixListAssociations ( args , optionsOrCb ? , cb ? ) { const command = new GetManagedPrefixListAssociationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets information about the entries for a specified managed prefix list.</p>
     */ public getManagedPrefixListEntries ( args , options ? ) ; public getManagedPrefixListEntries ( args , cb ) ; public getManagedPrefixListEntries ( args , options , cb ) ; public getManagedPrefixListEntries ( args , optionsOrCb ? , cb ? ) { const command = new GetManagedPrefixListEntriesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets the findings for the specified Network Access Scope analysis.</p>
     */ public getNetworkInsightsAccessScopeAnalysisFindings ( args , options ? ) ; public getNetworkInsightsAccessScopeAnalysisFindings ( args , cb ) ; public getNetworkInsightsAccessScopeAnalysisFindings ( args , options , cb ) ; public getNetworkInsightsAccessScopeAnalysisFindings ( args , optionsOrCb ? , cb ? ) { const command = new GetNetworkInsightsAccessScopeAnalysisFindingsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets the content for the specified Network Access Scope.</p>
     */ public getNetworkInsightsAccessScopeContent ( args , options ? ) ; public getNetworkInsightsAccessScopeContent ( args , cb ) ; public getNetworkInsightsAccessScopeContent ( args , options , cb ) ; public getNetworkInsightsAccessScopeContent ( args , optionsOrCb ? , cb ? ) { const command = new GetNetworkInsightsAccessScopeContentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves the encrypted administrator password for a running Windows instance.</p>
     *         <p>The Windows password is generated at boot by the <code>EC2Config</code> service or
     *                 <code>EC2Launch</code> scripts (Windows Server 2016 and later). This usually only
     *             happens the first time an instance is launched. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/UsingConfig_WinAMI.html">EC2Config</a> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2launch.html">EC2Launch</a> in the
     *             <i>Amazon EC2 User Guide</i>.</p>
     *         <p>For the <code>EC2Config</code> service, the password is not generated for rebundled
     *             AMIs unless <code>Ec2SetPassword</code> is enabled before bundling.</p>
     *         <p>The password is encrypted using the key pair that you specified when you launched the
     *             instance. You must provide the corresponding key pair file.</p>
     *         <p>When you launch an instance, password generation and encryption may take a few
     *             minutes. If you try to retrieve the password before it's available, the output returns
     *             an empty string. We recommend that you wait up to 15 minutes after launching an instance
     *             before trying to retrieve the generated password.</p>
     */ public getPasswordData ( args , options ? ) ; public getPasswordData ( args , cb ) ; public getPasswordData ( args , options , cb ) ; public getPasswordData ( args , optionsOrCb ? , cb ? ) { const command = new GetPasswordDataCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns a quote and exchange information for exchanging one or more specified
     *             Convertible Reserved Instances for a new Convertible Reserved Instance. If the exchange
     *             cannot be performed, the reason is returned in the response. Use <a>AcceptReservedInstancesExchangeQuote</a> to perform the exchange.</p>
     */ public getReservedInstancesExchangeQuote ( args , options ? ) ; public getReservedInstancesExchangeQuote ( args , cb ) ; public getReservedInstancesExchangeQuote ( args , options , cb ) ; public getReservedInstancesExchangeQuote ( args , optionsOrCb ? , cb ? ) { const command = new GetReservedInstancesExchangeQuoteCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves the access status of your account to the EC2 serial console of all instances. By
     * 			default, access to the EC2 serial console is disabled for your account. For more
     * 			information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configure-access-to-serial-console.html#serial-console-account-access">Manage account access to the EC2 serial console</a> in the <i>Amazon EC2
     * 				User Guide</i>.</p>
     */ public getSerialConsoleAccessStatus ( args , options ? ) ; public getSerialConsoleAccessStatus ( args , cb ) ; public getSerialConsoleAccessStatus ( args , options , cb ) ; public getSerialConsoleAccessStatus ( args , optionsOrCb ? , cb ? ) { const command = new GetSerialConsoleAccessStatusCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Calculates the Spot placement score for a Region or Availability Zone based on the
     *          specified target capacity and compute requirements.</p>
     *          <p>You can specify your compute requirements either by using
     *             <code>InstanceRequirementsWithMetadata</code> and letting Amazon EC2 choose the optimal
     *          instance types to fulfill your Spot request, or you can specify the instance types by using
     *             <code>InstanceTypes</code>.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html">Spot placement score</a> in
     *          the Amazon EC2 User Guide.</p>
     */ public getSpotPlacementScores ( args , options ? ) ; public getSpotPlacementScores ( args , cb ) ; public getSpotPlacementScores ( args , options , cb ) ; public getSpotPlacementScores ( args , optionsOrCb ? , cb ? ) { const command = new GetSpotPlacementScoresCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets information about the subnet CIDR reservations.</p>
     */ public getSubnetCidrReservations ( args , options ? ) ; public getSubnetCidrReservations ( args , cb ) ; public getSubnetCidrReservations ( args , options , cb ) ; public getSubnetCidrReservations ( args , optionsOrCb ? , cb ? ) { const command = new GetSubnetCidrReservationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the route tables to which the specified resource attachment propagates routes.</p>
     */ public getTransitGatewayAttachmentPropagations ( args , options ? ) ; public getTransitGatewayAttachmentPropagations ( args , cb ) ; public getTransitGatewayAttachmentPropagations ( args , options , cb ) ; public getTransitGatewayAttachmentPropagations ( args , optionsOrCb ? , cb ? ) { const command = new GetTransitGatewayAttachmentPropagationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets information about the associations for the transit gateway multicast domain.</p>
     */ public getTransitGatewayMulticastDomainAssociations ( args , options ? ) ; public getTransitGatewayMulticastDomainAssociations ( args , cb ) ; public getTransitGatewayMulticastDomainAssociations ( args , options , cb ) ; public getTransitGatewayMulticastDomainAssociations ( args , optionsOrCb ? , cb ? ) { const command = new GetTransitGatewayMulticastDomainAssociationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets information about the prefix list references in a specified transit gateway route table.</p>
     */ public getTransitGatewayPrefixListReferences ( args , options ? ) ; public getTransitGatewayPrefixListReferences ( args , cb ) ; public getTransitGatewayPrefixListReferences ( args , options , cb ) ; public getTransitGatewayPrefixListReferences ( args , optionsOrCb ? , cb ? ) { const command = new GetTransitGatewayPrefixListReferencesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets information about the associations for the specified transit gateway route table.</p>
     */ public getTransitGatewayRouteTableAssociations ( args , options ? ) ; public getTransitGatewayRouteTableAssociations ( args , cb ) ; public getTransitGatewayRouteTableAssociations ( args , options , cb ) ; public getTransitGatewayRouteTableAssociations ( args , optionsOrCb ? , cb ? ) { const command = new GetTransitGatewayRouteTableAssociationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets information about the route table propagations for the specified transit gateway route table.</p>
     */ public getTransitGatewayRouteTablePropagations ( args , options ? ) ; public getTransitGatewayRouteTablePropagations ( args , cb ) ; public getTransitGatewayRouteTablePropagations ( args , options , cb ) ; public getTransitGatewayRouteTablePropagations ( args , optionsOrCb ? , cb ? ) { const command = new GetTransitGatewayRouteTablePropagationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Download an Amazon Web Services-provided sample configuration file to be used with the customer
     *             gateway device specified for your Site-to-Site VPN connection.</p>
     */ public getVpnConnectionDeviceSampleConfiguration ( args , options ? ) ; public getVpnConnectionDeviceSampleConfiguration ( args , cb ) ; public getVpnConnectionDeviceSampleConfiguration ( args , options , cb ) ; public getVpnConnectionDeviceSampleConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new GetVpnConnectionDeviceSampleConfigurationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Obtain a list of customer gateway devices for which sample configuration
     *             files can be provided. The request has no additional parameters. You can also see the
     *             list of device types with sample configuration files available under <a href="https://docs.aws.amazon.com/vpn/latest/s2svpn/your-cgw.html">Your customer gateway
     *                 device</a> in the <i>Amazon Web Services Site-to-Site VPN User Guide</i>.</p>
     */ public getVpnConnectionDeviceTypes ( args , options ? ) ; public getVpnConnectionDeviceTypes ( args , cb ) ; public getVpnConnectionDeviceTypes ( args , options , cb ) ; public getVpnConnectionDeviceTypes ( args , optionsOrCb ? , cb ? ) { const command = new GetVpnConnectionDeviceTypesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Uploads a client certificate revocation list to the specified Client VPN endpoint. Uploading a client certificate revocation list overwrites the existing client certificate revocation list.</p>
     * 		       <p>Uploading a client certificate revocation list resets existing client connections.</p>
     */ public importClientVpnClientCertificateRevocationList ( args , options ? ) ; public importClientVpnClientCertificateRevocationList ( args , cb ) ; public importClientVpnClientCertificateRevocationList ( args , options , cb ) ; public importClientVpnClientCertificateRevocationList ( args , optionsOrCb ? , cb ? ) { const command = new ImportClientVpnClientCertificateRevocationListCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Import single or multi-volume disk images or EBS snapshots into an Amazon Machine Image (AMI).</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html">Importing a
     *    VM as an image using VM Import/Export</a> in the <i>VM Import/Export User Guide</i>.</p>
     */ public importImage ( args , options ? ) ; public importImage ( args , cb ) ; public importImage ( args , options , cb ) ; public importImage ( args , optionsOrCb ? , cb ? ) { const command = new ImportImageCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates an import instance task using metadata from the specified disk image.</p>
     *          <p>This API action supports only single-volume VMs. To import multi-volume VMs, use <a>ImportImage</a>
     *    instead.</p>
     *          <p>This API action is not supported by the Command Line Interface (CLI). For
     *    information about using the Amazon EC2 CLI, which is deprecated, see
     *    <a href="https://awsdocs.s3.amazonaws.com/EC2/ec2-clt.pdf#UsingVirtualMachinesinAmazonEC2">Importing a VM to Amazon EC2</a> in the <i>Amazon EC2 CLI Reference</i> PDF file.</p>
     *          <p>For information about the import manifest referenced by this API action, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html">VM Import Manifest</a>.</p>
     */ public importInstance ( args , options ? ) ; public importInstance ( args , cb ) ; public importInstance ( args , options , cb ) ; public importInstance ( args , optionsOrCb ? , cb ? ) { const command = new ImportInstanceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Imports the public key from an RSA or ED25519 key pair that you created with a third-party tool.
     *         Compare this with <a>CreateKeyPair</a>, in which Amazon Web Services creates the key pair and gives the keys to you
     *         (Amazon Web Services keeps a copy of the public key). With ImportKeyPair, you create the key pair and give Amazon Web Services just the public key.
     *         The private key is never transferred between you and Amazon Web Services.</p>
     *          <p>For more information about key pairs, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html">Amazon EC2 key pairs</a>
     * 				in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public importKeyPair ( args , options ? ) ; public importKeyPair ( args , cb ) ; public importKeyPair ( args , options , cb ) ; public importKeyPair ( args , optionsOrCb ? , cb ? ) { const command = new ImportKeyPairCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Imports a disk into an EBS snapshot.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-import-snapshot.html">Importing a disk as a snapshot using VM Import/Export</a> in the
     *    <i>VM Import/Export User Guide</i>.</p>
     */ public importSnapshot ( args , options ? ) ; public importSnapshot ( args , cb ) ; public importSnapshot ( args , options , cb ) ; public importSnapshot ( args , optionsOrCb ? , cb ? ) { const command = new ImportSnapshotCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates an import volume task using metadata from the specified disk image.</p>
     *          <p>This API action supports only single-volume VMs. To import multi-volume VMs, use
     *    <a>ImportImage</a> instead. To import a disk to a snapshot, use
     *    <a>ImportSnapshot</a> instead.</p>
     *          <p>This API action is not supported by the Command Line Interface (CLI). For
     *    information about using the Amazon EC2 CLI, which is deprecated, see <a href="https://awsdocs.s3.amazonaws.com/EC2/ec2-clt.pdf#importing-your-volumes-into-amazon-ebs">Importing Disks to Amazon EBS</a> in the <i>Amazon EC2 CLI Reference</i> PDF file.</p>
     *          <p>For information about the import manifest referenced by this API action, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html">VM Import Manifest</a>.</p>
     */ public importVolume ( args , options ? ) ; public importVolume ( args , cb ) ; public importVolume ( args , options , cb ) ; public importVolume ( args , optionsOrCb ? , cb ? ) { const command = new ImportVolumeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists one or more snapshots that are currently in the Recycle Bin.</p>
     */ public listSnapshotsInRecycleBin ( args , options ? ) ; public listSnapshotsInRecycleBin ( args , cb ) ; public listSnapshotsInRecycleBin ( args , options , cb ) ; public listSnapshotsInRecycleBin ( args , optionsOrCb ? , cb ? ) { const command = new ListSnapshotsInRecycleBinCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies an attribute of the specified Elastic IP address. For requirements, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html#Using_Elastic_Addressing_Reverse_DNS">Using reverse DNS for email applications</a>.</p>
     */ public modifyAddressAttribute ( args , options ? ) ; public modifyAddressAttribute ( args , cb ) ; public modifyAddressAttribute ( args , options , cb ) ; public modifyAddressAttribute ( args , optionsOrCb ? , cb ? ) { const command = new ModifyAddressAttributeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Changes the opt-in status of the Local Zone and Wavelength Zone group for your
     *       account.</p>
     *          <p>Use <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeAvailabilityZones.html">
     *   		DescribeAvailabilityZones</a> to view the value for <code>GroupName</code>.</p>
     */ public modifyAvailabilityZoneGroup ( args , options ? ) ; public modifyAvailabilityZoneGroup ( args , cb ) ; public modifyAvailabilityZoneGroup ( args , options , cb ) ; public modifyAvailabilityZoneGroup ( args , optionsOrCb ? , cb ? ) { const command = new ModifyAvailabilityZoneGroupCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies a Capacity Reservation's capacity and the conditions under which it is to be released. You
     * 			cannot change a Capacity Reservation's instance type, EBS optimization, instance store settings,
     * 			platform, Availability Zone, or instance eligibility. If you need to modify any of these
     * 			attributes, we recommend that you cancel the Capacity Reservation, and then create a new one with
     * 			the required attributes.</p>
     */ public modifyCapacityReservation ( args , options ? ) ; public modifyCapacityReservation ( args , cb ) ; public modifyCapacityReservation ( args , options , cb ) ; public modifyCapacityReservation ( args , optionsOrCb ? , cb ? ) { const command = new ModifyCapacityReservationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies a Capacity Reservation Fleet.</p>
     * 		       <p>When you modify the total target capacity of a Capacity Reservation Fleet, the Fleet automatically
     * 			creates new Capacity Reservations, or modifies or cancels existing Capacity Reservations in the Fleet
     * 			to meet the new total target capacity. When you modify the end date for the Fleet, the end dates for
     * 			all of the individual Capacity Reservations in the Fleet are updated accordingly.</p>
     */ public modifyCapacityReservationFleet ( args , options ? ) ; public modifyCapacityReservationFleet ( args , cb ) ; public modifyCapacityReservationFleet ( args , options , cb ) ; public modifyCapacityReservationFleet ( args , optionsOrCb ? , cb ? ) { const command = new ModifyCapacityReservationFleetCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the specified Client VPN endpoint. Modifying the DNS server resets existing client connections.</p>
     */ public modifyClientVpnEndpoint ( args , options ? ) ; public modifyClientVpnEndpoint ( args , cb ) ; public modifyClientVpnEndpoint ( args , options , cb ) ; public modifyClientVpnEndpoint ( args , optionsOrCb ? , cb ? ) { const command = new ModifyClientVpnEndpointCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the default credit option for CPU usage of burstable performance instances.
     *             The default credit option is set at the account level per Amazon Web Services Region, and is specified
     *             per instance family. All new burstable performance instances in the account launch using
     *             the default credit option.</p>
     *         <p>
     *             <code>ModifyDefaultCreditSpecification</code> is an asynchronous operation, which works at an Amazon Web Services Region
     *             level and modifies the credit option for each Availability Zone. All zones in a
     *             Region are updated within five minutes. But if instances are launched during this
     *             operation, they might not get the new credit option until the zone is updated. To verify
     *             whether the update has occurred, you can call <code>GetDefaultCreditSpecification</code> and check
     *             <code>DefaultCreditSpecification</code> for updates.</p>
     *         <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html">Burstable
     *             performance instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
     */ public modifyDefaultCreditSpecification ( args , options ? ) ; public modifyDefaultCreditSpecification ( args , cb ) ; public modifyDefaultCreditSpecification ( args , options , cb ) ; public modifyDefaultCreditSpecification ( args , optionsOrCb ? , cb ? ) { const command = new ModifyDefaultCreditSpecificationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Changes the default KMS key for EBS encryption by default for your account in this Region.</p>
     *   	      <p>Amazon Web Services creates a unique Amazon Web Services managed KMS key in each Region for use with encryption by default. If
     *       you change the default KMS key to a symmetric customer managed KMS key, it is used instead of the Amazon Web Services
     *       managed KMS key. To reset the default KMS key to the Amazon Web Services managed KMS key for EBS, use <a>ResetEbsDefaultKmsKeyId</a>. Amazon EBS does not support asymmetric KMS keys.</p>
     *          <p>If you delete or disable the customer managed KMS key that you specified for use with
     *       encryption by default, your instances will fail to launch.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html">Amazon EBS encryption</a>
     *       in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public modifyEbsDefaultKmsKeyId ( args , options ? ) ; public modifyEbsDefaultKmsKeyId ( args , cb ) ; public modifyEbsDefaultKmsKeyId ( args , options , cb ) ; public modifyEbsDefaultKmsKeyId ( args , optionsOrCb ? , cb ? ) { const command = new ModifyEbsDefaultKmsKeyIdCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the specified EC2 Fleet.</p>
     *          <p>You can only modify an EC2 Fleet request of type <code>maintain</code>.</p>
     *          <p>While the EC2 Fleet is being modified, it is in the <code>modifying</code> state.</p>
     *          <p>To scale up your EC2 Fleet, increase its target capacity. The EC2 Fleet launches the additional
     *          Spot Instances according to the allocation strategy for the EC2 Fleet request. If the allocation
     *          strategy is <code>lowest-price</code>, the EC2 Fleet launches instances using the Spot Instance
     *          pool with the lowest price. If the allocation strategy is <code>diversified</code>, the
     *          EC2 Fleet distributes the instances across the Spot Instance pools. If the allocation strategy
     *          is <code>capacity-optimized</code>, EC2 Fleet launches instances from Spot Instance pools with optimal
     *          capacity for the number of instances that are launching.</p>
     *          <p>To scale down your EC2 Fleet, decrease its target capacity. First, the EC2 Fleet cancels any open
     *          requests that exceed the new target capacity. You can request that the EC2 Fleet terminate Spot
     *          Instances until the size of the fleet no longer exceeds the new target capacity. If the
     *          allocation strategy is <code>lowest-price</code>, the EC2 Fleet terminates the instances with
     *          the highest price per unit. If the allocation strategy is <code>capacity-optimized</code>,
     *          the EC2 Fleet terminates the instances in the Spot Instance pools that have the least available
     *          Spot Instance capacity. If the allocation strategy is <code>diversified</code>, the EC2 Fleet terminates
     *          instances across the Spot Instance pools. Alternatively, you can request that the EC2 Fleet keep
     *          the fleet at its current size, but not replace any Spot Instances that are interrupted or
     *          that you terminate manually.</p>
     *          <p>If you are finished with your EC2 Fleet for now, but will use it again later, you can set the
     *          target capacity to 0.</p>
     */ public modifyFleet ( args , options ? ) ; public modifyFleet ( args , cb ) ; public modifyFleet ( args , options , cb ) ; public modifyFleet ( args , optionsOrCb ? , cb ? ) { const command = new ModifyFleetCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the specified attribute of the specified Amazon FPGA Image (AFI).</p>
     */ public modifyFpgaImageAttribute ( args , options ? ) ; public modifyFpgaImageAttribute ( args , cb ) ; public modifyFpgaImageAttribute ( args , options , cb ) ; public modifyFpgaImageAttribute ( args , optionsOrCb ? , cb ? ) { const command = new ModifyFpgaImageAttributeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modify the auto-placement setting of a Dedicated Host. When auto-placement is enabled,
     *             any instances that you launch with a tenancy of <code>host</code> but without a specific host
     *         	ID are placed onto any available Dedicated Host in your account that has auto-placement enabled.
     *         	When auto-placement is disabled, you need to provide a host ID to have the instance launch onto
     *         	a specific host. If no host ID is provided, the instance is launched onto a suitable host with
     *         	auto-placement enabled.</p>
     *     	    <p>You can also use this API action to modify a Dedicated Host to support either multiple
     *     		instance types in an instance family, or to support a specific instance type only.</p>
     */ public modifyHosts ( args , options ? ) ; public modifyHosts ( args , cb ) ; public modifyHosts ( args , options , cb ) ; public modifyHosts ( args , optionsOrCb ? , cb ? ) { const command = new ModifyHostsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the ID format of a resource for a specified IAM user, IAM role, or the root
     *        user for an account; or all IAM users, IAM roles, and the root user for an account. You can
     *        specify that resources should receive longer IDs (17-character IDs) when they are created. </p>
     *          <p>This request can only be used to modify longer ID settings for resource types that are
     *        within the opt-in period. Resources currently in their opt-in period include:
     *                 <code>bundle</code> | <code>conversion-task</code> | <code>customer-gateway</code> | <code>dhcp-options</code> |
     *                 <code>elastic-ip-allocation</code> | <code>elastic-ip-association</code> |
     *                 <code>export-task</code> | <code>flow-log</code> | <code>image</code> |
     *                 <code>import-task</code> | <code>internet-gateway</code> | <code>network-acl</code>
     *             | <code>network-acl-association</code> | <code>network-interface</code> |
     *                 <code>network-interface-attachment</code> | <code>prefix-list</code> |
     *                 <code>route-table</code> | <code>route-table-association</code> |
     *                 <code>security-group</code> | <code>subnet</code> |
     *                 <code>subnet-cidr-block-association</code> | <code>vpc</code> |
     *         <code>vpc-cidr-block-association</code> | <code>vpc-endpoint</code> | <code>vpc-peering-connection</code> | <code>vpn-connection</code> | <code>vpn-gateway</code>. </p>
     *         <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/resource-ids.html">Resource IDs</a> in the
     *                 <i>Amazon Elastic Compute Cloud User Guide</i>. </p>
     *          <p>This setting applies to the principal specified in the request; it does not apply to the
     *       principal that makes the request. </p>
     *          <p>Resources created with longer IDs are visible to all IAM roles and users, regardless of these
     *       settings and provided that they have permission to use the relevant <code>Describe</code>
     *       command for the resource type.</p>
     */ public modifyIdentityIdFormat ( args , options ? ) ; public modifyIdentityIdFormat ( args , cb ) ; public modifyIdentityIdFormat ( args , options , cb ) ; public modifyIdentityIdFormat ( args , optionsOrCb ? , cb ? ) { const command = new ModifyIdentityIdFormatCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the ID format for the specified resource on a per-Region basis. You can
     *             specify that resources should receive longer IDs (17-character IDs) when they are
     *             created.</p>
     *          <p>This request can only be used to modify longer ID settings for resource types that
     *             are within the opt-in period. Resources currently in their opt-in period include:
     *             <code>bundle</code> | <code>conversion-task</code> | <code>customer-gateway</code> | <code>dhcp-options</code> |
     *             <code>elastic-ip-allocation</code> | <code>elastic-ip-association</code> |
     *             <code>export-task</code> | <code>flow-log</code> | <code>image</code> |
     *             <code>import-task</code> | <code>internet-gateway</code> | <code>network-acl</code>
     *             | <code>network-acl-association</code> | <code>network-interface</code> |
     *             <code>network-interface-attachment</code> | <code>prefix-list</code> |
     *             <code>route-table</code> | <code>route-table-association</code> |
     *             <code>security-group</code> | <code>subnet</code> |
     *             <code>subnet-cidr-block-association</code> | <code>vpc</code> |
     *             <code>vpc-cidr-block-association</code> | <code>vpc-endpoint</code> | <code>vpc-peering-connection</code> | <code>vpn-connection</code> | <code>vpn-gateway</code>.</p>
     *          <p>This setting applies to the IAM user who makes the request; it does not apply to the
     *         entire Amazon Web Services account. By default, an IAM user defaults to the same settings as the root user. If
     *         you're using this action as the root user, then these settings apply to the entire account,
     *         unless an IAM user explicitly overrides these settings for themselves. For more information,
     *         see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/resource-ids.html">Resource IDs</a>
     *         in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     *          <p>Resources created with longer IDs are visible to all IAM roles and users, regardless
     *         of these settings and provided that they have permission to use the relevant
     *         <code>Describe</code> command for the resource type.</p>
     */ public modifyIdFormat ( args , options ? ) ; public modifyIdFormat ( args , cb ) ; public modifyIdFormat ( args , options , cb ) ; public modifyIdFormat ( args , optionsOrCb ? , cb ? ) { const command = new ModifyIdFormatCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the specified attribute of the specified AMI. You can specify only one attribute at a time.
     *        You can use the <code>Attribute</code> parameter to specify the attribute or one of the following parameters:
     *        <code>Description</code> or <code>LaunchPermission</code>.</p>
     *    	     <p>Images with an Amazon Web Services Marketplace product code cannot be made public.</p>
     *          <p>To enable the SriovNetSupport enhanced networking attribute of an image, enable SriovNetSupport on an instance
     *        and create an AMI from the instance.</p>
     */ public modifyImageAttribute ( args , options ? ) ; public modifyImageAttribute ( args , cb ) ; public modifyImageAttribute ( args , options , cb ) ; public modifyImageAttribute ( args , optionsOrCb ? , cb ? ) { const command = new ModifyImageAttributeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the specified attribute of the specified instance. You can specify only one
     *             attribute at a time.</p>
     *         <p>
     *             <b>Note: </b>Using this action to change the security groups
     *             associated with an elastic network interface (ENI) attached to an instance in a VPC can
     *             result in an error if the instance has more than one ENI. To change the security groups
     *             associated with an ENI attached to an instance that has multiple ENIs, we recommend that
     *             you use the <a>ModifyNetworkInterfaceAttribute</a> action.</p>
     *         <p>To modify some attributes, the instance must be stopped. For more information, see
     *                 <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_ChangingAttributesWhileInstanceStopped.html">Modify a stopped instance</a> in the <i>Amazon EC2 User Guide</i>.</p>
     */ public modifyInstanceAttribute ( args , options ? ) ; public modifyInstanceAttribute ( args , cb ) ; public modifyInstanceAttribute ( args , options , cb ) ; public modifyInstanceAttribute ( args , optionsOrCb ? , cb ? ) { const command = new ModifyInstanceAttributeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the Capacity Reservation settings for a stopped instance. Use this action to configure an
     * 			instance to target a specific Capacity Reservation, run in any <code>open</code> Capacity Reservation with matching
     * 			attributes, or run On-Demand Instance capacity.</p>
     */ public modifyInstanceCapacityReservationAttributes ( args , options ? ) ; public modifyInstanceCapacityReservationAttributes ( args , cb ) ; public modifyInstanceCapacityReservationAttributes ( args , options , cb ) ; public modifyInstanceCapacityReservationAttributes ( args , optionsOrCb ? , cb ? ) { const command = new ModifyInstanceCapacityReservationAttributesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the credit option for CPU usage on a running or stopped burstable performance
     *             instance. The credit options are <code>standard</code> and
     *             <code>unlimited</code>.</p>
     *         <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html">Burstable
     *                 performance instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
     */ public modifyInstanceCreditSpecification ( args , options ? ) ; public modifyInstanceCreditSpecification ( args , cb ) ; public modifyInstanceCreditSpecification ( args , options , cb ) ; public modifyInstanceCreditSpecification ( args , optionsOrCb ? , cb ? ) { const command = new ModifyInstanceCreditSpecificationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the start time for a scheduled Amazon EC2 instance event.</p>
     */ public modifyInstanceEventStartTime ( args , options ? ) ; public modifyInstanceEventStartTime ( args , cb ) ; public modifyInstanceEventStartTime ( args , options , cb ) ; public modifyInstanceEventStartTime ( args , optionsOrCb ? , cb ? ) { const command = new ModifyInstanceEventStartTimeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the specified event window.</p>
     *          <p>You can define either a set of time ranges or a cron expression when modifying the event
     *          window, but not both.</p>
     *          <p>To modify the targets associated with the event window, use the <a>AssociateInstanceEventWindow</a> and <a>DisassociateInstanceEventWindow</a> API.</p>
     *          <p>If Amazon Web Services has already scheduled an event, modifying an event window won't change the time
     *          of the scheduled event.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/event-windows.html">Define event windows for scheduled
     *             events</a> in the <i>Amazon EC2 User Guide</i>.</p>
     */ public modifyInstanceEventWindow ( args , options ? ) ; public modifyInstanceEventWindow ( args , cb ) ; public modifyInstanceEventWindow ( args , options , cb ) ; public modifyInstanceEventWindow ( args , optionsOrCb ? , cb ? ) { const command = new ModifyInstanceEventWindowCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modify the instance metadata parameters on a running or stopped instance. When you
     *             modify the parameters on a stopped instance, they are applied when the instance is
     *             started. When you modify the parameters on a running instance, the API responds with a
     *             state of “pending”. After the parameter modifications are successfully applied to the
     *             instance, the state of the modifications changes from “pending” to “applied” in
     *             subsequent describe-instances API calls. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html">Instance metadata and user data</a>
     *           in the <i>Amazon EC2 User Guide</i>.</p>
     */ public modifyInstanceMetadataOptions ( args , options ? ) ; public modifyInstanceMetadataOptions ( args , cb ) ; public modifyInstanceMetadataOptions ( args , options , cb ) ; public modifyInstanceMetadataOptions ( args , optionsOrCb ? , cb ? ) { const command = new ModifyInstanceMetadataOptionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the placement attributes for a specified instance. You can do the
     *             following:</p>
     *         <ul>
     *             <li>
     *                 <p>Modify the affinity between an instance and a <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-overview.html">Dedicated
     *                         Host</a>. When affinity is set to <code>host</code> and the instance is
     *                     not associated with a specific Dedicated Host, the next time the instance is
     *                     launched, it is automatically associated with the host on which it lands. If the
     *                     instance is restarted or rebooted, this relationship persists.</p>
     *             </li>
     *             <li>
     *                 <p>Change the Dedicated Host with which an instance is associated.</p>
     *             </li>
     *             <li>
     *                 <p>Change the instance tenancy of an instance.</p>
     *             </li>
     *             <li>
     *                 <p>Move an instance to or from a <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html">placement
     *                     group</a>.</p>
     *             </li>
     *          </ul>
     *         <p>At least one attribute for affinity, host ID, tenancy, or placement group name must
     *             be specified in the request. Affinity and tenancy can be modified in the same
     *             request.</p>
     *         <p>To modify the host ID, tenancy, placement group, or partition for an instance, the
     *             instance must be in the <code>stopped</code> state.</p>
     */ public modifyInstancePlacement ( args , options ? ) ; public modifyInstancePlacement ( args , cb ) ; public modifyInstancePlacement ( args , options , cb ) ; public modifyInstancePlacement ( args , optionsOrCb ? , cb ? ) { const command = new ModifyInstancePlacementCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modify the configurations of an IPAM.
     *       </p>
     */ public modifyIpam ( args , options ? ) ; public modifyIpam ( args , cb ) ; public modifyIpam ( args , options , cb ) ; public modifyIpam ( args , optionsOrCb ? , cb ? ) { const command = new ModifyIpamCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modify the configurations of an IPAM pool.</p>
     *          <p>For more information, see <a href="/vpc/latest/ipam/mod-pool-ipam.html">Modify a pool</a> in the <i>Amazon VPC IPAM User Guide</i>.
     *       </p>
     */ public modifyIpamPool ( args , options ? ) ; public modifyIpamPool ( args , cb ) ; public modifyIpamPool ( args , options , cb ) ; public modifyIpamPool ( args , optionsOrCb ? , cb ? ) { const command = new ModifyIpamPoolCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modify a resource CIDR. You can use this action to transfer resource CIDRs between scopes and ignore resource CIDRs that you do not want to manage. If set to false, the resource will not be tracked for overlap, it cannot be auto-imported into a pool, and it will be removed from any pool it has an allocation in.</p>
     *          <p>For more information, see <a href="/vpc/latest/ipam/move-resource-ipam.html">Move resource CIDRs between scopes</a> and <a href="/vpc/latest/ipam/change-monitoring-state-ipam.html">Change the monitoring state of resource CIDRs</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
     */ public modifyIpamResourceCidr ( args , options ? ) ; public modifyIpamResourceCidr ( args , cb ) ; public modifyIpamResourceCidr ( args , options , cb ) ; public modifyIpamResourceCidr ( args , optionsOrCb ? , cb ? ) { const command = new ModifyIpamResourceCidrCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modify an IPAM scope.</p>
     */ public modifyIpamScope ( args , options ? ) ; public modifyIpamScope ( args , cb ) ; public modifyIpamScope ( args , options , cb ) ; public modifyIpamScope ( args , optionsOrCb ? , cb ? ) { const command = new ModifyIpamScopeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies a launch template. You can specify which version of the launch template to
     *             set as the default version. When launching an instance, the default version applies when
     *             a launch template version is not specified.</p>
     */ public modifyLaunchTemplate ( args , options ? ) ; public modifyLaunchTemplate ( args , cb ) ; public modifyLaunchTemplate ( args , options , cb ) ; public modifyLaunchTemplate ( args , optionsOrCb ? , cb ? ) { const command = new ModifyLaunchTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the specified managed prefix list.</p>
     *         <p>Adding or removing entries in a prefix list creates a new version of the prefix list.
     *             Changing the name of the prefix list does not affect the version.</p>
     *         <p>If you specify a current version number that does not match the true current version
     *             number, the request fails.</p>
     */ public modifyManagedPrefixList ( args , options ? ) ; public modifyManagedPrefixList ( args , cb ) ; public modifyManagedPrefixList ( args , options , cb ) ; public modifyManagedPrefixList ( args , optionsOrCb ? , cb ? ) { const command = new ModifyManagedPrefixListCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the specified network interface attribute. You can specify only one
     *             attribute at a time. You can use this action to attach and detach security groups from
     *             an existing EC2 instance.</p>
     */ public modifyNetworkInterfaceAttribute ( args , options ? ) ; public modifyNetworkInterfaceAttribute ( args , cb ) ; public modifyNetworkInterfaceAttribute ( args , options , cb ) ; public modifyNetworkInterfaceAttribute ( args , optionsOrCb ? , cb ? ) { const command = new ModifyNetworkInterfaceAttributeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the options for instance hostnames for the specified instance.</p>
     */ public modifyPrivateDnsNameOptions ( args , options ? ) ; public modifyPrivateDnsNameOptions ( args , cb ) ; public modifyPrivateDnsNameOptions ( args , options , cb ) ; public modifyPrivateDnsNameOptions ( args , optionsOrCb ? , cb ? ) { const command = new ModifyPrivateDnsNameOptionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the Availability Zone, instance count, instance type, or network platform
     *             (EC2-Classic or EC2-VPC) of your Reserved Instances. The Reserved Instances to be
     *             modified must be identical, except for Availability Zone, network platform, and instance
     *             type.</p>
     * 		       <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-modifying.html">Modifying Reserved
     * 				Instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
     */ public modifyReservedInstances ( args , options ? ) ; public modifyReservedInstances ( args , cb ) ; public modifyReservedInstances ( args , options , cb ) ; public modifyReservedInstances ( args , optionsOrCb ? , cb ? ) { const command = new ModifyReservedInstancesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the rules of a security group.</p>
     */ public modifySecurityGroupRules ( args , options ? ) ; public modifySecurityGroupRules ( args , cb ) ; public modifySecurityGroupRules ( args , options , cb ) ; public modifySecurityGroupRules ( args , optionsOrCb ? , cb ? ) { const command = new ModifySecurityGroupRulesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Adds or removes permission settings for the specified snapshot. You may add or remove
     *       specified Amazon Web Services account IDs from a snapshot's list of create volume permissions, but you cannot
     *       do both in a single operation. If you need to both add and remove account IDs for a snapshot,
     *       you must use multiple operations. You can make up to 500 modifications to a snapshot in a single operation.</p>
     *          <p>Encrypted snapshots and snapshots with Amazon Web Services Marketplace product codes cannot be made
     *       public. Snapshots encrypted with your default KMS key cannot be shared with other accounts.</p>
     *          <p>For more information about modifying snapshot permissions, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-modifying-snapshot-permissions.html">Share a snapshot</a> in the
     *         <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public modifySnapshotAttribute ( args , options ? ) ; public modifySnapshotAttribute ( args , cb ) ; public modifySnapshotAttribute ( args , options , cb ) ; public modifySnapshotAttribute ( args , optionsOrCb ? , cb ? ) { const command = new ModifySnapshotAttributeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Archives an Amazon EBS snapshot. When you archive a snapshot, it is converted to a full
     *       snapshot that includes all of the blocks of data that were written to the volume at the
     *       time the snapshot was created, and moved from the standard tier to the archive
     *       tier. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-archive.html">Archive Amazon EBS snapshots</a>
     *       in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public modifySnapshotTier ( args , options ? ) ; public modifySnapshotTier ( args , cb ) ; public modifySnapshotTier ( args , options , cb ) ; public modifySnapshotTier ( args , optionsOrCb ? , cb ? ) { const command = new ModifySnapshotTierCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the specified Spot Fleet request.</p>
     *         <p>You can only modify a Spot Fleet request of type <code>maintain</code>.</p>
     *         <p>While the Spot Fleet request is being modified, it is in the <code>modifying</code>
     *             state.</p>
     *         <p>To scale up your Spot Fleet, increase its target capacity. The Spot Fleet launches the
     *             additional Spot Instances according to the allocation strategy for the Spot Fleet
     *             request. If the allocation strategy is <code>lowestPrice</code>, the Spot Fleet launches
     *             instances using the Spot Instance pool with the lowest price. If the allocation strategy
     *             is <code>diversified</code>, the Spot Fleet distributes the instances across the Spot
     *             Instance pools. If the allocation strategy is <code>capacityOptimized</code>, Spot Fleet
     *             launches instances from Spot Instance pools with optimal capacity for the number of instances
     *             that are launching.</p>
     *         <p>To scale down your Spot Fleet, decrease its target capacity. First, the Spot Fleet
     *             cancels any open requests that exceed the new target capacity. You can request that the
     *             Spot Fleet terminate Spot Instances until the size of the fleet no longer exceeds the
     *             new target capacity. If the allocation strategy is <code>lowestPrice</code>, the Spot
     *             Fleet terminates the instances with the highest price per unit. If the allocation
     *             strategy is <code>capacityOptimized</code>, the Spot Fleet terminates the instances in
     *             the Spot Instance pools that have the least available Spot Instance capacity. If the allocation
     *             strategy is <code>diversified</code>, the Spot Fleet terminates instances across the
     *             Spot Instance pools. Alternatively, you can request that the Spot Fleet keep the fleet
     *             at its current size, but not replace any Spot Instances that are interrupted or that you
     *             terminate manually.</p>
     *         <p>If you are finished with your Spot Fleet for now, but will use it again later, you can
     *             set the target capacity to 0.</p>
     */ public modifySpotFleetRequest ( args , options ? ) ; public modifySpotFleetRequest ( args , cb ) ; public modifySpotFleetRequest ( args , options , cb ) ; public modifySpotFleetRequest ( args , optionsOrCb ? , cb ? ) { const command = new ModifySpotFleetRequestCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies a subnet attribute. You can only modify one attribute at a time.</p>
     *
     * 	        <p>Use this action to modify subnets on Amazon Web Services Outposts.</p>
     *         <ul>
     *             <li>
     *                 <p>To modify a subnet on an Outpost rack, set both
     *                         <code>MapCustomerOwnedIpOnLaunch</code> and
     *                         <code>CustomerOwnedIpv4Pool</code>. These two parameters act as a single
     *                     attribute.</p>
     *             </li>
     *             <li>
     *                 <p>To modify a subnet on an Outpost server, set either
     *                         <code>EnableLniAtDeviceIndex</code> or
     *                     <code>DisableLniAtDeviceIndex</code>.</p>
     *             </li>
     *          </ul>
     *
     * 	        <p>For more information about Amazon Web Services Outposts, see the following:</p>
     *
     * 	        <ul>
     *             <li>
     *                <p>
     *                   <a href="https://docs.aws.amazon.com/outposts/latest/userguide/how-servers-work.html">Outpost servers</a>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <a href="https://docs.aws.amazon.com/outposts/latest/userguide/how-racks-work.html">Outpost racks</a>
     *                </p>
     *             </li>
     *          </ul>
     */ public modifySubnetAttribute ( args , options ? ) ; public modifySubnetAttribute ( args , cb ) ; public modifySubnetAttribute ( args , options , cb ) ; public modifySubnetAttribute ( args , optionsOrCb ? , cb ? ) { const command = new ModifySubnetAttributeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Allows or restricts mirroring network services.</p>
     *          <p> By default, Amazon DNS network services are not eligible for Traffic Mirror. Use <code>AddNetworkServices</code> to add network services to a Traffic Mirror filter. When a network service is added to the Traffic Mirror filter, all traffic related to that network service will be mirrored.
     *          When you no longer want to mirror network services, use <code>RemoveNetworkServices</code> to remove the network services from the Traffic Mirror filter.
     *       </p>
     */ public modifyTrafficMirrorFilterNetworkServices ( args , options ? ) ; public modifyTrafficMirrorFilterNetworkServices ( args , cb ) ; public modifyTrafficMirrorFilterNetworkServices ( args , options , cb ) ; public modifyTrafficMirrorFilterNetworkServices ( args , optionsOrCb ? , cb ? ) { const command = new ModifyTrafficMirrorFilterNetworkServicesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the specified Traffic Mirror rule.</p>
     *          <p>
     *             <code>DestinationCidrBlock</code> and <code>SourceCidrBlock</code> must both be an IPv4
     *          range or an IPv6 range.</p>
     */ public modifyTrafficMirrorFilterRule ( args , options ? ) ; public modifyTrafficMirrorFilterRule ( args , cb ) ; public modifyTrafficMirrorFilterRule ( args , options , cb ) ; public modifyTrafficMirrorFilterRule ( args , optionsOrCb ? , cb ? ) { const command = new ModifyTrafficMirrorFilterRuleCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies a Traffic Mirror session.</p>
     */ public modifyTrafficMirrorSession ( args , options ? ) ; public modifyTrafficMirrorSession ( args , cb ) ; public modifyTrafficMirrorSession ( args , options , cb ) ; public modifyTrafficMirrorSession ( args , optionsOrCb ? , cb ? ) { const command = new ModifyTrafficMirrorSessionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the specified transit gateway. When you modify a transit gateway, the modified options are applied to new transit gateway attachments only. Your existing transit gateway attachments are not modified.</p>
     */ public modifyTransitGateway ( args , options ? ) ; public modifyTransitGateway ( args , cb ) ; public modifyTransitGateway ( args , options , cb ) ; public modifyTransitGateway ( args , optionsOrCb ? , cb ? ) { const command = new ModifyTransitGatewayCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies a reference (route) to a prefix list in a specified transit gateway route table.</p>
     */ public modifyTransitGatewayPrefixListReference ( args , options ? ) ; public modifyTransitGatewayPrefixListReference ( args , cb ) ; public modifyTransitGatewayPrefixListReference ( args , options , cb ) ; public modifyTransitGatewayPrefixListReference ( args , optionsOrCb ? , cb ? ) { const command = new ModifyTransitGatewayPrefixListReferenceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the specified VPC attachment.</p>
     */ public modifyTransitGatewayVpcAttachment ( args , options ? ) ; public modifyTransitGatewayVpcAttachment ( args , cb ) ; public modifyTransitGatewayVpcAttachment ( args , options , cb ) ; public modifyTransitGatewayVpcAttachment ( args , optionsOrCb ? , cb ? ) { const command = new ModifyTransitGatewayVpcAttachmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>You can modify several parameters of an existing EBS volume, including volume size, volume
     *       type, and IOPS capacity. If your EBS volume is attached to a current-generation EC2 instance
     *       type, you might be able to apply these changes without stopping the instance or detaching the
     *       volume from it. For more information about modifying EBS volumes, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-modify-volume.html">Amazon EBS Elastic Volumes</a> (Linux instances)
     *       or <a href="https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ebs-modify-volume.html">Amazon EBS Elastic Volumes</a> (Windows instances).</p>
     *          <p>When you complete a resize operation on your volume, you need to extend the volume's
     *       file-system size to take advantage of the new storage capacity. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-expand-volume.html#recognize-expanded-volume-linux">Extend a Linux file system</a> or
     *       <a href="https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ebs-expand-volume.html#recognize-expanded-volume-windows">Extend a Windows file system</a>.</p>
     *          <p> You can use CloudWatch Events to check the status of a modification to an EBS volume. For
     *       information about CloudWatch Events, see the <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/">Amazon CloudWatch Events User Guide</a>. You can also track the status of a
     *       modification using <a>DescribeVolumesModifications</a>. For information
     *       about tracking status changes using either method, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-volume-modifications.html">Monitor the progress of volume modifications</a>.</p>
     *          <p>With previous-generation instance types, resizing an EBS volume might require detaching and
     *       reattaching the volume or stopping and restarting the instance.</p>
     *          <p>If you reach the maximum volume modification rate per volume limit, you must wait
     *       at least six hours before applying further modifications to the affected EBS volume.</p>
     */ public modifyVolume ( args , options ? ) ; public modifyVolume ( args , cb ) ; public modifyVolume ( args , options , cb ) ; public modifyVolume ( args , optionsOrCb ? , cb ? ) { const command = new ModifyVolumeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies a volume attribute.</p>
     *          <p>By default, all I/O operations for the volume are suspended when the data on the volume is
     *       determined to be potentially inconsistent, to prevent undetectable, latent data corruption.
     *       The I/O access to the volume can be resumed by first enabling I/O access and then checking the
     *       data consistency on your volume.</p>
     *          <p>You can change the default behavior to resume I/O operations. We recommend that you change
     *       this only for boot volumes or for volumes that are stateless or disposable.</p>
     */ public modifyVolumeAttribute ( args , options ? ) ; public modifyVolumeAttribute ( args , cb ) ; public modifyVolumeAttribute ( args , options , cb ) ; public modifyVolumeAttribute ( args , optionsOrCb ? , cb ? ) { const command = new ModifyVolumeAttributeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the specified attribute of the specified VPC.</p>
     */ public modifyVpcAttribute ( args , options ? ) ; public modifyVpcAttribute ( args , cb ) ; public modifyVpcAttribute ( args , options , cb ) ; public modifyVpcAttribute ( args , optionsOrCb ? , cb ? ) { const command = new ModifyVpcAttributeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies attributes of a specified VPC endpoint. The attributes that you can modify
     *             depend on the type of VPC endpoint (interface, gateway, or Gateway Load Balancer). For more information, see
     *             <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-endpoints.html">VPC
     *                 Endpoints</a> in the <i>Amazon Virtual Private Cloud User Guide</i>.</p>
     */ public modifyVpcEndpoint ( args , options ? ) ; public modifyVpcEndpoint ( args , cb ) ; public modifyVpcEndpoint ( args , options , cb ) ; public modifyVpcEndpoint ( args , optionsOrCb ? , cb ? ) { const command = new ModifyVpcEndpointCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies a connection notification for VPC endpoint or VPC endpoint service. You
     *             can change the SNS topic for the notification, or the events for which to be notified. </p>
     */ public modifyVpcEndpointConnectionNotification ( args , options ? ) ; public modifyVpcEndpointConnectionNotification ( args , cb ) ; public modifyVpcEndpointConnectionNotification ( args , options , cb ) ; public modifyVpcEndpointConnectionNotification ( args , optionsOrCb ? , cb ? ) { const command = new ModifyVpcEndpointConnectionNotificationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the attributes of your VPC endpoint service configuration. You can change the
     *             Network Load Balancers or Gateway Load Balancers for your service, and you can specify whether acceptance is
     *             required for requests to connect to your endpoint service through an interface VPC
     *             endpoint.</p>
     * 	        <p>If you set or modify the private DNS name, you must prove that you own the private DNS
     *             domain name. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/endpoint-services-dns-validation.html">VPC Endpoint Service
     *                 Private DNS Name Verification</a> in the
     *             <i>Amazon Virtual Private Cloud User Guide</i>.</p>
     */ public modifyVpcEndpointServiceConfiguration ( args , options ? ) ; public modifyVpcEndpointServiceConfiguration ( args , cb ) ; public modifyVpcEndpointServiceConfiguration ( args , options , cb ) ; public modifyVpcEndpointServiceConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new ModifyVpcEndpointServiceConfigurationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the payer responsibility for your VPC endpoint service.</p>
     */ public modifyVpcEndpointServicePayerResponsibility ( args , options ? ) ; public modifyVpcEndpointServicePayerResponsibility ( args , cb ) ; public modifyVpcEndpointServicePayerResponsibility ( args , options , cb ) ; public modifyVpcEndpointServicePayerResponsibility ( args , optionsOrCb ? , cb ? ) { const command = new ModifyVpcEndpointServicePayerResponsibilityCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the permissions for your <a href="https://docs.aws.amazon.com/vpc/latest/userguide/endpoint-service.html">VPC endpoint service</a>. You can add or remove permissions for service consumers (IAM users,
     * 	        IAM roles, and Amazon Web Services accounts) to connect to your endpoint service.</p>
     * 	        <p>If you grant permissions to all principals, the service is public. Any users who know the name of a
     * 	        public service can send a request to attach an endpoint. If the service does not require manual approval,
     * 	        attachments are automatically approved.</p>
     */ public modifyVpcEndpointServicePermissions ( args , options ? ) ; public modifyVpcEndpointServicePermissions ( args , cb ) ; public modifyVpcEndpointServicePermissions ( args , options , cb ) ; public modifyVpcEndpointServicePermissions ( args , optionsOrCb ? , cb ? ) { const command = new ModifyVpcEndpointServicePermissionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the VPC peering connection options on one side of a VPC peering connection. You can do the following:</p>
     *          <ul>
     *             <li>
     *                <p>Enable/disable communication over the peering connection between an EC2-Classic instance that's linked to your VPC (using ClassicLink) and instances in the peer VPC.</p>
     *             </li>
     *             <li>
     *                <p>Enable/disable communication over the peering connection between instances in your VPC and an EC2-Classic instance that's linked to the peer VPC.</p>
     *             </li>
     *             <li>
     *                <p>Enable/disable the ability to resolve public DNS hostnames to private IP
     *                     addresses when queried from instances in the peer VPC.</p>
     *             </li>
     *          </ul>
     *          <p>If the peered VPCs are in the same Amazon Web Services account, you can enable DNS resolution
     *         for queries from the local VPC. This ensures that queries from the local VPC resolve to private IP
     *         addresses in the peer VPC. This option is not available if the peered VPCs are in different
     *         different Amazon Web Services accounts or different Regions. For peered VPCs in different
     *         Amazon Web Services accounts, each Amazon Web Services account owner must initiate a separate request
     *         to modify the peering connection options. For inter-region peering connections, you must use the
     *         Region for the requester VPC to modify the requester VPC peering options and the Region for the
     *         accepter VPC to modify the accepter VPC peering options. To verify which VPCs are the accepter and
     *         the requester for a VPC peering connection, use the <a>DescribeVpcPeeringConnections</a> command.</p>
     */ public modifyVpcPeeringConnectionOptions ( args , options ? ) ; public modifyVpcPeeringConnectionOptions ( args , cb ) ; public modifyVpcPeeringConnectionOptions ( args , options , cb ) ; public modifyVpcPeeringConnectionOptions ( args , optionsOrCb ? , cb ? ) { const command = new ModifyVpcPeeringConnectionOptionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the instance tenancy attribute of the specified VPC. You can change the
     *             instance tenancy attribute of a VPC to <code>default</code> only. You cannot change the
     *             instance tenancy attribute to <code>dedicated</code>.</p>
     *         <p>After you modify the tenancy of the VPC, any new instances that you launch into the
     *             VPC have a tenancy of <code>default</code>, unless you specify otherwise during launch.
     *             The tenancy of any existing instances in the VPC is not affected.</p>
     *         <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-instance.html">Dedicated Instances</a> in the
     * 				<i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public modifyVpcTenancy ( args , options ? ) ; public modifyVpcTenancy ( args , cb ) ; public modifyVpcTenancy ( args , options , cb ) ; public modifyVpcTenancy ( args , optionsOrCb ? , cb ? ) { const command = new ModifyVpcTenancyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the customer gateway or the target gateway of an Amazon Web Services Site-to-Site VPN connection. To
     *             modify the target gateway, the following migration options are available:</p>
     *         <ul>
     *             <li>
     *                 <p>An existing virtual private gateway to a new virtual private gateway</p>
     *             </li>
     *             <li>
     *                 <p>An existing virtual private gateway to a transit gateway</p>
     *             </li>
     *             <li>
     *                 <p>An existing transit gateway to a new transit gateway</p>
     *             </li>
     *             <li>
     *                 <p>An existing transit gateway to a virtual private gateway</p>
     *             </li>
     *          </ul>
     *         <p>Before you perform the migration to the new gateway, you must configure the new
     *             gateway. Use <a>CreateVpnGateway</a> to create a virtual private gateway, or
     *                 <a>CreateTransitGateway</a> to create a transit gateway.</p>
     *         <p>This step is required when you migrate from a virtual private gateway with static
     *             routes to a transit gateway. </p>
     *         <p>You must delete the static routes before you migrate to the new gateway.</p>
     *
     *         <p>Keep a copy of the static route before you delete it. You will need to add back these
     *             routes to the transit gateway after the VPN connection migration is complete.</p>
     *
     *         <p>After you migrate to the new gateway, you might need to modify your VPC route table.
     *             Use <a>CreateRoute</a> and <a>DeleteRoute</a> to make the changes
     *             described in <a href="https://docs.aws.amazon.com/vpn/latest/s2svpn/modify-vpn-target.html#step-update-routing">Update VPC route
     *                 tables</a> in the <i>Amazon Web Services Site-to-Site VPN User Guide</i>.</p>
     *         <p>When the new gateway is a transit gateway, modify the transit gateway route table to
     *             allow traffic between the VPC and the Amazon Web Services Site-to-Site VPN connection.
     *             Use <a>CreateTransitGatewayRoute</a> to add the routes.</p>
     *         <p> If you deleted VPN static routes, you must add the static routes to the transit
     *             gateway route table.</p>
     *         <p>After you perform this operation, the VPN endpoint's IP addresses on the Amazon Web Services side and the tunnel options remain intact. Your Amazon Web Services Site-to-Site VPN connection will
     *             be temporarily unavailable for a brief period while we provision the new
     *             endpoints.</p>
     */ public modifyVpnConnection ( args , options ? ) ; public modifyVpnConnection ( args , cb ) ; public modifyVpnConnection ( args , options , cb ) ; public modifyVpnConnection ( args , optionsOrCb ? , cb ? ) { const command = new ModifyVpnConnectionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the connection options for your Site-to-Site VPN connection.</p>
     *         <p>When you modify the VPN connection options, the VPN endpoint IP addresses on the
     *                 Amazon Web Services side do not change, and the tunnel options do not change. Your
     *             VPN connection will be temporarily unavailable for a brief period while the VPN
     *             connection is updated.</p>
     */ public modifyVpnConnectionOptions ( args , options ? ) ; public modifyVpnConnectionOptions ( args , cb ) ; public modifyVpnConnectionOptions ( args , options , cb ) ; public modifyVpnConnectionOptions ( args , optionsOrCb ? , cb ? ) { const command = new ModifyVpnConnectionOptionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the VPN tunnel endpoint certificate.</p>
     */ public modifyVpnTunnelCertificate ( args , options ? ) ; public modifyVpnTunnelCertificate ( args , cb ) ; public modifyVpnTunnelCertificate ( args , options , cb ) ; public modifyVpnTunnelCertificate ( args , optionsOrCb ? , cb ? ) { const command = new ModifyVpnTunnelCertificateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the options for a VPN tunnel in an Amazon Web Services Site-to-Site VPN connection. You can modify
     *             multiple options for a tunnel in a single request, but you can only modify one tunnel at
     *             a time. For more information, see <a href="https://docs.aws.amazon.com/vpn/latest/s2svpn/VPNTunnels.html">Site-to-Site VPN tunnel options for your Site-to-Site VPN
     *                 connection</a> in the <i>Amazon Web Services Site-to-Site VPN User Guide</i>.</p>
     */ public modifyVpnTunnelOptions ( args , options ? ) ; public modifyVpnTunnelOptions ( args , cb ) ; public modifyVpnTunnelOptions ( args , options , cb ) ; public modifyVpnTunnelOptions ( args , optionsOrCb ? , cb ? ) { const command = new ModifyVpnTunnelOptionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Enables detailed monitoring for a running instance. Otherwise, basic monitoring is
     *             enabled. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-cloudwatch.html">Monitor your instances using
     *                 CloudWatch</a> in the <i>Amazon EC2 User Guide</i>.</p>
     *         <p>To disable detailed monitoring, see .</p>
     */ public monitorInstances ( args , options ? ) ; public monitorInstances ( args , cb ) ; public monitorInstances ( args , options , cb ) ; public monitorInstances ( args , optionsOrCb ? , cb ? ) { const command = new MonitorInstancesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Moves an Elastic IP address from the EC2-Classic platform to the EC2-VPC platform. The
     *       Elastic IP address must be allocated to your account for more than 24 hours, and it must not
     *       be associated with an instance. After the Elastic IP address is moved, it is no longer
     *       available for use in the EC2-Classic platform, unless you move it back using the
     *         <a>RestoreAddressToClassic</a> request. You cannot move an Elastic IP address that was
     *       originally allocated for use in the EC2-VPC platform to the EC2-Classic platform. </p>
     */ public moveAddressToVpc ( args , options ? ) ; public moveAddressToVpc ( args , cb ) ; public moveAddressToVpc ( args , options , cb ) ; public moveAddressToVpc ( args , optionsOrCb ? , cb ? ) { const command = new MoveAddressToVpcCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Move an BYOIP IPv4 CIDR to IPAM from a public IPv4 pool.</p>
     */ public moveByoipCidrToIpam ( args , options ? ) ; public moveByoipCidrToIpam ( args , cb ) ; public moveByoipCidrToIpam ( args , options , cb ) ; public moveByoipCidrToIpam ( args , optionsOrCb ? , cb ? ) { const command = new MoveByoipCidrToIpamCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Provisions an IPv4 or IPv6 address range for use with your Amazon Web Services resources through bring your own IP
     *          addresses (BYOIP) and creates a corresponding address pool. After the address range is
     *          provisioned, it is ready to be advertised using <a>AdvertiseByoipCidr</a>.</p>
     *          <p>Amazon Web Services verifies that you own the address range and are authorized to advertise it.
     *          You must ensure that the address range is registered to you and that you created an
     *          RPKI ROA to authorize Amazon ASNs 16509 and 14618 to advertise the address range.
     *          For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html">Bring your own IP addresses (BYOIP)</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     *          <p>Provisioning an address range is an asynchronous operation, so the call returns immediately,
     *          but the address range is not ready to use until its status changes from <code>pending-provision</code>
     *          to <code>provisioned</code>. To monitor the status of an address range, use <a>DescribeByoipCidrs</a>.
     *          To allocate an Elastic IP address from your IPv4 address pool, use <a>AllocateAddress</a>
     *          with either the specific address from the address pool or the ID of the address pool.</p>
     */ public provisionByoipCidr ( args , options ? ) ; public provisionByoipCidr ( args , cb ) ; public provisionByoipCidr ( args , options , cb ) ; public provisionByoipCidr ( args , optionsOrCb ? , cb ? ) { const command = new ProvisionByoipCidrCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Provision a CIDR to an IPAM pool. You can use thsi action to provision new CIDRs to a top-level pool or to transfer a CIDR from a top-level pool to a pool within it.</p>
     *          <p>For more information, see <a href="/vpc/latest/ipam/prov-cidr-ipam.html">Provision CIDRs to pools</a> in the <i>Amazon VPC IPAM User Guide</i>.
     *       </p>
     */ public provisionIpamPoolCidr ( args , options ? ) ; public provisionIpamPoolCidr ( args , cb ) ; public provisionIpamPoolCidr ( args , options , cb ) ; public provisionIpamPoolCidr ( args , optionsOrCb ? , cb ? ) { const command = new ProvisionIpamPoolCidrCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Provision a CIDR to a public IPv4 pool.</p>
     *          <p>For more information about IPAM, see <a href="/vpc/latest/ipam/what-is-it-ipam.html">What is IPAM?</a> in the <i>Amazon VPC IPAM User Guide</i>.
     *       </p>
     */ public provisionPublicIpv4PoolCidr ( args , options ? ) ; public provisionPublicIpv4PoolCidr ( args , cb ) ; public provisionPublicIpv4PoolCidr ( args , options , cb ) ; public provisionPublicIpv4PoolCidr ( args , optionsOrCb ? , cb ? ) { const command = new ProvisionPublicIpv4PoolCidrCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Purchase a reservation with configurations that match those of your Dedicated Host.
     *             You must have active Dedicated Hosts in your account before you purchase a reservation.
     *             This action results in the specified reservation being purchased and charged to your
     *             account.</p>
     */ public purchaseHostReservation ( args , options ? ) ; public purchaseHostReservation ( args , cb ) ; public purchaseHostReservation ( args , options , cb ) ; public purchaseHostReservation ( args , optionsOrCb ? , cb ? ) { const command = new PurchaseHostReservationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Purchases a Reserved Instance for use with your account. With Reserved Instances, you pay a lower
     *        hourly rate compared to On-Demand instance pricing.</p>
     * 		       <p>Use <a>DescribeReservedInstancesOfferings</a> to get a list of Reserved Instance offerings
     * 			that match your specifications. After you've purchased a Reserved Instance, you can check for your
     * 			new Reserved Instance with <a>DescribeReservedInstances</a>.</p>
     *          <p>To queue a purchase for a future date and time, specify a purchase time. If you do not specify a
     *       purchase time, the default is the current time.</p>
     *    	     <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts-on-demand-reserved-instances.html">Reserved Instances</a> and
     *    	   <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html">Reserved Instance Marketplace</a>
     *    	   in the <i>Amazon EC2 User Guide</i>.</p>
     */ public purchaseReservedInstancesOffering ( args , options ? ) ; public purchaseReservedInstancesOffering ( args , cb ) ; public purchaseReservedInstancesOffering ( args , options , cb ) ; public purchaseReservedInstancesOffering ( args , optionsOrCb ? , cb ? ) { const command = new PurchaseReservedInstancesOfferingCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Purchases the Scheduled Instances with the specified schedule.</p>
     *          <p>Scheduled Instances enable you to purchase Amazon EC2 compute capacity by the hour for a one-year term.
     *          Before you can purchase a Scheduled Instance, you must call <a>DescribeScheduledInstanceAvailability</a>
     *          to check for available schedules and obtain a purchase token. After you purchase a Scheduled Instance,
     *          you must call <a>RunScheduledInstances</a> during each scheduled time period.</p>
     *          <p>After you purchase a Scheduled Instance, you can't cancel, modify, or resell your purchase.</p>
     */ public purchaseScheduledInstances ( args , options ? ) ; public purchaseScheduledInstances ( args , cb ) ; public purchaseScheduledInstances ( args , options , cb ) ; public purchaseScheduledInstances ( args , optionsOrCb ? , cb ? ) { const command = new PurchaseScheduledInstancesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Requests a reboot of the specified instances. This operation is asynchronous; it only
     *             queues a request to reboot the specified instances. The operation succeeds if the
     *             instances are valid and belong to you. Requests to reboot terminated instances are
     *             ignored.</p>
     *         <p>If an instance does not cleanly shut down within a few minutes, Amazon EC2 performs a
     *             hard reboot.</p>
     *         <p>For more information about troubleshooting, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-console.html">Troubleshoot an unreachable
     *             instance</a> in the <i>Amazon EC2 User Guide</i>.</p>
     */ public rebootInstances ( args , options ? ) ; public rebootInstances ( args , cb ) ; public rebootInstances ( args , options , cb ) ; public rebootInstances ( args , optionsOrCb ? , cb ? ) { const command = new RebootInstancesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Registers an AMI. When you're creating an AMI, this is the final step you must complete
     *       before you can launch an instance from the AMI. For more information about creating AMIs, see
     *         <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami.html">Creating your
     *         own AMIs</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     *          <note>
     *      	      <p>For Amazon EBS-backed instances, <a>CreateImage</a> creates and registers
     *          	the AMI in a single request, so you don't have to register the AMI yourself.</p>
     *          </note>
     *
     *          <p>If needed, you can deregister an AMI at any time. Any modifications you make to an AMI backed by an instance store volume invalidates its registration.
     *        If you make changes to an image, deregister the previous image and register the new image.</p>
     *
     *          <p>
     *             <b>Register a snapshot of a root device volume</b>
     *          </p>
     *    	     <p>You can use <code>RegisterImage</code> to create an Amazon EBS-backed Linux AMI from
     *        a snapshot of a root device volume. You specify the snapshot using a block device mapping.
     *        You can't set the encryption state of the volume using the block device mapping. If the
     *        snapshot is encrypted, or encryption by default is enabled, the root volume of an instance
     *        launched from the AMI is encrypted.</p>
     *          <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html#creating-launching-ami-from-snapshot">Create a Linux AMI from a snapshot</a> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIEncryption.html">Use encryption with Amazon EBS-backed AMIs</a>
     *        in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     *
     *    	     <p>
     *             <b>Amazon Web Services Marketplace product codes</b>
     *          </p>
     *    	     <p>If any snapshots have Amazon Web Services Marketplace product codes, they are copied to the new
     *       AMI.</p>
     *          <p>Windows and some Linux distributions, such as Red Hat Enterprise Linux (RHEL) and SUSE
     *       Linux Enterprise Server (SLES), use the Amazon EC2 billing product code associated with an AMI to
     *       verify the subscription status for package updates. To create a new AMI for operating systems
     *       that require a billing product code, instead of registering the AMI, do the following to
     *       preserve the billing product code association:</p>
     *          <ol>
     *             <li>
     *                <p>Launch an instance from an existing AMI with that billing product code.</p>
     *             </li>
     *             <li>
     *                <p>Customize the instance.</p>
     *             </li>
     *             <li>
     *                <p>Create an AMI from the instance using <a>CreateImage</a>.</p>
     *             </li>
     *          </ol>
     *          <p>If you purchase a Reserved Instance to apply to an On-Demand Instance that was launched
     *       from an AMI with a billing product code, make sure that the Reserved Instance has the matching
     *       billing product code. If you purchase a Reserved Instance without the matching billing product
     *       code, the Reserved Instance will not be applied to the On-Demand Instance. For information
     *       about how to obtain the platform details and billing information of an AMI, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html">Understanding AMI
     *       	billing</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public registerImage ( args , options ? ) ; public registerImage ( args , cb ) ; public registerImage ( args , options , cb ) ; public registerImage ( args , optionsOrCb ? , cb ? ) { const command = new RegisterImageCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Registers a set of tag keys to include in scheduled event notifications for your resources.
     *    		</p>
     *          <p>To remove tags, use .</p>
     */ public registerInstanceEventNotificationAttributes ( args , options ? ) ; public registerInstanceEventNotificationAttributes ( args , cb ) ; public registerInstanceEventNotificationAttributes ( args , options , cb ) ; public registerInstanceEventNotificationAttributes ( args , optionsOrCb ? , cb ? ) { const command = new RegisterInstanceEventNotificationAttributesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Registers members (network interfaces) with the  transit gateway multicast group. A member is a network interface associated
     *             with a supported EC2 instance that receives multicast traffic. For information about
     *             supported instances, see <a href="https://docs.aws.amazon.com/vpc/latest/tgw/transit-gateway-limits.html#multicast-limits">Multicast
     *                 Consideration</a> in <i>Amazon VPC Transit Gateways</i>.</p>
     *         <p>After you add the members, use <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SearchTransitGatewayMulticastGroups.html">SearchTransitGatewayMulticastGroups</a> to verify that the members were added
     *             to the  transit gateway multicast group.</p>
     */ public registerTransitGatewayMulticastGroupMembers ( args , options ? ) ; public registerTransitGatewayMulticastGroupMembers ( args , cb ) ; public registerTransitGatewayMulticastGroupMembers ( args , options , cb ) ; public registerTransitGatewayMulticastGroupMembers ( args , optionsOrCb ? , cb ? ) { const command = new RegisterTransitGatewayMulticastGroupMembersCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Registers sources (network interfaces) with the specified  transit gateway multicast group.</p>
     *         <p>A multicast source is a network interface attached to a supported instance that sends
     *             multicast traffic. For information about supported instances, see <a href="https://docs.aws.amazon.com/vpc/latest/tgw/transit-gateway-limits.html#multicast-limits">Multicast
     *                 Considerations</a> in <i>Amazon VPC Transit Gateways</i>.</p>
     *         <p>After you add the source, use <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SearchTransitGatewayMulticastGroups.html">SearchTransitGatewayMulticastGroups</a> to verify that the source was added to the multicast
     *             group.</p>
     */ public registerTransitGatewayMulticastGroupSources ( args , options ? ) ; public registerTransitGatewayMulticastGroupSources ( args , cb ) ; public registerTransitGatewayMulticastGroupSources ( args , options , cb ) ; public registerTransitGatewayMulticastGroupSources ( args , optionsOrCb ? , cb ? ) { const command = new RegisterTransitGatewayMulticastGroupSourcesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Rejects a request to associate cross-account subnets with a transit gateway multicast domain.</p>
     */ public rejectTransitGatewayMulticastDomainAssociations ( args , options ? ) ; public rejectTransitGatewayMulticastDomainAssociations ( args , cb ) ; public rejectTransitGatewayMulticastDomainAssociations ( args , options , cb ) ; public rejectTransitGatewayMulticastDomainAssociations ( args , optionsOrCb ? , cb ? ) { const command = new RejectTransitGatewayMulticastDomainAssociationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Rejects a transit gateway peering attachment request.</p>
     */ public rejectTransitGatewayPeeringAttachment ( args , options ? ) ; public rejectTransitGatewayPeeringAttachment ( args , cb ) ; public rejectTransitGatewayPeeringAttachment ( args , options , cb ) ; public rejectTransitGatewayPeeringAttachment ( args , optionsOrCb ? , cb ? ) { const command = new RejectTransitGatewayPeeringAttachmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Rejects a request to attach a VPC to a transit gateway.</p>
     *          <p>The VPC attachment must be in the <code>pendingAcceptance</code> state.
     *          Use <a>DescribeTransitGatewayVpcAttachments</a> to view your pending VPC attachment requests.
     *          Use <a>AcceptTransitGatewayVpcAttachment</a> to accept a VPC attachment request.</p>
     */ public rejectTransitGatewayVpcAttachment ( args , options ? ) ; public rejectTransitGatewayVpcAttachment ( args , cb ) ; public rejectTransitGatewayVpcAttachment ( args , options , cb ) ; public rejectTransitGatewayVpcAttachment ( args , optionsOrCb ? , cb ? ) { const command = new RejectTransitGatewayVpcAttachmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Rejects one or more VPC endpoint connection requests to your VPC endpoint
     *             service.</p>
     */ public rejectVpcEndpointConnections ( args , options ? ) ; public rejectVpcEndpointConnections ( args , cb ) ; public rejectVpcEndpointConnections ( args , options , cb ) ; public rejectVpcEndpointConnections ( args , optionsOrCb ? , cb ? ) { const command = new RejectVpcEndpointConnectionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Rejects a VPC peering connection request. The VPC peering connection must be in the
     * 				<code>pending-acceptance</code> state. Use the <a>DescribeVpcPeeringConnections</a> request
     * 			to view your outstanding VPC peering connection requests. To delete an active VPC peering
     * 			connection, or to delete a VPC peering connection request that you initiated, use	<a>DeleteVpcPeeringConnection</a>.</p>
     */ public rejectVpcPeeringConnection ( args , options ? ) ; public rejectVpcPeeringConnection ( args , cb ) ; public rejectVpcPeeringConnection ( args , options , cb ) ; public rejectVpcPeeringConnection ( args , optionsOrCb ? , cb ? ) { const command = new RejectVpcPeeringConnectionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Releases the specified Elastic IP address.</p>
     *          <p>[EC2-Classic, default VPC] Releasing an Elastic IP address automatically disassociates it
     * 				from any instance that it's associated with. To disassociate an Elastic IP address without
     * 				releasing it, use <a>DisassociateAddress</a>.</p>
     *          <p>[Nondefault VPC] You must use <a>DisassociateAddress</a> to disassociate the Elastic IP address
     * 			  before you can release it. Otherwise, Amazon EC2 returns an error (<code>InvalidIPAddress.InUse</code>).</p>
     *          <p>After releasing an Elastic IP address, it is released to the IP address pool.
     *         Be sure to update your DNS records and any servers or devices that communicate with the address.
     *         If you attempt to release an Elastic IP address that you already released, you'll get an
     *        <code>AuthFailure</code> error if the address is already allocated to another Amazon Web Services account.</p>
     *          <p>[EC2-VPC] After you release an Elastic IP address for use in a VPC, you might be able to recover it.
     *         For more information, see <a>AllocateAddress</a>.</p>
     */ public releaseAddress ( args , options ? ) ; public releaseAddress ( args , cb ) ; public releaseAddress ( args , options , cb ) ; public releaseAddress ( args , optionsOrCb ? , cb ? ) { const command = new ReleaseAddressCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>When you no longer want to use an On-Demand Dedicated Host it can be released.
     *             On-Demand billing is stopped and the host goes into <code>released</code> state. The
     *             host ID of Dedicated Hosts that have been released can no longer be specified in another
     *             request, for example, to modify the host. You must stop or terminate all instances on a
     *             host before it can be released.</p>
     *         <p>When Dedicated Hosts are released, it may take some time for them to stop counting
     *             toward your limit and you may receive capacity errors when trying to allocate new
     *             Dedicated Hosts. Wait a few minutes and then try again.</p>
     *         <p>Released hosts still appear in a <a>DescribeHosts</a> response.</p>
     */ public releaseHosts ( args , options ? ) ; public releaseHosts ( args , cb ) ; public releaseHosts ( args , options , cb ) ; public releaseHosts ( args , optionsOrCb ? , cb ? ) { const command = new ReleaseHostsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Release an allocation within an IPAM pool. You can only use this action to release manual allocations. To remove an allocation for a resource without deleting the resource, set its monitored state to false using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyIpamResourceCidr.html">ModifyIpamResourceCidr</a>. For more information, see <a href="/vpc/latest/ipam/release-pool-alloc-ipam.html">Release an allocation</a> in the <i>Amazon VPC IPAM User Guide</i>.
     *       </p>
     */ public releaseIpamPoolAllocation ( args , options ? ) ; public releaseIpamPoolAllocation ( args , cb ) ; public releaseIpamPoolAllocation ( args , options , cb ) ; public releaseIpamPoolAllocation ( args , optionsOrCb ? , cb ? ) { const command = new ReleaseIpamPoolAllocationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Replaces an IAM instance profile for the specified running instance. You can use
     *             this action to change the IAM instance profile that's associated with an instance
     *             without having to disassociate the existing IAM instance profile first.</p>
     *         <p>Use <a>DescribeIamInstanceProfileAssociations</a> to get the association
     *             ID.</p>
     */ public replaceIamInstanceProfileAssociation ( args , options ? ) ; public replaceIamInstanceProfileAssociation ( args , cb ) ; public replaceIamInstanceProfileAssociation ( args , options , cb ) ; public replaceIamInstanceProfileAssociation ( args , optionsOrCb ? , cb ? ) { const command = new ReplaceIamInstanceProfileAssociationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Changes which network ACL a subnet is associated with. By default when you create a
     * 			subnet, it's automatically associated with the default network ACL. For more
     * 			information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_ACLs.html">Network
     * 			ACLs</a> in the <i>Amazon Virtual Private Cloud User Guide</i>.</p>
     *         <p>This is an idempotent operation.</p>
     */ public replaceNetworkAclAssociation ( args , options ? ) ; public replaceNetworkAclAssociation ( args , cb ) ; public replaceNetworkAclAssociation ( args , options , cb ) ; public replaceNetworkAclAssociation ( args , optionsOrCb ? , cb ? ) { const command = new ReplaceNetworkAclAssociationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Replaces an entry (rule) in a network ACL. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_ACLs.html">Network ACLs</a> in the
     * 				<i>Amazon Virtual Private Cloud User Guide</i>.</p>
     */ public replaceNetworkAclEntry ( args , options ? ) ; public replaceNetworkAclEntry ( args , cb ) ; public replaceNetworkAclEntry ( args , options , cb ) ; public replaceNetworkAclEntry ( args , optionsOrCb ? , cb ? ) { const command = new ReplaceNetworkAclEntryCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Replaces an existing route within a route table in a VPC. You must provide only one of
     *             the following: internet gateway, virtual private gateway, NAT instance, NAT gateway, VPC
     *             peering connection, network interface, egress-only internet gateway, or transit
     *             gateway.</p>
     *         <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html">Route tables</a> in the
     *                 <i>Amazon Virtual Private Cloud User Guide</i>.</p>
     */ public replaceRoute ( args , options ? ) ; public replaceRoute ( args , cb ) ; public replaceRoute ( args , options , cb ) ; public replaceRoute ( args , optionsOrCb ? , cb ? ) { const command = new ReplaceRouteCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Changes the route table associated with a given subnet, internet gateway, or virtual private gateway in a VPC. After the operation
     *         completes, the subnet or gateway uses the routes in the new route table. For more
     *         information about route tables, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html">Route
     *         tables</a> in the <i>Amazon Virtual Private Cloud User Guide</i>.</p>
     *          <p>You can also use this operation to change which table is the main route table in the VPC. Specify the main route table's association ID and the route table ID of the new main route table.</p>
     */ public replaceRouteTableAssociation ( args , options ? ) ; public replaceRouteTableAssociation ( args , cb ) ; public replaceRouteTableAssociation ( args , options , cb ) ; public replaceRouteTableAssociation ( args , optionsOrCb ? , cb ? ) { const command = new ReplaceRouteTableAssociationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Replaces the specified route in the specified transit gateway route table.</p>
     */ public replaceTransitGatewayRoute ( args , options ? ) ; public replaceTransitGatewayRoute ( args , cb ) ; public replaceTransitGatewayRoute ( args , options , cb ) ; public replaceTransitGatewayRoute ( args , optionsOrCb ? , cb ? ) { const command = new ReplaceTransitGatewayRouteCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Submits feedback about the status of an instance. The instance must be in the
     *                 <code>running</code> state. If your experience with the instance differs from the
     *             instance status returned by <a>DescribeInstanceStatus</a>, use <a>ReportInstanceStatus</a> to report your experience with the instance. Amazon
     *             EC2 collects this information to improve the accuracy of status checks.</p>
     *         <p>Use of this action does not change the value returned by <a>DescribeInstanceStatus</a>.</p>
     */ public reportInstanceStatus ( args , options ? ) ; public reportInstanceStatus ( args , cb ) ; public reportInstanceStatus ( args , options , cb ) ; public reportInstanceStatus ( args , optionsOrCb ? , cb ? ) { const command = new ReportInstanceStatusCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a Spot Fleet request.</p>
     *         <p>The Spot Fleet request specifies the total target capacity and the On-Demand target
     *             capacity. Amazon EC2 calculates the difference between the total capacity and On-Demand
     *             capacity, and launches the difference as Spot capacity.</p>
     *         <p>You can submit a single request that includes multiple launch specifications that vary
     *             by instance type, AMI, Availability Zone, or subnet.</p>
     *         <p>By default, the Spot Fleet requests Spot Instances in the Spot Instance pool where the
     *             price per unit is the lowest. Each launch specification can include its own instance
     *             weighting that reflects the value of the instance type to your application
     *             workload.</p>
     *         <p>Alternatively, you can specify that the Spot Fleet distribute the target capacity
     *             across the Spot pools included in its launch specifications. By ensuring that the Spot
     *             Instances in your Spot Fleet are in different Spot pools, you can improve the
     *             availability of your fleet.</p>
     *         <p>You can specify tags for the Spot Fleet request and instances launched by the fleet.
     *             You cannot tag other resource types in a Spot Fleet request because only the
     *                 <code>spot-fleet-request</code> and <code>instance</code> resource types are
     *             supported.</p>
     *         <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-requests.html">Spot Fleet requests</a>
     *             in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
     */ public requestSpotFleet ( args , options ? ) ; public requestSpotFleet ( args , cb ) ; public requestSpotFleet ( args , options , cb ) ; public requestSpotFleet ( args , optionsOrCb ? , cb ? ) { const command = new RequestSpotFleetCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a Spot Instance request.</p>
     *         <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-requests.html">Spot Instance requests</a> in
     *             the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
     */ public requestSpotInstances ( args , options ? ) ; public requestSpotInstances ( args , cb ) ; public requestSpotInstances ( args , options , cb ) ; public requestSpotInstances ( args , optionsOrCb ? , cb ? ) { const command = new RequestSpotInstancesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Resets the attribute of the specified IP address. For requirements, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html#Using_Elastic_Addressing_Reverse_DNS">Using reverse DNS for email applications</a>.</p>
     */ public resetAddressAttribute ( args , options ? ) ; public resetAddressAttribute ( args , cb ) ; public resetAddressAttribute ( args , options , cb ) ; public resetAddressAttribute ( args , optionsOrCb ? , cb ? ) { const command = new ResetAddressAttributeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Resets the default KMS key for EBS encryption for your account in this Region
     *       to the Amazon Web Services managed KMS key for EBS.</p>
     *          <p>After resetting the default KMS key to the Amazon Web Services managed KMS key, you can continue to encrypt by a
     *       customer managed KMS key by specifying it when you create the volume. For more information, see
     *       <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html">Amazon EBS encryption</a>
     *       in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public resetEbsDefaultKmsKeyId ( args , options ? ) ; public resetEbsDefaultKmsKeyId ( args , cb ) ; public resetEbsDefaultKmsKeyId ( args , options , cb ) ; public resetEbsDefaultKmsKeyId ( args , optionsOrCb ? , cb ? ) { const command = new ResetEbsDefaultKmsKeyIdCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Resets the specified attribute of the specified Amazon FPGA Image (AFI) to its default value.
     * 		    You can only reset the load permission attribute.</p>
     */ public resetFpgaImageAttribute ( args , options ? ) ; public resetFpgaImageAttribute ( args , cb ) ; public resetFpgaImageAttribute ( args , options , cb ) ; public resetFpgaImageAttribute ( args , optionsOrCb ? , cb ? ) { const command = new ResetFpgaImageAttributeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Resets an attribute of an AMI to its default value.</p>
     */ public resetImageAttribute ( args , options ? ) ; public resetImageAttribute ( args , cb ) ; public resetImageAttribute ( args , options , cb ) ; public resetImageAttribute ( args , optionsOrCb ? , cb ? ) { const command = new ResetImageAttributeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Resets an attribute of an instance to its default value. To reset the
     *                 <code>kernel</code> or <code>ramdisk</code>, the instance must be in a stopped
     *             state. To reset the <code>sourceDestCheck</code>, the instance can be either running or
     *             stopped.</p>
     *         <p>The <code>sourceDestCheck</code> attribute controls whether source/destination
     *             checking is enabled. The default value is <code>true</code>, which means checking is
     *             enabled. This value must be <code>false</code> for a NAT instance to perform NAT. For
     *             more information, see <a href="https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_NAT_Instance.html">NAT Instances</a> in the
     *                 <i>Amazon VPC User Guide</i>.</p>
     */ public resetInstanceAttribute ( args , options ? ) ; public resetInstanceAttribute ( args , cb ) ; public resetInstanceAttribute ( args , options , cb ) ; public resetInstanceAttribute ( args , optionsOrCb ? , cb ? ) { const command = new ResetInstanceAttributeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Resets a network interface attribute. You can specify only one attribute at a time.</p>
     */ public resetNetworkInterfaceAttribute ( args , options ? ) ; public resetNetworkInterfaceAttribute ( args , cb ) ; public resetNetworkInterfaceAttribute ( args , options , cb ) ; public resetNetworkInterfaceAttribute ( args , optionsOrCb ? , cb ? ) { const command = new ResetNetworkInterfaceAttributeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Resets permission settings for the specified snapshot.</p>
     *          <p>For more information about modifying snapshot permissions, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-modifying-snapshot-permissions.html">Share a snapshot</a> in the
     *         <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public resetSnapshotAttribute ( args , options ? ) ; public resetSnapshotAttribute ( args , cb ) ; public resetSnapshotAttribute ( args , options , cb ) ; public resetSnapshotAttribute ( args , optionsOrCb ? , cb ? ) { const command = new ResetSnapshotAttributeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Restores an Elastic IP address that was previously moved to the EC2-VPC platform back to the EC2-Classic platform. You cannot move an Elastic IP address that was originally allocated for use in EC2-VPC. The Elastic IP address must not be associated with an instance or network interface.</p>
     */ public restoreAddressToClassic ( args , options ? ) ; public restoreAddressToClassic ( args , cb ) ; public restoreAddressToClassic ( args , options , cb ) ; public restoreAddressToClassic ( args , optionsOrCb ? , cb ? ) { const command = new RestoreAddressToClassicCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Restores the entries from a previous version of a managed prefix list to a new version of the prefix list.</p>
     */ public restoreManagedPrefixListVersion ( args , options ? ) ; public restoreManagedPrefixListVersion ( args , cb ) ; public restoreManagedPrefixListVersion ( args , options , cb ) ; public restoreManagedPrefixListVersion ( args , optionsOrCb ? , cb ? ) { const command = new RestoreManagedPrefixListVersionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Restores a snapshot from the Recycle Bin. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin-working-with-snaps.html#recycle-bin-restore-snaps">Restore
     *       snapshots from the Recycle Bin</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public restoreSnapshotFromRecycleBin ( args , options ? ) ; public restoreSnapshotFromRecycleBin ( args , cb ) ; public restoreSnapshotFromRecycleBin ( args , options , cb ) ; public restoreSnapshotFromRecycleBin ( args , optionsOrCb ? , cb ? ) { const command = new RestoreSnapshotFromRecycleBinCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Restores an archived Amazon EBS snapshot for use temporarily or permanently, or modifies the restore
     *       period or restore type for a snapshot that was previously temporarily restored.</p>
     *
     *          <p>For more information see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/working-with-snapshot-archiving.html#restore-archived-snapshot">
     *       Restore an archived snapshot</a> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/working-with-snapshot-archiving.html#modify-temp-restore-period">
     *         modify the restore period or restore type for a temporarily restored snapshot</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
     */ public restoreSnapshotTier ( args , options ? ) ; public restoreSnapshotTier ( args , cb ) ; public restoreSnapshotTier ( args , options , cb ) ; public restoreSnapshotTier ( args , optionsOrCb ? , cb ? ) { const command = new RestoreSnapshotTierCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes an ingress authorization rule from a Client VPN endpoint. </p>
     */ public revokeClientVpnIngress ( args , options ? ) ; public revokeClientVpnIngress ( args , cb ) ; public revokeClientVpnIngress ( args , options , cb ) ; public revokeClientVpnIngress ( args , optionsOrCb ? , cb ? ) { const command = new RevokeClientVpnIngressCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>[VPC only] Removes the specified outbound (egress) rules from a security group for EC2-VPC.
     *        This action does not apply to security groups for use in EC2-Classic.</p>
     *
     *          <p>You can specify rules using either rule IDs or security group rule properties. If you use
     *          rule properties, the values that you specify (for example, ports) must match the existing rule's
     *          values exactly. Each rule has a protocol, from and to ports, and destination (CIDR range,
     *          security group, or prefix list). For the TCP and UDP protocols, you must also specify the
     *          destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type
     *          and code. If the security group rule has a description, you do not need to specify the description
     *          to revoke the rule.</p>
     *          <p>[Default VPC] If the values you specify do not match the existing rule's values, no error is
     *          returned, and the output describes the security group rules that were not revoked.</p>
     *          <p>Amazon Web Services recommends that you describe the security group to verify that the rules were removed.</p>
     *
     *          <p>Rule changes are propagated to instances within the security group as quickly as possible. However,
     *          a small delay might occur.</p>
     */ public revokeSecurityGroupEgress ( args , options ? ) ; public revokeSecurityGroupEgress ( args , cb ) ; public revokeSecurityGroupEgress ( args , options , cb ) ; public revokeSecurityGroupEgress ( args , optionsOrCb ? , cb ? ) { const command = new RevokeSecurityGroupEgressCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes the specified inbound (ingress) rules from a security group.</p>
     *
     *          <p>You can specify rules using either rule IDs or security group rule properties. If you use
     *            rule properties, the values that you specify (for example, ports) must match the existing rule's
     *            values exactly. Each rule has a protocol, from and to ports, and source (CIDR range,
     *            security group, or prefix list). For the TCP and UDP protocols, you must also specify the
     *            destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type
     *            and code. If the security group rule has a description, you do not need to specify the description
     *            to revoke the rule.</p>
     *          <p>[EC2-Classic, default VPC] If the values you specify do not match the existing rule's values, no error is
     *            returned, and the output describes the security group rules that were not revoked.</p>
     *          <p>Amazon Web Services recommends that you describe the security group to verify that the rules were removed.</p>
     *
     *          <p>Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.</p>
     */ public revokeSecurityGroupIngress ( args , options ? ) ; public revokeSecurityGroupIngress ( args , cb ) ; public revokeSecurityGroupIngress ( args , options , cb ) ; public revokeSecurityGroupIngress ( args , optionsOrCb ? , cb ? ) { const command = new RevokeSecurityGroupIngressCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Launches the specified number of instances using an AMI for which you have
     *             permissions.</p>
     *         <p>You can specify a number of options, or leave the default options. The following rules
     *             apply:</p>
     *         <ul>
     *             <li>
     *                 <p>[EC2-VPC] If you don't specify a subnet ID, we choose a default subnet from
     *                     your default VPC for you. If you don't have a default VPC, you must specify a
     *                     subnet ID in the request.</p>
     *             </li>
     *             <li>
     *                 <p>[EC2-Classic] If don't specify an Availability Zone, we choose one for
     *                     you.</p>
     *             </li>
     *             <li>
     *                 <p>Some instance types must be launched into a VPC. If you do not have a default
     *                     VPC, or if you do not specify a subnet ID, the request fails. For more
     *                     information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-vpc.html#vpc-only-instance-types">Instance types available only in a VPC</a>.</p>
     *             </li>
     *             <li>
     *                 <p>[EC2-VPC] All instances have a network interface with a primary private IPv4
     *                     address. If you don't specify this address, we choose one from the IPv4 range of
     *                     your subnet.</p>
     *             </li>
     *             <li>
     *                 <p>Not all instance types support IPv6 addresses. For more information, see
     *                         <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance
     *                     types</a>.</p>
     *             </li>
     *             <li>
     *                 <p>If you don't specify a security group ID, we use the default security group.
     *                     For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html">Security
     *                         groups</a>.</p>
     *             </li>
     *             <li>
     *                 <p>If any of the AMIs have a product code attached for which the user has not
     *                     subscribed, the request fails.</p>
     *             </li>
     *          </ul>
     *         <p>You can create a <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html">launch template</a>,
     *             which is a resource that contains the parameters to launch an instance. When you launch
     *             an instance using <a>RunInstances</a>, you can specify the launch template
     *             instead of specifying the launch parameters.</p>
     *         <p>To ensure faster instance launches, break up large requests into smaller batches. For
     *             example, create five separate launch requests for 100 instances each instead of one
     *             launch request for 500 instances.</p>
     *         <p>An instance is ready for you to use when it's in the <code>running</code> state. You
     *             can check the state of your instance using <a>DescribeInstances</a>. You can
     *             tag instances and EBS volumes during launch, after launch, or both. For more
     *             information, see <a>CreateTags</a> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html">Tagging your Amazon EC2
     *                 resources</a>.</p>
     *         <p>Linux instances have access to the public key of the key pair at boot. You can use
     *             this key to provide secure access to the instance. Amazon EC2 public images use this
     *             feature to provide secure access without passwords. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html">Key
     *                 pairs</a>.</p>
     *         <p>For troubleshooting, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_InstanceStraightToTerminated.html">What to do if
     *                 an instance immediately terminates</a>, and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesConnecting.html">Troubleshooting connecting to your instance</a>.</p>
     */ public runInstances ( args , options ? ) ; public runInstances ( args , cb ) ; public runInstances ( args , options , cb ) ; public runInstances ( args , optionsOrCb ? , cb ? ) { const command = new RunInstancesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Launches the specified Scheduled Instances.</p>
     *          <p>Before you can launch a Scheduled Instance, you must purchase it and obtain an identifier using <a>PurchaseScheduledInstances</a>.</p>
     *          <p>You must launch a Scheduled Instance during its scheduled time period. You can't stop or reboot a Scheduled Instance,
     *          but you can terminate it as needed. If you terminate a Scheduled Instance before the current scheduled time period ends,
     *          you can launch it again after a few minutes. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-scheduled-instances.html">Scheduled Instances</a>
     *          in the <i>Amazon EC2 User Guide</i>.</p>
     */ public runScheduledInstances ( args , options ? ) ; public runScheduledInstances ( args , cb ) ; public runScheduledInstances ( args , options , cb ) ; public runScheduledInstances ( args , optionsOrCb ? , cb ? ) { const command = new RunScheduledInstancesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Searches for routes in the specified local gateway route table.</p>
     */ public searchLocalGatewayRoutes ( args , options ? ) ; public searchLocalGatewayRoutes ( args , cb ) ; public searchLocalGatewayRoutes ( args , options , cb ) ; public searchLocalGatewayRoutes ( args , optionsOrCb ? , cb ? ) { const command = new SearchLocalGatewayRoutesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Searches one or more  transit gateway multicast groups and returns the group membership information.</p>
     */ public searchTransitGatewayMulticastGroups ( args , options ? ) ; public searchTransitGatewayMulticastGroups ( args , cb ) ; public searchTransitGatewayMulticastGroups ( args , options , cb ) ; public searchTransitGatewayMulticastGroups ( args , optionsOrCb ? , cb ? ) { const command = new SearchTransitGatewayMulticastGroupsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Searches for routes in the specified transit gateway route table.</p>
     */ public searchTransitGatewayRoutes ( args , options ? ) ; public searchTransitGatewayRoutes ( args , cb ) ; public searchTransitGatewayRoutes ( args , options , cb ) ; public searchTransitGatewayRoutes ( args , optionsOrCb ? , cb ? ) { const command = new SearchTransitGatewayRoutesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Sends a diagnostic interrupt to the specified Amazon EC2 instance to trigger a
     * 			<i>kernel panic</i> (on Linux instances), or a
     * 			<i>blue screen</i>/<i>stop error</i> (on Windows
     * 			instances). For instances based on Intel and AMD processors, the interrupt is
     * 			received as a <i>non-maskable interrupt</i> (NMI).</p>
     *
     * 		       <p>In general, the operating system crashes and reboots when a kernel panic or stop
     * 			error is triggered. The operating system can also be configured to perform diagnostic
     * 			tasks, such as generating a memory dump file, loading a secondary kernel, or
     * 			obtaining a call trace.</p>
     *
     * 		       <p>Before sending a diagnostic interrupt to your instance, ensure that its operating
     * 			system is configured to perform the required diagnostic tasks.</p>
     *
     * 		       <p>For more information about configuring your operating system to generate a crash dump
     * 			when a kernel panic or stop error occurs, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/diagnostic-interrupt.html">Send a diagnostic interrupt (for advanced users)</a> (Linux instances) or <a href="https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/diagnostic-interrupt.html">Send a diagnostic interrupt (for advanced users)</a> (Windows instances).</p>
     */ public sendDiagnosticInterrupt ( args , options ? ) ; public sendDiagnosticInterrupt ( args , cb ) ; public sendDiagnosticInterrupt ( args , options , cb ) ; public sendDiagnosticInterrupt ( args , optionsOrCb ? , cb ? ) { const command = new SendDiagnosticInterruptCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Starts an Amazon EBS-backed instance that you've previously stopped.</p>
     *         <p>Instances that use Amazon EBS volumes as their root devices can be quickly stopped and
     *             started. When an instance is stopped, the compute resources are released and you are not
     *             billed for instance usage. However, your root partition Amazon EBS volume remains and
     *             continues to persist your data, and you are charged for Amazon EBS volume usage. You can
     *             restart your instance at any time. Every time you start your instance, Amazon EC2
     *             charges a one-minute minimum for instance usage, and thereafter charges per second for
     *             instance usage.</p>
     *         <p>Before stopping an instance, make sure it is in a state from which it can be
     *             restarted. Stopping an instance does not preserve data stored in RAM.</p>
     *         <p>Performing this operation on an instance that uses an instance store as its root
     *             device returns an error.</p>
     *
     *         <p>If you attempt to start a T3 instance with <code>host</code> tenancy and the <code>unlimted</code>
     *             CPU credit option, the request fails. The <code>unlimited</code> CPU credit option is not
     *             supported on Dedicated Hosts. Before you start the instance, either change its CPU credit
     *             option to <code>standard</code>, or change its tenancy to <code>default</code> or <code>dedicated</code>.</p>
     *
     *         <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html">Stop and start your instance</a>
     *             in the <i>Amazon EC2 User Guide</i>.</p>
     */ public startInstances ( args , options ? ) ; public startInstances ( args , cb ) ; public startInstances ( args , options , cb ) ; public startInstances ( args , optionsOrCb ? , cb ? ) { const command = new StartInstancesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Starts analyzing the specified Network Access Scope.</p>
     */ public startNetworkInsightsAccessScopeAnalysis ( args , options ? ) ; public startNetworkInsightsAccessScopeAnalysis ( args , cb ) ; public startNetworkInsightsAccessScopeAnalysis ( args , options , cb ) ; public startNetworkInsightsAccessScopeAnalysis ( args , optionsOrCb ? , cb ? ) { const command = new StartNetworkInsightsAccessScopeAnalysisCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Starts analyzing the specified path. If the path is reachable, the
     *          operation returns the shortest feasible path.</p>
     */ public startNetworkInsightsAnalysis ( args , options ? ) ; public startNetworkInsightsAnalysis ( args , cb ) ; public startNetworkInsightsAnalysis ( args , options , cb ) ; public startNetworkInsightsAnalysis ( args , optionsOrCb ? , cb ? ) { const command = new StartNetworkInsightsAnalysisCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Initiates the verification process to prove that the service provider owns the private
     *             DNS name domain for the endpoint service.</p>
     *         <p>The service provider must successfully perform the verification before the consumer can use the name to access the service.</p>
     *         <p>Before the service provider runs this command, they must add a record to the DNS server. For more information, see  <a href="https://docs.aws.amazon.com/vpc/latest/userguide/endpoint-services-dns-validation.html#add-dns-txt-record">Adding a TXT Record to Your Domain's DNS Server </a> in the <i>Amazon VPC User Guide</i>.</p>
     */ public startVpcEndpointServicePrivateDnsVerification ( args , options ? ) ; public startVpcEndpointServicePrivateDnsVerification ( args , cb ) ; public startVpcEndpointServicePrivateDnsVerification ( args , options , cb ) ; public startVpcEndpointServicePrivateDnsVerification ( args , optionsOrCb ? , cb ? ) { const command = new StartVpcEndpointServicePrivateDnsVerificationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Stops an Amazon EBS-backed instance.</p>
     *         <p>You can use the Stop action to hibernate an instance if the instance is <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#enabling-hibernation">enabled for
     *                 hibernation</a> and it meets the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites">hibernation
     *                 prerequisites</a>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html">Hibernate your instance</a> in the
     *                 <i>Amazon EC2 User Guide</i>.</p>
     *         <p>We don't charge usage for a stopped instance, or data transfer fees; however, your
     *             root partition Amazon EBS volume remains and continues to persist your data, and you are
     *             charged for Amazon EBS volume usage. Every time you start your instance, Amazon EC2
     *             charges a one-minute minimum for instance usage, and thereafter charges per second for
     *             instance usage.</p>
     *         <p>You can't stop or hibernate instance store-backed instances. You can't use the Stop
     *             action to hibernate Spot Instances, but you can specify that Amazon EC2 should hibernate
     *             Spot Instances when they are interrupted. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-interruptions.html#hibernate-spot-instances">Hibernating interrupted Spot Instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
     *         <p>When you stop or hibernate an instance, we shut it down. You can restart your instance
     *             at any time. Before stopping or hibernating an instance, make sure it is in a state from
     *             which it can be restarted. Stopping an instance does not preserve data stored in RAM,
     *             but hibernating an instance does preserve data stored in RAM. If an instance cannot
     *             hibernate successfully, a normal shutdown occurs.</p>
     *         <p>Stopping and hibernating an instance is different to rebooting or terminating it. For
     *             example, when you stop or hibernate an instance, the root device and any other devices
     *             attached to the instance persist. When you terminate an instance, the root device and
     *             any other devices attached during the instance launch are automatically deleted. For
     *             more information about the differences between rebooting, stopping, hibernating, and
     *             terminating instances, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html">Instance lifecycle</a>
     *             in the <i>Amazon EC2 User Guide</i>.</p>
     *         <p>When you stop an instance, we attempt to shut it down forcibly after a short while. If
     *             your instance appears stuck in the stopping state after a period of time, there may be
     *             an issue with the underlying host computer. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesStopping.html">Troubleshoot
     *                 stopping your instance</a> in the <i>Amazon EC2 User Guide</i>.</p>
     */ public stopInstances ( args , options ? ) ; public stopInstances ( args , cb ) ; public stopInstances ( args , options , cb ) ; public stopInstances ( args , optionsOrCb ? , cb ? ) { const command = new StopInstancesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Terminates active Client VPN endpoint connections. This action can be used to terminate a specific client connection, or up to five connections established by a specific user.</p>
     */ public terminateClientVpnConnections ( args , options ? ) ; public terminateClientVpnConnections ( args , cb ) ; public terminateClientVpnConnections ( args , options , cb ) ; public terminateClientVpnConnections ( args , optionsOrCb ? , cb ? ) { const command = new TerminateClientVpnConnectionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Shuts down the specified instances. This operation is idempotent; if you terminate an
     *             instance more than once, each call succeeds. </p>
     *
     *         <p>If you specify multiple instances and the request fails (for example, because of a
     *             single incorrect instance ID), none of the instances are terminated.</p>
     *
     *         <p>If you terminate multiple instances across multiple Availability Zones, and one or more
     *             of the specified instances are enabled for termination protection, the request fails with
     *             the following results:</p>
     *         <ul>
     *             <li>
     *                 <p>The specified instances that are in the same Availability Zone as the protected
     *                     instance are not terminated.</p>
     *             </li>
     *             <li>
     *                 <p>The specified instances that are in different Availability Zones, where no other
     *                     specified instances are protected, are successfully terminated.</p>
     *             </li>
     *          </ul>
     *
     *         <p>For example, say you have the following instances:</p>
     *         <ul>
     *             <li>
     *                 <p>Instance A: <code>us-east-1a</code>; Not protected</p>
     *             </li>
     *             <li>
     *                 <p>Instance B: <code>us-east-1a</code>; Not protected</p>
     *             </li>
     *             <li>
     *                 <p>Instance C: <code>us-east-1b</code>; Protected</p>
     *             </li>
     *             <li>
     *                 <p>Instance D: <code>us-east-1b</code>; not protected</p>
     *             </li>
     *          </ul>
     *         <p>If you attempt to terminate all of these instances in the same request, the request reports
     *             failure with the following results:</p>
     *         <ul>
     *             <li>
     *                 <p>Instance A and Instance B are successfully terminated because none of the specified
     *                     instances in <code>us-east-1a</code> are enabled for termination protection.</p>
     *             </li>
     *             <li>
     *                 <p>Instance C and Instance D fail to terminate because at least one of the specified
     *                     instances in <code>us-east-1b</code> (Instance C) is enabled for termination protection.</p>
     *             </li>
     *          </ul>
     *
     *
     *         <p>Terminated instances remain visible after termination (for approximately one
     *             hour).</p>
     *         <p>By default, Amazon EC2 deletes all EBS volumes that were attached when the instance
     *             launched. Volumes attached after instance launch continue running.</p>
     *         <p>You can stop, start, and terminate EBS-backed instances. You can only terminate
     *             instance store-backed instances. What happens to an instance differs if you stop it or
     *             terminate it. For example, when you stop an instance, the root device and any other
     *             devices attached to the instance persist. When you terminate an instance, any attached
     *             EBS volumes with the <code>DeleteOnTermination</code> block device mapping parameter set
     *             to <code>true</code> are automatically deleted. For more information about the
     *             differences between stopping and terminating instances, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html">Instance lifecycle</a>
     *             in the <i>Amazon EC2 User Guide</i>.</p>
     *         <p>For more information about troubleshooting, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesShuttingDown.html">Troubleshooting terminating your instance</a> in the <i>Amazon EC2 User Guide</i>.</p>
     */ public terminateInstances ( args , options ? ) ; public terminateInstances ( args , cb ) ; public terminateInstances ( args , options , cb ) ; public terminateInstances ( args , optionsOrCb ? , cb ? ) { const command = new TerminateInstancesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Unassigns one or more IPv6 addresses IPv4 Prefix Delegation prefixes from a network interface.</p>
     */ public unassignIpv6Addresses ( args , options ? ) ; public unassignIpv6Addresses ( args , cb ) ; public unassignIpv6Addresses ( args , options , cb ) ; public unassignIpv6Addresses ( args , optionsOrCb ? , cb ? ) { const command = new UnassignIpv6AddressesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Unassigns one or more secondary private IP addresses, or IPv4 Prefix Delegation prefixes from a network interface.</p>
     */ public unassignPrivateIpAddresses ( args , options ? ) ; public unassignPrivateIpAddresses ( args , cb ) ; public unassignPrivateIpAddresses ( args , options , cb ) ; public unassignPrivateIpAddresses ( args , optionsOrCb ? , cb ? ) { const command = new UnassignPrivateIpAddressesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disables detailed monitoring for a running instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-cloudwatch.html">Monitoring
     *             your instances and volumes</a> in the <i>Amazon EC2 User Guide</i>.</p>
     */ public unmonitorInstances ( args , options ? ) ; public unmonitorInstances ( args , cb ) ; public unmonitorInstances ( args , options , cb ) ; public unmonitorInstances ( args , optionsOrCb ? , cb ? ) { const command = new UnmonitorInstancesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>[VPC only] Updates the description of an egress (outbound) security group rule. You
     * 			can replace an existing description, or add a description to a rule that did not have one
     * 			previously. You can remove a description for a security group rule by omitting the
     * 			description parameter in the request.</p>
     */ public updateSecurityGroupRuleDescriptionsEgress ( args , options ? ) ; public updateSecurityGroupRuleDescriptionsEgress ( args , cb ) ; public updateSecurityGroupRuleDescriptionsEgress ( args , options , cb ) ; public updateSecurityGroupRuleDescriptionsEgress ( args , optionsOrCb ? , cb ? ) { const command = new UpdateSecurityGroupRuleDescriptionsEgressCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the description of an ingress (inbound) security group rule. You can replace an
     * 			existing description, or add a description to a rule that did not have one previously.
     * 		    You can remove a description for a security group rule by omitting the description
     * 		    parameter in the request.</p>
     */ public updateSecurityGroupRuleDescriptionsIngress ( args , options ? ) ; public updateSecurityGroupRuleDescriptionsIngress ( args , cb ) ; public updateSecurityGroupRuleDescriptionsIngress ( args , options , cb ) ; public updateSecurityGroupRuleDescriptionsIngress ( args , optionsOrCb ? , cb ? ) { const command = new UpdateSecurityGroupRuleDescriptionsIngressCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Stops advertising an address range that is provisioned as an address pool.</p>
     *          <p>You can perform this operation at most once every 10 seconds, even if you specify different
     *          address ranges each time.</p>
     *          <p>It can take a few minutes before traffic to the specified addresses stops routing to Amazon Web Services
     *           because of BGP propagation delays.</p>
     */ public withdrawByoipCidr ( args , options ? ) ; public withdrawByoipCidr ( args , cb ) ; public withdrawByoipCidr ( args , options , cb ) ; public withdrawByoipCidr ( args , optionsOrCb ? , cb ? ) { const command = new WithdrawByoipCidrCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } }