@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonLightsailAsync extends AmazonLightsail
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonLightsailAsync
instead.
Amazon Lightsail is the easiest way to get started with AWS for developers who just need virtual private servers. Lightsail includes everything you need to launch your project quickly - a virtual machine, SSD-based storage, data transfer, DNS management, and a static IP - for a low, predictable price. You manage those Lightsail servers through the Lightsail console or by using the API or command-line interface (CLI).
For more information about Lightsail concepts and tasks, see the Lightsail Dev Guide.
To use the Lightsail API or the CLI, you will need to use AWS Identity and Access Management (IAM) to generate access keys. For details about how to set this up, see the Lightsail Dev Guide.
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
Future<AllocateStaticIpResult> |
allocateStaticIpAsync(AllocateStaticIpRequest allocateStaticIpRequest)
Allocates a static IP address.
|
Future<AllocateStaticIpResult> |
allocateStaticIpAsync(AllocateStaticIpRequest allocateStaticIpRequest,
AsyncHandler<AllocateStaticIpRequest,AllocateStaticIpResult> asyncHandler)
Allocates a static IP address.
|
Future<AttachDiskResult> |
attachDiskAsync(AttachDiskRequest attachDiskRequest)
Attaches a block storage disk to a running or stopped Lightsail instance and exposes it to the instance with the
specified disk name.
|
Future<AttachDiskResult> |
attachDiskAsync(AttachDiskRequest attachDiskRequest,
AsyncHandler<AttachDiskRequest,AttachDiskResult> asyncHandler)
Attaches a block storage disk to a running or stopped Lightsail instance and exposes it to the instance with the
specified disk name.
|
Future<AttachInstancesToLoadBalancerResult> |
attachInstancesToLoadBalancerAsync(AttachInstancesToLoadBalancerRequest attachInstancesToLoadBalancerRequest)
Attaches one or more Lightsail instances to a load balancer.
|
Future<AttachInstancesToLoadBalancerResult> |
attachInstancesToLoadBalancerAsync(AttachInstancesToLoadBalancerRequest attachInstancesToLoadBalancerRequest,
AsyncHandler<AttachInstancesToLoadBalancerRequest,AttachInstancesToLoadBalancerResult> asyncHandler)
Attaches one or more Lightsail instances to a load balancer.
|
Future<AttachLoadBalancerTlsCertificateResult> |
attachLoadBalancerTlsCertificateAsync(AttachLoadBalancerTlsCertificateRequest attachLoadBalancerTlsCertificateRequest)
Attaches a Transport Layer Security (TLS) certificate to your load balancer.
|
Future<AttachLoadBalancerTlsCertificateResult> |
attachLoadBalancerTlsCertificateAsync(AttachLoadBalancerTlsCertificateRequest attachLoadBalancerTlsCertificateRequest,
AsyncHandler<AttachLoadBalancerTlsCertificateRequest,AttachLoadBalancerTlsCertificateResult> asyncHandler)
Attaches a Transport Layer Security (TLS) certificate to your load balancer.
|
Future<AttachStaticIpResult> |
attachStaticIpAsync(AttachStaticIpRequest attachStaticIpRequest)
Attaches a static IP address to a specific Amazon Lightsail instance.
|
Future<AttachStaticIpResult> |
attachStaticIpAsync(AttachStaticIpRequest attachStaticIpRequest,
AsyncHandler<AttachStaticIpRequest,AttachStaticIpResult> asyncHandler)
Attaches a static IP address to a specific Amazon Lightsail instance.
|
Future<CloseInstancePublicPortsResult> |
closeInstancePublicPortsAsync(CloseInstancePublicPortsRequest closeInstancePublicPortsRequest)
Closes the public ports on a specific Amazon Lightsail instance.
|
Future<CloseInstancePublicPortsResult> |
closeInstancePublicPortsAsync(CloseInstancePublicPortsRequest closeInstancePublicPortsRequest,
AsyncHandler<CloseInstancePublicPortsRequest,CloseInstancePublicPortsResult> asyncHandler)
Closes the public ports on a specific Amazon Lightsail instance.
|
Future<CreateDiskResult> |
createDiskAsync(CreateDiskRequest createDiskRequest)
Creates a block storage disk that can be attached to a Lightsail instance in the same Availability Zone (e.g.,
us-east-2a ). |
Future<CreateDiskResult> |
createDiskAsync(CreateDiskRequest createDiskRequest,
AsyncHandler<CreateDiskRequest,CreateDiskResult> asyncHandler)
Creates a block storage disk that can be attached to a Lightsail instance in the same Availability Zone (e.g.,
us-east-2a ). |
Future<CreateDiskFromSnapshotResult> |
createDiskFromSnapshotAsync(CreateDiskFromSnapshotRequest createDiskFromSnapshotRequest)
Creates a block storage disk from a disk snapshot that can be attached to a Lightsail instance in the same
Availability Zone (e.g.,
us-east-2a ). |
Future<CreateDiskFromSnapshotResult> |
createDiskFromSnapshotAsync(CreateDiskFromSnapshotRequest createDiskFromSnapshotRequest,
AsyncHandler<CreateDiskFromSnapshotRequest,CreateDiskFromSnapshotResult> asyncHandler)
Creates a block storage disk from a disk snapshot that can be attached to a Lightsail instance in the same
Availability Zone (e.g.,
us-east-2a ). |
Future<CreateDiskSnapshotResult> |
createDiskSnapshotAsync(CreateDiskSnapshotRequest createDiskSnapshotRequest)
Creates a snapshot of a block storage disk.
|
Future<CreateDiskSnapshotResult> |
createDiskSnapshotAsync(CreateDiskSnapshotRequest createDiskSnapshotRequest,
AsyncHandler<CreateDiskSnapshotRequest,CreateDiskSnapshotResult> asyncHandler)
Creates a snapshot of a block storage disk.
|
Future<CreateDomainResult> |
createDomainAsync(CreateDomainRequest createDomainRequest)
Creates a domain resource for the specified domain (e.g., example.com).
|
Future<CreateDomainResult> |
createDomainAsync(CreateDomainRequest createDomainRequest,
AsyncHandler<CreateDomainRequest,CreateDomainResult> asyncHandler)
Creates a domain resource for the specified domain (e.g., example.com).
|
Future<CreateDomainEntryResult> |
createDomainEntryAsync(CreateDomainEntryRequest createDomainEntryRequest)
Creates one of the following entry records associated with the domain: A record, CNAME record, TXT record, or MX
record.
|
Future<CreateDomainEntryResult> |
createDomainEntryAsync(CreateDomainEntryRequest createDomainEntryRequest,
AsyncHandler<CreateDomainEntryRequest,CreateDomainEntryResult> asyncHandler)
Creates one of the following entry records associated with the domain: A record, CNAME record, TXT record, or MX
record.
|
Future<CreateInstancesResult> |
createInstancesAsync(CreateInstancesRequest createInstancesRequest)
Creates one or more Amazon Lightsail virtual private servers, or instances.
|
Future<CreateInstancesResult> |
createInstancesAsync(CreateInstancesRequest createInstancesRequest,
AsyncHandler<CreateInstancesRequest,CreateInstancesResult> asyncHandler)
Creates one or more Amazon Lightsail virtual private servers, or instances.
|
Future<CreateInstancesFromSnapshotResult> |
createInstancesFromSnapshotAsync(CreateInstancesFromSnapshotRequest createInstancesFromSnapshotRequest)
Uses a specific snapshot as a blueprint for creating one or more new instances that are based on that identical
configuration.
|
Future<CreateInstancesFromSnapshotResult> |
createInstancesFromSnapshotAsync(CreateInstancesFromSnapshotRequest createInstancesFromSnapshotRequest,
AsyncHandler<CreateInstancesFromSnapshotRequest,CreateInstancesFromSnapshotResult> asyncHandler)
Uses a specific snapshot as a blueprint for creating one or more new instances that are based on that identical
configuration.
|
Future<CreateInstanceSnapshotResult> |
createInstanceSnapshotAsync(CreateInstanceSnapshotRequest createInstanceSnapshotRequest)
Creates a snapshot of a specific virtual private server, or instance.
|
Future<CreateInstanceSnapshotResult> |
createInstanceSnapshotAsync(CreateInstanceSnapshotRequest createInstanceSnapshotRequest,
AsyncHandler<CreateInstanceSnapshotRequest,CreateInstanceSnapshotResult> asyncHandler)
Creates a snapshot of a specific virtual private server, or instance.
|
Future<CreateKeyPairResult> |
createKeyPairAsync(CreateKeyPairRequest createKeyPairRequest)
Creates sn SSH key pair.
|
Future<CreateKeyPairResult> |
createKeyPairAsync(CreateKeyPairRequest createKeyPairRequest,
AsyncHandler<CreateKeyPairRequest,CreateKeyPairResult> asyncHandler)
Creates sn SSH key pair.
|
Future<CreateLoadBalancerResult> |
createLoadBalancerAsync(CreateLoadBalancerRequest createLoadBalancerRequest)
Creates a Lightsail load balancer.
|
Future<CreateLoadBalancerResult> |
createLoadBalancerAsync(CreateLoadBalancerRequest createLoadBalancerRequest,
AsyncHandler<CreateLoadBalancerRequest,CreateLoadBalancerResult> asyncHandler)
Creates a Lightsail load balancer.
|
Future<CreateLoadBalancerTlsCertificateResult> |
createLoadBalancerTlsCertificateAsync(CreateLoadBalancerTlsCertificateRequest createLoadBalancerTlsCertificateRequest)
Creates a Lightsail load balancer TLS certificate.
|
Future<CreateLoadBalancerTlsCertificateResult> |
createLoadBalancerTlsCertificateAsync(CreateLoadBalancerTlsCertificateRequest createLoadBalancerTlsCertificateRequest,
AsyncHandler<CreateLoadBalancerTlsCertificateRequest,CreateLoadBalancerTlsCertificateResult> asyncHandler)
Creates a Lightsail load balancer TLS certificate.
|
Future<DeleteDiskResult> |
deleteDiskAsync(DeleteDiskRequest deleteDiskRequest)
Deletes the specified block storage disk.
|
Future<DeleteDiskResult> |
deleteDiskAsync(DeleteDiskRequest deleteDiskRequest,
AsyncHandler<DeleteDiskRequest,DeleteDiskResult> asyncHandler)
Deletes the specified block storage disk.
|
Future<DeleteDiskSnapshotResult> |
deleteDiskSnapshotAsync(DeleteDiskSnapshotRequest deleteDiskSnapshotRequest)
Deletes the specified disk snapshot.
|
Future<DeleteDiskSnapshotResult> |
deleteDiskSnapshotAsync(DeleteDiskSnapshotRequest deleteDiskSnapshotRequest,
AsyncHandler<DeleteDiskSnapshotRequest,DeleteDiskSnapshotResult> asyncHandler)
Deletes the specified disk snapshot.
|
Future<DeleteDomainResult> |
deleteDomainAsync(DeleteDomainRequest deleteDomainRequest)
Deletes the specified domain recordset and all of its domain records.
|
Future<DeleteDomainResult> |
deleteDomainAsync(DeleteDomainRequest deleteDomainRequest,
AsyncHandler<DeleteDomainRequest,DeleteDomainResult> asyncHandler)
Deletes the specified domain recordset and all of its domain records.
|
Future<DeleteDomainEntryResult> |
deleteDomainEntryAsync(DeleteDomainEntryRequest deleteDomainEntryRequest)
Deletes a specific domain entry.
|
Future<DeleteDomainEntryResult> |
deleteDomainEntryAsync(DeleteDomainEntryRequest deleteDomainEntryRequest,
AsyncHandler<DeleteDomainEntryRequest,DeleteDomainEntryResult> asyncHandler)
Deletes a specific domain entry.
|
Future<DeleteInstanceResult> |
deleteInstanceAsync(DeleteInstanceRequest deleteInstanceRequest)
Deletes a specific Amazon Lightsail virtual private server, or instance.
|
Future<DeleteInstanceResult> |
deleteInstanceAsync(DeleteInstanceRequest deleteInstanceRequest,
AsyncHandler<DeleteInstanceRequest,DeleteInstanceResult> asyncHandler)
Deletes a specific Amazon Lightsail virtual private server, or instance.
|
Future<DeleteInstanceSnapshotResult> |
deleteInstanceSnapshotAsync(DeleteInstanceSnapshotRequest deleteInstanceSnapshotRequest)
Deletes a specific snapshot of a virtual private server (or instance).
|
Future<DeleteInstanceSnapshotResult> |
deleteInstanceSnapshotAsync(DeleteInstanceSnapshotRequest deleteInstanceSnapshotRequest,
AsyncHandler<DeleteInstanceSnapshotRequest,DeleteInstanceSnapshotResult> asyncHandler)
Deletes a specific snapshot of a virtual private server (or instance).
|
Future<DeleteKeyPairResult> |
deleteKeyPairAsync(DeleteKeyPairRequest deleteKeyPairRequest)
Deletes a specific SSH key pair.
|
Future<DeleteKeyPairResult> |
deleteKeyPairAsync(DeleteKeyPairRequest deleteKeyPairRequest,
AsyncHandler<DeleteKeyPairRequest,DeleteKeyPairResult> asyncHandler)
Deletes a specific SSH key pair.
|
Future<DeleteLoadBalancerResult> |
deleteLoadBalancerAsync(DeleteLoadBalancerRequest deleteLoadBalancerRequest)
Deletes a Lightsail load balancer.
|
Future<DeleteLoadBalancerResult> |
deleteLoadBalancerAsync(DeleteLoadBalancerRequest deleteLoadBalancerRequest,
AsyncHandler<DeleteLoadBalancerRequest,DeleteLoadBalancerResult> asyncHandler)
Deletes a Lightsail load balancer.
|
Future<DeleteLoadBalancerTlsCertificateResult> |
deleteLoadBalancerTlsCertificateAsync(DeleteLoadBalancerTlsCertificateRequest deleteLoadBalancerTlsCertificateRequest)
Deletes a TLS/SSL certificate associated with a Lightsail load balancer.
|
Future<DeleteLoadBalancerTlsCertificateResult> |
deleteLoadBalancerTlsCertificateAsync(DeleteLoadBalancerTlsCertificateRequest deleteLoadBalancerTlsCertificateRequest,
AsyncHandler<DeleteLoadBalancerTlsCertificateRequest,DeleteLoadBalancerTlsCertificateResult> asyncHandler)
Deletes a TLS/SSL certificate associated with a Lightsail load balancer.
|
Future<DetachDiskResult> |
detachDiskAsync(DetachDiskRequest detachDiskRequest)
Detaches a stopped block storage disk from a Lightsail instance.
|
Future<DetachDiskResult> |
detachDiskAsync(DetachDiskRequest detachDiskRequest,
AsyncHandler<DetachDiskRequest,DetachDiskResult> asyncHandler)
Detaches a stopped block storage disk from a Lightsail instance.
|
Future<DetachInstancesFromLoadBalancerResult> |
detachInstancesFromLoadBalancerAsync(DetachInstancesFromLoadBalancerRequest detachInstancesFromLoadBalancerRequest)
Detaches the specified instances from a Lightsail load balancer.
|
Future<DetachInstancesFromLoadBalancerResult> |
detachInstancesFromLoadBalancerAsync(DetachInstancesFromLoadBalancerRequest detachInstancesFromLoadBalancerRequest,
AsyncHandler<DetachInstancesFromLoadBalancerRequest,DetachInstancesFromLoadBalancerResult> asyncHandler)
Detaches the specified instances from a Lightsail load balancer.
|
Future<DetachStaticIpResult> |
detachStaticIpAsync(DetachStaticIpRequest detachStaticIpRequest)
Detaches a static IP from the Amazon Lightsail instance to which it is attached.
|
Future<DetachStaticIpResult> |
detachStaticIpAsync(DetachStaticIpRequest detachStaticIpRequest,
AsyncHandler<DetachStaticIpRequest,DetachStaticIpResult> asyncHandler)
Detaches a static IP from the Amazon Lightsail instance to which it is attached.
|
Future<DownloadDefaultKeyPairResult> |
downloadDefaultKeyPairAsync(DownloadDefaultKeyPairRequest downloadDefaultKeyPairRequest)
Downloads the default SSH key pair from the user's account.
|
Future<DownloadDefaultKeyPairResult> |
downloadDefaultKeyPairAsync(DownloadDefaultKeyPairRequest downloadDefaultKeyPairRequest,
AsyncHandler<DownloadDefaultKeyPairRequest,DownloadDefaultKeyPairResult> asyncHandler)
Downloads the default SSH key pair from the user's account.
|
Future<GetActiveNamesResult> |
getActiveNamesAsync(GetActiveNamesRequest getActiveNamesRequest)
Returns the names of all active (not deleted) resources.
|
Future<GetActiveNamesResult> |
getActiveNamesAsync(GetActiveNamesRequest getActiveNamesRequest,
AsyncHandler<GetActiveNamesRequest,GetActiveNamesResult> asyncHandler)
Returns the names of all active (not deleted) resources.
|
Future<GetBlueprintsResult> |
getBlueprintsAsync(GetBlueprintsRequest getBlueprintsRequest)
Returns the list of available instance images, or blueprints.
|
Future<GetBlueprintsResult> |
getBlueprintsAsync(GetBlueprintsRequest getBlueprintsRequest,
AsyncHandler<GetBlueprintsRequest,GetBlueprintsResult> asyncHandler)
Returns the list of available instance images, or blueprints.
|
Future<GetBundlesResult> |
getBundlesAsync(GetBundlesRequest getBundlesRequest)
Returns the list of bundles that are available for purchase.
|
Future<GetBundlesResult> |
getBundlesAsync(GetBundlesRequest getBundlesRequest,
AsyncHandler<GetBundlesRequest,GetBundlesResult> asyncHandler)
Returns the list of bundles that are available for purchase.
|
Future<GetDiskResult> |
getDiskAsync(GetDiskRequest getDiskRequest)
Returns information about a specific block storage disk.
|
Future<GetDiskResult> |
getDiskAsync(GetDiskRequest getDiskRequest,
AsyncHandler<GetDiskRequest,GetDiskResult> asyncHandler)
Returns information about a specific block storage disk.
|
Future<GetDisksResult> |
getDisksAsync(GetDisksRequest getDisksRequest)
Returns information about all block storage disks in your AWS account and region.
|
Future<GetDisksResult> |
getDisksAsync(GetDisksRequest getDisksRequest,
AsyncHandler<GetDisksRequest,GetDisksResult> asyncHandler)
Returns information about all block storage disks in your AWS account and region.
|
Future<GetDiskSnapshotResult> |
getDiskSnapshotAsync(GetDiskSnapshotRequest getDiskSnapshotRequest)
Returns information about a specific block storage disk snapshot.
|
Future<GetDiskSnapshotResult> |
getDiskSnapshotAsync(GetDiskSnapshotRequest getDiskSnapshotRequest,
AsyncHandler<GetDiskSnapshotRequest,GetDiskSnapshotResult> asyncHandler)
Returns information about a specific block storage disk snapshot.
|
Future<GetDiskSnapshotsResult> |
getDiskSnapshotsAsync(GetDiskSnapshotsRequest getDiskSnapshotsRequest)
Returns information about all block storage disk snapshots in your AWS account and region.
|
Future<GetDiskSnapshotsResult> |
getDiskSnapshotsAsync(GetDiskSnapshotsRequest getDiskSnapshotsRequest,
AsyncHandler<GetDiskSnapshotsRequest,GetDiskSnapshotsResult> asyncHandler)
Returns information about all block storage disk snapshots in your AWS account and region.
|
Future<GetDomainResult> |
getDomainAsync(GetDomainRequest getDomainRequest)
Returns information about a specific domain recordset.
|
Future<GetDomainResult> |
getDomainAsync(GetDomainRequest getDomainRequest,
AsyncHandler<GetDomainRequest,GetDomainResult> asyncHandler)
Returns information about a specific domain recordset.
|
Future<GetDomainsResult> |
getDomainsAsync(GetDomainsRequest getDomainsRequest)
Returns a list of all domains in the user's account.
|
Future<GetDomainsResult> |
getDomainsAsync(GetDomainsRequest getDomainsRequest,
AsyncHandler<GetDomainsRequest,GetDomainsResult> asyncHandler)
Returns a list of all domains in the user's account.
|
Future<GetInstanceAccessDetailsResult> |
getInstanceAccessDetailsAsync(GetInstanceAccessDetailsRequest getInstanceAccessDetailsRequest)
Returns temporary SSH keys you can use to connect to a specific virtual private server, or instance.
|
Future<GetInstanceAccessDetailsResult> |
getInstanceAccessDetailsAsync(GetInstanceAccessDetailsRequest getInstanceAccessDetailsRequest,
AsyncHandler<GetInstanceAccessDetailsRequest,GetInstanceAccessDetailsResult> asyncHandler)
Returns temporary SSH keys you can use to connect to a specific virtual private server, or instance.
|
Future<GetInstanceResult> |
getInstanceAsync(GetInstanceRequest getInstanceRequest)
Returns information about a specific Amazon Lightsail instance, which is a virtual private server.
|
Future<GetInstanceResult> |
getInstanceAsync(GetInstanceRequest getInstanceRequest,
AsyncHandler<GetInstanceRequest,GetInstanceResult> asyncHandler)
Returns information about a specific Amazon Lightsail instance, which is a virtual private server.
|
Future<GetInstanceMetricDataResult> |
getInstanceMetricDataAsync(GetInstanceMetricDataRequest getInstanceMetricDataRequest)
Returns the data points for the specified Amazon Lightsail instance metric, given an instance name.
|
Future<GetInstanceMetricDataResult> |
getInstanceMetricDataAsync(GetInstanceMetricDataRequest getInstanceMetricDataRequest,
AsyncHandler<GetInstanceMetricDataRequest,GetInstanceMetricDataResult> asyncHandler)
Returns the data points for the specified Amazon Lightsail instance metric, given an instance name.
|
Future<GetInstancePortStatesResult> |
getInstancePortStatesAsync(GetInstancePortStatesRequest getInstancePortStatesRequest)
Returns the port states for a specific virtual private server, or instance.
|
Future<GetInstancePortStatesResult> |
getInstancePortStatesAsync(GetInstancePortStatesRequest getInstancePortStatesRequest,
AsyncHandler<GetInstancePortStatesRequest,GetInstancePortStatesResult> asyncHandler)
Returns the port states for a specific virtual private server, or instance.
|
Future<GetInstancesResult> |
getInstancesAsync(GetInstancesRequest getInstancesRequest)
Returns information about all Amazon Lightsail virtual private servers, or instances.
|
Future<GetInstancesResult> |
getInstancesAsync(GetInstancesRequest getInstancesRequest,
AsyncHandler<GetInstancesRequest,GetInstancesResult> asyncHandler)
Returns information about all Amazon Lightsail virtual private servers, or instances.
|
Future<GetInstanceSnapshotResult> |
getInstanceSnapshotAsync(GetInstanceSnapshotRequest getInstanceSnapshotRequest)
Returns information about a specific instance snapshot.
|
Future<GetInstanceSnapshotResult> |
getInstanceSnapshotAsync(GetInstanceSnapshotRequest getInstanceSnapshotRequest,
AsyncHandler<GetInstanceSnapshotRequest,GetInstanceSnapshotResult> asyncHandler)
Returns information about a specific instance snapshot.
|
Future<GetInstanceSnapshotsResult> |
getInstanceSnapshotsAsync(GetInstanceSnapshotsRequest getInstanceSnapshotsRequest)
Returns all instance snapshots for the user's account.
|
Future<GetInstanceSnapshotsResult> |
getInstanceSnapshotsAsync(GetInstanceSnapshotsRequest getInstanceSnapshotsRequest,
AsyncHandler<GetInstanceSnapshotsRequest,GetInstanceSnapshotsResult> asyncHandler)
Returns all instance snapshots for the user's account.
|
Future<GetInstanceStateResult> |
getInstanceStateAsync(GetInstanceStateRequest getInstanceStateRequest)
Returns the state of a specific instance.
|
Future<GetInstanceStateResult> |
getInstanceStateAsync(GetInstanceStateRequest getInstanceStateRequest,
AsyncHandler<GetInstanceStateRequest,GetInstanceStateResult> asyncHandler)
Returns the state of a specific instance.
|
Future<GetKeyPairResult> |
getKeyPairAsync(GetKeyPairRequest getKeyPairRequest)
Returns information about a specific key pair.
|
Future<GetKeyPairResult> |
getKeyPairAsync(GetKeyPairRequest getKeyPairRequest,
AsyncHandler<GetKeyPairRequest,GetKeyPairResult> asyncHandler)
Returns information about a specific key pair.
|
Future<GetKeyPairsResult> |
getKeyPairsAsync(GetKeyPairsRequest getKeyPairsRequest)
Returns information about all key pairs in the user's account.
|
Future<GetKeyPairsResult> |
getKeyPairsAsync(GetKeyPairsRequest getKeyPairsRequest,
AsyncHandler<GetKeyPairsRequest,GetKeyPairsResult> asyncHandler)
Returns information about all key pairs in the user's account.
|
Future<GetLoadBalancerResult> |
getLoadBalancerAsync(GetLoadBalancerRequest getLoadBalancerRequest)
Returns information about the specified Lightsail load balancer.
|
Future<GetLoadBalancerResult> |
getLoadBalancerAsync(GetLoadBalancerRequest getLoadBalancerRequest,
AsyncHandler<GetLoadBalancerRequest,GetLoadBalancerResult> asyncHandler)
Returns information about the specified Lightsail load balancer.
|
Future<GetLoadBalancerMetricDataResult> |
getLoadBalancerMetricDataAsync(GetLoadBalancerMetricDataRequest getLoadBalancerMetricDataRequest)
Returns information about health metrics for your Lightsail load balancer.
|
Future<GetLoadBalancerMetricDataResult> |
getLoadBalancerMetricDataAsync(GetLoadBalancerMetricDataRequest getLoadBalancerMetricDataRequest,
AsyncHandler<GetLoadBalancerMetricDataRequest,GetLoadBalancerMetricDataResult> asyncHandler)
Returns information about health metrics for your Lightsail load balancer.
|
Future<GetLoadBalancersResult> |
getLoadBalancersAsync(GetLoadBalancersRequest getLoadBalancersRequest)
Returns information about all load balancers in an account.
|
Future<GetLoadBalancersResult> |
getLoadBalancersAsync(GetLoadBalancersRequest getLoadBalancersRequest,
AsyncHandler<GetLoadBalancersRequest,GetLoadBalancersResult> asyncHandler)
Returns information about all load balancers in an account.
|
Future<GetLoadBalancerTlsCertificatesResult> |
getLoadBalancerTlsCertificatesAsync(GetLoadBalancerTlsCertificatesRequest getLoadBalancerTlsCertificatesRequest)
Returns information about the TLS certificates that are associated with the specified Lightsail load balancer.
|
Future<GetLoadBalancerTlsCertificatesResult> |
getLoadBalancerTlsCertificatesAsync(GetLoadBalancerTlsCertificatesRequest getLoadBalancerTlsCertificatesRequest,
AsyncHandler<GetLoadBalancerTlsCertificatesRequest,GetLoadBalancerTlsCertificatesResult> asyncHandler)
Returns information about the TLS certificates that are associated with the specified Lightsail load balancer.
|
Future<GetOperationResult> |
getOperationAsync(GetOperationRequest getOperationRequest)
Returns information about a specific operation.
|
Future<GetOperationResult> |
getOperationAsync(GetOperationRequest getOperationRequest,
AsyncHandler<GetOperationRequest,GetOperationResult> asyncHandler)
Returns information about a specific operation.
|
Future<GetOperationsResult> |
getOperationsAsync(GetOperationsRequest getOperationsRequest)
Returns information about all operations.
|
Future<GetOperationsResult> |
getOperationsAsync(GetOperationsRequest getOperationsRequest,
AsyncHandler<GetOperationsRequest,GetOperationsResult> asyncHandler)
Returns information about all operations.
|
Future<GetOperationsForResourceResult> |
getOperationsForResourceAsync(GetOperationsForResourceRequest getOperationsForResourceRequest)
Gets operations for a specific resource (e.g., an instance or a static IP).
|
Future<GetOperationsForResourceResult> |
getOperationsForResourceAsync(GetOperationsForResourceRequest getOperationsForResourceRequest,
AsyncHandler<GetOperationsForResourceRequest,GetOperationsForResourceResult> asyncHandler)
Gets operations for a specific resource (e.g., an instance or a static IP).
|
Future<GetRegionsResult> |
getRegionsAsync(GetRegionsRequest getRegionsRequest)
Returns a list of all valid regions for Amazon Lightsail.
|
Future<GetRegionsResult> |
getRegionsAsync(GetRegionsRequest getRegionsRequest,
AsyncHandler<GetRegionsRequest,GetRegionsResult> asyncHandler)
Returns a list of all valid regions for Amazon Lightsail.
|
Future<GetStaticIpResult> |
getStaticIpAsync(GetStaticIpRequest getStaticIpRequest)
Returns information about a specific static IP.
|
Future<GetStaticIpResult> |
getStaticIpAsync(GetStaticIpRequest getStaticIpRequest,
AsyncHandler<GetStaticIpRequest,GetStaticIpResult> asyncHandler)
Returns information about a specific static IP.
|
Future<GetStaticIpsResult> |
getStaticIpsAsync(GetStaticIpsRequest getStaticIpsRequest)
Returns information about all static IPs in the user's account.
|
Future<GetStaticIpsResult> |
getStaticIpsAsync(GetStaticIpsRequest getStaticIpsRequest,
AsyncHandler<GetStaticIpsRequest,GetStaticIpsResult> asyncHandler)
Returns information about all static IPs in the user's account.
|
Future<ImportKeyPairResult> |
importKeyPairAsync(ImportKeyPairRequest importKeyPairRequest)
Imports a public SSH key from a specific key pair.
|
Future<ImportKeyPairResult> |
importKeyPairAsync(ImportKeyPairRequest importKeyPairRequest,
AsyncHandler<ImportKeyPairRequest,ImportKeyPairResult> asyncHandler)
Imports a public SSH key from a specific key pair.
|
Future<IsVpcPeeredResult> |
isVpcPeeredAsync(IsVpcPeeredRequest isVpcPeeredRequest)
Returns a Boolean value indicating whether your Lightsail VPC is peered.
|
Future<IsVpcPeeredResult> |
isVpcPeeredAsync(IsVpcPeeredRequest isVpcPeeredRequest,
AsyncHandler<IsVpcPeeredRequest,IsVpcPeeredResult> asyncHandler)
Returns a Boolean value indicating whether your Lightsail VPC is peered.
|
Future<OpenInstancePublicPortsResult> |
openInstancePublicPortsAsync(OpenInstancePublicPortsRequest openInstancePublicPortsRequest)
Adds public ports to an Amazon Lightsail instance.
|
Future<OpenInstancePublicPortsResult> |
openInstancePublicPortsAsync(OpenInstancePublicPortsRequest openInstancePublicPortsRequest,
AsyncHandler<OpenInstancePublicPortsRequest,OpenInstancePublicPortsResult> asyncHandler)
Adds public ports to an Amazon Lightsail instance.
|
Future<PeerVpcResult> |
peerVpcAsync(PeerVpcRequest peerVpcRequest)
Tries to peer the Lightsail VPC with the user's default VPC.
|
Future<PeerVpcResult> |
peerVpcAsync(PeerVpcRequest peerVpcRequest,
AsyncHandler<PeerVpcRequest,PeerVpcResult> asyncHandler)
Tries to peer the Lightsail VPC with the user's default VPC.
|
Future<PutInstancePublicPortsResult> |
putInstancePublicPortsAsync(PutInstancePublicPortsRequest putInstancePublicPortsRequest)
Sets the specified open ports for an Amazon Lightsail instance, and closes all ports for every protocol not
included in the current request.
|
Future<PutInstancePublicPortsResult> |
putInstancePublicPortsAsync(PutInstancePublicPortsRequest putInstancePublicPortsRequest,
AsyncHandler<PutInstancePublicPortsRequest,PutInstancePublicPortsResult> asyncHandler)
Sets the specified open ports for an Amazon Lightsail instance, and closes all ports for every protocol not
included in the current request.
|
Future<RebootInstanceResult> |
rebootInstanceAsync(RebootInstanceRequest rebootInstanceRequest)
Restarts a specific instance.
|
Future<RebootInstanceResult> |
rebootInstanceAsync(RebootInstanceRequest rebootInstanceRequest,
AsyncHandler<RebootInstanceRequest,RebootInstanceResult> asyncHandler)
Restarts a specific instance.
|
Future<ReleaseStaticIpResult> |
releaseStaticIpAsync(ReleaseStaticIpRequest releaseStaticIpRequest)
Deletes a specific static IP from your account.
|
Future<ReleaseStaticIpResult> |
releaseStaticIpAsync(ReleaseStaticIpRequest releaseStaticIpRequest,
AsyncHandler<ReleaseStaticIpRequest,ReleaseStaticIpResult> asyncHandler)
Deletes a specific static IP from your account.
|
Future<StartInstanceResult> |
startInstanceAsync(StartInstanceRequest startInstanceRequest)
Starts a specific Amazon Lightsail instance from a stopped state.
|
Future<StartInstanceResult> |
startInstanceAsync(StartInstanceRequest startInstanceRequest,
AsyncHandler<StartInstanceRequest,StartInstanceResult> asyncHandler)
Starts a specific Amazon Lightsail instance from a stopped state.
|
Future<StopInstanceResult> |
stopInstanceAsync(StopInstanceRequest stopInstanceRequest)
Stops a specific Amazon Lightsail instance that is currently running.
|
Future<StopInstanceResult> |
stopInstanceAsync(StopInstanceRequest stopInstanceRequest,
AsyncHandler<StopInstanceRequest,StopInstanceResult> asyncHandler)
Stops a specific Amazon Lightsail instance that is currently running.
|
Future<UnpeerVpcResult> |
unpeerVpcAsync(UnpeerVpcRequest unpeerVpcRequest)
Attempts to unpeer the Lightsail VPC from the user's default VPC.
|
Future<UnpeerVpcResult> |
unpeerVpcAsync(UnpeerVpcRequest unpeerVpcRequest,
AsyncHandler<UnpeerVpcRequest,UnpeerVpcResult> asyncHandler)
Attempts to unpeer the Lightsail VPC from the user's default VPC.
|
Future<UpdateDomainEntryResult> |
updateDomainEntryAsync(UpdateDomainEntryRequest updateDomainEntryRequest)
Updates a domain recordset after it is created.
|
Future<UpdateDomainEntryResult> |
updateDomainEntryAsync(UpdateDomainEntryRequest updateDomainEntryRequest,
AsyncHandler<UpdateDomainEntryRequest,UpdateDomainEntryResult> asyncHandler)
Updates a domain recordset after it is created.
|
Future<UpdateLoadBalancerAttributeResult> |
updateLoadBalancerAttributeAsync(UpdateLoadBalancerAttributeRequest updateLoadBalancerAttributeRequest)
Updates the specified attribute for a load balancer.
|
Future<UpdateLoadBalancerAttributeResult> |
updateLoadBalancerAttributeAsync(UpdateLoadBalancerAttributeRequest updateLoadBalancerAttributeRequest,
AsyncHandler<UpdateLoadBalancerAttributeRequest,UpdateLoadBalancerAttributeResult> asyncHandler)
Updates the specified attribute for a load balancer.
|
allocateStaticIp, attachDisk, attachInstancesToLoadBalancer, attachLoadBalancerTlsCertificate, attachStaticIp, closeInstancePublicPorts, createDisk, createDiskFromSnapshot, createDiskSnapshot, createDomain, createDomainEntry, createInstances, createInstancesFromSnapshot, createInstanceSnapshot, createKeyPair, createLoadBalancer, createLoadBalancerTlsCertificate, deleteDisk, deleteDiskSnapshot, deleteDomain, deleteDomainEntry, deleteInstance, deleteInstanceSnapshot, deleteKeyPair, deleteLoadBalancer, deleteLoadBalancerTlsCertificate, detachDisk, detachInstancesFromLoadBalancer, detachStaticIp, downloadDefaultKeyPair, getActiveNames, getBlueprints, getBundles, getCachedResponseMetadata, getDisk, getDisks, getDiskSnapshot, getDiskSnapshots, getDomain, getDomains, getInstance, getInstanceAccessDetails, getInstanceMetricData, getInstancePortStates, getInstances, getInstanceSnapshot, getInstanceSnapshots, getInstanceState, getKeyPair, getKeyPairs, getLoadBalancer, getLoadBalancerMetricData, getLoadBalancers, getLoadBalancerTlsCertificates, getOperation, getOperations, getOperationsForResource, getRegions, getStaticIp, getStaticIps, importKeyPair, isVpcPeered, openInstancePublicPorts, peerVpc, putInstancePublicPorts, rebootInstance, releaseStaticIp, setEndpoint, setRegion, shutdown, startInstance, stopInstance, unpeerVpc, updateDomainEntry, updateLoadBalancerAttribute
Future<AllocateStaticIpResult> allocateStaticIpAsync(AllocateStaticIpRequest allocateStaticIpRequest)
Allocates a static IP address.
allocateStaticIpRequest
- Future<AllocateStaticIpResult> allocateStaticIpAsync(AllocateStaticIpRequest allocateStaticIpRequest, AsyncHandler<AllocateStaticIpRequest,AllocateStaticIpResult> asyncHandler)
Allocates a static IP address.
allocateStaticIpRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<AttachDiskResult> attachDiskAsync(AttachDiskRequest attachDiskRequest)
Attaches a block storage disk to a running or stopped Lightsail instance and exposes it to the instance with the specified disk name.
attachDiskRequest
- Future<AttachDiskResult> attachDiskAsync(AttachDiskRequest attachDiskRequest, AsyncHandler<AttachDiskRequest,AttachDiskResult> asyncHandler)
Attaches a block storage disk to a running or stopped Lightsail instance and exposes it to the instance with the specified disk name.
attachDiskRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<AttachInstancesToLoadBalancerResult> attachInstancesToLoadBalancerAsync(AttachInstancesToLoadBalancerRequest attachInstancesToLoadBalancerRequest)
Attaches one or more Lightsail instances to a load balancer.
attachInstancesToLoadBalancerRequest
- Future<AttachInstancesToLoadBalancerResult> attachInstancesToLoadBalancerAsync(AttachInstancesToLoadBalancerRequest attachInstancesToLoadBalancerRequest, AsyncHandler<AttachInstancesToLoadBalancerRequest,AttachInstancesToLoadBalancerResult> asyncHandler)
Attaches one or more Lightsail instances to a load balancer.
attachInstancesToLoadBalancerRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<AttachLoadBalancerTlsCertificateResult> attachLoadBalancerTlsCertificateAsync(AttachLoadBalancerTlsCertificateRequest attachLoadBalancerTlsCertificateRequest)
Attaches a Transport Layer Security (TLS) certificate to your load balancer.
TLS is just an updated, more secure version of Secure Socket Layer (SSL).
attachLoadBalancerTlsCertificateRequest
- Future<AttachLoadBalancerTlsCertificateResult> attachLoadBalancerTlsCertificateAsync(AttachLoadBalancerTlsCertificateRequest attachLoadBalancerTlsCertificateRequest, AsyncHandler<AttachLoadBalancerTlsCertificateRequest,AttachLoadBalancerTlsCertificateResult> asyncHandler)
Attaches a Transport Layer Security (TLS) certificate to your load balancer.
TLS is just an updated, more secure version of Secure Socket Layer (SSL).
attachLoadBalancerTlsCertificateRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<AttachStaticIpResult> attachStaticIpAsync(AttachStaticIpRequest attachStaticIpRequest)
Attaches a static IP address to a specific Amazon Lightsail instance.
attachStaticIpRequest
- Future<AttachStaticIpResult> attachStaticIpAsync(AttachStaticIpRequest attachStaticIpRequest, AsyncHandler<AttachStaticIpRequest,AttachStaticIpResult> asyncHandler)
Attaches a static IP address to a specific Amazon Lightsail instance.
attachStaticIpRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CloseInstancePublicPortsResult> closeInstancePublicPortsAsync(CloseInstancePublicPortsRequest closeInstancePublicPortsRequest)
Closes the public ports on a specific Amazon Lightsail instance.
closeInstancePublicPortsRequest
- Future<CloseInstancePublicPortsResult> closeInstancePublicPortsAsync(CloseInstancePublicPortsRequest closeInstancePublicPortsRequest, AsyncHandler<CloseInstancePublicPortsRequest,CloseInstancePublicPortsResult> asyncHandler)
Closes the public ports on a specific Amazon Lightsail instance.
closeInstancePublicPortsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateDiskResult> createDiskAsync(CreateDiskRequest createDiskRequest)
Creates a block storage disk that can be attached to a Lightsail instance in the same Availability Zone (e.g.,
us-east-2a
). The disk is created in the regional endpoint that you send the HTTP request to. For
more information, see Regions and Availability Zones in Lightsail.
createDiskRequest
- Future<CreateDiskResult> createDiskAsync(CreateDiskRequest createDiskRequest, AsyncHandler<CreateDiskRequest,CreateDiskResult> asyncHandler)
Creates a block storage disk that can be attached to a Lightsail instance in the same Availability Zone (e.g.,
us-east-2a
). The disk is created in the regional endpoint that you send the HTTP request to. For
more information, see Regions and Availability Zones in Lightsail.
createDiskRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateDiskFromSnapshotResult> createDiskFromSnapshotAsync(CreateDiskFromSnapshotRequest createDiskFromSnapshotRequest)
Creates a block storage disk from a disk snapshot that can be attached to a Lightsail instance in the same
Availability Zone (e.g., us-east-2a
). The disk is created in the regional endpoint that you send the
HTTP request to. For more information, see Regions and Availability Zones in Lightsail.
createDiskFromSnapshotRequest
- Future<CreateDiskFromSnapshotResult> createDiskFromSnapshotAsync(CreateDiskFromSnapshotRequest createDiskFromSnapshotRequest, AsyncHandler<CreateDiskFromSnapshotRequest,CreateDiskFromSnapshotResult> asyncHandler)
Creates a block storage disk from a disk snapshot that can be attached to a Lightsail instance in the same
Availability Zone (e.g., us-east-2a
). The disk is created in the regional endpoint that you send the
HTTP request to. For more information, see Regions and Availability Zones in Lightsail.
createDiskFromSnapshotRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateDiskSnapshotResult> createDiskSnapshotAsync(CreateDiskSnapshotRequest createDiskSnapshotRequest)
Creates a snapshot of a block storage disk. You can use snapshots for backups, to make copies of disks, and to save data before shutting down a Lightsail instance.
You can take a snapshot of an attached disk that is in use; however, snapshots only capture data that has been written to your disk at the time the snapshot command is issued. This may exclude any data that has been cached by any applications or the operating system. If you can pause any file systems on the disk long enough to take a snapshot, your snapshot should be complete. Nevertheless, if you cannot pause all file writes to the disk, you should unmount the disk from within the Lightsail instance, issue the create disk snapshot command, and then remount the disk to ensure a consistent and complete snapshot. You may remount and use your disk while the snapshot status is pending.
createDiskSnapshotRequest
- Future<CreateDiskSnapshotResult> createDiskSnapshotAsync(CreateDiskSnapshotRequest createDiskSnapshotRequest, AsyncHandler<CreateDiskSnapshotRequest,CreateDiskSnapshotResult> asyncHandler)
Creates a snapshot of a block storage disk. You can use snapshots for backups, to make copies of disks, and to save data before shutting down a Lightsail instance.
You can take a snapshot of an attached disk that is in use; however, snapshots only capture data that has been written to your disk at the time the snapshot command is issued. This may exclude any data that has been cached by any applications or the operating system. If you can pause any file systems on the disk long enough to take a snapshot, your snapshot should be complete. Nevertheless, if you cannot pause all file writes to the disk, you should unmount the disk from within the Lightsail instance, issue the create disk snapshot command, and then remount the disk to ensure a consistent and complete snapshot. You may remount and use your disk while the snapshot status is pending.
createDiskSnapshotRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateDomainResult> createDomainAsync(CreateDomainRequest createDomainRequest)
Creates a domain resource for the specified domain (e.g., example.com).
createDomainRequest
- Future<CreateDomainResult> createDomainAsync(CreateDomainRequest createDomainRequest, AsyncHandler<CreateDomainRequest,CreateDomainResult> asyncHandler)
Creates a domain resource for the specified domain (e.g., example.com).
createDomainRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateDomainEntryResult> createDomainEntryAsync(CreateDomainEntryRequest createDomainEntryRequest)
Creates one of the following entry records associated with the domain: A record, CNAME record, TXT record, or MX record.
createDomainEntryRequest
- Future<CreateDomainEntryResult> createDomainEntryAsync(CreateDomainEntryRequest createDomainEntryRequest, AsyncHandler<CreateDomainEntryRequest,CreateDomainEntryResult> asyncHandler)
Creates one of the following entry records associated with the domain: A record, CNAME record, TXT record, or MX record.
createDomainEntryRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateInstanceSnapshotResult> createInstanceSnapshotAsync(CreateInstanceSnapshotRequest createInstanceSnapshotRequest)
Creates a snapshot of a specific virtual private server, or instance. You can use a snapshot to create a new instance that is based on that snapshot.
createInstanceSnapshotRequest
- Future<CreateInstanceSnapshotResult> createInstanceSnapshotAsync(CreateInstanceSnapshotRequest createInstanceSnapshotRequest, AsyncHandler<CreateInstanceSnapshotRequest,CreateInstanceSnapshotResult> asyncHandler)
Creates a snapshot of a specific virtual private server, or instance. You can use a snapshot to create a new instance that is based on that snapshot.
createInstanceSnapshotRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateInstancesResult> createInstancesAsync(CreateInstancesRequest createInstancesRequest)
Creates one or more Amazon Lightsail virtual private servers, or instances.
createInstancesRequest
- Future<CreateInstancesResult> createInstancesAsync(CreateInstancesRequest createInstancesRequest, AsyncHandler<CreateInstancesRequest,CreateInstancesResult> asyncHandler)
Creates one or more Amazon Lightsail virtual private servers, or instances.
createInstancesRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateInstancesFromSnapshotResult> createInstancesFromSnapshotAsync(CreateInstancesFromSnapshotRequest createInstancesFromSnapshotRequest)
Uses a specific snapshot as a blueprint for creating one or more new instances that are based on that identical configuration.
createInstancesFromSnapshotRequest
- Future<CreateInstancesFromSnapshotResult> createInstancesFromSnapshotAsync(CreateInstancesFromSnapshotRequest createInstancesFromSnapshotRequest, AsyncHandler<CreateInstancesFromSnapshotRequest,CreateInstancesFromSnapshotResult> asyncHandler)
Uses a specific snapshot as a blueprint for creating one or more new instances that are based on that identical configuration.
createInstancesFromSnapshotRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateKeyPairResult> createKeyPairAsync(CreateKeyPairRequest createKeyPairRequest)
Creates sn SSH key pair.
createKeyPairRequest
- Future<CreateKeyPairResult> createKeyPairAsync(CreateKeyPairRequest createKeyPairRequest, AsyncHandler<CreateKeyPairRequest,CreateKeyPairResult> asyncHandler)
Creates sn SSH key pair.
createKeyPairRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateLoadBalancerResult> createLoadBalancerAsync(CreateLoadBalancerRequest createLoadBalancerRequest)
Creates a Lightsail load balancer.
When you create a load balancer, you can specify certificates and port settings. You can create up to 5 load balancers per AWS Region in your account.
createLoadBalancerRequest
- Future<CreateLoadBalancerResult> createLoadBalancerAsync(CreateLoadBalancerRequest createLoadBalancerRequest, AsyncHandler<CreateLoadBalancerRequest,CreateLoadBalancerResult> asyncHandler)
Creates a Lightsail load balancer.
When you create a load balancer, you can specify certificates and port settings. You can create up to 5 load balancers per AWS Region in your account.
createLoadBalancerRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateLoadBalancerTlsCertificateResult> createLoadBalancerTlsCertificateAsync(CreateLoadBalancerTlsCertificateRequest createLoadBalancerTlsCertificateRequest)
Creates a Lightsail load balancer TLS certificate.
TLS is just an updated, more secure version of Secure Socket Layer (SSL).
createLoadBalancerTlsCertificateRequest
- Future<CreateLoadBalancerTlsCertificateResult> createLoadBalancerTlsCertificateAsync(CreateLoadBalancerTlsCertificateRequest createLoadBalancerTlsCertificateRequest, AsyncHandler<CreateLoadBalancerTlsCertificateRequest,CreateLoadBalancerTlsCertificateResult> asyncHandler)
Creates a Lightsail load balancer TLS certificate.
TLS is just an updated, more secure version of Secure Socket Layer (SSL).
createLoadBalancerTlsCertificateRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteDiskResult> deleteDiskAsync(DeleteDiskRequest deleteDiskRequest)
Deletes the specified block storage disk. The disk must be in the available
state (not attached to a
Lightsail instance).
The disk may remain in the deleting
state for several minutes.
deleteDiskRequest
- Future<DeleteDiskResult> deleteDiskAsync(DeleteDiskRequest deleteDiskRequest, AsyncHandler<DeleteDiskRequest,DeleteDiskResult> asyncHandler)
Deletes the specified block storage disk. The disk must be in the available
state (not attached to a
Lightsail instance).
The disk may remain in the deleting
state for several minutes.
deleteDiskRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteDiskSnapshotResult> deleteDiskSnapshotAsync(DeleteDiskSnapshotRequest deleteDiskSnapshotRequest)
Deletes the specified disk snapshot.
When you make periodic snapshots of a disk, 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 disk.
deleteDiskSnapshotRequest
- Future<DeleteDiskSnapshotResult> deleteDiskSnapshotAsync(DeleteDiskSnapshotRequest deleteDiskSnapshotRequest, AsyncHandler<DeleteDiskSnapshotRequest,DeleteDiskSnapshotResult> asyncHandler)
Deletes the specified disk snapshot.
When you make periodic snapshots of a disk, 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 disk.
deleteDiskSnapshotRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteDomainResult> deleteDomainAsync(DeleteDomainRequest deleteDomainRequest)
Deletes the specified domain recordset and all of its domain records.
deleteDomainRequest
- Future<DeleteDomainResult> deleteDomainAsync(DeleteDomainRequest deleteDomainRequest, AsyncHandler<DeleteDomainRequest,DeleteDomainResult> asyncHandler)
Deletes the specified domain recordset and all of its domain records.
deleteDomainRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteDomainEntryResult> deleteDomainEntryAsync(DeleteDomainEntryRequest deleteDomainEntryRequest)
Deletes a specific domain entry.
deleteDomainEntryRequest
- Future<DeleteDomainEntryResult> deleteDomainEntryAsync(DeleteDomainEntryRequest deleteDomainEntryRequest, AsyncHandler<DeleteDomainEntryRequest,DeleteDomainEntryResult> asyncHandler)
Deletes a specific domain entry.
deleteDomainEntryRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteInstanceResult> deleteInstanceAsync(DeleteInstanceRequest deleteInstanceRequest)
Deletes a specific Amazon Lightsail virtual private server, or instance.
deleteInstanceRequest
- Future<DeleteInstanceResult> deleteInstanceAsync(DeleteInstanceRequest deleteInstanceRequest, AsyncHandler<DeleteInstanceRequest,DeleteInstanceResult> asyncHandler)
Deletes a specific Amazon Lightsail virtual private server, or instance.
deleteInstanceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteInstanceSnapshotResult> deleteInstanceSnapshotAsync(DeleteInstanceSnapshotRequest deleteInstanceSnapshotRequest)
Deletes a specific snapshot of a virtual private server (or instance).
deleteInstanceSnapshotRequest
- Future<DeleteInstanceSnapshotResult> deleteInstanceSnapshotAsync(DeleteInstanceSnapshotRequest deleteInstanceSnapshotRequest, AsyncHandler<DeleteInstanceSnapshotRequest,DeleteInstanceSnapshotResult> asyncHandler)
Deletes a specific snapshot of a virtual private server (or instance).
deleteInstanceSnapshotRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteKeyPairResult> deleteKeyPairAsync(DeleteKeyPairRequest deleteKeyPairRequest)
Deletes a specific SSH key pair.
deleteKeyPairRequest
- Future<DeleteKeyPairResult> deleteKeyPairAsync(DeleteKeyPairRequest deleteKeyPairRequest, AsyncHandler<DeleteKeyPairRequest,DeleteKeyPairResult> asyncHandler)
Deletes a specific SSH key pair.
deleteKeyPairRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteLoadBalancerResult> deleteLoadBalancerAsync(DeleteLoadBalancerRequest deleteLoadBalancerRequest)
Deletes a Lightsail load balancer.
deleteLoadBalancerRequest
- Future<DeleteLoadBalancerResult> deleteLoadBalancerAsync(DeleteLoadBalancerRequest deleteLoadBalancerRequest, AsyncHandler<DeleteLoadBalancerRequest,DeleteLoadBalancerResult> asyncHandler)
Deletes a Lightsail load balancer.
deleteLoadBalancerRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteLoadBalancerTlsCertificateResult> deleteLoadBalancerTlsCertificateAsync(DeleteLoadBalancerTlsCertificateRequest deleteLoadBalancerTlsCertificateRequest)
Deletes a TLS/SSL certificate associated with a Lightsail load balancer.
deleteLoadBalancerTlsCertificateRequest
- Future<DeleteLoadBalancerTlsCertificateResult> deleteLoadBalancerTlsCertificateAsync(DeleteLoadBalancerTlsCertificateRequest deleteLoadBalancerTlsCertificateRequest, AsyncHandler<DeleteLoadBalancerTlsCertificateRequest,DeleteLoadBalancerTlsCertificateResult> asyncHandler)
Deletes a TLS/SSL certificate associated with a Lightsail load balancer.
deleteLoadBalancerTlsCertificateRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DetachDiskResult> detachDiskAsync(DetachDiskRequest detachDiskRequest)
Detaches a stopped block storage disk from a Lightsail instance. Make sure to unmount any file systems on the device within your operating system before stopping the instance and detaching the disk.
detachDiskRequest
- Future<DetachDiskResult> detachDiskAsync(DetachDiskRequest detachDiskRequest, AsyncHandler<DetachDiskRequest,DetachDiskResult> asyncHandler)
Detaches a stopped block storage disk from a Lightsail instance. Make sure to unmount any file systems on the device within your operating system before stopping the instance and detaching the disk.
detachDiskRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DetachInstancesFromLoadBalancerResult> detachInstancesFromLoadBalancerAsync(DetachInstancesFromLoadBalancerRequest detachInstancesFromLoadBalancerRequest)
Detaches the specified instances from a Lightsail load balancer.
detachInstancesFromLoadBalancerRequest
- Future<DetachInstancesFromLoadBalancerResult> detachInstancesFromLoadBalancerAsync(DetachInstancesFromLoadBalancerRequest detachInstancesFromLoadBalancerRequest, AsyncHandler<DetachInstancesFromLoadBalancerRequest,DetachInstancesFromLoadBalancerResult> asyncHandler)
Detaches the specified instances from a Lightsail load balancer.
detachInstancesFromLoadBalancerRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DetachStaticIpResult> detachStaticIpAsync(DetachStaticIpRequest detachStaticIpRequest)
Detaches a static IP from the Amazon Lightsail instance to which it is attached.
detachStaticIpRequest
- Future<DetachStaticIpResult> detachStaticIpAsync(DetachStaticIpRequest detachStaticIpRequest, AsyncHandler<DetachStaticIpRequest,DetachStaticIpResult> asyncHandler)
Detaches a static IP from the Amazon Lightsail instance to which it is attached.
detachStaticIpRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DownloadDefaultKeyPairResult> downloadDefaultKeyPairAsync(DownloadDefaultKeyPairRequest downloadDefaultKeyPairRequest)
Downloads the default SSH key pair from the user's account.
downloadDefaultKeyPairRequest
- Future<DownloadDefaultKeyPairResult> downloadDefaultKeyPairAsync(DownloadDefaultKeyPairRequest downloadDefaultKeyPairRequest, AsyncHandler<DownloadDefaultKeyPairRequest,DownloadDefaultKeyPairResult> asyncHandler)
Downloads the default SSH key pair from the user's account.
downloadDefaultKeyPairRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetActiveNamesResult> getActiveNamesAsync(GetActiveNamesRequest getActiveNamesRequest)
Returns the names of all active (not deleted) resources.
getActiveNamesRequest
- Future<GetActiveNamesResult> getActiveNamesAsync(GetActiveNamesRequest getActiveNamesRequest, AsyncHandler<GetActiveNamesRequest,GetActiveNamesResult> asyncHandler)
Returns the names of all active (not deleted) resources.
getActiveNamesRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetBlueprintsResult> getBlueprintsAsync(GetBlueprintsRequest getBlueprintsRequest)
Returns the list of available instance images, or blueprints. You can use a blueprint to create a new virtual private server already running a specific operating system, as well as a preinstalled app or development stack. The software each instance is running depends on the blueprint image you choose.
getBlueprintsRequest
- Future<GetBlueprintsResult> getBlueprintsAsync(GetBlueprintsRequest getBlueprintsRequest, AsyncHandler<GetBlueprintsRequest,GetBlueprintsResult> asyncHandler)
Returns the list of available instance images, or blueprints. You can use a blueprint to create a new virtual private server already running a specific operating system, as well as a preinstalled app or development stack. The software each instance is running depends on the blueprint image you choose.
getBlueprintsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetBundlesResult> getBundlesAsync(GetBundlesRequest getBundlesRequest)
Returns the list of bundles that are available for purchase. A bundle describes the specs for your virtual private server (or instance).
getBundlesRequest
- Future<GetBundlesResult> getBundlesAsync(GetBundlesRequest getBundlesRequest, AsyncHandler<GetBundlesRequest,GetBundlesResult> asyncHandler)
Returns the list of bundles that are available for purchase. A bundle describes the specs for your virtual private server (or instance).
getBundlesRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetDiskResult> getDiskAsync(GetDiskRequest getDiskRequest)
Returns information about a specific block storage disk.
getDiskRequest
- Future<GetDiskResult> getDiskAsync(GetDiskRequest getDiskRequest, AsyncHandler<GetDiskRequest,GetDiskResult> asyncHandler)
Returns information about a specific block storage disk.
getDiskRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetDiskSnapshotResult> getDiskSnapshotAsync(GetDiskSnapshotRequest getDiskSnapshotRequest)
Returns information about a specific block storage disk snapshot.
getDiskSnapshotRequest
- Future<GetDiskSnapshotResult> getDiskSnapshotAsync(GetDiskSnapshotRequest getDiskSnapshotRequest, AsyncHandler<GetDiskSnapshotRequest,GetDiskSnapshotResult> asyncHandler)
Returns information about a specific block storage disk snapshot.
getDiskSnapshotRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetDiskSnapshotsResult> getDiskSnapshotsAsync(GetDiskSnapshotsRequest getDiskSnapshotsRequest)
Returns information about all block storage disk snapshots in your AWS account and region.
If you are describing a long list of disk snapshots, you can paginate the output to make the list more manageable. You can use the pageToken and nextPageToken values to retrieve the next items in the list.
getDiskSnapshotsRequest
- Future<GetDiskSnapshotsResult> getDiskSnapshotsAsync(GetDiskSnapshotsRequest getDiskSnapshotsRequest, AsyncHandler<GetDiskSnapshotsRequest,GetDiskSnapshotsResult> asyncHandler)
Returns information about all block storage disk snapshots in your AWS account and region.
If you are describing a long list of disk snapshots, you can paginate the output to make the list more manageable. You can use the pageToken and nextPageToken values to retrieve the next items in the list.
getDiskSnapshotsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetDisksResult> getDisksAsync(GetDisksRequest getDisksRequest)
Returns information about all block storage disks in your AWS account and region.
If you are describing a long list of disks, you can paginate the output to make the list more manageable. You can use the pageToken and nextPageToken values to retrieve the next items in the list.
getDisksRequest
- Future<GetDisksResult> getDisksAsync(GetDisksRequest getDisksRequest, AsyncHandler<GetDisksRequest,GetDisksResult> asyncHandler)
Returns information about all block storage disks in your AWS account and region.
If you are describing a long list of disks, you can paginate the output to make the list more manageable. You can use the pageToken and nextPageToken values to retrieve the next items in the list.
getDisksRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetDomainResult> getDomainAsync(GetDomainRequest getDomainRequest)
Returns information about a specific domain recordset.
getDomainRequest
- Future<GetDomainResult> getDomainAsync(GetDomainRequest getDomainRequest, AsyncHandler<GetDomainRequest,GetDomainResult> asyncHandler)
Returns information about a specific domain recordset.
getDomainRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetDomainsResult> getDomainsAsync(GetDomainsRequest getDomainsRequest)
Returns a list of all domains in the user's account.
getDomainsRequest
- Future<GetDomainsResult> getDomainsAsync(GetDomainsRequest getDomainsRequest, AsyncHandler<GetDomainsRequest,GetDomainsResult> asyncHandler)
Returns a list of all domains in the user's account.
getDomainsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetInstanceResult> getInstanceAsync(GetInstanceRequest getInstanceRequest)
Returns information about a specific Amazon Lightsail instance, which is a virtual private server.
getInstanceRequest
- Future<GetInstanceResult> getInstanceAsync(GetInstanceRequest getInstanceRequest, AsyncHandler<GetInstanceRequest,GetInstanceResult> asyncHandler)
Returns information about a specific Amazon Lightsail instance, which is a virtual private server.
getInstanceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetInstanceAccessDetailsResult> getInstanceAccessDetailsAsync(GetInstanceAccessDetailsRequest getInstanceAccessDetailsRequest)
Returns temporary SSH keys you can use to connect to a specific virtual private server, or instance.
getInstanceAccessDetailsRequest
- Future<GetInstanceAccessDetailsResult> getInstanceAccessDetailsAsync(GetInstanceAccessDetailsRequest getInstanceAccessDetailsRequest, AsyncHandler<GetInstanceAccessDetailsRequest,GetInstanceAccessDetailsResult> asyncHandler)
Returns temporary SSH keys you can use to connect to a specific virtual private server, or instance.
getInstanceAccessDetailsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetInstanceMetricDataResult> getInstanceMetricDataAsync(GetInstanceMetricDataRequest getInstanceMetricDataRequest)
Returns the data points for the specified Amazon Lightsail instance metric, given an instance name.
getInstanceMetricDataRequest
- Future<GetInstanceMetricDataResult> getInstanceMetricDataAsync(GetInstanceMetricDataRequest getInstanceMetricDataRequest, AsyncHandler<GetInstanceMetricDataRequest,GetInstanceMetricDataResult> asyncHandler)
Returns the data points for the specified Amazon Lightsail instance metric, given an instance name.
getInstanceMetricDataRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetInstancePortStatesResult> getInstancePortStatesAsync(GetInstancePortStatesRequest getInstancePortStatesRequest)
Returns the port states for a specific virtual private server, or instance.
getInstancePortStatesRequest
- Future<GetInstancePortStatesResult> getInstancePortStatesAsync(GetInstancePortStatesRequest getInstancePortStatesRequest, AsyncHandler<GetInstancePortStatesRequest,GetInstancePortStatesResult> asyncHandler)
Returns the port states for a specific virtual private server, or instance.
getInstancePortStatesRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetInstanceSnapshotResult> getInstanceSnapshotAsync(GetInstanceSnapshotRequest getInstanceSnapshotRequest)
Returns information about a specific instance snapshot.
getInstanceSnapshotRequest
- Future<GetInstanceSnapshotResult> getInstanceSnapshotAsync(GetInstanceSnapshotRequest getInstanceSnapshotRequest, AsyncHandler<GetInstanceSnapshotRequest,GetInstanceSnapshotResult> asyncHandler)
Returns information about a specific instance snapshot.
getInstanceSnapshotRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetInstanceSnapshotsResult> getInstanceSnapshotsAsync(GetInstanceSnapshotsRequest getInstanceSnapshotsRequest)
Returns all instance snapshots for the user's account.
getInstanceSnapshotsRequest
- Future<GetInstanceSnapshotsResult> getInstanceSnapshotsAsync(GetInstanceSnapshotsRequest getInstanceSnapshotsRequest, AsyncHandler<GetInstanceSnapshotsRequest,GetInstanceSnapshotsResult> asyncHandler)
Returns all instance snapshots for the user's account.
getInstanceSnapshotsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetInstanceStateResult> getInstanceStateAsync(GetInstanceStateRequest getInstanceStateRequest)
Returns the state of a specific instance. Works on one instance at a time.
getInstanceStateRequest
- Future<GetInstanceStateResult> getInstanceStateAsync(GetInstanceStateRequest getInstanceStateRequest, AsyncHandler<GetInstanceStateRequest,GetInstanceStateResult> asyncHandler)
Returns the state of a specific instance. Works on one instance at a time.
getInstanceStateRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetInstancesResult> getInstancesAsync(GetInstancesRequest getInstancesRequest)
Returns information about all Amazon Lightsail virtual private servers, or instances.
getInstancesRequest
- Future<GetInstancesResult> getInstancesAsync(GetInstancesRequest getInstancesRequest, AsyncHandler<GetInstancesRequest,GetInstancesResult> asyncHandler)
Returns information about all Amazon Lightsail virtual private servers, or instances.
getInstancesRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetKeyPairResult> getKeyPairAsync(GetKeyPairRequest getKeyPairRequest)
Returns information about a specific key pair.
getKeyPairRequest
- Future<GetKeyPairResult> getKeyPairAsync(GetKeyPairRequest getKeyPairRequest, AsyncHandler<GetKeyPairRequest,GetKeyPairResult> asyncHandler)
Returns information about a specific key pair.
getKeyPairRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetKeyPairsResult> getKeyPairsAsync(GetKeyPairsRequest getKeyPairsRequest)
Returns information about all key pairs in the user's account.
getKeyPairsRequest
- Future<GetKeyPairsResult> getKeyPairsAsync(GetKeyPairsRequest getKeyPairsRequest, AsyncHandler<GetKeyPairsRequest,GetKeyPairsResult> asyncHandler)
Returns information about all key pairs in the user's account.
getKeyPairsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetLoadBalancerResult> getLoadBalancerAsync(GetLoadBalancerRequest getLoadBalancerRequest)
Returns information about the specified Lightsail load balancer.
getLoadBalancerRequest
- Future<GetLoadBalancerResult> getLoadBalancerAsync(GetLoadBalancerRequest getLoadBalancerRequest, AsyncHandler<GetLoadBalancerRequest,GetLoadBalancerResult> asyncHandler)
Returns information about the specified Lightsail load balancer.
getLoadBalancerRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetLoadBalancerMetricDataResult> getLoadBalancerMetricDataAsync(GetLoadBalancerMetricDataRequest getLoadBalancerMetricDataRequest)
Returns information about health metrics for your Lightsail load balancer.
getLoadBalancerMetricDataRequest
- Future<GetLoadBalancerMetricDataResult> getLoadBalancerMetricDataAsync(GetLoadBalancerMetricDataRequest getLoadBalancerMetricDataRequest, AsyncHandler<GetLoadBalancerMetricDataRequest,GetLoadBalancerMetricDataResult> asyncHandler)
Returns information about health metrics for your Lightsail load balancer.
getLoadBalancerMetricDataRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetLoadBalancerTlsCertificatesResult> getLoadBalancerTlsCertificatesAsync(GetLoadBalancerTlsCertificatesRequest getLoadBalancerTlsCertificatesRequest)
Returns information about the TLS certificates that are associated with the specified Lightsail load balancer.
TLS is just an updated, more secure version of Secure Socket Layer (SSL).
getLoadBalancerTlsCertificatesRequest
- Future<GetLoadBalancerTlsCertificatesResult> getLoadBalancerTlsCertificatesAsync(GetLoadBalancerTlsCertificatesRequest getLoadBalancerTlsCertificatesRequest, AsyncHandler<GetLoadBalancerTlsCertificatesRequest,GetLoadBalancerTlsCertificatesResult> asyncHandler)
Returns information about the TLS certificates that are associated with the specified Lightsail load balancer.
TLS is just an updated, more secure version of Secure Socket Layer (SSL).
getLoadBalancerTlsCertificatesRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetLoadBalancersResult> getLoadBalancersAsync(GetLoadBalancersRequest getLoadBalancersRequest)
Returns information about all load balancers in an account.
If you are describing a long list of load balancers, you can paginate the output to make the list more manageable. You can use the pageToken and nextPageToken values to retrieve the next items in the list.
getLoadBalancersRequest
- Future<GetLoadBalancersResult> getLoadBalancersAsync(GetLoadBalancersRequest getLoadBalancersRequest, AsyncHandler<GetLoadBalancersRequest,GetLoadBalancersResult> asyncHandler)
Returns information about all load balancers in an account.
If you are describing a long list of load balancers, you can paginate the output to make the list more manageable. You can use the pageToken and nextPageToken values to retrieve the next items in the list.
getLoadBalancersRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetOperationResult> getOperationAsync(GetOperationRequest getOperationRequest)
Returns information about a specific operation. Operations include events such as when you create an instance, allocate a static IP, attach a static IP, and so on.
getOperationRequest
- Future<GetOperationResult> getOperationAsync(GetOperationRequest getOperationRequest, AsyncHandler<GetOperationRequest,GetOperationResult> asyncHandler)
Returns information about a specific operation. Operations include events such as when you create an instance, allocate a static IP, attach a static IP, and so on.
getOperationRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetOperationsResult> getOperationsAsync(GetOperationsRequest getOperationsRequest)
Returns information about all operations.
Results are returned from oldest to newest, up to a maximum of 200. Results can be paged by making each
subsequent call to GetOperations
use the maximum (last) statusChangedAt
value from the
previous request.
getOperationsRequest
- Future<GetOperationsResult> getOperationsAsync(GetOperationsRequest getOperationsRequest, AsyncHandler<GetOperationsRequest,GetOperationsResult> asyncHandler)
Returns information about all operations.
Results are returned from oldest to newest, up to a maximum of 200. Results can be paged by making each
subsequent call to GetOperations
use the maximum (last) statusChangedAt
value from the
previous request.
getOperationsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetOperationsForResourceResult> getOperationsForResourceAsync(GetOperationsForResourceRequest getOperationsForResourceRequest)
Gets operations for a specific resource (e.g., an instance or a static IP).
getOperationsForResourceRequest
- Future<GetOperationsForResourceResult> getOperationsForResourceAsync(GetOperationsForResourceRequest getOperationsForResourceRequest, AsyncHandler<GetOperationsForResourceRequest,GetOperationsForResourceResult> asyncHandler)
Gets operations for a specific resource (e.g., an instance or a static IP).
getOperationsForResourceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetRegionsResult> getRegionsAsync(GetRegionsRequest getRegionsRequest)
Returns a list of all valid regions for Amazon Lightsail. Use the include availability zones
parameter to also return the availability zones in a region.
getRegionsRequest
- Future<GetRegionsResult> getRegionsAsync(GetRegionsRequest getRegionsRequest, AsyncHandler<GetRegionsRequest,GetRegionsResult> asyncHandler)
Returns a list of all valid regions for Amazon Lightsail. Use the include availability zones
parameter to also return the availability zones in a region.
getRegionsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetStaticIpResult> getStaticIpAsync(GetStaticIpRequest getStaticIpRequest)
Returns information about a specific static IP.
getStaticIpRequest
- Future<GetStaticIpResult> getStaticIpAsync(GetStaticIpRequest getStaticIpRequest, AsyncHandler<GetStaticIpRequest,GetStaticIpResult> asyncHandler)
Returns information about a specific static IP.
getStaticIpRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetStaticIpsResult> getStaticIpsAsync(GetStaticIpsRequest getStaticIpsRequest)
Returns information about all static IPs in the user's account.
getStaticIpsRequest
- Future<GetStaticIpsResult> getStaticIpsAsync(GetStaticIpsRequest getStaticIpsRequest, AsyncHandler<GetStaticIpsRequest,GetStaticIpsResult> asyncHandler)
Returns information about all static IPs in the user's account.
getStaticIpsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ImportKeyPairResult> importKeyPairAsync(ImportKeyPairRequest importKeyPairRequest)
Imports a public SSH key from a specific key pair.
importKeyPairRequest
- Future<ImportKeyPairResult> importKeyPairAsync(ImportKeyPairRequest importKeyPairRequest, AsyncHandler<ImportKeyPairRequest,ImportKeyPairResult> asyncHandler)
Imports a public SSH key from a specific key pair.
importKeyPairRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<IsVpcPeeredResult> isVpcPeeredAsync(IsVpcPeeredRequest isVpcPeeredRequest)
Returns a Boolean value indicating whether your Lightsail VPC is peered.
isVpcPeeredRequest
- Future<IsVpcPeeredResult> isVpcPeeredAsync(IsVpcPeeredRequest isVpcPeeredRequest, AsyncHandler<IsVpcPeeredRequest,IsVpcPeeredResult> asyncHandler)
Returns a Boolean value indicating whether your Lightsail VPC is peered.
isVpcPeeredRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<OpenInstancePublicPortsResult> openInstancePublicPortsAsync(OpenInstancePublicPortsRequest openInstancePublicPortsRequest)
Adds public ports to an Amazon Lightsail instance.
openInstancePublicPortsRequest
- Future<OpenInstancePublicPortsResult> openInstancePublicPortsAsync(OpenInstancePublicPortsRequest openInstancePublicPortsRequest, AsyncHandler<OpenInstancePublicPortsRequest,OpenInstancePublicPortsResult> asyncHandler)
Adds public ports to an Amazon Lightsail instance.
openInstancePublicPortsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<PeerVpcResult> peerVpcAsync(PeerVpcRequest peerVpcRequest)
Tries to peer the Lightsail VPC with the user's default VPC.
peerVpcRequest
- Future<PeerVpcResult> peerVpcAsync(PeerVpcRequest peerVpcRequest, AsyncHandler<PeerVpcRequest,PeerVpcResult> asyncHandler)
Tries to peer the Lightsail VPC with the user's default VPC.
peerVpcRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<PutInstancePublicPortsResult> putInstancePublicPortsAsync(PutInstancePublicPortsRequest putInstancePublicPortsRequest)
Sets the specified open ports for an Amazon Lightsail instance, and closes all ports for every protocol not included in the current request.
putInstancePublicPortsRequest
- Future<PutInstancePublicPortsResult> putInstancePublicPortsAsync(PutInstancePublicPortsRequest putInstancePublicPortsRequest, AsyncHandler<PutInstancePublicPortsRequest,PutInstancePublicPortsResult> asyncHandler)
Sets the specified open ports for an Amazon Lightsail instance, and closes all ports for every protocol not included in the current request.
putInstancePublicPortsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<RebootInstanceResult> rebootInstanceAsync(RebootInstanceRequest rebootInstanceRequest)
Restarts a specific instance. When your Amazon Lightsail instance is finished rebooting, Lightsail assigns a new public IP address. To use the same IP address after restarting, create a static IP address and attach it to the instance.
rebootInstanceRequest
- Future<RebootInstanceResult> rebootInstanceAsync(RebootInstanceRequest rebootInstanceRequest, AsyncHandler<RebootInstanceRequest,RebootInstanceResult> asyncHandler)
Restarts a specific instance. When your Amazon Lightsail instance is finished rebooting, Lightsail assigns a new public IP address. To use the same IP address after restarting, create a static IP address and attach it to the instance.
rebootInstanceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ReleaseStaticIpResult> releaseStaticIpAsync(ReleaseStaticIpRequest releaseStaticIpRequest)
Deletes a specific static IP from your account.
releaseStaticIpRequest
- Future<ReleaseStaticIpResult> releaseStaticIpAsync(ReleaseStaticIpRequest releaseStaticIpRequest, AsyncHandler<ReleaseStaticIpRequest,ReleaseStaticIpResult> asyncHandler)
Deletes a specific static IP from your account.
releaseStaticIpRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<StartInstanceResult> startInstanceAsync(StartInstanceRequest startInstanceRequest)
Starts a specific Amazon Lightsail instance from a stopped state. To restart an instance, use the reboot instance operation.
startInstanceRequest
- Future<StartInstanceResult> startInstanceAsync(StartInstanceRequest startInstanceRequest, AsyncHandler<StartInstanceRequest,StartInstanceResult> asyncHandler)
Starts a specific Amazon Lightsail instance from a stopped state. To restart an instance, use the reboot instance operation.
startInstanceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<StopInstanceResult> stopInstanceAsync(StopInstanceRequest stopInstanceRequest)
Stops a specific Amazon Lightsail instance that is currently running.
stopInstanceRequest
- Future<StopInstanceResult> stopInstanceAsync(StopInstanceRequest stopInstanceRequest, AsyncHandler<StopInstanceRequest,StopInstanceResult> asyncHandler)
Stops a specific Amazon Lightsail instance that is currently running.
stopInstanceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UnpeerVpcResult> unpeerVpcAsync(UnpeerVpcRequest unpeerVpcRequest)
Attempts to unpeer the Lightsail VPC from the user's default VPC.
unpeerVpcRequest
- Future<UnpeerVpcResult> unpeerVpcAsync(UnpeerVpcRequest unpeerVpcRequest, AsyncHandler<UnpeerVpcRequest,UnpeerVpcResult> asyncHandler)
Attempts to unpeer the Lightsail VPC from the user's default VPC.
unpeerVpcRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UpdateDomainEntryResult> updateDomainEntryAsync(UpdateDomainEntryRequest updateDomainEntryRequest)
Updates a domain recordset after it is created.
updateDomainEntryRequest
- Future<UpdateDomainEntryResult> updateDomainEntryAsync(UpdateDomainEntryRequest updateDomainEntryRequest, AsyncHandler<UpdateDomainEntryRequest,UpdateDomainEntryResult> asyncHandler)
Updates a domain recordset after it is created.
updateDomainEntryRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UpdateLoadBalancerAttributeResult> updateLoadBalancerAttributeAsync(UpdateLoadBalancerAttributeRequest updateLoadBalancerAttributeRequest)
Updates the specified attribute for a load balancer.
updateLoadBalancerAttributeRequest
- Future<UpdateLoadBalancerAttributeResult> updateLoadBalancerAttributeAsync(UpdateLoadBalancerAttributeRequest updateLoadBalancerAttributeRequest, AsyncHandler<UpdateLoadBalancerAttributeRequest,UpdateLoadBalancerAttributeResult> asyncHandler)
Updates the specified attribute for a load balancer.
updateLoadBalancerAttributeRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.