@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonLightsailAsyncClient extends AmazonLightsailClient implements AmazonLightsailAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
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.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Constructor and Description |
---|
AmazonLightsailAsyncClient()
Deprecated.
|
AmazonLightsailAsyncClient(AWSCredentials awsCredentials)
Deprecated.
|
AmazonLightsailAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
|
AmazonLightsailAsyncClient(AWSCredentials awsCredentials,
ExecutorService executorService)
|
AmazonLightsailAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Deprecated.
|
AmazonLightsailAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
|
AmazonLightsailAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
|
AmazonLightsailAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ExecutorService executorService)
|
AmazonLightsailAsyncClient(ClientConfiguration clientConfiguration)
Deprecated.
|
allocateStaticIp, attachDisk, attachInstancesToLoadBalancer, attachLoadBalancerTlsCertificate, attachStaticIp, builder, 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, startInstance, stopInstance, unpeerVpc, updateDomainEntry, updateLoadBalancerAttribute
addRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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, startInstance, stopInstance, unpeerVpc, updateDomainEntry, updateLoadBalancerAttribute
@Deprecated public AmazonLightsailAsyncClient()
AmazonLightsailAsyncClientBuilder.defaultClient()
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
@Deprecated public AmazonLightsailAsyncClient(ClientConfiguration clientConfiguration)
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the
maximum number of concurrent connections configured via ClientConfiguration.getMaxConnections()
.
clientConfiguration
- The client configuration options controlling how this client connects to Amazon Lightsail (ex: proxy
settings, retry counts, etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
@Deprecated public AmazonLightsailAsyncClient(AWSCredentials awsCredentials)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.Executors.newFixedThreadPool(int)
@Deprecated public AmazonLightsailAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.executorService
- The executor service by which all asynchronous requests will be executed.@Deprecated public AmazonLightsailAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).executorService
- The executor service by which all asynchronous requests will be executed.@Deprecated public AmazonLightsailAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.Executors.newFixedThreadPool(int)
@Deprecated public AmazonLightsailAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the
maximum number of concurrent connections configured via ClientConfiguration.getMaxConnections()
.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
@Deprecated public AmazonLightsailAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.executorService
- The executor service by which all asynchronous requests will be executed.@Deprecated public AmazonLightsailAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).executorService
- The executor service by which all asynchronous requests will be executed.public static AmazonLightsailAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AllocateStaticIpResult> allocateStaticIpAsync(AllocateStaticIpRequest request)
AmazonLightsailAsync
Allocates a static IP address.
allocateStaticIpAsync
in interface AmazonLightsailAsync
public Future<AllocateStaticIpResult> allocateStaticIpAsync(AllocateStaticIpRequest request, AsyncHandler<AllocateStaticIpRequest,AllocateStaticIpResult> asyncHandler)
AmazonLightsailAsync
Allocates a static IP address.
allocateStaticIpAsync
in interface AmazonLightsailAsync
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.public Future<AttachDiskResult> attachDiskAsync(AttachDiskRequest request)
AmazonLightsailAsync
Attaches a block storage disk to a running or stopped Lightsail instance and exposes it to the instance with the specified disk name.
attachDiskAsync
in interface AmazonLightsailAsync
public Future<AttachDiskResult> attachDiskAsync(AttachDiskRequest request, AsyncHandler<AttachDiskRequest,AttachDiskResult> asyncHandler)
AmazonLightsailAsync
Attaches a block storage disk to a running or stopped Lightsail instance and exposes it to the instance with the specified disk name.
attachDiskAsync
in interface AmazonLightsailAsync
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.public Future<AttachInstancesToLoadBalancerResult> attachInstancesToLoadBalancerAsync(AttachInstancesToLoadBalancerRequest request)
AmazonLightsailAsync
Attaches one or more Lightsail instances to a load balancer.
attachInstancesToLoadBalancerAsync
in interface AmazonLightsailAsync
public Future<AttachInstancesToLoadBalancerResult> attachInstancesToLoadBalancerAsync(AttachInstancesToLoadBalancerRequest request, AsyncHandler<AttachInstancesToLoadBalancerRequest,AttachInstancesToLoadBalancerResult> asyncHandler)
AmazonLightsailAsync
Attaches one or more Lightsail instances to a load balancer.
attachInstancesToLoadBalancerAsync
in interface AmazonLightsailAsync
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.public Future<AttachLoadBalancerTlsCertificateResult> attachLoadBalancerTlsCertificateAsync(AttachLoadBalancerTlsCertificateRequest request)
AmazonLightsailAsync
Attaches a Transport Layer Security (TLS) certificate to your load balancer.
TLS is just an updated, more secure version of Secure Socket Layer (SSL).
attachLoadBalancerTlsCertificateAsync
in interface AmazonLightsailAsync
public Future<AttachLoadBalancerTlsCertificateResult> attachLoadBalancerTlsCertificateAsync(AttachLoadBalancerTlsCertificateRequest request, AsyncHandler<AttachLoadBalancerTlsCertificateRequest,AttachLoadBalancerTlsCertificateResult> asyncHandler)
AmazonLightsailAsync
Attaches a Transport Layer Security (TLS) certificate to your load balancer.
TLS is just an updated, more secure version of Secure Socket Layer (SSL).
attachLoadBalancerTlsCertificateAsync
in interface AmazonLightsailAsync
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.public Future<AttachStaticIpResult> attachStaticIpAsync(AttachStaticIpRequest request)
AmazonLightsailAsync
Attaches a static IP address to a specific Amazon Lightsail instance.
attachStaticIpAsync
in interface AmazonLightsailAsync
public Future<AttachStaticIpResult> attachStaticIpAsync(AttachStaticIpRequest request, AsyncHandler<AttachStaticIpRequest,AttachStaticIpResult> asyncHandler)
AmazonLightsailAsync
Attaches a static IP address to a specific Amazon Lightsail instance.
attachStaticIpAsync
in interface AmazonLightsailAsync
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.public Future<CloseInstancePublicPortsResult> closeInstancePublicPortsAsync(CloseInstancePublicPortsRequest request)
AmazonLightsailAsync
Closes the public ports on a specific Amazon Lightsail instance.
closeInstancePublicPortsAsync
in interface AmazonLightsailAsync
public Future<CloseInstancePublicPortsResult> closeInstancePublicPortsAsync(CloseInstancePublicPortsRequest request, AsyncHandler<CloseInstancePublicPortsRequest,CloseInstancePublicPortsResult> asyncHandler)
AmazonLightsailAsync
Closes the public ports on a specific Amazon Lightsail instance.
closeInstancePublicPortsAsync
in interface AmazonLightsailAsync
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.public Future<CreateDiskResult> createDiskAsync(CreateDiskRequest request)
AmazonLightsailAsync
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.
createDiskAsync
in interface AmazonLightsailAsync
public Future<CreateDiskResult> createDiskAsync(CreateDiskRequest request, AsyncHandler<CreateDiskRequest,CreateDiskResult> asyncHandler)
AmazonLightsailAsync
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.
createDiskAsync
in interface AmazonLightsailAsync
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.public Future<CreateDiskFromSnapshotResult> createDiskFromSnapshotAsync(CreateDiskFromSnapshotRequest request)
AmazonLightsailAsync
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.
createDiskFromSnapshotAsync
in interface AmazonLightsailAsync
public Future<CreateDiskFromSnapshotResult> createDiskFromSnapshotAsync(CreateDiskFromSnapshotRequest request, AsyncHandler<CreateDiskFromSnapshotRequest,CreateDiskFromSnapshotResult> asyncHandler)
AmazonLightsailAsync
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.
createDiskFromSnapshotAsync
in interface AmazonLightsailAsync
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.public Future<CreateDiskSnapshotResult> createDiskSnapshotAsync(CreateDiskSnapshotRequest request)
AmazonLightsailAsync
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.
createDiskSnapshotAsync
in interface AmazonLightsailAsync
public Future<CreateDiskSnapshotResult> createDiskSnapshotAsync(CreateDiskSnapshotRequest request, AsyncHandler<CreateDiskSnapshotRequest,CreateDiskSnapshotResult> asyncHandler)
AmazonLightsailAsync
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.
createDiskSnapshotAsync
in interface AmazonLightsailAsync
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.public Future<CreateDomainResult> createDomainAsync(CreateDomainRequest request)
AmazonLightsailAsync
Creates a domain resource for the specified domain (e.g., example.com).
createDomainAsync
in interface AmazonLightsailAsync
public Future<CreateDomainResult> createDomainAsync(CreateDomainRequest request, AsyncHandler<CreateDomainRequest,CreateDomainResult> asyncHandler)
AmazonLightsailAsync
Creates a domain resource for the specified domain (e.g., example.com).
createDomainAsync
in interface AmazonLightsailAsync
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.public Future<CreateDomainEntryResult> createDomainEntryAsync(CreateDomainEntryRequest request)
AmazonLightsailAsync
Creates one of the following entry records associated with the domain: A record, CNAME record, TXT record, or MX record.
createDomainEntryAsync
in interface AmazonLightsailAsync
public Future<CreateDomainEntryResult> createDomainEntryAsync(CreateDomainEntryRequest request, AsyncHandler<CreateDomainEntryRequest,CreateDomainEntryResult> asyncHandler)
AmazonLightsailAsync
Creates one of the following entry records associated with the domain: A record, CNAME record, TXT record, or MX record.
createDomainEntryAsync
in interface AmazonLightsailAsync
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.public Future<CreateInstanceSnapshotResult> createInstanceSnapshotAsync(CreateInstanceSnapshotRequest request)
AmazonLightsailAsync
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.
createInstanceSnapshotAsync
in interface AmazonLightsailAsync
public Future<CreateInstanceSnapshotResult> createInstanceSnapshotAsync(CreateInstanceSnapshotRequest request, AsyncHandler<CreateInstanceSnapshotRequest,CreateInstanceSnapshotResult> asyncHandler)
AmazonLightsailAsync
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.
createInstanceSnapshotAsync
in interface AmazonLightsailAsync
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.public Future<CreateInstancesResult> createInstancesAsync(CreateInstancesRequest request)
AmazonLightsailAsync
Creates one or more Amazon Lightsail virtual private servers, or instances.
createInstancesAsync
in interface AmazonLightsailAsync
public Future<CreateInstancesResult> createInstancesAsync(CreateInstancesRequest request, AsyncHandler<CreateInstancesRequest,CreateInstancesResult> asyncHandler)
AmazonLightsailAsync
Creates one or more Amazon Lightsail virtual private servers, or instances.
createInstancesAsync
in interface AmazonLightsailAsync
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.public Future<CreateInstancesFromSnapshotResult> createInstancesFromSnapshotAsync(CreateInstancesFromSnapshotRequest request)
AmazonLightsailAsync
Uses a specific snapshot as a blueprint for creating one or more new instances that are based on that identical configuration.
createInstancesFromSnapshotAsync
in interface AmazonLightsailAsync
public Future<CreateInstancesFromSnapshotResult> createInstancesFromSnapshotAsync(CreateInstancesFromSnapshotRequest request, AsyncHandler<CreateInstancesFromSnapshotRequest,CreateInstancesFromSnapshotResult> asyncHandler)
AmazonLightsailAsync
Uses a specific snapshot as a blueprint for creating one or more new instances that are based on that identical configuration.
createInstancesFromSnapshotAsync
in interface AmazonLightsailAsync
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.public Future<CreateKeyPairResult> createKeyPairAsync(CreateKeyPairRequest request)
AmazonLightsailAsync
Creates sn SSH key pair.
createKeyPairAsync
in interface AmazonLightsailAsync
public Future<CreateKeyPairResult> createKeyPairAsync(CreateKeyPairRequest request, AsyncHandler<CreateKeyPairRequest,CreateKeyPairResult> asyncHandler)
AmazonLightsailAsync
Creates sn SSH key pair.
createKeyPairAsync
in interface AmazonLightsailAsync
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.public Future<CreateLoadBalancerResult> createLoadBalancerAsync(CreateLoadBalancerRequest request)
AmazonLightsailAsync
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.
createLoadBalancerAsync
in interface AmazonLightsailAsync
public Future<CreateLoadBalancerResult> createLoadBalancerAsync(CreateLoadBalancerRequest request, AsyncHandler<CreateLoadBalancerRequest,CreateLoadBalancerResult> asyncHandler)
AmazonLightsailAsync
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.
createLoadBalancerAsync
in interface AmazonLightsailAsync
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.public Future<CreateLoadBalancerTlsCertificateResult> createLoadBalancerTlsCertificateAsync(CreateLoadBalancerTlsCertificateRequest request)
AmazonLightsailAsync
Creates a Lightsail load balancer TLS certificate.
TLS is just an updated, more secure version of Secure Socket Layer (SSL).
createLoadBalancerTlsCertificateAsync
in interface AmazonLightsailAsync
public Future<CreateLoadBalancerTlsCertificateResult> createLoadBalancerTlsCertificateAsync(CreateLoadBalancerTlsCertificateRequest request, AsyncHandler<CreateLoadBalancerTlsCertificateRequest,CreateLoadBalancerTlsCertificateResult> asyncHandler)
AmazonLightsailAsync
Creates a Lightsail load balancer TLS certificate.
TLS is just an updated, more secure version of Secure Socket Layer (SSL).
createLoadBalancerTlsCertificateAsync
in interface AmazonLightsailAsync
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.public Future<DeleteDiskResult> deleteDiskAsync(DeleteDiskRequest request)
AmazonLightsailAsync
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.
deleteDiskAsync
in interface AmazonLightsailAsync
public Future<DeleteDiskResult> deleteDiskAsync(DeleteDiskRequest request, AsyncHandler<DeleteDiskRequest,DeleteDiskResult> asyncHandler)
AmazonLightsailAsync
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.
deleteDiskAsync
in interface AmazonLightsailAsync
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.public Future<DeleteDiskSnapshotResult> deleteDiskSnapshotAsync(DeleteDiskSnapshotRequest request)
AmazonLightsailAsync
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.
deleteDiskSnapshotAsync
in interface AmazonLightsailAsync
public Future<DeleteDiskSnapshotResult> deleteDiskSnapshotAsync(DeleteDiskSnapshotRequest request, AsyncHandler<DeleteDiskSnapshotRequest,DeleteDiskSnapshotResult> asyncHandler)
AmazonLightsailAsync
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.
deleteDiskSnapshotAsync
in interface AmazonLightsailAsync
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.public Future<DeleteDomainResult> deleteDomainAsync(DeleteDomainRequest request)
AmazonLightsailAsync
Deletes the specified domain recordset and all of its domain records.
deleteDomainAsync
in interface AmazonLightsailAsync
public Future<DeleteDomainResult> deleteDomainAsync(DeleteDomainRequest request, AsyncHandler<DeleteDomainRequest,DeleteDomainResult> asyncHandler)
AmazonLightsailAsync
Deletes the specified domain recordset and all of its domain records.
deleteDomainAsync
in interface AmazonLightsailAsync
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.public Future<DeleteDomainEntryResult> deleteDomainEntryAsync(DeleteDomainEntryRequest request)
AmazonLightsailAsync
Deletes a specific domain entry.
deleteDomainEntryAsync
in interface AmazonLightsailAsync
public Future<DeleteDomainEntryResult> deleteDomainEntryAsync(DeleteDomainEntryRequest request, AsyncHandler<DeleteDomainEntryRequest,DeleteDomainEntryResult> asyncHandler)
AmazonLightsailAsync
Deletes a specific domain entry.
deleteDomainEntryAsync
in interface AmazonLightsailAsync
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.public Future<DeleteInstanceResult> deleteInstanceAsync(DeleteInstanceRequest request)
AmazonLightsailAsync
Deletes a specific Amazon Lightsail virtual private server, or instance.
deleteInstanceAsync
in interface AmazonLightsailAsync
public Future<DeleteInstanceResult> deleteInstanceAsync(DeleteInstanceRequest request, AsyncHandler<DeleteInstanceRequest,DeleteInstanceResult> asyncHandler)
AmazonLightsailAsync
Deletes a specific Amazon Lightsail virtual private server, or instance.
deleteInstanceAsync
in interface AmazonLightsailAsync
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.public Future<DeleteInstanceSnapshotResult> deleteInstanceSnapshotAsync(DeleteInstanceSnapshotRequest request)
AmazonLightsailAsync
Deletes a specific snapshot of a virtual private server (or instance).
deleteInstanceSnapshotAsync
in interface AmazonLightsailAsync
public Future<DeleteInstanceSnapshotResult> deleteInstanceSnapshotAsync(DeleteInstanceSnapshotRequest request, AsyncHandler<DeleteInstanceSnapshotRequest,DeleteInstanceSnapshotResult> asyncHandler)
AmazonLightsailAsync
Deletes a specific snapshot of a virtual private server (or instance).
deleteInstanceSnapshotAsync
in interface AmazonLightsailAsync
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.public Future<DeleteKeyPairResult> deleteKeyPairAsync(DeleteKeyPairRequest request)
AmazonLightsailAsync
Deletes a specific SSH key pair.
deleteKeyPairAsync
in interface AmazonLightsailAsync
public Future<DeleteKeyPairResult> deleteKeyPairAsync(DeleteKeyPairRequest request, AsyncHandler<DeleteKeyPairRequest,DeleteKeyPairResult> asyncHandler)
AmazonLightsailAsync
Deletes a specific SSH key pair.
deleteKeyPairAsync
in interface AmazonLightsailAsync
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.public Future<DeleteLoadBalancerResult> deleteLoadBalancerAsync(DeleteLoadBalancerRequest request)
AmazonLightsailAsync
Deletes a Lightsail load balancer.
deleteLoadBalancerAsync
in interface AmazonLightsailAsync
public Future<DeleteLoadBalancerResult> deleteLoadBalancerAsync(DeleteLoadBalancerRequest request, AsyncHandler<DeleteLoadBalancerRequest,DeleteLoadBalancerResult> asyncHandler)
AmazonLightsailAsync
Deletes a Lightsail load balancer.
deleteLoadBalancerAsync
in interface AmazonLightsailAsync
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.public Future<DeleteLoadBalancerTlsCertificateResult> deleteLoadBalancerTlsCertificateAsync(DeleteLoadBalancerTlsCertificateRequest request)
AmazonLightsailAsync
Deletes a TLS/SSL certificate associated with a Lightsail load balancer.
deleteLoadBalancerTlsCertificateAsync
in interface AmazonLightsailAsync
public Future<DeleteLoadBalancerTlsCertificateResult> deleteLoadBalancerTlsCertificateAsync(DeleteLoadBalancerTlsCertificateRequest request, AsyncHandler<DeleteLoadBalancerTlsCertificateRequest,DeleteLoadBalancerTlsCertificateResult> asyncHandler)
AmazonLightsailAsync
Deletes a TLS/SSL certificate associated with a Lightsail load balancer.
deleteLoadBalancerTlsCertificateAsync
in interface AmazonLightsailAsync
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.public Future<DetachDiskResult> detachDiskAsync(DetachDiskRequest request)
AmazonLightsailAsync
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.
detachDiskAsync
in interface AmazonLightsailAsync
public Future<DetachDiskResult> detachDiskAsync(DetachDiskRequest request, AsyncHandler<DetachDiskRequest,DetachDiskResult> asyncHandler)
AmazonLightsailAsync
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.
detachDiskAsync
in interface AmazonLightsailAsync
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.public Future<DetachInstancesFromLoadBalancerResult> detachInstancesFromLoadBalancerAsync(DetachInstancesFromLoadBalancerRequest request)
AmazonLightsailAsync
Detaches the specified instances from a Lightsail load balancer.
detachInstancesFromLoadBalancerAsync
in interface AmazonLightsailAsync
public Future<DetachInstancesFromLoadBalancerResult> detachInstancesFromLoadBalancerAsync(DetachInstancesFromLoadBalancerRequest request, AsyncHandler<DetachInstancesFromLoadBalancerRequest,DetachInstancesFromLoadBalancerResult> asyncHandler)
AmazonLightsailAsync
Detaches the specified instances from a Lightsail load balancer.
detachInstancesFromLoadBalancerAsync
in interface AmazonLightsailAsync
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.public Future<DetachStaticIpResult> detachStaticIpAsync(DetachStaticIpRequest request)
AmazonLightsailAsync
Detaches a static IP from the Amazon Lightsail instance to which it is attached.
detachStaticIpAsync
in interface AmazonLightsailAsync
public Future<DetachStaticIpResult> detachStaticIpAsync(DetachStaticIpRequest request, AsyncHandler<DetachStaticIpRequest,DetachStaticIpResult> asyncHandler)
AmazonLightsailAsync
Detaches a static IP from the Amazon Lightsail instance to which it is attached.
detachStaticIpAsync
in interface AmazonLightsailAsync
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.public Future<DownloadDefaultKeyPairResult> downloadDefaultKeyPairAsync(DownloadDefaultKeyPairRequest request)
AmazonLightsailAsync
Downloads the default SSH key pair from the user's account.
downloadDefaultKeyPairAsync
in interface AmazonLightsailAsync
public Future<DownloadDefaultKeyPairResult> downloadDefaultKeyPairAsync(DownloadDefaultKeyPairRequest request, AsyncHandler<DownloadDefaultKeyPairRequest,DownloadDefaultKeyPairResult> asyncHandler)
AmazonLightsailAsync
Downloads the default SSH key pair from the user's account.
downloadDefaultKeyPairAsync
in interface AmazonLightsailAsync
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.public Future<GetActiveNamesResult> getActiveNamesAsync(GetActiveNamesRequest request)
AmazonLightsailAsync
Returns the names of all active (not deleted) resources.
getActiveNamesAsync
in interface AmazonLightsailAsync
public Future<GetActiveNamesResult> getActiveNamesAsync(GetActiveNamesRequest request, AsyncHandler<GetActiveNamesRequest,GetActiveNamesResult> asyncHandler)
AmazonLightsailAsync
Returns the names of all active (not deleted) resources.
getActiveNamesAsync
in interface AmazonLightsailAsync
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.public Future<GetBlueprintsResult> getBlueprintsAsync(GetBlueprintsRequest request)
AmazonLightsailAsync
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.
getBlueprintsAsync
in interface AmazonLightsailAsync
public Future<GetBlueprintsResult> getBlueprintsAsync(GetBlueprintsRequest request, AsyncHandler<GetBlueprintsRequest,GetBlueprintsResult> asyncHandler)
AmazonLightsailAsync
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.
getBlueprintsAsync
in interface AmazonLightsailAsync
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.public Future<GetBundlesResult> getBundlesAsync(GetBundlesRequest request)
AmazonLightsailAsync
Returns the list of bundles that are available for purchase. A bundle describes the specs for your virtual private server (or instance).
getBundlesAsync
in interface AmazonLightsailAsync
public Future<GetBundlesResult> getBundlesAsync(GetBundlesRequest request, AsyncHandler<GetBundlesRequest,GetBundlesResult> asyncHandler)
AmazonLightsailAsync
Returns the list of bundles that are available for purchase. A bundle describes the specs for your virtual private server (or instance).
getBundlesAsync
in interface AmazonLightsailAsync
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.public Future<GetDiskResult> getDiskAsync(GetDiskRequest request)
AmazonLightsailAsync
Returns information about a specific block storage disk.
getDiskAsync
in interface AmazonLightsailAsync
public Future<GetDiskResult> getDiskAsync(GetDiskRequest request, AsyncHandler<GetDiskRequest,GetDiskResult> asyncHandler)
AmazonLightsailAsync
Returns information about a specific block storage disk.
getDiskAsync
in interface AmazonLightsailAsync
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.public Future<GetDiskSnapshotResult> getDiskSnapshotAsync(GetDiskSnapshotRequest request)
AmazonLightsailAsync
Returns information about a specific block storage disk snapshot.
getDiskSnapshotAsync
in interface AmazonLightsailAsync
public Future<GetDiskSnapshotResult> getDiskSnapshotAsync(GetDiskSnapshotRequest request, AsyncHandler<GetDiskSnapshotRequest,GetDiskSnapshotResult> asyncHandler)
AmazonLightsailAsync
Returns information about a specific block storage disk snapshot.
getDiskSnapshotAsync
in interface AmazonLightsailAsync
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.public Future<GetDiskSnapshotsResult> getDiskSnapshotsAsync(GetDiskSnapshotsRequest request)
AmazonLightsailAsync
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.
getDiskSnapshotsAsync
in interface AmazonLightsailAsync
public Future<GetDiskSnapshotsResult> getDiskSnapshotsAsync(GetDiskSnapshotsRequest request, AsyncHandler<GetDiskSnapshotsRequest,GetDiskSnapshotsResult> asyncHandler)
AmazonLightsailAsync
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.
getDiskSnapshotsAsync
in interface AmazonLightsailAsync
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.public Future<GetDisksResult> getDisksAsync(GetDisksRequest request)
AmazonLightsailAsync
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.
getDisksAsync
in interface AmazonLightsailAsync
public Future<GetDisksResult> getDisksAsync(GetDisksRequest request, AsyncHandler<GetDisksRequest,GetDisksResult> asyncHandler)
AmazonLightsailAsync
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.
getDisksAsync
in interface AmazonLightsailAsync
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.public Future<GetDomainResult> getDomainAsync(GetDomainRequest request)
AmazonLightsailAsync
Returns information about a specific domain recordset.
getDomainAsync
in interface AmazonLightsailAsync
public Future<GetDomainResult> getDomainAsync(GetDomainRequest request, AsyncHandler<GetDomainRequest,GetDomainResult> asyncHandler)
AmazonLightsailAsync
Returns information about a specific domain recordset.
getDomainAsync
in interface AmazonLightsailAsync
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.public Future<GetDomainsResult> getDomainsAsync(GetDomainsRequest request)
AmazonLightsailAsync
Returns a list of all domains in the user's account.
getDomainsAsync
in interface AmazonLightsailAsync
public Future<GetDomainsResult> getDomainsAsync(GetDomainsRequest request, AsyncHandler<GetDomainsRequest,GetDomainsResult> asyncHandler)
AmazonLightsailAsync
Returns a list of all domains in the user's account.
getDomainsAsync
in interface AmazonLightsailAsync
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.public Future<GetInstanceResult> getInstanceAsync(GetInstanceRequest request)
AmazonLightsailAsync
Returns information about a specific Amazon Lightsail instance, which is a virtual private server.
getInstanceAsync
in interface AmazonLightsailAsync
public Future<GetInstanceResult> getInstanceAsync(GetInstanceRequest request, AsyncHandler<GetInstanceRequest,GetInstanceResult> asyncHandler)
AmazonLightsailAsync
Returns information about a specific Amazon Lightsail instance, which is a virtual private server.
getInstanceAsync
in interface AmazonLightsailAsync
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.public Future<GetInstanceAccessDetailsResult> getInstanceAccessDetailsAsync(GetInstanceAccessDetailsRequest request)
AmazonLightsailAsync
Returns temporary SSH keys you can use to connect to a specific virtual private server, or instance.
getInstanceAccessDetailsAsync
in interface AmazonLightsailAsync
public Future<GetInstanceAccessDetailsResult> getInstanceAccessDetailsAsync(GetInstanceAccessDetailsRequest request, AsyncHandler<GetInstanceAccessDetailsRequest,GetInstanceAccessDetailsResult> asyncHandler)
AmazonLightsailAsync
Returns temporary SSH keys you can use to connect to a specific virtual private server, or instance.
getInstanceAccessDetailsAsync
in interface AmazonLightsailAsync
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.public Future<GetInstanceMetricDataResult> getInstanceMetricDataAsync(GetInstanceMetricDataRequest request)
AmazonLightsailAsync
Returns the data points for the specified Amazon Lightsail instance metric, given an instance name.
getInstanceMetricDataAsync
in interface AmazonLightsailAsync
public Future<GetInstanceMetricDataResult> getInstanceMetricDataAsync(GetInstanceMetricDataRequest request, AsyncHandler<GetInstanceMetricDataRequest,GetInstanceMetricDataResult> asyncHandler)
AmazonLightsailAsync
Returns the data points for the specified Amazon Lightsail instance metric, given an instance name.
getInstanceMetricDataAsync
in interface AmazonLightsailAsync
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.public Future<GetInstancePortStatesResult> getInstancePortStatesAsync(GetInstancePortStatesRequest request)
AmazonLightsailAsync
Returns the port states for a specific virtual private server, or instance.
getInstancePortStatesAsync
in interface AmazonLightsailAsync
public Future<GetInstancePortStatesResult> getInstancePortStatesAsync(GetInstancePortStatesRequest request, AsyncHandler<GetInstancePortStatesRequest,GetInstancePortStatesResult> asyncHandler)
AmazonLightsailAsync
Returns the port states for a specific virtual private server, or instance.
getInstancePortStatesAsync
in interface AmazonLightsailAsync
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.public Future<GetInstanceSnapshotResult> getInstanceSnapshotAsync(GetInstanceSnapshotRequest request)
AmazonLightsailAsync
Returns information about a specific instance snapshot.
getInstanceSnapshotAsync
in interface AmazonLightsailAsync
public Future<GetInstanceSnapshotResult> getInstanceSnapshotAsync(GetInstanceSnapshotRequest request, AsyncHandler<GetInstanceSnapshotRequest,GetInstanceSnapshotResult> asyncHandler)
AmazonLightsailAsync
Returns information about a specific instance snapshot.
getInstanceSnapshotAsync
in interface AmazonLightsailAsync
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.public Future<GetInstanceSnapshotsResult> getInstanceSnapshotsAsync(GetInstanceSnapshotsRequest request)
AmazonLightsailAsync
Returns all instance snapshots for the user's account.
getInstanceSnapshotsAsync
in interface AmazonLightsailAsync
public Future<GetInstanceSnapshotsResult> getInstanceSnapshotsAsync(GetInstanceSnapshotsRequest request, AsyncHandler<GetInstanceSnapshotsRequest,GetInstanceSnapshotsResult> asyncHandler)
AmazonLightsailAsync
Returns all instance snapshots for the user's account.
getInstanceSnapshotsAsync
in interface AmazonLightsailAsync
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.public Future<GetInstanceStateResult> getInstanceStateAsync(GetInstanceStateRequest request)
AmazonLightsailAsync
Returns the state of a specific instance. Works on one instance at a time.
getInstanceStateAsync
in interface AmazonLightsailAsync
public Future<GetInstanceStateResult> getInstanceStateAsync(GetInstanceStateRequest request, AsyncHandler<GetInstanceStateRequest,GetInstanceStateResult> asyncHandler)
AmazonLightsailAsync
Returns the state of a specific instance. Works on one instance at a time.
getInstanceStateAsync
in interface AmazonLightsailAsync
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.public Future<GetInstancesResult> getInstancesAsync(GetInstancesRequest request)
AmazonLightsailAsync
Returns information about all Amazon Lightsail virtual private servers, or instances.
getInstancesAsync
in interface AmazonLightsailAsync
public Future<GetInstancesResult> getInstancesAsync(GetInstancesRequest request, AsyncHandler<GetInstancesRequest,GetInstancesResult> asyncHandler)
AmazonLightsailAsync
Returns information about all Amazon Lightsail virtual private servers, or instances.
getInstancesAsync
in interface AmazonLightsailAsync
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.public Future<GetKeyPairResult> getKeyPairAsync(GetKeyPairRequest request)
AmazonLightsailAsync
Returns information about a specific key pair.
getKeyPairAsync
in interface AmazonLightsailAsync
public Future<GetKeyPairResult> getKeyPairAsync(GetKeyPairRequest request, AsyncHandler<GetKeyPairRequest,GetKeyPairResult> asyncHandler)
AmazonLightsailAsync
Returns information about a specific key pair.
getKeyPairAsync
in interface AmazonLightsailAsync
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.public Future<GetKeyPairsResult> getKeyPairsAsync(GetKeyPairsRequest request)
AmazonLightsailAsync
Returns information about all key pairs in the user's account.
getKeyPairsAsync
in interface AmazonLightsailAsync
public Future<GetKeyPairsResult> getKeyPairsAsync(GetKeyPairsRequest request, AsyncHandler<GetKeyPairsRequest,GetKeyPairsResult> asyncHandler)
AmazonLightsailAsync
Returns information about all key pairs in the user's account.
getKeyPairsAsync
in interface AmazonLightsailAsync
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.public Future<GetLoadBalancerResult> getLoadBalancerAsync(GetLoadBalancerRequest request)
AmazonLightsailAsync
Returns information about the specified Lightsail load balancer.
getLoadBalancerAsync
in interface AmazonLightsailAsync
public Future<GetLoadBalancerResult> getLoadBalancerAsync(GetLoadBalancerRequest request, AsyncHandler<GetLoadBalancerRequest,GetLoadBalancerResult> asyncHandler)
AmazonLightsailAsync
Returns information about the specified Lightsail load balancer.
getLoadBalancerAsync
in interface AmazonLightsailAsync
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.public Future<GetLoadBalancerMetricDataResult> getLoadBalancerMetricDataAsync(GetLoadBalancerMetricDataRequest request)
AmazonLightsailAsync
Returns information about health metrics for your Lightsail load balancer.
getLoadBalancerMetricDataAsync
in interface AmazonLightsailAsync
public Future<GetLoadBalancerMetricDataResult> getLoadBalancerMetricDataAsync(GetLoadBalancerMetricDataRequest request, AsyncHandler<GetLoadBalancerMetricDataRequest,GetLoadBalancerMetricDataResult> asyncHandler)
AmazonLightsailAsync
Returns information about health metrics for your Lightsail load balancer.
getLoadBalancerMetricDataAsync
in interface AmazonLightsailAsync
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.public Future<GetLoadBalancerTlsCertificatesResult> getLoadBalancerTlsCertificatesAsync(GetLoadBalancerTlsCertificatesRequest request)
AmazonLightsailAsync
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).
getLoadBalancerTlsCertificatesAsync
in interface AmazonLightsailAsync
public Future<GetLoadBalancerTlsCertificatesResult> getLoadBalancerTlsCertificatesAsync(GetLoadBalancerTlsCertificatesRequest request, AsyncHandler<GetLoadBalancerTlsCertificatesRequest,GetLoadBalancerTlsCertificatesResult> asyncHandler)
AmazonLightsailAsync
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).
getLoadBalancerTlsCertificatesAsync
in interface AmazonLightsailAsync
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.public Future<GetLoadBalancersResult> getLoadBalancersAsync(GetLoadBalancersRequest request)
AmazonLightsailAsync
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.
getLoadBalancersAsync
in interface AmazonLightsailAsync
public Future<GetLoadBalancersResult> getLoadBalancersAsync(GetLoadBalancersRequest request, AsyncHandler<GetLoadBalancersRequest,GetLoadBalancersResult> asyncHandler)
AmazonLightsailAsync
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.
getLoadBalancersAsync
in interface AmazonLightsailAsync
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.public Future<GetOperationResult> getOperationAsync(GetOperationRequest request)
AmazonLightsailAsync
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.
getOperationAsync
in interface AmazonLightsailAsync
public Future<GetOperationResult> getOperationAsync(GetOperationRequest request, AsyncHandler<GetOperationRequest,GetOperationResult> asyncHandler)
AmazonLightsailAsync
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.
getOperationAsync
in interface AmazonLightsailAsync
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.public Future<GetOperationsResult> getOperationsAsync(GetOperationsRequest request)
AmazonLightsailAsync
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.
getOperationsAsync
in interface AmazonLightsailAsync
public Future<GetOperationsResult> getOperationsAsync(GetOperationsRequest request, AsyncHandler<GetOperationsRequest,GetOperationsResult> asyncHandler)
AmazonLightsailAsync
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.
getOperationsAsync
in interface AmazonLightsailAsync
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.public Future<GetOperationsForResourceResult> getOperationsForResourceAsync(GetOperationsForResourceRequest request)
AmazonLightsailAsync
Gets operations for a specific resource (e.g., an instance or a static IP).
getOperationsForResourceAsync
in interface AmazonLightsailAsync
public Future<GetOperationsForResourceResult> getOperationsForResourceAsync(GetOperationsForResourceRequest request, AsyncHandler<GetOperationsForResourceRequest,GetOperationsForResourceResult> asyncHandler)
AmazonLightsailAsync
Gets operations for a specific resource (e.g., an instance or a static IP).
getOperationsForResourceAsync
in interface AmazonLightsailAsync
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.public Future<GetRegionsResult> getRegionsAsync(GetRegionsRequest request)
AmazonLightsailAsync
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.
getRegionsAsync
in interface AmazonLightsailAsync
public Future<GetRegionsResult> getRegionsAsync(GetRegionsRequest request, AsyncHandler<GetRegionsRequest,GetRegionsResult> asyncHandler)
AmazonLightsailAsync
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.
getRegionsAsync
in interface AmazonLightsailAsync
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.public Future<GetStaticIpResult> getStaticIpAsync(GetStaticIpRequest request)
AmazonLightsailAsync
Returns information about a specific static IP.
getStaticIpAsync
in interface AmazonLightsailAsync
public Future<GetStaticIpResult> getStaticIpAsync(GetStaticIpRequest request, AsyncHandler<GetStaticIpRequest,GetStaticIpResult> asyncHandler)
AmazonLightsailAsync
Returns information about a specific static IP.
getStaticIpAsync
in interface AmazonLightsailAsync
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.public Future<GetStaticIpsResult> getStaticIpsAsync(GetStaticIpsRequest request)
AmazonLightsailAsync
Returns information about all static IPs in the user's account.
getStaticIpsAsync
in interface AmazonLightsailAsync
public Future<GetStaticIpsResult> getStaticIpsAsync(GetStaticIpsRequest request, AsyncHandler<GetStaticIpsRequest,GetStaticIpsResult> asyncHandler)
AmazonLightsailAsync
Returns information about all static IPs in the user's account.
getStaticIpsAsync
in interface AmazonLightsailAsync
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.public Future<ImportKeyPairResult> importKeyPairAsync(ImportKeyPairRequest request)
AmazonLightsailAsync
Imports a public SSH key from a specific key pair.
importKeyPairAsync
in interface AmazonLightsailAsync
public Future<ImportKeyPairResult> importKeyPairAsync(ImportKeyPairRequest request, AsyncHandler<ImportKeyPairRequest,ImportKeyPairResult> asyncHandler)
AmazonLightsailAsync
Imports a public SSH key from a specific key pair.
importKeyPairAsync
in interface AmazonLightsailAsync
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.public Future<IsVpcPeeredResult> isVpcPeeredAsync(IsVpcPeeredRequest request)
AmazonLightsailAsync
Returns a Boolean value indicating whether your Lightsail VPC is peered.
isVpcPeeredAsync
in interface AmazonLightsailAsync
public Future<IsVpcPeeredResult> isVpcPeeredAsync(IsVpcPeeredRequest request, AsyncHandler<IsVpcPeeredRequest,IsVpcPeeredResult> asyncHandler)
AmazonLightsailAsync
Returns a Boolean value indicating whether your Lightsail VPC is peered.
isVpcPeeredAsync
in interface AmazonLightsailAsync
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.public Future<OpenInstancePublicPortsResult> openInstancePublicPortsAsync(OpenInstancePublicPortsRequest request)
AmazonLightsailAsync
Adds public ports to an Amazon Lightsail instance.
openInstancePublicPortsAsync
in interface AmazonLightsailAsync
public Future<OpenInstancePublicPortsResult> openInstancePublicPortsAsync(OpenInstancePublicPortsRequest request, AsyncHandler<OpenInstancePublicPortsRequest,OpenInstancePublicPortsResult> asyncHandler)
AmazonLightsailAsync
Adds public ports to an Amazon Lightsail instance.
openInstancePublicPortsAsync
in interface AmazonLightsailAsync
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.public Future<PeerVpcResult> peerVpcAsync(PeerVpcRequest request)
AmazonLightsailAsync
Tries to peer the Lightsail VPC with the user's default VPC.
peerVpcAsync
in interface AmazonLightsailAsync
public Future<PeerVpcResult> peerVpcAsync(PeerVpcRequest request, AsyncHandler<PeerVpcRequest,PeerVpcResult> asyncHandler)
AmazonLightsailAsync
Tries to peer the Lightsail VPC with the user's default VPC.
peerVpcAsync
in interface AmazonLightsailAsync
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.public Future<PutInstancePublicPortsResult> putInstancePublicPortsAsync(PutInstancePublicPortsRequest request)
AmazonLightsailAsync
Sets the specified open ports for an Amazon Lightsail instance, and closes all ports for every protocol not included in the current request.
putInstancePublicPortsAsync
in interface AmazonLightsailAsync
public Future<PutInstancePublicPortsResult> putInstancePublicPortsAsync(PutInstancePublicPortsRequest request, AsyncHandler<PutInstancePublicPortsRequest,PutInstancePublicPortsResult> asyncHandler)
AmazonLightsailAsync
Sets the specified open ports for an Amazon Lightsail instance, and closes all ports for every protocol not included in the current request.
putInstancePublicPortsAsync
in interface AmazonLightsailAsync
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.public Future<RebootInstanceResult> rebootInstanceAsync(RebootInstanceRequest request)
AmazonLightsailAsync
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.
rebootInstanceAsync
in interface AmazonLightsailAsync
public Future<RebootInstanceResult> rebootInstanceAsync(RebootInstanceRequest request, AsyncHandler<RebootInstanceRequest,RebootInstanceResult> asyncHandler)
AmazonLightsailAsync
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.
rebootInstanceAsync
in interface AmazonLightsailAsync
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.public Future<ReleaseStaticIpResult> releaseStaticIpAsync(ReleaseStaticIpRequest request)
AmazonLightsailAsync
Deletes a specific static IP from your account.
releaseStaticIpAsync
in interface AmazonLightsailAsync
public Future<ReleaseStaticIpResult> releaseStaticIpAsync(ReleaseStaticIpRequest request, AsyncHandler<ReleaseStaticIpRequest,ReleaseStaticIpResult> asyncHandler)
AmazonLightsailAsync
Deletes a specific static IP from your account.
releaseStaticIpAsync
in interface AmazonLightsailAsync
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.public Future<StartInstanceResult> startInstanceAsync(StartInstanceRequest request)
AmazonLightsailAsync
Starts a specific Amazon Lightsail instance from a stopped state. To restart an instance, use the reboot instance operation.
startInstanceAsync
in interface AmazonLightsailAsync
public Future<StartInstanceResult> startInstanceAsync(StartInstanceRequest request, AsyncHandler<StartInstanceRequest,StartInstanceResult> asyncHandler)
AmazonLightsailAsync
Starts a specific Amazon Lightsail instance from a stopped state. To restart an instance, use the reboot instance operation.
startInstanceAsync
in interface AmazonLightsailAsync
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.public Future<StopInstanceResult> stopInstanceAsync(StopInstanceRequest request)
AmazonLightsailAsync
Stops a specific Amazon Lightsail instance that is currently running.
stopInstanceAsync
in interface AmazonLightsailAsync
public Future<StopInstanceResult> stopInstanceAsync(StopInstanceRequest request, AsyncHandler<StopInstanceRequest,StopInstanceResult> asyncHandler)
AmazonLightsailAsync
Stops a specific Amazon Lightsail instance that is currently running.
stopInstanceAsync
in interface AmazonLightsailAsync
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.public Future<UnpeerVpcResult> unpeerVpcAsync(UnpeerVpcRequest request)
AmazonLightsailAsync
Attempts to unpeer the Lightsail VPC from the user's default VPC.
unpeerVpcAsync
in interface AmazonLightsailAsync
public Future<UnpeerVpcResult> unpeerVpcAsync(UnpeerVpcRequest request, AsyncHandler<UnpeerVpcRequest,UnpeerVpcResult> asyncHandler)
AmazonLightsailAsync
Attempts to unpeer the Lightsail VPC from the user's default VPC.
unpeerVpcAsync
in interface AmazonLightsailAsync
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.public Future<UpdateDomainEntryResult> updateDomainEntryAsync(UpdateDomainEntryRequest request)
AmazonLightsailAsync
Updates a domain recordset after it is created.
updateDomainEntryAsync
in interface AmazonLightsailAsync
public Future<UpdateDomainEntryResult> updateDomainEntryAsync(UpdateDomainEntryRequest request, AsyncHandler<UpdateDomainEntryRequest,UpdateDomainEntryResult> asyncHandler)
AmazonLightsailAsync
Updates a domain recordset after it is created.
updateDomainEntryAsync
in interface AmazonLightsailAsync
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.public Future<UpdateLoadBalancerAttributeResult> updateLoadBalancerAttributeAsync(UpdateLoadBalancerAttributeRequest request)
AmazonLightsailAsync
Updates the specified attribute for a load balancer.
updateLoadBalancerAttributeAsync
in interface AmazonLightsailAsync
public Future<UpdateLoadBalancerAttributeResult> updateLoadBalancerAttributeAsync(UpdateLoadBalancerAttributeRequest request, AsyncHandler<UpdateLoadBalancerAttributeRequest,UpdateLoadBalancerAttributeResult> asyncHandler)
AmazonLightsailAsync
Updates the specified attribute for a load balancer.
updateLoadBalancerAttributeAsync
in interface AmazonLightsailAsync
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.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AmazonLightsail
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.