@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonLightsailAsync extends AbstractAmazonLightsail implements AmazonLightsailAsync
AmazonLightsailAsync
. Convenient method forms pass through to the corresponding
overload that takes a request object and an AsyncHandler
, which throws an
UnsupportedOperationException
.ENDPOINT_PREFIX
allocateStaticIp, attachStaticIp, closeInstancePublicPorts, createDomain, createDomainEntry, createInstances, createInstancesFromSnapshot, createInstanceSnapshot, createKeyPair, deleteDomain, deleteDomainEntry, deleteInstance, deleteInstanceSnapshot, deleteKeyPair, detachStaticIp, downloadDefaultKeyPair, getActiveNames, getBlueprints, getBundles, getCachedResponseMetadata, getDomain, getDomains, getInstance, getInstanceAccessDetails, getInstanceMetricData, getInstancePortStates, getInstances, getInstanceSnapshot, getInstanceSnapshots, getInstanceState, getKeyPair, getKeyPairs, getOperation, getOperations, getOperationsForResource, getRegions, getStaticIp, getStaticIps, importKeyPair, isVpcPeered, openInstancePublicPorts, peerVpc, putInstancePublicPorts, rebootInstance, releaseStaticIp, setEndpoint, setRegion, shutdown, startInstance, stopInstance, unpeerVpc, updateDomainEntry
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
allocateStaticIp, attachStaticIp, closeInstancePublicPorts, createDomain, createDomainEntry, createInstances, createInstancesFromSnapshot, createInstanceSnapshot, createKeyPair, deleteDomain, deleteDomainEntry, deleteInstance, deleteInstanceSnapshot, deleteKeyPair, detachStaticIp, downloadDefaultKeyPair, getActiveNames, getBlueprints, getBundles, getCachedResponseMetadata, getDomain, getDomains, getInstance, getInstanceAccessDetails, getInstanceMetricData, getInstancePortStates, getInstances, getInstanceSnapshot, getInstanceSnapshots, getInstanceState, getKeyPair, getKeyPairs, getOperation, getOperations, getOperationsForResource, getRegions, getStaticIp, getStaticIps, importKeyPair, isVpcPeered, openInstancePublicPorts, peerVpc, putInstancePublicPorts, rebootInstance, releaseStaticIp, setEndpoint, setRegion, shutdown, startInstance, stopInstance, unpeerVpc, updateDomainEntry
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<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<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<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<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<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<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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.