@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonLightsailAsync extends AbstractAmazonLightsail implements AmazonLightsailAsync
AmazonLightsailAsync
. Convenient method forms pass through to the corresponding
overload that takes a request object and an AsyncHandler
, which throws an
UnsupportedOperationException
.ENDPOINT_PREFIX
allocateStaticIp, attachCertificateToDistribution, attachDisk, attachInstancesToLoadBalancer, attachLoadBalancerTlsCertificate, attachStaticIp, closeInstancePublicPorts, copySnapshot, createBucket, createBucketAccessKey, createCertificate, createCloudFormationStack, createContactMethod, createContainerService, createContainerServiceDeployment, createContainerServiceRegistryLogin, createDisk, createDiskFromSnapshot, createDiskSnapshot, createDistribution, createDomain, createDomainEntry, createGUISessionAccessDetails, createInstances, createInstancesFromSnapshot, createInstanceSnapshot, createKeyPair, createLoadBalancer, createLoadBalancerTlsCertificate, createRelationalDatabase, createRelationalDatabaseFromSnapshot, createRelationalDatabaseSnapshot, deleteAlarm, deleteAutoSnapshot, deleteBucket, deleteBucketAccessKey, 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, getBucketAccessKeys, getBucketBundles, getBucketMetricData, getBuckets, getBundles, getCachedResponseMetadata, getCertificates, getCloudFormationStackRecords, getContactMethods, getContainerAPIMetadata, getContainerImages, getContainerLog, getContainerServiceDeployments, getContainerServiceMetricData, getContainerServicePowers, getContainerServices, getCostEstimate, 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, getLoadBalancerTlsPolicies, getOperation, getOperations, getOperationsForResource, getRegions, getRelationalDatabase, getRelationalDatabaseBlueprints, getRelationalDatabaseBundles, getRelationalDatabaseEvents, getRelationalDatabaseLogEvents, getRelationalDatabaseLogStreams, getRelationalDatabaseMasterUserPassword, getRelationalDatabaseMetricData, getRelationalDatabaseParameters, getRelationalDatabases, getRelationalDatabaseSnapshot, getRelationalDatabaseSnapshots, getSetupHistory, getStaticIp, getStaticIps, importKeyPair, isVpcPeered, openInstancePublicPorts, peerVpc, putAlarm, putInstancePublicPorts, rebootInstance, rebootRelationalDatabase, registerContainerImage, releaseStaticIp, resetDistributionCache, sendContactMethodVerification, setEndpoint, setIpAddressType, setRegion, setResourceAccessForBucket, setupInstanceHttps, shutdown, startGUISession, startInstance, startRelationalDatabase, stopGUISession, stopInstance, stopRelationalDatabase, tagResource, testAlarm, unpeerVpc, untagResource, updateBucket, updateBucketBundle, updateContainerService, updateDistribution, updateDistributionBundle, updateDomainEntry, updateInstanceMetadataOptions, updateLoadBalancerAttribute, updateRelationalDatabase, updateRelationalDatabaseParameters
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
allocateStaticIp, attachCertificateToDistribution, attachDisk, attachInstancesToLoadBalancer, attachLoadBalancerTlsCertificate, attachStaticIp, closeInstancePublicPorts, copySnapshot, createBucket, createBucketAccessKey, createCertificate, createCloudFormationStack, createContactMethod, createContainerService, createContainerServiceDeployment, createContainerServiceRegistryLogin, createDisk, createDiskFromSnapshot, createDiskSnapshot, createDistribution, createDomain, createDomainEntry, createGUISessionAccessDetails, createInstances, createInstancesFromSnapshot, createInstanceSnapshot, createKeyPair, createLoadBalancer, createLoadBalancerTlsCertificate, createRelationalDatabase, createRelationalDatabaseFromSnapshot, createRelationalDatabaseSnapshot, deleteAlarm, deleteAutoSnapshot, deleteBucket, deleteBucketAccessKey, 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, getBucketAccessKeys, getBucketBundles, getBucketMetricData, getBuckets, getBundles, getCachedResponseMetadata, getCertificates, getCloudFormationStackRecords, getContactMethods, getContainerAPIMetadata, getContainerImages, getContainerLog, getContainerServiceDeployments, getContainerServiceMetricData, getContainerServicePowers, getContainerServices, getCostEstimate, 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, getLoadBalancerTlsPolicies, getOperation, getOperations, getOperationsForResource, getRegions, getRelationalDatabase, getRelationalDatabaseBlueprints, getRelationalDatabaseBundles, getRelationalDatabaseEvents, getRelationalDatabaseLogEvents, getRelationalDatabaseLogStreams, getRelationalDatabaseMasterUserPassword, getRelationalDatabaseMetricData, getRelationalDatabaseParameters, getRelationalDatabases, getRelationalDatabaseSnapshot, getRelationalDatabaseSnapshots, getSetupHistory, getStaticIp, getStaticIps, importKeyPair, isVpcPeered, openInstancePublicPorts, peerVpc, putAlarm, putInstancePublicPorts, rebootInstance, rebootRelationalDatabase, registerContainerImage, releaseStaticIp, resetDistributionCache, sendContactMethodVerification, setEndpoint, setIpAddressType, setRegion, setResourceAccessForBucket, setupInstanceHttps, shutdown, startGUISession, startInstance, startRelationalDatabase, stopGUISession, stopInstance, stopRelationalDatabase, tagResource, testAlarm, unpeerVpc, untagResource, updateBucket, updateBucketBundle, updateContainerService, updateDistribution, updateDistributionBundle, updateDomainEntry, updateInstanceMetadataOptions, updateLoadBalancerAttribute, updateRelationalDatabase, updateRelationalDatabaseParameters
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
Amazon Web Services Region can be attached to Lightsail
distributions. Lightsail distributions are global resources that can reference an origin in any Amazon Web
Services 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
Amazon Web Services Region can be attached to Lightsail
distributions. Lightsail distributions are global resources that can reference an origin in any Amazon Web
Services 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Developer 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 Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Web Services 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 Amazon Web Services 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<CreateBucketResult> createBucketAsync(CreateBucketRequest request)
AmazonLightsailAsync
Creates an Amazon Lightsail bucket.
A bucket is a cloud storage resource available in the Lightsail object storage service. Use buckets to store objects such as data and its descriptive metadata. For more information about buckets, see Buckets in Amazon Lightsail in the Amazon Lightsail Developer Guide.
createBucketAsync
in interface AmazonLightsailAsync
public Future<CreateBucketResult> createBucketAsync(CreateBucketRequest request, AsyncHandler<CreateBucketRequest,CreateBucketResult> asyncHandler)
AmazonLightsailAsync
Creates an Amazon Lightsail bucket.
A bucket is a cloud storage resource available in the Lightsail object storage service. Use buckets to store objects such as data and its descriptive metadata. For more information about buckets, see Buckets in Amazon Lightsail in the Amazon Lightsail Developer Guide.
createBucketAsync
in interface AmazonLightsailAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateBucketAccessKeyResult> createBucketAccessKeyAsync(CreateBucketAccessKeyRequest request)
AmazonLightsailAsync
Creates a new access key for the specified Amazon Lightsail bucket. Access keys consist of an access key ID and corresponding secret access key.
Access keys grant full programmatic access to the specified bucket and its objects. You can have a maximum of two access keys per bucket. Use the GetBucketAccessKeys action to get a list of current access keys for a specific bucket. For more information about access keys, see Creating access keys for a bucket in Amazon Lightsail in the Amazon Lightsail Developer Guide.
The secretAccessKey
value is returned only in response to the CreateBucketAccessKey
action. You can get a secret access key only when you first create an access key; you cannot get the secret
access key later. If you lose the secret access key, you must create a new access key.
createBucketAccessKeyAsync
in interface AmazonLightsailAsync
public Future<CreateBucketAccessKeyResult> createBucketAccessKeyAsync(CreateBucketAccessKeyRequest request, AsyncHandler<CreateBucketAccessKeyRequest,CreateBucketAccessKeyResult> asyncHandler)
AmazonLightsailAsync
Creates a new access key for the specified Amazon Lightsail bucket. Access keys consist of an access key ID and corresponding secret access key.
Access keys grant full programmatic access to the specified bucket and its objects. You can have a maximum of two access keys per bucket. Use the GetBucketAccessKeys action to get a list of current access keys for a specific bucket. For more information about access keys, see Creating access keys for a bucket in Amazon Lightsail in the Amazon Lightsail Developer Guide.
The secretAccessKey
value is returned only in response to the CreateBucketAccessKey
action. You can get a secret access key only when you first create an access key; you cannot get the secret
access key later. If you lose the secret access key, you must create a new access key.
createBucketAccessKeyAsync
in interface AmazonLightsailAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users 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
Amazon Web Services Region can be attached to Lightsail
distributions. Lightsail distributions are global resources that can reference an origin in any Amazon Web
Services 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
Amazon Web Services Region can be attached to Lightsail
distributions. Lightsail distributions are global resources that can reference an origin in any Amazon Web
Services 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 Amazon Web Services Region. However, SMS text messaging is not supported in some Amazon Web Services 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 Amazon Web Services Region. However, SMS text messaging is not supported in some Amazon Web Services 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 such as Amazon ECR Public, or from your local machine. For more information, see Creating container images for your Amazon Lightsail container services in the Amazon Lightsail Developer 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 such as Amazon ECR Public, or from your local machine. For more information, see Creating container images for your Amazon Lightsail container services in the Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 (
us-east-2a
).
The create disk
operation supports tag-based access control via request tags. For more information,
see the Amazon Lightsail Developer 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 (
us-east-2a
).
The create disk
operation supports tag-based access control via request tags. For more information,
see the Amazon Lightsail Developer 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 (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 Amazon Lightsail Developer 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 (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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 (example.com).
The create domain
operation supports tag-based access control via request tags. For more
information, see the Amazon Lightsail Developer Guide.
createDomainAsync
in interface AmazonLightsailAsync
public Future<CreateDomainResult> createDomainAsync(CreateDomainRequest request, AsyncHandler<CreateDomainRequest,CreateDomainResult> asyncHandler)
AmazonLightsailAsync
Creates a domain resource for the specified domain (example.com).
The create domain
operation supports tag-based access control via request tags. For more
information, see the Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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<CreateGUISessionAccessDetailsResult> createGUISessionAccessDetailsAsync(CreateGUISessionAccessDetailsRequest request)
AmazonLightsailAsync
Creates two URLs that are used to access a virtual computer’s graphical user interface (GUI) session. The primary URL initiates a web-based NICE DCV session to the virtual computer's application. The secondary URL initiates a web-based NICE DCV session to the virtual computer's operating session.
Use StartGUISession
to open the session.
createGUISessionAccessDetailsAsync
in interface AmazonLightsailAsync
public Future<CreateGUISessionAccessDetailsResult> createGUISessionAccessDetailsAsync(CreateGUISessionAccessDetailsRequest request, AsyncHandler<CreateGUISessionAccessDetailsRequest,CreateGUISessionAccessDetailsResult> asyncHandler)
AmazonLightsailAsync
Creates two URLs that are used to access a virtual computer’s graphical user interface (GUI) session. The primary URL initiates a web-based NICE DCV session to the virtual computer's application. The secondary URL initiates a web-based NICE DCV session to the virtual computer's operating session.
Use StartGUISession
to open the session.
createGUISessionAccessDetailsAsync
in interface AmazonLightsailAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Developer 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 Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 a custom SSH key pair that you can use with an Amazon Lightsail instance.
Use the DownloadDefaultKeyPair action to create a Lightsail default key pair in an Amazon Web Services Region where a default key pair does not currently exist.
The create key pair
operation supports tag-based access control via request tags. For more
information, see the Amazon Lightsail Developer Guide.
createKeyPairAsync
in interface AmazonLightsailAsync
public Future<CreateKeyPairResult> createKeyPairAsync(CreateKeyPairRequest request, AsyncHandler<CreateKeyPairRequest,CreateKeyPairResult> asyncHandler)
AmazonLightsailAsync
Creates a custom SSH key pair that you can use with an Amazon Lightsail instance.
Use the DownloadDefaultKeyPair action to create a Lightsail default key pair in an Amazon Web Services Region where a default key pair does not currently exist.
The create key pair
operation supports tag-based access control via request tags. For more
information, see the Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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<DeleteBucketResult> deleteBucketAsync(DeleteBucketRequest request)
AmazonLightsailAsync
Deletes a Amazon Lightsail bucket.
When you delete your bucket, the bucket name is released and can be reused for a new bucket in your account or another Amazon Web Services account.
deleteBucketAsync
in interface AmazonLightsailAsync
public Future<DeleteBucketResult> deleteBucketAsync(DeleteBucketRequest request, AsyncHandler<DeleteBucketRequest,DeleteBucketResult> asyncHandler)
AmazonLightsailAsync
Deletes a Amazon Lightsail bucket.
When you delete your bucket, the bucket name is released and can be reused for a new bucket in your account or another Amazon Web Services account.
deleteBucketAsync
in interface AmazonLightsailAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteBucketAccessKeyResult> deleteBucketAccessKeyAsync(DeleteBucketAccessKeyRequest request)
AmazonLightsailAsync
Deletes an access key for the specified Amazon Lightsail bucket.
We recommend that you delete an access key if the secret access key is compromised.
For more information about access keys, see Creating access keys for a bucket in Amazon Lightsail in the Amazon Lightsail Developer Guide.
deleteBucketAccessKeyAsync
in interface AmazonLightsailAsync
public Future<DeleteBucketAccessKeyResult> deleteBucketAccessKeyAsync(DeleteBucketAccessKeyRequest request, AsyncHandler<DeleteBucketAccessKeyRequest,DeleteBucketAccessKeyResult> asyncHandler)
AmazonLightsailAsync
Deletes an access key for the specified Amazon Lightsail bucket.
We recommend that you delete an access key if the secret access key is compromised.
For more information about access keys, see Creating access keys for a bucket in Amazon Lightsail in the Amazon Lightsail Developer Guide.
deleteBucketAccessKeyAsync
in interface AmazonLightsailAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users 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 Amazon Web Services Region. However, SMS text messaging is not supported in some Amazon Web Services 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 Amazon Web Services Region. However, SMS text messaging is not supported in some Amazon Web Services 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 the specified key pair by removing the public key from Amazon Lightsail.
You can delete key pairs that were created using the ImportKeyPair and CreateKeyPair actions, as well as the Lightsail default key pair. A new default key pair will not be created unless you launch an instance without specifying a custom key pair, or you call the DownloadDefaultKeyPair API.
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 Amazon Lightsail Developer Guide.
deleteKeyPairAsync
in interface AmazonLightsailAsync
public Future<DeleteKeyPairResult> deleteKeyPairAsync(DeleteKeyPairRequest request, AsyncHandler<DeleteKeyPairRequest,DeleteKeyPairResult> asyncHandler)
AmazonLightsailAsync
Deletes the specified key pair by removing the public key from Amazon Lightsail.
You can delete key pairs that were created using the ImportKeyPair and CreateKeyPair actions, as well as the Lightsail default key pair. A new default key pair will not be created unless you launch an instance without specifying a custom key pair, or you call the DownloadDefaultKeyPair API.
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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon
Lightsail Developer 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 Amazon
Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 regional Amazon Lightsail default key pair.
This action also creates a Lightsail default key pair if a default key pair does not currently exist in the Amazon Web Services Region.
downloadDefaultKeyPairAsync
in interface AmazonLightsailAsync
public Future<DownloadDefaultKeyPairResult> downloadDefaultKeyPairAsync(DownloadDefaultKeyPairRequest request, AsyncHandler<DownloadDefaultKeyPairRequest,DownloadDefaultKeyPairResult> asyncHandler)
AmazonLightsailAsync
Downloads the regional Amazon Lightsail default key pair.
This action also creates a Lightsail default key pair if a default key pair does not currently exist in the Amazon Web Services Region.
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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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 Amazon Lightsail Developer 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<GetBucketAccessKeysResult> getBucketAccessKeysAsync(GetBucketAccessKeysRequest request)
AmazonLightsailAsync
Returns the existing access key IDs for the specified Amazon Lightsail bucket.
This action does not return the secret access key value of an access key. You can get a secret access key only when you create it from the response of the CreateBucketAccessKey action. If you lose the secret access key, you must create a new access key.
getBucketAccessKeysAsync
in interface AmazonLightsailAsync
public Future<GetBucketAccessKeysResult> getBucketAccessKeysAsync(GetBucketAccessKeysRequest request, AsyncHandler<GetBucketAccessKeysRequest,GetBucketAccessKeysResult> asyncHandler)
AmazonLightsailAsync
Returns the existing access key IDs for the specified Amazon Lightsail bucket.
This action does not return the secret access key value of an access key. You can get a secret access key only when you create it from the response of the CreateBucketAccessKey action. If you lose the secret access key, you must create a new access key.
getBucketAccessKeysAsync
in interface AmazonLightsailAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetBucketBundlesResult> getBucketBundlesAsync(GetBucketBundlesRequest request)
AmazonLightsailAsync
Returns the bundles that you can apply to a Amazon Lightsail bucket.
The bucket bundle specifies the monthly cost, storage quota, and data transfer quota for a bucket.
Use the UpdateBucketBundle action to update the bundle for a bucket.
getBucketBundlesAsync
in interface AmazonLightsailAsync
public Future<GetBucketBundlesResult> getBucketBundlesAsync(GetBucketBundlesRequest request, AsyncHandler<GetBucketBundlesRequest,GetBucketBundlesResult> asyncHandler)
AmazonLightsailAsync
Returns the bundles that you can apply to a Amazon Lightsail bucket.
The bucket bundle specifies the monthly cost, storage quota, and data transfer quota for a bucket.
Use the UpdateBucketBundle action to update the bundle for a bucket.
getBucketBundlesAsync
in interface AmazonLightsailAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetBucketMetricDataResult> getBucketMetricDataAsync(GetBucketMetricDataRequest request)
AmazonLightsailAsync
Returns the data points of a specific metric for an Amazon Lightsail bucket.
Metrics report the utilization of a bucket. View and collect metric data regularly to monitor the number of objects stored in a bucket (including object versions) and the storage space used by those objects.
getBucketMetricDataAsync
in interface AmazonLightsailAsync
public Future<GetBucketMetricDataResult> getBucketMetricDataAsync(GetBucketMetricDataRequest request, AsyncHandler<GetBucketMetricDataRequest,GetBucketMetricDataResult> asyncHandler)
AmazonLightsailAsync
Returns the data points of a specific metric for an Amazon Lightsail bucket.
Metrics report the utilization of a bucket. View and collect metric data regularly to monitor the number of objects stored in a bucket (including object versions) and the storage space used by those objects.
getBucketMetricDataAsync
in interface AmazonLightsailAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetBucketsResult> getBucketsAsync(GetBucketsRequest request)
AmazonLightsailAsync
Returns information about one or more Amazon Lightsail buckets. The information returned includes the synchronization status of the Amazon Simple Storage Service (Amazon S3) account-level block public access feature for your Lightsail buckets.
For more information about buckets, see Buckets in Amazon Lightsail in the Amazon Lightsail Developer Guide.
getBucketsAsync
in interface AmazonLightsailAsync
public Future<GetBucketsResult> getBucketsAsync(GetBucketsRequest request, AsyncHandler<GetBucketsRequest,GetBucketsResult> asyncHandler)
AmazonLightsailAsync
Returns information about one or more Amazon Lightsail buckets. The information returned includes the synchronization status of the Amazon Simple Storage Service (Amazon S3) account-level block public access feature for your Lightsail buckets.
For more information about buckets, see Buckets in Amazon Lightsail in the Amazon Lightsail Developer Guide.
getBucketsAsync
in interface AmazonLightsailAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users 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 bundles that you can apply to an Amazon Lightsail instance when you create it.
A bundle describes the specifications of an instance, such as the monthly cost, amount of memory, the number of vCPUs, amount of storage space, and monthly network data transfer quota.
Bundles are referred to as instance plans in the Lightsail console.
getBundlesAsync
in interface AmazonLightsailAsync
public Future<GetBundlesResult> getBundlesAsync(GetBundlesRequest request, AsyncHandler<GetBundlesRequest,GetBundlesResult> asyncHandler)
AmazonLightsailAsync
Returns the bundles that you can apply to an Amazon Lightsail instance when you create it.
A bundle describes the specifications of an instance, such as the monthly cost, amount of memory, the number of vCPUs, amount of storage space, and monthly network data transfer quota.
Bundles are referred to as instance plans in the Lightsail console.
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, omit 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, omit 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 Amazon Web Services Region. However, SMS text messaging is not supported in some Amazon Web Services 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 Amazon Web Services Region. However, SMS text messaging is not supported in some Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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<GetCostEstimateResult> getCostEstimateAsync(GetCostEstimateRequest request)
AmazonLightsailAsync
Retrieves information about the cost estimate for a specified resource. A cost estimate will not generate for a resource that has been deleted.
getCostEstimateAsync
in interface AmazonLightsailAsync
public Future<GetCostEstimateResult> getCostEstimateAsync(GetCostEstimateRequest request, AsyncHandler<GetCostEstimateRequest,GetCostEstimateResult> asyncHandler)
AmazonLightsailAsync
Retrieves information about the cost estimate for a specified resource. A cost estimate will not generate for a resource that has been deleted.
getCostEstimateAsync
in interface AmazonLightsailAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users 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 bundles that can be applied to your Amazon Lightsail content delivery network (CDN) distributions.
A distribution bundle specifies the monthly network transfer quota and monthly cost of your distribution.
getDistributionBundlesAsync
in interface AmazonLightsailAsync
public Future<GetDistributionBundlesResult> getDistributionBundlesAsync(GetDistributionBundlesRequest request, AsyncHandler<GetDistributionBundlesRequest,GetDistributionBundlesResult> asyncHandler)
AmazonLightsailAsync
Returns the bundles that can be applied to your Amazon Lightsail content delivery network (CDN) distributions.
A distribution bundle specifies the monthly network transfer quota and monthly cost of your distribution.
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 all export snapshot records 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 CreateCloudFormationStack action.
getExportSnapshotRecordsAsync
in interface AmazonLightsailAsync
public Future<GetExportSnapshotRecordsResult> getExportSnapshotRecordsAsync(GetExportSnapshotRecordsRequest request, AsyncHandler<GetExportSnapshotRecordsRequest,GetExportSnapshotRecordsResult> asyncHandler)
AmazonLightsailAsync
Returns all export snapshot records 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 CreateCloudFormationStack action.
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 Amazon Lightsail Developer Guide.
getInstanceAccessDetailsAsync
in interface AmazonLightsailAsync
public Future<GetInstanceAccessDetailsResult> getInstanceAccessDetailsAsync(GetInstanceAccessDetailsRequest request, AsyncHandler<