@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 Amazon Web Services (AWS) for developers who need to build websites or web applications. It includes everything you need to launch your project quickly - instances (virtual private servers), container services, managed databases, SSD-based block storage, static IP addresses, load balancers, content delivery network (CDN) distributions, DNS management of registered domains, and resource snapshots (backups) - for a low, predictable monthly price.
You can manage your Lightsail resources using the Lightsail console, Lightsail API, AWS Command Line Interface (AWS CLI), or SDKs. For more information about Lightsail concepts and tasks, see the Lightsail Dev Guide.
This API Reference provides detailed information about the actions, data types, parameters, and errors of the Lightsail service. For more information about the supported AWS Regions, endpoints, and service quotas of the Lightsail service, see Amazon Lightsail Endpoints and Quotas in the AWS General Reference.
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, attachCertificateToDistribution, attachDisk, attachInstancesToLoadBalancer, attachLoadBalancerTlsCertificate, attachStaticIp, builder, closeInstancePublicPorts, copySnapshot, createCertificate, createCloudFormationStack, createContactMethod, createContainerService, createContainerServiceDeployment, createContainerServiceRegistryLogin, createDisk, createDiskFromSnapshot, createDiskSnapshot, createDistribution, createDomain, createDomainEntry, createInstances, createInstancesFromSnapshot, createInstanceSnapshot, createKeyPair, createLoadBalancer, createLoadBalancerTlsCertificate, createRelationalDatabase, createRelationalDatabaseFromSnapshot, createRelationalDatabaseSnapshot, deleteAlarm, deleteAutoSnapshot, deleteCertificate, deleteContactMethod, deleteContainerImage, deleteContainerService, deleteDisk, deleteDiskSnapshot, deleteDistribution, deleteDomain, deleteDomainEntry, deleteInstance, deleteInstanceSnapshot, deleteKeyPair, deleteKnownHostKeys, deleteLoadBalancer, deleteLoadBalancerTlsCertificate, deleteRelationalDatabase, deleteRelationalDatabaseSnapshot, detachCertificateFromDistribution, detachDisk, detachInstancesFromLoadBalancer, detachStaticIp, disableAddOn, downloadDefaultKeyPair, enableAddOn, exportSnapshot, getActiveNames, getAlarms, getAutoSnapshots, getBlueprints, getBundles, getCachedResponseMetadata, getCertificates, getCloudFormationStackRecords, getContactMethods, getContainerAPIMetadata, getContainerImages, getContainerLog, getContainerServiceDeployments, getContainerServiceMetricData, getContainerServicePowers, getContainerServices, getDisk, getDisks, getDiskSnapshot, getDiskSnapshots, getDistributionBundles, getDistributionLatestCacheReset, getDistributionMetricData, getDistributions, getDomain, getDomains, getExportSnapshotRecords, getInstance, getInstanceAccessDetails, getInstanceMetricData, getInstancePortStates, getInstances, getInstanceSnapshot, getInstanceSnapshots, getInstanceState, getKeyPair, getKeyPairs, getLoadBalancer, getLoadBalancerMetricData, getLoadBalancers, getLoadBalancerTlsCertificates, getOperation, getOperations, getOperationsForResource, getRegions, getRelationalDatabase, getRelationalDatabaseBlueprints, getRelationalDatabaseBundles, getRelationalDatabaseEvents, getRelationalDatabaseLogEvents, getRelationalDatabaseLogStreams, getRelationalDatabaseMasterUserPassword, getRelationalDatabaseMetricData, getRelationalDatabaseParameters, getRelationalDatabases, getRelationalDatabaseSnapshot, getRelationalDatabaseSnapshots, getStaticIp, getStaticIps, importKeyPair, isVpcPeered, openInstancePublicPorts, peerVpc, putAlarm, putInstancePublicPorts, rebootInstance, rebootRelationalDatabase, registerContainerImage, releaseStaticIp, resetDistributionCache, sendContactMethodVerification, setIpAddressType, startInstance, startRelationalDatabase, stopInstance, stopRelationalDatabase, tagResource, testAlarm, unpeerVpc, untagResource, updateContainerService, updateDistribution, updateDistributionBundle, updateDomainEntry, updateLoadBalancerAttribute, updateRelationalDatabase, updateRelationalDatabaseParameters
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, 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, attachCertificateToDistribution, attachDisk, attachInstancesToLoadBalancer, attachLoadBalancerTlsCertificate, attachStaticIp, closeInstancePublicPorts, copySnapshot, createCertificate, createCloudFormationStack, createContactMethod, createContainerService, createContainerServiceDeployment, createContainerServiceRegistryLogin, createDisk, createDiskFromSnapshot, createDiskSnapshot, createDistribution, createDomain, createDomainEntry, createInstances, createInstancesFromSnapshot, createInstanceSnapshot, createKeyPair, createLoadBalancer, createLoadBalancerTlsCertificate, createRelationalDatabase, createRelationalDatabaseFromSnapshot, createRelationalDatabaseSnapshot, deleteAlarm, deleteAutoSnapshot, deleteCertificate, deleteContactMethod, deleteContainerImage, deleteContainerService, deleteDisk, deleteDiskSnapshot, deleteDistribution, deleteDomain, deleteDomainEntry, deleteInstance, deleteInstanceSnapshot, deleteKeyPair, deleteKnownHostKeys, deleteLoadBalancer, deleteLoadBalancerTlsCertificate, deleteRelationalDatabase, deleteRelationalDatabaseSnapshot, detachCertificateFromDistribution, detachDisk, detachInstancesFromLoadBalancer, detachStaticIp, disableAddOn, downloadDefaultKeyPair, enableAddOn, exportSnapshot, getActiveNames, getAlarms, getAutoSnapshots, getBlueprints, getBundles, getCachedResponseMetadata, getCertificates, getCloudFormationStackRecords, getContactMethods, getContainerAPIMetadata, getContainerImages, getContainerLog, getContainerServiceDeployments, getContainerServiceMetricData, getContainerServicePowers, getContainerServices, getDisk, getDisks, getDiskSnapshot, getDiskSnapshots, getDistributionBundles, getDistributionLatestCacheReset, getDistributionMetricData, getDistributions, getDomain, getDomains, getExportSnapshotRecords, getInstance, getInstanceAccessDetails, getInstanceMetricData, getInstancePortStates, getInstances, getInstanceSnapshot, getInstanceSnapshots, getInstanceState, getKeyPair, getKeyPairs, getLoadBalancer, getLoadBalancerMetricData, getLoadBalancers, getLoadBalancerTlsCertificates, getOperation, getOperations, getOperationsForResource, getRegions, getRelationalDatabase, getRelationalDatabaseBlueprints, getRelationalDatabaseBundles, getRelationalDatabaseEvents, getRelationalDatabaseLogEvents, getRelationalDatabaseLogStreams, getRelationalDatabaseMasterUserPassword, getRelationalDatabaseMetricData, getRelationalDatabaseParameters, getRelationalDatabases, getRelationalDatabaseSnapshot, getRelationalDatabaseSnapshots, getStaticIp, getStaticIps, importKeyPair, isVpcPeered, openInstancePublicPorts, peerVpc, putAlarm, putInstancePublicPorts, rebootInstance, rebootRelationalDatabase, registerContainerImage, releaseStaticIp, resetDistributionCache, sendContactMethodVerification, setEndpoint, setIpAddressType, setRegion, startInstance, startRelationalDatabase, stopInstance, stopRelationalDatabase, tagResource, testAlarm, unpeerVpc, untagResource, updateContainerService, updateDistribution, updateDistributionBundle, updateDomainEntry, updateLoadBalancerAttribute, updateRelationalDatabase, updateRelationalDatabaseParameters
@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<AttachCertificateToDistributionResult> attachCertificateToDistributionAsync(AttachCertificateToDistributionRequest request)
AmazonLightsailAsync
Attaches an SSL/TLS certificate to your Amazon Lightsail content delivery network (CDN) distribution.
After the certificate is attached, your distribution accepts HTTPS traffic for all of the domains that are associated with the certificate.
Use the CreateCertificate
action to create a certificate that you can attach to your distribution.
Only certificates created in the us-east-1
AWS Region can be attached to Lightsail distributions.
Lightsail distributions are global resources that can reference an origin in any AWS Region, and distribute its
content globally. However, all distributions are located in the us-east-1
Region.
attachCertificateToDistributionAsync
in interface AmazonLightsailAsync
public Future<AttachCertificateToDistributionResult> attachCertificateToDistributionAsync(AttachCertificateToDistributionRequest request, AsyncHandler<AttachCertificateToDistributionRequest,AttachCertificateToDistributionResult> asyncHandler)
AmazonLightsailAsync
Attaches an SSL/TLS certificate to your Amazon Lightsail content delivery network (CDN) distribution.
After the certificate is attached, your distribution accepts HTTPS traffic for all of the domains that are associated with the certificate.
Use the CreateCertificate
action to create a certificate that you can attach to your distribution.
Only certificates created in the us-east-1
AWS Region can be attached to Lightsail distributions.
Lightsail distributions are global resources that can reference an origin in any AWS Region, and distribute its
content globally. However, all distributions are located in the us-east-1
Region.
attachCertificateToDistributionAsync
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.
The attach disk
operation supports tag-based access control via resource tags applied to the
resource identified by disk name
. For more information, see the Lightsail Dev Guide.
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.
The attach disk
operation supports tag-based access control via resource tags applied to the
resource identified by disk name
. For more information, see the Lightsail Dev Guide.
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.
After some time, the instances are attached to the load balancer and the health check status is available.
The attach instances to load balancer
operation supports tag-based access control via resource tags
applied to the resource identified by load balancer name
. For more information, see the Lightsail Dev Guide.
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.
After some time, the instances are attached to the load balancer and the health check status is available.
The attach instances to load balancer
operation supports tag-based access control via resource tags
applied to the resource identified by load balancer name
. For more information, see the Lightsail Dev Guide.
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).
Once you create and validate your certificate, you can attach it to your load balancer. You can also use this API
to rotate the certificates on your account. Use the AttachLoadBalancerTlsCertificate
action with the
non-attached certificate, and it will replace the existing one and become the attached certificate.
The AttachLoadBalancerTlsCertificate
operation supports tag-based access control via resource tags
applied to the resource identified by load balancer name
. For more information, see the Lightsail Dev Guide.
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).
Once you create and validate your certificate, you can attach it to your load balancer. You can also use this API
to rotate the certificates on your account. Use the AttachLoadBalancerTlsCertificate
action with the
non-attached certificate, and it will replace the existing one and become the attached certificate.
The AttachLoadBalancerTlsCertificate
operation supports tag-based access control via resource tags
applied to the resource identified by load balancer name
. For more information, see the Lightsail Dev Guide.
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 ports for a specific Amazon Lightsail instance.
The CloseInstancePublicPorts
action supports tag-based access control via resource tags applied to
the resource identified by instanceName
. For more information, see the Lightsail Dev Guide.
closeInstancePublicPortsAsync
in interface AmazonLightsailAsync
public Future<CloseInstancePublicPortsResult> closeInstancePublicPortsAsync(CloseInstancePublicPortsRequest request, AsyncHandler<CloseInstancePublicPortsRequest,CloseInstancePublicPortsResult> asyncHandler)
AmazonLightsailAsync
Closes ports for a specific Amazon Lightsail instance.
The CloseInstancePublicPorts
action supports tag-based access control via resource tags applied to
the resource identified by instanceName
. For more information, see the Lightsail Dev Guide.
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<CopySnapshotResult> copySnapshotAsync(CopySnapshotRequest request)
AmazonLightsailAsync
Copies a manual snapshot of an instance or disk as another manual snapshot, or copies an automatic snapshot of an instance or disk as a manual snapshot. This operation can also be used to copy a manual or automatic snapshot of an instance or a disk from one AWS Region to another in Amazon Lightsail.
When copying a manual snapshot, be sure to define the source region
,
source snapshot name
, and target snapshot name
parameters.
When copying an automatic snapshot, be sure to define the source region
,
source resource name
, target snapshot name
, and either the restore date
or
the use latest restorable auto snapshot
parameters.
copySnapshotAsync
in interface AmazonLightsailAsync
public Future<CopySnapshotResult> copySnapshotAsync(CopySnapshotRequest request, AsyncHandler<CopySnapshotRequest,CopySnapshotResult> asyncHandler)
AmazonLightsailAsync
Copies a manual snapshot of an instance or disk as another manual snapshot, or copies an automatic snapshot of an instance or disk as a manual snapshot. This operation can also be used to copy a manual or automatic snapshot of an instance or a disk from one AWS Region to another in Amazon Lightsail.
When copying a manual snapshot, be sure to define the source region
,
source snapshot name
, and target snapshot name
parameters.
When copying an automatic snapshot, be sure to define the source region
,
source resource name
, target snapshot name
, and either the restore date
or
the use latest restorable auto snapshot
parameters.
copySnapshotAsync
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<CreateCertificateResult> createCertificateAsync(CreateCertificateRequest request)
AmazonLightsailAsync
Creates an SSL/TLS certificate for an Amazon Lightsail content delivery network (CDN) distribution and a container service.
After the certificate is valid, use the AttachCertificateToDistribution
action to use the
certificate and its domains with your distribution. Or use the UpdateContainerService
action to use
the certificate and its domains with your container service.
Only certificates created in the us-east-1
AWS Region can be attached to Lightsail distributions.
Lightsail distributions are global resources that can reference an origin in any AWS Region, and distribute its
content globally. However, all distributions are located in the us-east-1
Region.
createCertificateAsync
in interface AmazonLightsailAsync
public Future<CreateCertificateResult> createCertificateAsync(CreateCertificateRequest request, AsyncHandler<CreateCertificateRequest,CreateCertificateResult> asyncHandler)
AmazonLightsailAsync
Creates an SSL/TLS certificate for an Amazon Lightsail content delivery network (CDN) distribution and a container service.
After the certificate is valid, use the AttachCertificateToDistribution
action to use the
certificate and its domains with your distribution. Or use the UpdateContainerService
action to use
the certificate and its domains with your container service.
Only certificates created in the us-east-1
AWS Region can be attached to Lightsail distributions.
Lightsail distributions are global resources that can reference an origin in any AWS Region, and distribute its
content globally. However, all distributions are located in the us-east-1
Region.
createCertificateAsync
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<CreateCloudFormationStackResult> createCloudFormationStackAsync(CreateCloudFormationStackRequest request)
AmazonLightsailAsync
Creates an AWS CloudFormation stack, which creates a new Amazon EC2 instance from an exported Amazon Lightsail
snapshot. This operation results in a CloudFormation stack record that can be used to track the AWS
CloudFormation stack created. Use the get cloud formation stack records
operation to get a list of
the CloudFormation stacks created.
Wait until after your new Amazon EC2 instance is created before running the
create cloud formation stack
operation again with the same export snapshot record.
createCloudFormationStackAsync
in interface AmazonLightsailAsync
public Future<CreateCloudFormationStackResult> createCloudFormationStackAsync(CreateCloudFormationStackRequest request, AsyncHandler<CreateCloudFormationStackRequest,CreateCloudFormationStackResult> asyncHandler)
AmazonLightsailAsync
Creates an AWS CloudFormation stack, which creates a new Amazon EC2 instance from an exported Amazon Lightsail
snapshot. This operation results in a CloudFormation stack record that can be used to track the AWS
CloudFormation stack created. Use the get cloud formation stack records
operation to get a list of
the CloudFormation stacks created.
Wait until after your new Amazon EC2 instance is created before running the
create cloud formation stack
operation again with the same export snapshot record.
createCloudFormationStackAsync
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<CreateContactMethodResult> createContactMethodAsync(CreateContactMethodRequest request)
AmazonLightsailAsync
Creates an email or SMS text message contact method.
A contact method is used to send you notifications about your Amazon Lightsail resources. You can add one email address and one mobile phone number contact method in each AWS Region. However, SMS text messaging is not supported in some AWS Regions, and SMS text messages cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail.
createContactMethodAsync
in interface AmazonLightsailAsync
public Future<CreateContactMethodResult> createContactMethodAsync(CreateContactMethodRequest request, AsyncHandler<CreateContactMethodRequest,CreateContactMethodResult> asyncHandler)
AmazonLightsailAsync
Creates an email or SMS text message contact method.
A contact method is used to send you notifications about your Amazon Lightsail resources. You can add one email address and one mobile phone number contact method in each AWS Region. However, SMS text messaging is not supported in some AWS Regions, and SMS text messages cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail.
createContactMethodAsync
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<CreateContainerServiceResult> createContainerServiceAsync(CreateContainerServiceRequest request)
AmazonLightsailAsync
Creates an Amazon Lightsail container service.
A Lightsail container service is a compute resource to which you can deploy containers. For more information, see Container services in Amazon Lightsail in the Lightsail Dev Guide.
createContainerServiceAsync
in interface AmazonLightsailAsync
public Future<CreateContainerServiceResult> createContainerServiceAsync(CreateContainerServiceRequest request, AsyncHandler<CreateContainerServiceRequest,CreateContainerServiceResult> asyncHandler)
AmazonLightsailAsync
Creates an Amazon Lightsail container service.
A Lightsail container service is a compute resource to which you can deploy containers. For more information, see Container services in Amazon Lightsail in the Lightsail Dev Guide.
createContainerServiceAsync
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<CreateContainerServiceDeploymentResult> createContainerServiceDeploymentAsync(CreateContainerServiceDeploymentRequest request)
AmazonLightsailAsync
Creates a deployment for your Amazon Lightsail container service.
A deployment specifies the containers that will be launched on the container service and their settings, such as the ports to open, the environment variables to apply, and the launch command to run. It also specifies the container that will serve as the public endpoint of the deployment and its settings, such as the HTTP or HTTPS port to use, and the health check configuration.
You can deploy containers to your container service using container images from a public registry like Docker Hub, or from your local machine. For more information, see Creating container images for your Amazon Lightsail container services in the Lightsail Dev Guide.
createContainerServiceDeploymentAsync
in interface AmazonLightsailAsync
public Future<CreateContainerServiceDeploymentResult> createContainerServiceDeploymentAsync(CreateContainerServiceDeploymentRequest request, AsyncHandler<CreateContainerServiceDeploymentRequest,CreateContainerServiceDeploymentResult> asyncHandler)
AmazonLightsailAsync
Creates a deployment for your Amazon Lightsail container service.
A deployment specifies the containers that will be launched on the container service and their settings, such as the ports to open, the environment variables to apply, and the launch command to run. It also specifies the container that will serve as the public endpoint of the deployment and its settings, such as the HTTP or HTTPS port to use, and the health check configuration.
You can deploy containers to your container service using container images from a public registry like Docker Hub, or from your local machine. For more information, see Creating container images for your Amazon Lightsail container services in the Lightsail Dev Guide.
createContainerServiceDeploymentAsync
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<CreateContainerServiceRegistryLoginResult> createContainerServiceRegistryLoginAsync(CreateContainerServiceRegistryLoginRequest request)
AmazonLightsailAsync
Creates a temporary set of log in credentials that you can use to log in to the Docker process on your local machine. After you're logged in, you can use the native Docker commands to push your local container images to the container image registry of your Amazon Lightsail account so that you can use them with your Lightsail container service. The log in credentials expire 12 hours after they are created, at which point you will need to create a new set of log in credentials.
You can only push container images to the container service registry of your Lightsail account. You cannot pull container images or perform any other container image management actions on the container service registry.
After you push your container images to the container image registry of your Lightsail account, use the
RegisterContainerImage
action to register the pushed images to a specific Lightsail container
service.
This action is not required if you install and use the Lightsail Control (lightsailctl) plugin to push container images to your Lightsail container service. For more information, see Pushing and managing container images on your Amazon Lightsail container services in the Lightsail Dev Guide.
createContainerServiceRegistryLoginAsync
in interface AmazonLightsailAsync
public Future<CreateContainerServiceRegistryLoginResult> createContainerServiceRegistryLoginAsync(CreateContainerServiceRegistryLoginRequest request, AsyncHandler<CreateContainerServiceRegistryLoginRequest,CreateContainerServiceRegistryLoginResult> asyncHandler)
AmazonLightsailAsync
Creates a temporary set of log in credentials that you can use to log in to the Docker process on your local machine. After you're logged in, you can use the native Docker commands to push your local container images to the container image registry of your Amazon Lightsail account so that you can use them with your Lightsail container service. The log in credentials expire 12 hours after they are created, at which point you will need to create a new set of log in credentials.
You can only push container images to the container service registry of your Lightsail account. You cannot pull container images or perform any other container image management actions on the container service registry.
After you push your container images to the container image registry of your Lightsail account, use the
RegisterContainerImage
action to register the pushed images to a specific Lightsail container
service.
This action is not required if you install and use the Lightsail Control (lightsailctl) plugin to push container images to your Lightsail container service. For more information, see Pushing and managing container images on your Amazon Lightsail container services in the Lightsail Dev Guide.
createContainerServiceRegistryLoginAsync
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 an Amazon Lightsail instance in the same Availability Zone
(e.g., us-east-2a
).
The create disk
operation supports tag-based access control via request tags. For more information,
see the Lightsail Dev Guide.
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 an Amazon Lightsail instance in the same Availability Zone
(e.g., us-east-2a
).
The create disk
operation supports tag-based access control via request tags. For more information,
see the Lightsail Dev Guide.
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 manual or automatic snapshot of a disk. The resulting disk can be attached to
an Amazon Lightsail instance in the same Availability Zone (e.g., us-east-2a
).
The create disk from snapshot
operation supports tag-based access control via request tags and
resource tags applied to the resource identified by disk snapshot name
. For more information, see
the
Lightsail Dev Guide.
createDiskFromSnapshotAsync
in interface AmazonLightsailAsync
public Future<CreateDiskFromSnapshotResult> createDiskFromSnapshotAsync(CreateDiskFromSnapshotRequest request, AsyncHandler<CreateDiskFromSnapshotRequest,CreateDiskFromSnapshotResult> asyncHandler)
AmazonLightsailAsync
Creates a block storage disk from a manual or automatic snapshot of a disk. The resulting disk can be attached to
an Amazon Lightsail instance in the same Availability Zone (e.g., us-east-2a
).
The create disk from snapshot
operation supports tag-based access control via request tags and
resource tags applied to the resource identified by disk snapshot name
. For more information, see
the
Lightsail Dev Guide.
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.
You can also use this operation to create a snapshot of an instance's system volume. You might want to do this,
for example, to recover data from the system volume of a botched instance or to create a backup of the system
volume like you would for a block storage disk. To create a snapshot of a system volume, just define the
instance name
parameter when issuing the snapshot command, and a snapshot of the defined instance's
system volume will be created. After the snapshot is available, you can create a block storage disk from the
snapshot and attach it to a running instance to access the data on the disk.
The create disk snapshot
operation supports tag-based access control via request tags. For more
information, see the Lightsail Dev Guide.
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.
You can also use this operation to create a snapshot of an instance's system volume. You might want to do this,
for example, to recover data from the system volume of a botched instance or to create a backup of the system
volume like you would for a block storage disk. To create a snapshot of a system volume, just define the
instance name
parameter when issuing the snapshot command, and a snapshot of the defined instance's
system volume will be created. After the snapshot is available, you can create a block storage disk from the
snapshot and attach it to a running instance to access the data on the disk.
The create disk snapshot
operation supports tag-based access control via request tags. For more
information, see the Lightsail Dev Guide.
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<CreateDistributionResult> createDistributionAsync(CreateDistributionRequest request)
AmazonLightsailAsync
Creates an Amazon Lightsail content delivery network (CDN) distribution.
A distribution is a globally distributed network of caching servers that improve the performance of your website or web application hosted on a Lightsail instance. For more information, see Content delivery networks in Amazon Lightsail.
createDistributionAsync
in interface AmazonLightsailAsync
public Future<CreateDistributionResult> createDistributionAsync(CreateDistributionRequest request, AsyncHandler<CreateDistributionRequest,CreateDistributionResult> asyncHandler)
AmazonLightsailAsync
Creates an Amazon Lightsail content delivery network (CDN) distribution.
A distribution is a globally distributed network of caching servers that improve the performance of your website or web application hosted on a Lightsail instance. For more information, see Content delivery networks in Amazon Lightsail.
createDistributionAsync
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).
The create domain
operation supports tag-based access control via request tags. For more
information, see the Lightsail Dev Guide.
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).
The create domain
operation supports tag-based access control via request tags. For more
information, see the Lightsail Dev Guide.
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 domain name system (DNS) records in a domain DNS zone: Address (A), canonical name (CNAME), mail exchanger (MX), name server (NS), start of authority (SOA), service locator (SRV), or text (TXT).
The create domain entry
operation supports tag-based access control via resource tags applied to the
resource identified by domain name
. For more information, see the Lightsail Dev Guide.
createDomainEntryAsync
in interface AmazonLightsailAsync
public Future<CreateDomainEntryResult> createDomainEntryAsync(CreateDomainEntryRequest request, AsyncHandler<CreateDomainEntryRequest,CreateDomainEntryResult> asyncHandler)
AmazonLightsailAsync
Creates one of the following domain name system (DNS) records in a domain DNS zone: Address (A), canonical name (CNAME), mail exchanger (MX), name server (NS), start of authority (SOA), service locator (SRV), or text (TXT).
The create domain entry
operation supports tag-based access control via resource tags applied to the
resource identified by domain name
. For more information, see the Lightsail Dev Guide.
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.
The create instance snapshot
operation supports tag-based access control via request tags. For more
information, see the Lightsail Dev Guide.
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.
The create instance snapshot
operation supports tag-based access control via request tags. For more
information, see the Lightsail Dev Guide.
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 instances.
The create instances
operation supports tag-based access control via request tags. For more
information, see the Lightsail Dev Guide.
createInstancesAsync
in interface AmazonLightsailAsync
public Future<CreateInstancesResult> createInstancesAsync(CreateInstancesRequest request, AsyncHandler<CreateInstancesRequest,CreateInstancesResult> asyncHandler)
AmazonLightsailAsync
Creates one or more Amazon Lightsail instances.
The create instances
operation supports tag-based access control via request tags. For more
information, see the Lightsail Dev Guide.
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
Creates one or more new instances from a manual or automatic snapshot of an instance.
The create instances from snapshot
operation supports tag-based access control via request tags and
resource tags applied to the resource identified by instance snapshot name
. For more information,
see the Lightsail Dev Guide.
createInstancesFromSnapshotAsync
in interface AmazonLightsailAsync
public Future<CreateInstancesFromSnapshotResult> createInstancesFromSnapshotAsync(CreateInstancesFromSnapshotRequest request, AsyncHandler<CreateInstancesFromSnapshotRequest,CreateInstancesFromSnapshotResult> asyncHandler)
AmazonLightsailAsync
Creates one or more new instances from a manual or automatic snapshot of an instance.
The create instances from snapshot
operation supports tag-based access control via request tags and
resource tags applied to the resource identified by instance snapshot name
. For more information,
see the Lightsail Dev Guide.
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 an SSH key pair.
The create key pair
operation supports tag-based access control via request tags. For more
information, see the Lightsail Dev Guide.
createKeyPairAsync
in interface AmazonLightsailAsync
public Future<CreateKeyPairResult> createKeyPairAsync(CreateKeyPairRequest request, AsyncHandler<CreateKeyPairRequest,CreateKeyPairResult> asyncHandler)
AmazonLightsailAsync
Creates an SSH key pair.
The create key pair
operation supports tag-based access control via request tags. For more
information, see the Lightsail Dev Guide.
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. To learn more about deciding whether to load balance your application, see Configure your Lightsail instances for load balancing. You can create up to 5 load balancers per AWS Region in your account.
When you create a load balancer, you can specify a unique name and port settings. To change additional load
balancer settings, use the UpdateLoadBalancerAttribute
operation.
The create load balancer
operation supports tag-based access control via request tags. For more
information, see the Lightsail Dev Guide.
createLoadBalancerAsync
in interface AmazonLightsailAsync
public Future<CreateLoadBalancerResult> createLoadBalancerAsync(CreateLoadBalancerRequest request, AsyncHandler<CreateLoadBalancerRequest,CreateLoadBalancerResult> asyncHandler)
AmazonLightsailAsync
Creates a Lightsail load balancer. To learn more about deciding whether to load balance your application, see Configure your Lightsail instances for load balancing. You can create up to 5 load balancers per AWS Region in your account.
When you create a load balancer, you can specify a unique name and port settings. To change additional load
balancer settings, use the UpdateLoadBalancerAttribute
operation.
The create load balancer
operation supports tag-based access control via request tags. For more
information, see the Lightsail Dev Guide.
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 an SSL/TLS certificate for an Amazon Lightsail load balancer.
TLS is just an updated, more secure version of Secure Socket Layer (SSL).
The CreateLoadBalancerTlsCertificate
operation supports tag-based access control via resource tags
applied to the resource identified by load balancer name
. For more information, see the Lightsail Dev Guide.
createLoadBalancerTlsCertificateAsync
in interface AmazonLightsailAsync
public Future<CreateLoadBalancerTlsCertificateResult> createLoadBalancerTlsCertificateAsync(CreateLoadBalancerTlsCertificateRequest request, AsyncHandler<CreateLoadBalancerTlsCertificateRequest,CreateLoadBalancerTlsCertificateResult> asyncHandler)
AmazonLightsailAsync
Creates an SSL/TLS certificate for an Amazon Lightsail load balancer.
TLS is just an updated, more secure version of Secure Socket Layer (SSL).
The CreateLoadBalancerTlsCertificate
operation supports tag-based access control via resource tags
applied to the resource identified by load balancer name
. For more information, see the Lightsail Dev Guide.
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<CreateRelationalDatabaseResult> createRelationalDatabaseAsync(CreateRelationalDatabaseRequest request)
AmazonLightsailAsync
Creates a new database in Amazon Lightsail.
The create relational database
operation supports tag-based access control via request tags. For
more information, see the Lightsail Dev Guide.
createRelationalDatabaseAsync
in interface AmazonLightsailAsync
public Future<CreateRelationalDatabaseResult> createRelationalDatabaseAsync(CreateRelationalDatabaseRequest request, AsyncHandler<CreateRelationalDatabaseRequest,CreateRelationalDatabaseResult> asyncHandler)
AmazonLightsailAsync
Creates a new database in Amazon Lightsail.
The create relational database
operation supports tag-based access control via request tags. For
more information, see the Lightsail Dev Guide.
createRelationalDatabaseAsync
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<CreateRelationalDatabaseFromSnapshotResult> createRelationalDatabaseFromSnapshotAsync(CreateRelationalDatabaseFromSnapshotRequest request)
AmazonLightsailAsync
Creates a new database from an existing database snapshot in Amazon Lightsail.
You can create a new database from a snapshot in if something goes wrong with your original database, or to change it to a different plan, such as a high availability or standard plan.
The create relational database from snapshot
operation supports tag-based access control via request
tags and resource tags applied to the resource identified by relationalDatabaseSnapshotName. For more
information, see the Lightsail Dev Guide.
createRelationalDatabaseFromSnapshotAsync
in interface AmazonLightsailAsync
public Future<CreateRelationalDatabaseFromSnapshotResult> createRelationalDatabaseFromSnapshotAsync(CreateRelationalDatabaseFromSnapshotRequest request, AsyncHandler<CreateRelationalDatabaseFromSnapshotRequest,CreateRelationalDatabaseFromSnapshotResult> asyncHandler)
AmazonLightsailAsync
Creates a new database from an existing database snapshot in Amazon Lightsail.
You can create a new database from a snapshot in if something goes wrong with your original database, or to change it to a different plan, such as a high availability or standard plan.
The create relational database from snapshot
operation supports tag-based access control via request
tags and resource tags applied to the resource identified by relationalDatabaseSnapshotName. For more
information, see the Lightsail Dev Guide.
createRelationalDatabaseFromSnapshotAsync
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<CreateRelationalDatabaseSnapshotResult> createRelationalDatabaseSnapshotAsync(CreateRelationalDatabaseSnapshotRequest request)
AmazonLightsailAsync
Creates a snapshot of your database in Amazon Lightsail. You can use snapshots for backups, to make copies of a database, and to save data before deleting a database.
The create relational database snapshot
operation supports tag-based access control via request
tags. For more information, see the Lightsail Dev Guide.
createRelationalDatabaseSnapshotAsync
in interface AmazonLightsailAsync
public Future<CreateRelationalDatabaseSnapshotResult> createRelationalDatabaseSnapshotAsync(CreateRelationalDatabaseSnapshotRequest request, AsyncHandler<CreateRelationalDatabaseSnapshotRequest,CreateRelationalDatabaseSnapshotResult> asyncHandler)
AmazonLightsailAsync
Creates a snapshot of your database in Amazon Lightsail. You can use snapshots for backups, to make copies of a database, and to save data before deleting a database.
The create relational database snapshot
operation supports tag-based access control via request
tags. For more information, see the Lightsail Dev Guide.
createRelationalDatabaseSnapshotAsync
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<DeleteAlarmResult> deleteAlarmAsync(DeleteAlarmRequest request)
AmazonLightsailAsync
Deletes an alarm.
An alarm is used to monitor a single metric for one of your resources. When a metric condition is met, the alarm can notify you by email, SMS text message, and a banner displayed on the Amazon Lightsail console. For more information, see Alarms in Amazon Lightsail.
deleteAlarmAsync
in interface AmazonLightsailAsync
public Future<DeleteAlarmResult> deleteAlarmAsync(DeleteAlarmRequest request, AsyncHandler<DeleteAlarmRequest,DeleteAlarmResult> asyncHandler)
AmazonLightsailAsync
Deletes an alarm.
An alarm is used to monitor a single metric for one of your resources. When a metric condition is met, the alarm can notify you by email, SMS text message, and a banner displayed on the Amazon Lightsail console. For more information, see Alarms in Amazon Lightsail.
deleteAlarmAsync
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<DeleteAutoSnapshotResult> deleteAutoSnapshotAsync(DeleteAutoSnapshotRequest request)
AmazonLightsailAsync
Deletes an automatic snapshot of an instance or disk. For more information, see the Lightsail Dev Guide.
deleteAutoSnapshotAsync
in interface AmazonLightsailAsync
public Future<DeleteAutoSnapshotResult> deleteAutoSnapshotAsync(DeleteAutoSnapshotRequest request, AsyncHandler<DeleteAutoSnapshotRequest,DeleteAutoSnapshotResult> asyncHandler)
AmazonLightsailAsync
Deletes an automatic snapshot of an instance or disk. For more information, see the Lightsail Dev Guide.
deleteAutoSnapshotAsync
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<DeleteCertificateResult> deleteCertificateAsync(DeleteCertificateRequest request)
AmazonLightsailAsync
Deletes an SSL/TLS certificate for your Amazon Lightsail content delivery network (CDN) distribution.
Certificates that are currently attached to a distribution cannot be deleted. Use the
DetachCertificateFromDistribution
action to detach a certificate from a distribution.
deleteCertificateAsync
in interface AmazonLightsailAsync
public Future<DeleteCertificateResult> deleteCertificateAsync(DeleteCertificateRequest request, AsyncHandler<DeleteCertificateRequest,DeleteCertificateResult> asyncHandler)
AmazonLightsailAsync
Deletes an SSL/TLS certificate for your Amazon Lightsail content delivery network (CDN) distribution.
Certificates that are currently attached to a distribution cannot be deleted. Use the
DetachCertificateFromDistribution
action to detach a certificate from a distribution.
deleteCertificateAsync
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<DeleteContactMethodResult> deleteContactMethodAsync(DeleteContactMethodRequest request)
AmazonLightsailAsync
Deletes a contact method.
A contact method is used to send you notifications about your Amazon Lightsail resources. You can add one email address and one mobile phone number contact method in each AWS Region. However, SMS text messaging is not supported in some AWS Regions, and SMS text messages cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail.
deleteContactMethodAsync
in interface AmazonLightsailAsync
public Future<DeleteContactMethodResult> deleteContactMethodAsync(DeleteContactMethodRequest request, AsyncHandler<DeleteContactMethodRequest,DeleteContactMethodResult> asyncHandler)
AmazonLightsailAsync
Deletes a contact method.
A contact method is used to send you notifications about your Amazon Lightsail resources. You can add one email address and one mobile phone number contact method in each AWS Region. However, SMS text messaging is not supported in some AWS Regions, and SMS text messages cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail.
deleteContactMethodAsync
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<DeleteContainerImageResult> deleteContainerImageAsync(DeleteContainerImageRequest request)
AmazonLightsailAsync
Deletes a container image that is registered to your Amazon Lightsail container service.
deleteContainerImageAsync
in interface AmazonLightsailAsync
public Future<DeleteContainerImageResult> deleteContainerImageAsync(DeleteContainerImageRequest request, AsyncHandler<DeleteContainerImageRequest,DeleteContainerImageResult> asyncHandler)
AmazonLightsailAsync
Deletes a container image that is registered to your Amazon Lightsail container service.
deleteContainerImageAsync
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<DeleteContainerServiceResult> deleteContainerServiceAsync(DeleteContainerServiceRequest request)
AmazonLightsailAsync
Deletes your Amazon Lightsail container service.
deleteContainerServiceAsync
in interface AmazonLightsailAsync
public Future<DeleteContainerServiceResult> deleteContainerServiceAsync(DeleteContainerServiceRequest request, AsyncHandler<DeleteContainerServiceRequest,DeleteContainerServiceResult> asyncHandler)
AmazonLightsailAsync
Deletes your Amazon Lightsail container service.
deleteContainerServiceAsync
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.
The delete disk
operation supports tag-based access control via resource tags applied to the
resource identified by disk name
. For more information, see the Lightsail Dev Guide.
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.
The delete disk
operation supports tag-based access control via resource tags applied to the
resource identified by disk name
. For more information, see the Lightsail Dev Guide.
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.
The delete disk snapshot
operation supports tag-based access control via resource tags applied to
the resource identified by disk snapshot name
. For more information, see the Lightsail Dev Guide.
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.
The delete disk snapshot
operation supports tag-based access control via resource tags applied to
the resource identified by disk snapshot name
. For more information, see the Lightsail Dev Guide.
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<DeleteDistributionResult> deleteDistributionAsync(DeleteDistributionRequest request)
AmazonLightsailAsync
Deletes your Amazon Lightsail content delivery network (CDN) distribution.
deleteDistributionAsync
in interface AmazonLightsailAsync
public Future<DeleteDistributionResult> deleteDistributionAsync(DeleteDistributionRequest request, AsyncHandler<DeleteDistributionRequest,DeleteDistributionResult> asyncHandler)
AmazonLightsailAsync
Deletes your Amazon Lightsail content delivery network (CDN) distribution.
deleteDistributionAsync
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.
The delete domain
operation supports tag-based access control via resource tags applied to the
resource identified by domain name
. For more information, see the Lightsail Dev Guide.
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.
The delete domain
operation supports tag-based access control via resource tags applied to the
resource identified by domain name
. For more information, see the Lightsail Dev Guide.
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.
The delete domain entry
operation supports tag-based access control via resource tags applied to the
resource identified by domain name
. For more information, see the Lightsail Dev Guide.
deleteDomainEntryAsync
in interface AmazonLightsailAsync
public Future<DeleteDomainEntryResult> deleteDomainEntryAsync(DeleteDomainEntryRequest request, AsyncHandler<DeleteDomainEntryRequest,DeleteDomainEntryResult> asyncHandler)
AmazonLightsailAsync
Deletes a specific domain entry.
The delete domain entry
operation supports tag-based access control via resource tags applied to the
resource identified by domain name
. For more information, see the Lightsail Dev Guide.
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 an Amazon Lightsail instance.
The delete instance
operation supports tag-based access control via resource tags applied to the
resource identified by instance name
. For more information, see the Lightsail Dev Guide.
deleteInstanceAsync
in interface AmazonLightsailAsync
public Future<DeleteInstanceResult> deleteInstanceAsync(DeleteInstanceRequest request, AsyncHandler<DeleteInstanceRequest,DeleteInstanceResult> asyncHandler)
AmazonLightsailAsync
Deletes an Amazon Lightsail instance.
The delete instance
operation supports tag-based access control via resource tags applied to the
resource identified by instance name
. For more information, see the Lightsail Dev Guide.
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).
The delete instance snapshot
operation supports tag-based access control via resource tags applied
to the resource identified by instance snapshot name
. For more information, see the Lightsail Dev Guide.
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).
The delete instance snapshot
operation supports tag-based access control via resource tags applied
to the resource identified by instance snapshot name
. For more information, see the Lightsail Dev Guide.
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.
The delete key pair
operation supports tag-based access control via resource tags applied to the
resource identified by key pair name
. For more information, see the Lightsail Dev Guide.
deleteKeyPairAsync
in interface AmazonLightsailAsync
public Future<DeleteKeyPairResult> deleteKeyPairAsync(DeleteKeyPairRequest request, AsyncHandler<DeleteKeyPairRequest,DeleteKeyPairResult> asyncHandler)
AmazonLightsailAsync
Deletes a specific SSH key pair.
The delete key pair
operation supports tag-based access control via resource tags applied to the
resource identified by key pair name
. For more information, see the Lightsail Dev Guide.
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<DeleteKnownHostKeysResult> deleteKnownHostKeysAsync(DeleteKnownHostKeysRequest request)
AmazonLightsailAsync
Deletes the known host key or certificate used by the Amazon Lightsail browser-based SSH or RDP clients to authenticate an instance. This operation enables the Lightsail browser-based SSH or RDP clients to connect to the instance after a host key mismatch.
Perform this operation only if you were expecting the host key or certificate mismatch or if you are familiar with the new host key or certificate on the instance. For more information, see Troubleshooting connection issues when using the Amazon Lightsail browser-based SSH or RDP client.
deleteKnownHostKeysAsync
in interface AmazonLightsailAsync
public Future<DeleteKnownHostKeysResult> deleteKnownHostKeysAsync(DeleteKnownHostKeysRequest request, AsyncHandler<DeleteKnownHostKeysRequest,DeleteKnownHostKeysResult> asyncHandler)
AmazonLightsailAsync
Deletes the known host key or certificate used by the Amazon Lightsail browser-based SSH or RDP clients to authenticate an instance. This operation enables the Lightsail browser-based SSH or RDP clients to connect to the instance after a host key mismatch.
Perform this operation only if you were expecting the host key or certificate mismatch or if you are familiar with the new host key or certificate on the instance. For more information, see Troubleshooting connection issues when using the Amazon Lightsail browser-based SSH or RDP client.
deleteKnownHostKeysAsync
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 and all its associated SSL/TLS certificates. Once the load balancer is deleted, you will need to create a new load balancer, create a new certificate, and verify domain ownership again.
The delete load balancer
operation supports tag-based access control via resource tags applied to
the resource identified by load balancer name
. For more information, see the Lightsail Dev Guide.
deleteLoadBalancerAsync
in interface AmazonLightsailAsync
public Future<DeleteLoadBalancerResult> deleteLoadBalancerAsync(DeleteLoadBalancerRequest request, AsyncHandler<DeleteLoadBalancerRequest,DeleteLoadBalancerResult> asyncHandler)
AmazonLightsailAsync
Deletes a Lightsail load balancer and all its associated SSL/TLS certificates. Once the load balancer is deleted, you will need to create a new load balancer, create a new certificate, and verify domain ownership again.
The delete load balancer
operation supports tag-based access control via resource tags applied to
the resource identified by load balancer name
. For more information, see the Lightsail Dev Guide.
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 an SSL/TLS certificate associated with a Lightsail load balancer.
The DeleteLoadBalancerTlsCertificate
operation supports tag-based access control via resource tags
applied to the resource identified by load balancer name
. For more information, see the Lightsail Dev Guide.
deleteLoadBalancerTlsCertificateAsync
in interface AmazonLightsailAsync
public Future<DeleteLoadBalancerTlsCertificateResult> deleteLoadBalancerTlsCertificateAsync(DeleteLoadBalancerTlsCertificateRequest request, AsyncHandler<DeleteLoadBalancerTlsCertificateRequest,DeleteLoadBalancerTlsCertificateResult> asyncHandler)
AmazonLightsailAsync
Deletes an SSL/TLS certificate associated with a Lightsail load balancer.
The DeleteLoadBalancerTlsCertificate
operation supports tag-based access control via resource tags
applied to the resource identified by load balancer name
. For more information, see the Lightsail Dev Guide.
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<DeleteRelationalDatabaseResult> deleteRelationalDatabaseAsync(DeleteRelationalDatabaseRequest request)
AmazonLightsailAsync
Deletes a database in Amazon Lightsail.
The delete relational database
operation supports tag-based access control via resource tags applied
to the resource identified by relationalDatabaseName. For more information, see the Lightsail Dev Guide.
deleteRelationalDatabaseAsync
in interface AmazonLightsailAsync
public Future<DeleteRelationalDatabaseResult> deleteRelationalDatabaseAsync(DeleteRelationalDatabaseRequest request, AsyncHandler<DeleteRelationalDatabaseRequest,DeleteRelationalDatabaseResult> asyncHandler)
AmazonLightsailAsync
Deletes a database in Amazon Lightsail.
The delete relational database
operation supports tag-based access control via resource tags applied
to the resource identified by relationalDatabaseName. For more information, see the Lightsail Dev Guide.
deleteRelationalDatabaseAsync
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<DeleteRelationalDatabaseSnapshotResult> deleteRelationalDatabaseSnapshotAsync(DeleteRelationalDatabaseSnapshotRequest request)
AmazonLightsailAsync
Deletes a database snapshot in Amazon Lightsail.
The delete relational database snapshot
operation supports tag-based access control via resource
tags applied to the resource identified by relationalDatabaseName. For more information, see the Lightsail Dev Guide.
deleteRelationalDatabaseSnapshotAsync
in interface AmazonLightsailAsync
public Future<DeleteRelationalDatabaseSnapshotResult> deleteRelationalDatabaseSnapshotAsync(DeleteRelationalDatabaseSnapshotRequest request, AsyncHandler<DeleteRelationalDatabaseSnapshotRequest,DeleteRelationalDatabaseSnapshotResult> asyncHandler)
AmazonLightsailAsync
Deletes a database snapshot in Amazon Lightsail.
The delete relational database snapshot
operation supports tag-based access control via resource
tags applied to the resource identified by relationalDatabaseName. For more information, see the Lightsail Dev Guide.
deleteRelationalDatabaseSnapshotAsync
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<DetachCertificateFromDistributionResult> detachCertificateFromDistributionAsync(DetachCertificateFromDistributionRequest request)
AmazonLightsailAsync
Detaches an SSL/TLS certificate from your Amazon Lightsail content delivery network (CDN) distribution.
After the certificate is detached, your distribution stops accepting traffic for all of the domains that are associated with the certificate.
detachCertificateFromDistributionAsync
in interface AmazonLightsailAsync
public Future<DetachCertificateFromDistributionResult> detachCertificateFromDistributionAsync(DetachCertificateFromDistributionRequest request, AsyncHandler<DetachCertificateFromDistributionRequest,DetachCertificateFromDistributionResult> asyncHandler)
AmazonLightsailAsync
Detaches an SSL/TLS certificate from your Amazon Lightsail content delivery network (CDN) distribution.
After the certificate is detached, your distribution stops accepting traffic for all of the domains that are associated with the certificate.
detachCertificateFromDistributionAsync
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.
The detach disk
operation supports tag-based access control via resource tags applied to the
resource identified by disk name
. For more information, see the Lightsail Dev Guide.
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.
The detach disk
operation supports tag-based access control via resource tags applied to the
resource identified by disk name
. For more information, see the Lightsail Dev Guide.
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.
This operation waits until the instances are no longer needed before they are detached from the load balancer.
The detach instances from load balancer
operation supports tag-based access control via resource
tags applied to the resource identified by load balancer name
. For more information, see the Lightsail
Dev Guide.
detachInstancesFromLoadBalancerAsync
in interface AmazonLightsailAsync
public Future<DetachInstancesFromLoadBalancerResult> detachInstancesFromLoadBalancerAsync(DetachInstancesFromLoadBalancerRequest request, AsyncHandler<DetachInstancesFromLoadBalancerRequest,DetachInstancesFromLoadBalancerResult> asyncHandler)
AmazonLightsailAsync
Detaches the specified instances from a Lightsail load balancer.
This operation waits until the instances are no longer needed before they are detached from the load balancer.
The detach instances from load balancer
operation supports tag-based access control via resource
tags applied to the resource identified by load balancer name
. For more information, see the Lightsail
Dev Guide.
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<DisableAddOnResult> disableAddOnAsync(DisableAddOnRequest request)
AmazonLightsailAsync
Disables an add-on for an Amazon Lightsail resource. For more information, see the Lightsail Dev Guide.
disableAddOnAsync
in interface AmazonLightsailAsync
public Future<DisableAddOnResult> disableAddOnAsync(DisableAddOnRequest request, AsyncHandler<DisableAddOnRequest,DisableAddOnResult> asyncHandler)
AmazonLightsailAsync
Disables an add-on for an Amazon Lightsail resource. For more information, see the Lightsail Dev Guide.
disableAddOnAsync
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<EnableAddOnResult> enableAddOnAsync(EnableAddOnRequest request)
AmazonLightsailAsync
Enables or modifies an add-on for an Amazon Lightsail resource. For more information, see the Lightsail Dev Guide.
enableAddOnAsync
in interface AmazonLightsailAsync
public Future<EnableAddOnResult> enableAddOnAsync(EnableAddOnRequest request, AsyncHandler<EnableAddOnRequest,EnableAddOnResult> asyncHandler)
AmazonLightsailAsync
Enables or modifies an add-on for an Amazon Lightsail resource. For more information, see the Lightsail Dev Guide.
enableAddOnAsync
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<ExportSnapshotResult> exportSnapshotAsync(ExportSnapshotRequest request)
AmazonLightsailAsync
Exports an Amazon Lightsail instance or block storage disk snapshot to Amazon Elastic Compute Cloud (Amazon EC2).
This operation results in an export snapshot record that can be used with the
create cloud formation stack
operation to create new Amazon EC2 instances.
Exported instance snapshots appear in Amazon EC2 as Amazon Machine Images (AMIs), and the instance system disk appears as an Amazon Elastic Block Store (Amazon EBS) volume. Exported disk snapshots appear in Amazon EC2 as Amazon EBS volumes. Snapshots are exported to the same Amazon Web Services Region in Amazon EC2 as the source Lightsail snapshot.
The export snapshot
operation supports tag-based access control via resource tags applied to the
resource identified by source snapshot name
. For more information, see the Lightsail Dev Guide.
Use the get instance snapshots
or get disk snapshots
operations to get a list of
snapshots that you can export to Amazon EC2.
exportSnapshotAsync
in interface AmazonLightsailAsync
public Future<ExportSnapshotResult> exportSnapshotAsync(ExportSnapshotRequest request, AsyncHandler<ExportSnapshotRequest,ExportSnapshotResult> asyncHandler)
AmazonLightsailAsync
Exports an Amazon Lightsail instance or block storage disk snapshot to Amazon Elastic Compute Cloud (Amazon EC2).
This operation results in an export snapshot record that can be used with the
create cloud formation stack
operation to create new Amazon EC2 instances.
Exported instance snapshots appear in Amazon EC2 as Amazon Machine Images (AMIs), and the instance system disk appears as an Amazon Elastic Block Store (Amazon EBS) volume. Exported disk snapshots appear in Amazon EC2 as Amazon EBS volumes. Snapshots are exported to the same Amazon Web Services Region in Amazon EC2 as the source Lightsail snapshot.
The export snapshot
operation supports tag-based access control via resource tags applied to the
resource identified by source snapshot name
. For more information, see the Lightsail Dev Guide.
Use the get instance snapshots
or get disk snapshots
operations to get a list of
snapshots that you can export to Amazon EC2.
exportSnapshotAsync
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<GetAlarmsResult> getAlarmsAsync(GetAlarmsRequest request)
AmazonLightsailAsync
Returns information about the configured alarms. Specify an alarm name in your request to return information about a specific alarm, or specify a monitored resource name to return information about all alarms for a specific resource.
An alarm is used to monitor a single metric for one of your resources. When a metric condition is met, the alarm can notify you by email, SMS text message, and a banner displayed on the Amazon Lightsail console. For more information, see Alarms in Amazon Lightsail.
getAlarmsAsync
in interface AmazonLightsailAsync
public Future<GetAlarmsResult> getAlarmsAsync(GetAlarmsRequest request, AsyncHandler<GetAlarmsRequest,GetAlarmsResult> asyncHandler)
AmazonLightsailAsync
Returns information about the configured alarms. Specify an alarm name in your request to return information about a specific alarm, or specify a monitored resource name to return information about all alarms for a specific resource.
An alarm is used to monitor a single metric for one of your resources. When a metric condition is met, the alarm can notify you by email, SMS text message, and a banner displayed on the Amazon Lightsail console. For more information, see Alarms in Amazon Lightsail.
getAlarmsAsync
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<GetAutoSnapshotsResult> getAutoSnapshotsAsync(GetAutoSnapshotsRequest request)
AmazonLightsailAsync
Returns the available automatic snapshots for an instance or disk. For more information, see the Lightsail Dev Guide.
getAutoSnapshotsAsync
in interface AmazonLightsailAsync
public Future<GetAutoSnapshotsResult> getAutoSnapshotsAsync(GetAutoSnapshotsRequest request, AsyncHandler<GetAutoSnapshotsRequest,GetAutoSnapshotsResult> asyncHandler)
AmazonLightsailAsync
Returns the available automatic snapshots for an instance or disk. For more information, see the Lightsail Dev Guide.
getAutoSnapshotsAsync
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 instance 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.
Use active blueprints when creating new instances. Inactive blueprints are listed to support customers with existing instances and are not necessarily available to create new instances. Blueprints are marked inactive when they become outdated due to operating system updates or new application releases.
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 instance 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.
Use active blueprints when creating new instances. Inactive blueprints are listed to support customers with existing instances and are not necessarily available to create new instances. Blueprints are marked inactive when they become outdated due to operating system updates or new application releases.
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<GetCertificatesResult> getCertificatesAsync(GetCertificatesRequest request)
AmazonLightsailAsync
Returns information about one or more Amazon Lightsail SSL/TLS certificates.
To get a summary of a certificate, ommit includeCertificateDetails
from your request. The response
will include only the certificate Amazon Resource Name (ARN), certificate name, domain name, and tags.
getCertificatesAsync
in interface AmazonLightsailAsync
public Future<GetCertificatesResult> getCertificatesAsync(GetCertificatesRequest request, AsyncHandler<GetCertificatesRequest,GetCertificatesResult> asyncHandler)
AmazonLightsailAsync
Returns information about one or more Amazon Lightsail SSL/TLS certificates.
To get a summary of a certificate, ommit includeCertificateDetails
from your request. The response
will include only the certificate Amazon Resource Name (ARN), certificate name, domain name, and tags.
getCertificatesAsync
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<GetCloudFormationStackRecordsResult> getCloudFormationStackRecordsAsync(GetCloudFormationStackRecordsRequest request)
AmazonLightsailAsync
Returns the CloudFormation stack record created as a result of the create cloud formation stack
operation.
An AWS CloudFormation stack is used to create a new Amazon EC2 instance from an exported Lightsail snapshot.
getCloudFormationStackRecordsAsync
in interface AmazonLightsailAsync
public Future<GetCloudFormationStackRecordsResult> getCloudFormationStackRecordsAsync(GetCloudFormationStackRecordsRequest request, AsyncHandler<GetCloudFormationStackRecordsRequest,GetCloudFormationStackRecordsResult> asyncHandler)
AmazonLightsailAsync
Returns the CloudFormation stack record created as a result of the create cloud formation stack
operation.
An AWS CloudFormation stack is used to create a new Amazon EC2 instance from an exported Lightsail snapshot.
getCloudFormationStackRecordsAsync
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<GetContactMethodsResult> getContactMethodsAsync(GetContactMethodsRequest request)
AmazonLightsailAsync
Returns information about the configured contact methods. Specify a protocol in your request to return information about a specific contact method.
A contact method is used to send you notifications about your Amazon Lightsail resources. You can add one email address and one mobile phone number contact method in each AWS Region. However, SMS text messaging is not supported in some AWS Regions, and SMS text messages cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail.
getContactMethodsAsync
in interface AmazonLightsailAsync
public Future<GetContactMethodsResult> getContactMethodsAsync(GetContactMethodsRequest request, AsyncHandler<GetContactMethodsRequest,GetContactMethodsResult> asyncHandler)
AmazonLightsailAsync
Returns information about the configured contact methods. Specify a protocol in your request to return information about a specific contact method.
A contact method is used to send you notifications about your Amazon Lightsail resources. You can add one email address and one mobile phone number contact method in each AWS Region. However, SMS text messaging is not supported in some AWS Regions, and SMS text messages cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail.
getContactMethodsAsync
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<GetContainerAPIMetadataResult> getContainerAPIMetadataAsync(GetContainerAPIMetadataRequest request)
AmazonLightsailAsync
Returns information about Amazon Lightsail containers, such as the current version of the Lightsail Control (lightsailctl) plugin.
getContainerAPIMetadataAsync
in interface AmazonLightsailAsync
public Future<GetContainerAPIMetadataResult> getContainerAPIMetadataAsync(GetContainerAPIMetadataRequest request, AsyncHandler<GetContainerAPIMetadataRequest,GetContainerAPIMetadataResult> asyncHandler)
AmazonLightsailAsync
Returns information about Amazon Lightsail containers, such as the current version of the Lightsail Control (lightsailctl) plugin.
getContainerAPIMetadataAsync
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<GetContainerImagesResult> getContainerImagesAsync(GetContainerImagesRequest request)
AmazonLightsailAsync
Returns the container images that are registered to your Amazon Lightsail container service.
If you created a deployment on your Lightsail container service that uses container images from a public registry like Docker Hub, those images are not returned as part of this action. Those images are not registered to your Lightsail container service.
getContainerImagesAsync
in interface AmazonLightsailAsync
public Future<GetContainerImagesResult> getContainerImagesAsync(GetContainerImagesRequest request, AsyncHandler<GetContainerImagesRequest,GetContainerImagesResult> asyncHandler)
AmazonLightsailAsync
Returns the container images that are registered to your Amazon Lightsail container service.
If you created a deployment on your Lightsail container service that uses container images from a public registry like Docker Hub, those images are not returned as part of this action. Those images are not registered to your Lightsail container service.
getContainerImagesAsync
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<GetContainerLogResult> getContainerLogAsync(GetContainerLogRequest request)
AmazonLightsailAsync
Returns the log events of a container of your Amazon Lightsail container service.
If your container service has more than one node (i.e., a scale greater than 1), then the log events that are returned for the specified container are merged from all nodes on your container service.
Container logs are retained for a certain amount of time. For more information, see Amazon Lightsail endpoints and quotas in the AWS General Reference.
getContainerLogAsync
in interface AmazonLightsailAsync
public Future<GetContainerLogResult> getContainerLogAsync(GetContainerLogRequest request, AsyncHandler<GetContainerLogRequest,GetContainerLogResult> asyncHandler)
AmazonLightsailAsync
Returns the log events of a container of your Amazon Lightsail container service.
If your container service has more than one node (i.e., a scale greater than 1), then the log events that are returned for the specified container are merged from all nodes on your container service.
Container logs are retained for a certain amount of time. For more information, see Amazon Lightsail endpoints and quotas in the AWS General Reference.
getContainerLogAsync
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<GetContainerServiceDeploymentsResult> getContainerServiceDeploymentsAsync(GetContainerServiceDeploymentsRequest request)
AmazonLightsailAsync
Returns the deployments for your Amazon Lightsail container service
A deployment specifies the settings, such as the ports and launch command, of containers that are deployed to your container service.
The deployments are ordered by version in ascending order. The newest version is listed at the top of the response.
A set number of deployments are kept before the oldest one is replaced with the newest one. For more information, see Amazon Lightsail endpoints and quotas in the AWS General Reference.
getContainerServiceDeploymentsAsync
in interface AmazonLightsailAsync
public Future<GetContainerServiceDeploymentsResult> getContainerServiceDeploymentsAsync(GetContainerServiceDeploymentsRequest request, AsyncHandler<GetContainerServiceDeploymentsRequest,GetContainerServiceDeploymentsResult> asyncHandler)
AmazonLightsailAsync
Returns the deployments for your Amazon Lightsail container service
A deployment specifies the settings, such as the ports and launch command, of containers that are deployed to your container service.
The deployments are ordered by version in ascending order. The newest version is listed at the top of the response.
A set number of deployments are kept before the oldest one is replaced with the newest one. For more information, see Amazon Lightsail endpoints and quotas in the AWS General Reference.
getContainerServiceDeploymentsAsync
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<GetContainerServiceMetricDataResult> getContainerServiceMetricDataAsync(GetContainerServiceMetricDataRequest request)
AmazonLightsailAsync
Returns the data points of a specific metric of your Amazon Lightsail container service.
Metrics report the utilization of your resources. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.
getContainerServiceMetricDataAsync
in interface AmazonLightsailAsync
public Future<GetContainerServiceMetricDataResult> getContainerServiceMetricDataAsync(GetContainerServiceMetricDataRequest request, AsyncHandler<GetContainerServiceMetricDataRequest,GetContainerServiceMetricDataResult> asyncHandler)
AmazonLightsailAsync
Returns the data points of a specific metric of your Amazon Lightsail container service.
Metrics report the utilization of your resources. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.
getContainerServiceMetricDataAsync
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<GetContainerServicePowersResult> getContainerServicePowersAsync(GetContainerServicePowersRequest request)
AmazonLightsailAsync
Returns the list of powers that can be specified for your Amazon Lightsail container services.
The power specifies the amount of memory, the number of vCPUs, and the base price of the container service.
getContainerServicePowersAsync
in interface AmazonLightsailAsync
public Future<GetContainerServicePowersResult> getContainerServicePowersAsync(GetContainerServicePowersRequest request, AsyncHandler<GetContainerServicePowersRequest,GetContainerServicePowersResult> asyncHandler)
AmazonLightsailAsync
Returns the list of powers that can be specified for your Amazon Lightsail container services.
The power specifies the amount of memory, the number of vCPUs, and the base price of the container service.
getContainerServicePowersAsync
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<GetContainerServicesResult> getContainerServicesAsync(GetContainerServicesRequest request)
AmazonLightsailAsync
Returns information about one or more of your Amazon Lightsail container services.
getContainerServicesAsync
in interface AmazonLightsailAsync
public Future<GetContainerServicesResult> getContainerServicesAsync(GetContainerServicesRequest request, AsyncHandler<GetContainerServicesRequest,GetContainerServicesResult> asyncHandler)
AmazonLightsailAsync
Returns information about one or more of your Amazon Lightsail container services.
getContainerServicesAsync
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.
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.
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.
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.
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<GetDistributionBundlesResult> getDistributionBundlesAsync(GetDistributionBundlesRequest request)
AmazonLightsailAsync
Returns the list bundles that can be applied to you Amazon Lightsail content delivery network (CDN) distributions.
A distribution bundle specifies the monthly network transfer quota and monthly cost of your dsitribution.
getDistributionBundlesAsync
in interface AmazonLightsailAsync
public Future<GetDistributionBundlesResult> getDistributionBundlesAsync(GetDistributionBundlesRequest request, AsyncHandler<GetDistributionBundlesRequest,GetDistributionBundlesResult> asyncHandler)
AmazonLightsailAsync
Returns the list bundles that can be applied to you Amazon Lightsail content delivery network (CDN) distributions.
A distribution bundle specifies the monthly network transfer quota and monthly cost of your dsitribution.
getDistributionBundlesAsync
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<GetDistributionLatestCacheResetResult> getDistributionLatestCacheResetAsync(GetDistributionLatestCacheResetRequest request)
AmazonLightsailAsync
Returns the timestamp and status of the last cache reset of a specific Amazon Lightsail content delivery network (CDN) distribution.
getDistributionLatestCacheResetAsync
in interface AmazonLightsailAsync
public Future<GetDistributionLatestCacheResetResult> getDistributionLatestCacheResetAsync(GetDistributionLatestCacheResetRequest request, AsyncHandler<GetDistributionLatestCacheResetRequest,GetDistributionLatestCacheResetResult> asyncHandler)
AmazonLightsailAsync
Returns the timestamp and status of the last cache reset of a specific Amazon Lightsail content delivery network (CDN) distribution.
getDistributionLatestCacheResetAsync
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<GetDistributionMetricDataResult> getDistributionMetricDataAsync(GetDistributionMetricDataRequest request)
AmazonLightsailAsync
Returns the data points of a specific metric for an Amazon Lightsail content delivery network (CDN) distribution.
Metrics report the utilization of your resources, and the error counts generated by them. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.
getDistributionMetricDataAsync
in interface AmazonLightsailAsync
public Future<GetDistributionMetricDataResult> getDistributionMetricDataAsync(GetDistributionMetricDataRequest request, AsyncHandler<GetDistributionMetricDataRequest,GetDistributionMetricDataResult> asyncHandler)
AmazonLightsailAsync
Returns the data points of a specific metric for an Amazon Lightsail content delivery network (CDN) distribution.
Metrics report the utilization of your resources, and the error counts generated by them. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.
getDistributionMetricDataAsync
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<GetDistributionsResult> getDistributionsAsync(GetDistributionsRequest request)
AmazonLightsailAsync
Returns information about one or more of your Amazon Lightsail content delivery network (CDN) distributions.
getDistributionsAsync
in interface AmazonLightsailAsync
public Future<GetDistributionsResult> getDistributionsAsync(GetDistributionsRequest request, AsyncHandler<GetDistributionsRequest,GetDistributionsResult> asyncHandler)
AmazonLightsailAsync
Returns information about one or more of your Amazon Lightsail content delivery network (CDN) distributions.
getDistributionsAsync
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<GetExportSnapshotRecordsResult> getExportSnapshotRecordsAsync(GetExportSnapshotRecordsRequest request)
AmazonLightsailAsync
Returns the export snapshot record created as a result of the export snapshot
operation.
An export snapshot record can be used to create a new Amazon EC2 instance and its related resources with the
create cloud formation stack
operation.
getExportSnapshotRecordsAsync
in interface AmazonLightsailAsync
public Future<GetExportSnapshotRecordsResult> getExportSnapshotRecordsAsync(GetExportSnapshotRecordsRequest request, AsyncHandler<GetExportSnapshotRecordsRequest,GetExportSnapshotRecordsResult> asyncHandler)
AmazonLightsailAsync
Returns the export snapshot record created as a result of the export snapshot
operation.
An export snapshot record can be used to create a new Amazon EC2 instance and its related resources with the
create cloud formation stack
operation.
getExportSnapshotRecordsAsync
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.
The get instance access details
operation supports tag-based access control via resource tags
applied to the resource identified by instance name
. For more information, see the Lightsail Dev Guide.
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.
The get instance access details
operation supports tag-based access control via resource tags
applied to the resource identified by instance name
. For more information, see the Lightsail Dev Guide.
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.
Metrics report the utilization of your resources, and the error counts generated by them. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.
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.
Metrics report the utilization of your resources, and the error counts generated by them. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.
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 firewall port states for a specific Amazon Lightsail instance, the IP addresses allowed to connect to the instance through the ports, and the protocol.
getInstancePortStatesAsync
in interface AmazonLightsailAsync
public Future<GetInstancePortStatesResult> getInstancePortStatesAsync(GetInstancePortStatesRequest request, AsyncHandler<GetInstancePortStatesRequest,GetInstancePortStatesResult> asyncHandler)
AmazonLightsailAsync
Returns the firewall port states for a specific Amazon Lightsail instance, the IP addresses allowed to connect to the instance through the ports, and the protocol.
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.
Metrics report the utilization of your resources, and the error counts generated by them. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.
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.
Metrics report the utilization of your resources, and the error counts generated by them. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.
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).
You can have a maximum of 2 certificates associated with a Lightsail load balancer. One is active and the other is inactive.
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).
You can have a maximum of 2 certificates associated with a Lightsail load balancer. One is active and the other is inactive.
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.
getLoadBalancersAsync
in interface AmazonLightsailAsync
public Future<GetLoadBalancersResult> getLoadBalancersAsync(GetLoadBalancersRequest request, AsyncHandler<GetLoadBalancersRequest,GetLoadBalancersResult> asyncHandler)
AmazonLightsailAsync
Returns information about all load balancers in an account.
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<GetRelationalDatabaseResult> getRelationalDatabaseAsync(GetRelationalDatabaseRequest request)
AmazonLightsailAsync
Returns information about a specific database in Amazon Lightsail.
getRelationalDatabaseAsync
in interface AmazonLightsailAsync
public Future<GetRelationalDatabaseResult> getRelationalDatabaseAsync(GetRelationalDatabaseRequest request, AsyncHandler<GetRelationalDatabaseRequest,GetRelationalDatabaseResult> asyncHandler)
AmazonLightsailAsync
Returns information about a specific database in Amazon Lightsail.
getRelationalDatabaseAsync
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<GetRelationalDatabaseBlueprintsResult> getRelationalDatabaseBlueprintsAsync(GetRelationalDatabaseBlueprintsRequest request)
AmazonLightsailAsync
Returns a list of available database blueprints in Amazon Lightsail. A blueprint describes the major engine version of a database.
You can use a blueprint ID to create a new database that runs a specific database engine.
getRelationalDatabaseBlueprintsAsync
in interface AmazonLightsailAsync
public Future<GetRelationalDatabaseBlueprintsResult> getRelationalDatabaseBlueprintsAsync(GetRelationalDatabaseBlueprintsRequest request, AsyncHandler<GetRelationalDatabaseBlueprintsRequest,GetRelationalDatabaseBlueprintsResult> asyncHandler)
AmazonLightsailAsync
Returns a list of available database blueprints in Amazon Lightsail. A blueprint describes the major engine version of a database.
You can use a blueprint ID to create a new database that runs a specific database engine.
getRelationalDatabaseBlueprintsAsync
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<GetRelationalDatabaseBundlesResult> getRelationalDatabaseBundlesAsync(GetRelationalDatabaseBundlesRequest request)
AmazonLightsailAsync
Returns the list of bundles that are available in Amazon Lightsail. A bundle describes the performance specifications for a database.
You can use a bundle ID to create a new database with explicit performance specifications.
getRelationalDatabaseBundlesAsync
in interface AmazonLightsailAsync
public Future<GetRelationalDatabaseBundlesResult> getRelationalDatabaseBundlesAsync(GetRelationalDatabaseBundlesRequest request, AsyncHandler<GetRelationalDatabaseBundlesRequest,GetRelationalDatabaseBundlesResult> asyncHandler)
AmazonLightsailAsync
Returns the list of bundles that are available in Amazon Lightsail. A bundle describes the performance specifications for a database.
You can use a bundle ID to create a new database with explicit performance specifications.
getRelationalDatabaseBundlesAsync
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<GetRelationalDatabaseEventsResult> getRelationalDatabaseEventsAsync(GetRelationalDatabaseEventsRequest request)
AmazonLightsailAsync
Returns a list of events for a specific database in Amazon Lightsail.
getRelationalDatabaseEventsAsync
in interface AmazonLightsailAsync
public Future<GetRelationalDatabaseEventsResult> getRelationalDatabaseEventsAsync(GetRelationalDatabaseEventsRequest request, AsyncHandler<GetRelationalDatabaseEventsRequest,GetRelationalDatabaseEventsResult> asyncHandler)
AmazonLightsailAsync
Returns a list of events for a specific database in Amazon Lightsail.
getRelationalDatabaseEventsAsync
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<GetRelationalDatabaseLogEventsResult> getRelationalDatabaseLogEventsAsync(GetRelationalDatabaseLogEventsRequest request)
AmazonLightsailAsync
Returns a list of log events for a database in Amazon Lightsail.
getRelationalDatabaseLogEventsAsync
in interface AmazonLightsailAsync
public Future<GetRelationalDatabaseLogEventsResult> getRelationalDatabaseLogEventsAsync(GetRelationalDatabaseLogEventsRequest request, AsyncHandler<GetRelationalDatabaseLogEventsRequest,GetRelationalDatabaseLogEventsResult> asyncHandler)
AmazonLightsailAsync
Returns a list of log events for a database in Amazon Lightsail.
getRelationalDatabaseLogEventsAsync
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<GetRelationalDatabaseLogStreamsResult> getRelationalDatabaseLogStreamsAsync(GetRelationalDatabaseLogStreamsRequest request)
AmazonLightsailAsync
Returns a list of available log streams for a specific database in Amazon Lightsail.
getRelationalDatabaseLogStreamsAsync
in interface AmazonLightsailAsync
public Future<GetRelationalDatabaseLogStreamsResult> getRelationalDatabaseLogStreamsAsync(GetRelationalDatabaseLogStreamsRequest request, AsyncHandler<GetRelationalDatabaseLogStreamsRequest,GetRelationalDatabaseLogStreamsResult> asyncHandler)
AmazonLightsailAsync
Returns a list of available log streams for a specific database in Amazon Lightsail.
getRelationalDatabaseLogStreamsAsync
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<GetRelationalDatabaseMasterUserPasswordResult> getRelationalDatabaseMasterUserPasswordAsync(GetRelationalDatabaseMasterUserPasswordRequest request)
AmazonLightsailAsync
Returns the current, previous, or pending versions of the master user password for a Lightsail database.
The GetRelationalDatabaseMasterUserPassword
operation supports tag-based access control via resource
tags applied to the resource identified by relationalDatabaseName.
getRelationalDatabaseMasterUserPasswordAsync
in interface AmazonLightsailAsync
public Future<GetRelationalDatabaseMasterUserPasswordResult> getRelationalDatabaseMasterUserPasswordAsync(GetRelationalDatabaseMasterUserPasswordRequest request, AsyncHandler<GetRelationalDatabaseMasterUserPasswordRequest,GetRelationalDatabaseMasterUserPasswordResult> asyncHandler)
AmazonLightsailAsync
Returns the current, previous, or pending versions of the master user password for a Lightsail database.
The GetRelationalDatabaseMasterUserPassword
operation supports tag-based access control via resource
tags applied to the resource identified by relationalDatabaseName.
getRelationalDatabaseMasterUserPasswordAsync
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<GetRelationalDatabaseMetricDataResult> getRelationalDatabaseMetricDataAsync(GetRelationalDatabaseMetricDataRequest request)
AmazonLightsailAsync
Returns the data points of the specified metric for a database in Amazon Lightsail.
Metrics report the utilization of your resources, and the error counts generated by them. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.
getRelationalDatabaseMetricDataAsync
in interface AmazonLightsailAsync
public Future<GetRelationalDatabaseMetricDataResult> getRelationalDatabaseMetricDataAsync(GetRelationalDatabaseMetricDataRequest request, AsyncHandler<GetRelationalDatabaseMetricDataRequest,GetRelationalDatabaseMetricDataResult> asyncHandler)
AmazonLightsailAsync
Returns the data points of the specified metric for a database in Amazon Lightsail.
Metrics report the utilization of your resources, and the error counts generated by them. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.
getRelationalDatabaseMetricDataAsync
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<GetRelationalDatabaseParametersResult> getRelationalDatabaseParametersAsync(GetRelationalDatabaseParametersRequest request)
AmazonLightsailAsync
Returns all of the runtime parameters offered by the underlying database software, or engine, for a specific database in Amazon Lightsail.
In addition to the parameter names and values, this operation returns other information about each parameter. This information includes whether changes require a reboot, whether the parameter is modifiable, the allowed values, and the data types.
getRelationalDatabaseParametersAsync
in interface AmazonLightsailAsync
public Future<GetRelationalDatabaseParametersResult> getRelationalDatabaseParametersAsync(GetRelationalDatabaseParametersRequest request, AsyncHandler<GetRelationalDatabaseParametersRequest,GetRelationalDatabaseParametersResult> asyncHandler)
AmazonLightsailAsync
Returns all of the runtime parameters offered by the underlying database software, or engine, for a specific database in Amazon Lightsail.
In addition to the parameter names and values, this operation returns other information about each parameter. This information includes whether changes require a reboot, whether the parameter is modifiable, the allowed values, and the data types.
getRelationalDatabaseParametersAsync
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<GetRelationalDatabaseSnapshotResult> getRelationalDatabaseSnapshotAsync(GetRelationalDatabaseSnapshotRequest request)
AmazonLightsailAsync
Returns information about a specific database snapshot in Amazon Lightsail.
getRelationalDatabaseSnapshotAsync
in interface AmazonLightsailAsync
public Future<GetRelationalDatabaseSnapshotResult> getRelationalDatabaseSnapshotAsync(GetRelationalDatabaseSnapshotRequest request, AsyncHandler<GetRelationalDatabaseSnapshotRequest,GetRelationalDatabaseSnapshotResult> asyncHandler)
AmazonLightsailAsync
Returns information about a specific database snapshot in Amazon Lightsail.
getRelationalDatabaseSnapshotAsync
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<GetRelationalDatabaseSnapshotsResult> getRelationalDatabaseSnapshotsAsync(GetRelationalDatabaseSnapshotsRequest request)
AmazonLightsailAsync
Returns information about all of your database snapshots in Amazon Lightsail.
getRelationalDatabaseSnapshotsAsync
in interface AmazonLightsailAsync
public Future<GetRelationalDatabaseSnapshotsResult> getRelationalDatabaseSnapshotsAsync(GetRelationalDatabaseSnapshotsRequest request, AsyncHandler<GetRelationalDatabaseSnapshotsRequest,GetRelationalDatabaseSnapshotsResult> asyncHandler)
AmazonLightsailAsync
Returns information about all of your database snapshots in Amazon Lightsail.
getRelationalDatabaseSnapshotsAsync
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<GetRelationalDatabasesResult> getRelationalDatabasesAsync(GetRelationalDatabasesRequest request)
AmazonLightsailAsync
Returns information about all of your databases in Amazon Lightsail.
getRelationalDatabasesAsync
in interface AmazonLightsailAsync
public Future<GetRelationalDatabasesResult> getRelationalDatabasesAsync(GetRelationalDatabasesRequest request, AsyncHandler<GetRelationalDatabasesRequest,GetRelationalDatabasesResult> asyncHandler)
AmazonLightsailAsync
Returns information about all of your databases in Amazon Lightsail.
getRelationalDatabasesAsync
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 an Amazon Lightsail static IP.
getStaticIpAsync
in interface AmazonLightsailAsync
public Future<GetStaticIpResult> getStaticIpAsync(GetStaticIpRequest request, AsyncHandler<GetStaticIpRequest,GetStaticIpResult> asyncHandler)
AmazonLightsailAsync
Returns information about an Amazon Lightsail 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
Opens ports for a specific Amazon Lightsail instance, and specifies the IP addresses allowed to connect to the instance through the ports, and the protocol.
The OpenInstancePublicPorts
action supports tag-based access control via resource tags applied to
the resource identified by instanceName
. For more information, see the Lightsail Dev Guide.
openInstancePublicPortsAsync
in interface AmazonLightsailAsync
public Future<OpenInstancePublicPortsResult> openInstancePublicPortsAsync(OpenInstancePublicPortsRequest request, AsyncHandler<OpenInstancePublicPortsRequest,OpenInstancePublicPortsResult> asyncHandler)
AmazonLightsailAsync
Opens ports for a specific Amazon Lightsail instance, and specifies the IP addresses allowed to connect to the instance through the ports, and the protocol.
The OpenInstancePublicPorts
action supports tag-based access control via resource tags applied to
the resource identified by instanceName
. For more information, see the Lightsail Dev Guide.
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<PutAlarmResult> putAlarmAsync(PutAlarmRequest request)
AmazonLightsailAsync
Creates or updates an alarm, and associates it with the specified metric.
An alarm is used to monitor a single metric for one of your resources. When a metric condition is met, the alarm can notify you by email, SMS text message, and a banner displayed on the Amazon Lightsail console. For more information, see Alarms in Amazon Lightsail.
When this action creates an alarm, the alarm state is immediately set to INSUFFICIENT_DATA
. The
alarm is then evaluated and its state is set appropriately. Any actions associated with the new state are then
executed.
When you update an existing alarm, its state is left unchanged, but the update completely overwrites the previous configuration of the alarm. The alarm is then evaluated with the updated configuration.
putAlarmAsync
in interface AmazonLightsailAsync
public Future<PutAlarmResult> putAlarmAsync(PutAlarmRequest request, AsyncHandler<PutAlarmRequest,PutAlarmResult> asyncHandler)
AmazonLightsailAsync
Creates or updates an alarm, and associates it with the specified metric.
An alarm is used to monitor a single metric for one of your resources. When a metric condition is met, the alarm can notify you by email, SMS text message, and a banner displayed on the Amazon Lightsail console. For more information, see Alarms in Amazon Lightsail.
When this action creates an alarm, the alarm state is immediately set to INSUFFICIENT_DATA
. The
alarm is then evaluated and its state is set appropriately. Any actions associated with the new state are then
executed.
When you update an existing alarm, its state is left unchanged, but the update completely overwrites the previous configuration of the alarm. The alarm is then evaluated with the updated configuration.
putAlarmAsync
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
Opens ports for a specific Amazon Lightsail instance, and specifies the IP addresses allowed to connect to the
instance through the ports, and the protocol. This action also closes all currently open ports that are not
included in the request. Include all of the ports and the protocols you want to open in your
PutInstancePublicPorts
request. Or use the OpenInstancePublicPorts
action to open ports
without closing currently open ports.
The PutInstancePublicPorts
action supports tag-based access control via resource tags applied to the
resource identified by instanceName
. For more information, see the Lightsail Dev Guide.
putInstancePublicPortsAsync
in interface AmazonLightsailAsync
public Future<PutInstancePublicPortsResult> putInstancePublicPortsAsync(PutInstancePublicPortsRequest request, AsyncHandler<PutInstancePublicPortsRequest,PutInstancePublicPortsResult> asyncHandler)
AmazonLightsailAsync
Opens ports for a specific Amazon Lightsail instance, and specifies the IP addresses allowed to connect to the
instance through the ports, and the protocol. This action also closes all currently open ports that are not
included in the request. Include all of the ports and the protocols you want to open in your
PutInstancePublicPorts
request. Or use the OpenInstancePublicPorts
action to open ports
without closing currently open ports.
The PutInstancePublicPorts
action supports tag-based access control via resource tags applied to the
resource identified by instanceName
. For more information, see the Lightsail Dev Guide.
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.
The reboot instance
operation supports tag-based access control via resource tags applied to the
resource identified by instance name
. For more information, see the Lightsail Dev Guide.
rebootInstanceAsync
in interface AmazonLightsailAsync
public Future<RebootInstanceResult> rebootInstanceAsync(RebootInstanceRequest request, AsyncHandler<RebootInstanceRequest,RebootInstanceResult> asyncHandler)
AmazonLightsailAsync
Restarts a specific instance.
The reboot instance
operation supports tag-based access control via resource tags applied to the
resource identified by instance name
. For more information, see the Lightsail Dev Guide.
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<RebootRelationalDatabaseResult> rebootRelationalDatabaseAsync(RebootRelationalDatabaseRequest request)
AmazonLightsailAsync
Restarts a specific database in Amazon Lightsail.
The reboot relational database
operation supports tag-based access control via resource tags applied
to the resource identified by relationalDatabaseName. For more information, see the Lightsail Dev Guide.
rebootRelationalDatabaseAsync
in interface AmazonLightsailAsync
public Future<RebootRelationalDatabaseResult> rebootRelationalDatabaseAsync(RebootRelationalDatabaseRequest request, AsyncHandler<RebootRelationalDatabaseRequest,RebootRelationalDatabaseResult> asyncHandler)
AmazonLightsailAsync
Restarts a specific database in Amazon Lightsail.
The reboot relational database
operation supports tag-based access control via resource tags applied
to the resource identified by relationalDatabaseName. For more information, see the Lightsail Dev Guide.
rebootRelationalDatabaseAsync
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<RegisterContainerImageResult> registerContainerImageAsync(RegisterContainerImageRequest request)
AmazonLightsailAsync
Registers a container image to your Amazon Lightsail container service.
This action is not required if you install and use the Lightsail Control (lightsailctl) plugin to push container images to your Lightsail container service. For more information, see Pushing and managing container images on your Amazon Lightsail container services in the Lightsail Dev Guide.
registerContainerImageAsync
in interface AmazonLightsailAsync
public Future<RegisterContainerImageResult> registerContainerImageAsync(RegisterContainerImageRequest request, AsyncHandler<RegisterContainerImageRequest,RegisterContainerImageResult> asyncHandler)
AmazonLightsailAsync
Registers a container image to your Amazon Lightsail container service.
This action is not required if you install and use the Lightsail Control (lightsailctl) plugin to push container images to your Lightsail container service. For more information, see Pushing and managing container images on your Amazon Lightsail container services in the Lightsail Dev Guide.
registerContainerImageAsync
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<ResetDistributionCacheResult> resetDistributionCacheAsync(ResetDistributionCacheRequest request)
AmazonLightsailAsync
Deletes currently cached content from your Amazon Lightsail content delivery network (CDN) distribution.
After resetting the cache, the next time a content request is made, your distribution pulls, serves, and caches it from the origin.
resetDistributionCacheAsync
in interface AmazonLightsailAsync
public Future<ResetDistributionCacheResult> resetDistributionCacheAsync(ResetDistributionCacheRequest request, AsyncHandler<ResetDistributionCacheRequest,ResetDistributionCacheResult> asyncHandler)
AmazonLightsailAsync
Deletes currently cached content from your Amazon Lightsail content delivery network (CDN) distribution.
After resetting the cache, the next time a content request is made, your distribution pulls, serves, and caches it from the origin.
resetDistributionCacheAsync
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<SendContactMethodVerificationResult> sendContactMethodVerificationAsync(SendContactMethodVerificationRequest request)
AmazonLightsailAsync
Sends a verification request to an email contact method to ensure it's owned by the requester. SMS contact methods don't need to be verified.
A contact method is used to send you notifications about your Amazon Lightsail resources. You can add one email address and one mobile phone number contact method in each AWS Region. However, SMS text messaging is not supported in some AWS Regions, and SMS text messages cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail.
A verification request is sent to the contact method when you initially create it. Use this action to send another verification request if a previous verification request was deleted, or has expired.
Notifications are not sent to an email contact method until after it is verified, and confirmed as valid.
sendContactMethodVerificationAsync
in interface AmazonLightsailAsync
public Future<SendContactMethodVerificationResult> sendContactMethodVerificationAsync(SendContactMethodVerificationRequest request, AsyncHandler<SendContactMethodVerificationRequest,SendContactMethodVerificationResult> asyncHandler)
AmazonLightsailAsync
Sends a verification request to an email contact method to ensure it's owned by the requester. SMS contact methods don't need to be verified.
A contact method is used to send you notifications about your Amazon Lightsail resources. You can add one email address and one mobile phone number contact method in each AWS Region. However, SMS text messaging is not supported in some AWS Regions, and SMS text messages cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail.
A verification request is sent to the contact method when you initially create it. Use this action to send another verification request if a previous verification request was deleted, or has expired.
Notifications are not sent to an email contact method until after it is verified, and confirmed as valid.
sendContactMethodVerificationAsync
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<SetIpAddressTypeResult> setIpAddressTypeAsync(SetIpAddressTypeRequest request)
AmazonLightsailAsync
Sets the IP address type for an Amazon Lightsail resource.
Use this action to enable dual-stack for a resource, which enables IPv4 and IPv6 for the specified resource. Alternately, you can use this action to disable dual-stack, and enable IPv4 only.
setIpAddressTypeAsync
in interface AmazonLightsailAsync
public Future<SetIpAddressTypeResult> setIpAddressTypeAsync(SetIpAddressTypeRequest request, AsyncHandler<SetIpAddressTypeRequest,SetIpAddressTypeResult> asyncHandler)
AmazonLightsailAsync
Sets the IP address type for an Amazon Lightsail resource.
Use this action to enable dual-stack for a resource, which enables IPv4 and IPv6 for the specified resource. Alternately, you can use this action to disable dual-stack, and enable IPv4 only.
setIpAddressTypeAsync
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.
When you start a stopped instance, Lightsail assigns a new public IP address to the instance. To use the same IP address after stopping and starting an instance, create a static IP address and attach it to the instance. For more information, see the Lightsail Dev Guide.
The start instance
operation supports tag-based access control via resource tags applied to the
resource identified by instance name
. For more information, see the Lightsail Dev Guide.
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.
When you start a stopped instance, Lightsail assigns a new public IP address to the instance. To use the same IP address after stopping and starting an instance, create a static IP address and attach it to the instance. For more information, see the Lightsail Dev Guide.
The start instance
operation supports tag-based access control via resource tags applied to the
resource identified by instance name
. For more information, see the Lightsail Dev Guide.
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<StartRelationalDatabaseResult> startRelationalDatabaseAsync(StartRelationalDatabaseRequest request)
AmazonLightsailAsync
Starts a specific database from a stopped state in Amazon Lightsail. To restart a database, use the
reboot relational database
operation.
The start relational database
operation supports tag-based access control via resource tags applied
to the resource identified by relationalDatabaseName. For more information, see the Lightsail Dev Guide.
startRelationalDatabaseAsync
in interface AmazonLightsailAsync
public Future<StartRelationalDatabaseResult> startRelationalDatabaseAsync(StartRelationalDatabaseRequest request, AsyncHandler<StartRelationalDatabaseRequest,StartRelationalDatabaseResult> asyncHandler)
AmazonLightsailAsync
Starts a specific database from a stopped state in Amazon Lightsail. To restart a database, use the
reboot relational database
operation.
The start relational database
operation supports tag-based access control via resource tags applied
to the resource identified by relationalDatabaseName. For more information, see the Lightsail Dev Guide.
startRelationalDatabaseAsync
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.
When you start a stopped instance, Lightsail assigns a new public IP address to the instance. To use the same IP address after stopping and starting an instance, create a static IP address and attach it to the instance. For more information, see the Lightsail Dev Guide.
The stop instance
operation supports tag-based access control via resource tags applied to the
resource identified by instance name
. For more information, see the Lightsail Dev Guide.
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.
When you start a stopped instance, Lightsail assigns a new public IP address to the instance. To use the same IP address after stopping and starting an instance, create a static IP address and attach it to the instance. For more information, see the Lightsail Dev Guide.
The stop instance
operation supports tag-based access control via resource tags applied to the
resource identified by instance name
. For more information, see the Lightsail Dev Guide.
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<StopRelationalDatabaseResult> stopRelationalDatabaseAsync(StopRelationalDatabaseRequest request)
AmazonLightsailAsync
Stops a specific database that is currently running in Amazon Lightsail.
The stop relational database
operation supports tag-based access control via resource tags applied
to the resource identified by relationalDatabaseName. For more information, see the Lightsail Dev Guide.
stopRelationalDatabaseAsync
in interface AmazonLightsailAsync
public Future<StopRelationalDatabaseResult> stopRelationalDatabaseAsync(StopRelationalDatabaseRequest request, AsyncHandler<StopRelationalDatabaseRequest,StopRelationalDatabaseResult> asyncHandler)
AmazonLightsailAsync
Stops a specific database that is currently running in Amazon Lightsail.
The stop relational database
operation supports tag-based access control via resource tags applied
to the resource identified by relationalDatabaseName. For more information, see the Lightsail Dev Guide.
stopRelationalDatabaseAsync
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<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonLightsailAsync
Adds one or more tags to the specified Amazon Lightsail resource. Each resource can have a maximum of 50 tags. Each tag consists of a key and an optional value. Tag keys must be unique per resource. For more information about tags, see the Lightsail Dev Guide.
The tag resource
operation supports tag-based access control via request tags and resource tags
applied to the resource identified by resource name
. For more information, see the Lightsail Dev Guide.
tagResourceAsync
in interface AmazonLightsailAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonLightsailAsync
Adds one or more tags to the specified Amazon Lightsail resource. Each resource can have a maximum of 50 tags. Each tag consists of a key and an optional value. Tag keys must be unique per resource. For more information about tags, see the Lightsail Dev Guide.
The tag resource
operation supports tag-based access control via request tags and resource tags
applied to the resource identified by resource name
. For more information, see the Lightsail Dev Guide.
tagResourceAsync
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<TestAlarmResult> testAlarmAsync(TestAlarmRequest request)
AmazonLightsailAsync
Tests an alarm by displaying a banner on the Amazon Lightsail console. If a notification trigger is configured
for the specified alarm, the test also sends a notification to the notification protocol (Email
and/or SMS
) configured for the alarm.
An alarm is used to monitor a single metric for one of your resources. When a metric condition is met, the alarm can notify you by email, SMS text message, and a banner displayed on the Amazon Lightsail console. For more information, see Alarms in Amazon Lightsail.
testAlarmAsync
in interface AmazonLightsailAsync
public Future<TestAlarmResult> testAlarmAsync(TestAlarmRequest request, AsyncHandler<TestAlarmRequest,TestAlarmResult> asyncHandler)
AmazonLightsailAsync
Tests an alarm by displaying a banner on the Amazon Lightsail console. If a notification trigger is configured
for the specified alarm, the test also sends a notification to the notification protocol (Email
and/or SMS
) configured for the alarm.
An alarm is used to monitor a single metric for one of your resources. When a metric condition is met, the alarm can notify you by email, SMS text message, and a banner displayed on the Amazon Lightsail console. For more information, see Alarms in Amazon Lightsail.
testAlarmAsync
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<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonLightsailAsync
Deletes the specified set of tag keys and their values from the specified Amazon Lightsail resource.
The untag resource
operation supports tag-based access control via request tags and resource tags
applied to the resource identified by resource name
. For more information, see the Lightsail Dev Guide.
untagResourceAsync
in interface AmazonLightsailAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonLightsailAsync
Deletes the specified set of tag keys and their values from the specified Amazon Lightsail resource.
The untag resource
operation supports tag-based access control via request tags and resource tags
applied to the resource identified by resource name
. For more information, see the Lightsail Dev Guide.
untagResourceAsync
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<UpdateContainerServiceResult> updateContainerServiceAsync(UpdateContainerServiceRequest request)
AmazonLightsailAsync
Updates the configuration of your Amazon Lightsail container service, such as its power, scale, and public domain names.
updateContainerServiceAsync
in interface AmazonLightsailAsync
public Future<UpdateContainerServiceResult> updateContainerServiceAsync(UpdateContainerServiceRequest request, AsyncHandler<UpdateContainerServiceRequest,UpdateContainerServiceResult> asyncHandler)
AmazonLightsailAsync
Updates the configuration of your Amazon Lightsail container service, such as its power, scale, and public domain names.
updateContainerServiceAsync
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<UpdateDistributionResult> updateDistributionAsync(UpdateDistributionRequest request)
AmazonLightsailAsync
Updates an existing Amazon Lightsail content delivery network (CDN) distribution.
Use this action to update the configuration of your existing distribution
updateDistributionAsync
in interface AmazonLightsailAsync
public Future<UpdateDistributionResult> updateDistributionAsync(UpdateDistributionRequest request, AsyncHandler<UpdateDistributionRequest,UpdateDistributionResult> asyncHandler)
AmazonLightsailAsync
Updates an existing Amazon Lightsail content delivery network (CDN) distribution.
Use this action to update the configuration of your existing distribution
updateDistributionAsync
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<UpdateDistributionBundleResult> updateDistributionBundleAsync(UpdateDistributionBundleRequest request)
AmazonLightsailAsync
Updates the bundle of your Amazon Lightsail content delivery network (CDN) distribution.
A distribution bundle specifies the monthly network transfer quota and monthly cost of your dsitribution.
Update your distribution's bundle if your distribution is going over its monthly network transfer quota and is incurring an overage fee.
You can update your distribution's bundle only one time within your monthly AWS billing cycle. To determine if
you can update your distribution's bundle, use the GetDistributions
action. The
ableToUpdateBundle
parameter in the result will indicate whether you can currently update your
distribution's bundle.
updateDistributionBundleAsync
in interface AmazonLightsailAsync
public Future<UpdateDistributionBundleResult> updateDistributionBundleAsync(UpdateDistributionBundleRequest request, AsyncHandler<UpdateDistributionBundleRequest,UpdateDistributionBundleResult> asyncHandler)
AmazonLightsailAsync
Updates the bundle of your Amazon Lightsail content delivery network (CDN) distribution.
A distribution bundle specifies the monthly network transfer quota and monthly cost of your dsitribution.
Update your distribution's bundle if your distribution is going over its monthly network transfer quota and is incurring an overage fee.
You can update your distribution's bundle only one time within your monthly AWS billing cycle. To determine if
you can update your distribution's bundle, use the GetDistributions
action. The
ableToUpdateBundle
parameter in the result will indicate whether you can currently update your
distribution's bundle.
updateDistributionBundleAsync
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.
The update domain entry
operation supports tag-based access control via resource tags applied to the
resource identified by domain name
. For more information, see the Lightsail Dev Guide.
updateDomainEntryAsync
in interface AmazonLightsailAsync
public Future<UpdateDomainEntryResult> updateDomainEntryAsync(UpdateDomainEntryRequest request, AsyncHandler<UpdateDomainEntryRequest,UpdateDomainEntryResult> asyncHandler)
AmazonLightsailAsync
Updates a domain recordset after it is created.
The update domain entry
operation supports tag-based access control via resource tags applied to the
resource identified by domain name
. For more information, see the Lightsail Dev Guide.
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. You can only update one attribute at a time.
The update load balancer attribute
operation supports tag-based access control via resource tags
applied to the resource identified by load balancer name
. For more information, see the Lightsail Dev Guide.
updateLoadBalancerAttributeAsync
in interface AmazonLightsailAsync
public Future<UpdateLoadBalancerAttributeResult> updateLoadBalancerAttributeAsync(UpdateLoadBalancerAttributeRequest request, AsyncHandler<UpdateLoadBalancerAttributeRequest,UpdateLoadBalancerAttributeResult> asyncHandler)
AmazonLightsailAsync
Updates the specified attribute for a load balancer. You can only update one attribute at a time.
The update load balancer attribute
operation supports tag-based access control via resource tags
applied to the resource identified by load balancer name
. For more information, see the Lightsail Dev Guide.
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 Future<UpdateRelationalDatabaseResult> updateRelationalDatabaseAsync(UpdateRelationalDatabaseRequest request)
AmazonLightsailAsync
Allows the update of one or more attributes of a database in Amazon Lightsail.
Updates are applied immediately, or in cases where the updates could result in an outage, are applied during the database's predefined maintenance window.
The update relational database
operation supports tag-based access control via resource tags applied
to the resource identified by relationalDatabaseName. For more information, see the Lightsail Dev Guide.
updateRelationalDatabaseAsync
in interface AmazonLightsailAsync
public Future<UpdateRelationalDatabaseResult> updateRelationalDatabaseAsync(UpdateRelationalDatabaseRequest request, AsyncHandler<UpdateRelationalDatabaseRequest,UpdateRelationalDatabaseResult> asyncHandler)
AmazonLightsailAsync
Allows the update of one or more attributes of a database in Amazon Lightsail.
Updates are applied immediately, or in cases where the updates could result in an outage, are applied during the database's predefined maintenance window.
The update relational database
operation supports tag-based access control via resource tags applied
to the resource identified by relationalDatabaseName. For more information, see the Lightsail Dev Guide.
updateRelationalDatabaseAsync
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<UpdateRelationalDatabaseParametersResult> updateRelationalDatabaseParametersAsync(UpdateRelationalDatabaseParametersRequest request)
AmazonLightsailAsync
Allows the update of one or more parameters of a database in Amazon Lightsail.
Parameter updates don't cause outages; therefore, their application is not subject to the preferred maintenance
window. However, there are two ways in which parameter updates are applied: dynamic
or
pending-reboot
. Parameters marked with a dynamic
apply type are applied immediately.
Parameters marked with a pending-reboot
apply type are applied only after the database is rebooted
using the reboot relational database
operation.
The update relational database parameters
operation supports tag-based access control via resource
tags applied to the resource identified by relationalDatabaseName. For more information, see the Lightsail Dev Guide.
updateRelationalDatabaseParametersAsync
in interface AmazonLightsailAsync
public Future<UpdateRelationalDatabaseParametersResult> updateRelationalDatabaseParametersAsync(UpdateRelationalDatabaseParametersRequest request, AsyncHandler<UpdateRelationalDatabaseParametersRequest,UpdateRelationalDatabaseParametersResult> asyncHandler)
AmazonLightsailAsync
Allows the update of one or more parameters of a database in Amazon Lightsail.
Parameter updates don't cause outages; therefore, their application is not subject to the preferred maintenance
window. However, there are two ways in which parameter updates are applied: dynamic
or
pending-reboot
. Parameters marked with a dynamic
apply type are applied immediately.
Parameters marked with a pending-reboot
apply type are applied only after the database is rebooted
using the reboot relational database
operation.
The update relational database parameters
operation supports tag-based access control via resource
tags applied to the resource identified by relationalDatabaseName. For more information, see the Lightsail Dev Guide.
updateRelationalDatabaseParametersAsync
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 AmazonLightsailClient